public interface ProcessRequestPropertiesCmd extends TaskCommand
If the request properties contain the 'XML' parameter, it assumes that the URL command is called in
the tools framework. Otherwise it assumes the URL command is directly called from a URL.
If called from the 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 and sets '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 is larger than 0. default is true.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
static java.lang.String |
defaultCommandClassName
The default implementation of this command.
|
static java.lang.String |
NAME
The name of this command.
|
Modifier and Type | Method and Description |
---|---|
boolean |
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.
|
TypedProperty |
getRequestProperties()
Gets the request properties processed.
|
TypedProperty |
getResponseProperties()
Gets the response properties generated.
|
java.lang.String |
getXMLFile()
Gets the value of the parameter 'XMLFile' in the request properties.
|
boolean |
isToolsFramework()
Gets a boolean value indicating if the URL command is called from tools framework.
|
void |
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.
|
void |
setRequestProperties(TypedProperty aRequestProperties)
sets the request properties need to be processed.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
boolean getCheckURL()
TypedProperty getRequestProperties()
TypedProperty getResponseProperties()
java.lang.String getXMLFile()
boolean isToolsFramework()
void setCheckURL(boolean abCheckURL)
abCheckURL
- The indicator which determines if the task command needs to check the 'URL' parametervoid setRequestProperties(TypedProperty aRequestProperties)
aRequestProperties
- The request properties