This task command is used to process request properties for URL commands.
If the request properties contain 'XML' parameter, it assumes that the URL command is called in tools framework; otherwise it assumes the URL command is directly called from URL. If called from tools framework, the command will process the request properties to convert the xml file to name-value pair stored in TypedProperty. The task command also generates a response properties, set 'viewTaskName' property to 'RedirectView'. If called from tools framework, it also put 'XMLFile' and 'redirectURL' properties. Inputs of this task command are:
setRequestProperties(TypedProperty) - sets request properties need to be processed. setCheckURL(boolean) - sets the indicator which determines if the task command needs to check the 'URL' parameter is not null and its length large than 0. default is true. <hr> <table> <tr> <td>Field Summary</td> </tr> <tr> <td>static java.lang.String
</td> <td>COPYRIGHT
IBM Copyright notice field.</td> </tr> <tr> <td>static java.lang.String
</td> <td>defaultCommandClassName
The default implementation of this command.</td> </tr> <tr> <td>static java.lang.String
</td> <td>NAME
The name of this command.</td> </tr> </table> <table> <tr> <td>Method Summary</td> </tr> <tr> <td>boolean
</td> <td>getCheckURL()
Gets the indicator which determines if the task command needs to check the 'URL' parameter is not null and its length large than 0.</td> </tr> <tr> <td>TypedProperty
</td> <td>getRequestProperties()
Gets the request properties processed.</td> </tr> <tr> <td>TypedProperty
</td> <td>getResponseProperties()
Gets the response properties generated.</td> </tr> <tr> <td>java.lang.String
</td> <td>getXMLFile()
Gets the value of the parameter 'XMLFile' in the request properties.</td> </tr> <tr> <td>boolean
</td> <td>isToolsFramework()
Gets a boolean value indicating if the URL command is called from tools framework.</td> </tr> <tr> <td>void
</td> <td>setCheckURL(boolean abCheckURL)
Sets the indicator which determines if the task command needs to check the 'URL' parameter is not null and its length large than 0.</td> </tr> <tr> <td>void
</td> <td>setRequestProperties(TypedProperty aRequestProperties)
sets the request properties need to be processed.</td> </tr> </table> <table> <tr> <td>Field Detail</td> </tr> </table> <h3> COPYRIGHT</h3> <pre> public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public boolean getCheckURL()
public TypedProperty getRequestProperties()
public TypedProperty getResponseProperties()
public java.lang.String getXMLFile()
public boolean isToolsFramework()
public void setCheckURL(boolean abCheckURL)
abCheckURL
- The indicator which determines if the task
command needs to check the 'URL' parameterpublic void setRequestProperties(TypedProperty aRequestProperties)
aRequestProperties
- The request
properties