public class ToolsControllerCommandImpl extends ControllerCommandImpl implements ToolsControllerCommand
NAME
defaultCommandClassName
Constructor and Description |
---|
ToolsControllerCommandImpl() |
Modifier and Type | Method and Description |
---|---|
TypedProperty |
getViewInputProperties()
This method is called by the WebController to retrieve the request properties set
by the setRequestProperties() method.
|
void |
setRequestProperties(TypedProperty viewParm)
Sets request properties for view command.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
public TypedProperty getViewInputProperties()
The tools need to override this method because the properties passed into the controller command would be then passed onto the view command. This is unnecessary for the tools and will break the flow when using the ReDirectView command. This is because the URL to re-direct to cannot be more than 500 chars. The XML parameter alone passed into the controller command is longer than this. Therefore without overriding this method we cannot redirect to the view command.
getViewInputProperties
in interface ControllerCommand
getViewInputProperties
in class ControllerCommandImpl
public void setRequestProperties(TypedProperty viewParm) throws ECApplicationException
In the default implementation, this method simply saves the request properties.
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
viewParm
- Request properties to be set.ECApplicationException
- if the request properties can't be processed