public abstract class CSRReturnBaseCmdImpl extends CSRBaseControllerCommandImpl
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
ERRTASK_NAME
Default redirect URL when errors are encountered.
|
NAMEdefaultCommandClassName| Constructor and Description |
|---|
CSRReturnBaseCmdImpl()
Constructor for CSRReturnBaseCmdImpl.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCustomerId()
Gets customer identifier which is used to set the forUserId parameter in the request property when calling a command.
|
java.util.Hashtable |
getNLS()
Gets reference to property file used for Returns user interface.
|
CommandContext |
getOrigCmdContext()
Gets command context as it was at the start of command run.
|
TypedProperty |
getOrigReqProperties()
Gets request property as it was at the start of command run.
|
java.lang.String |
getRedirectURL()
Gets redirect url.
|
AccessVector |
getResources()
Gets the access vector used by command.
|
java.lang.String |
getReturnId()
Gets the unique identifier of the Return being processed.
|
void |
setCustomerId(java.lang.String newCustomerId)
Sets the unique identifier of the customer whom owns the Return being processed.
|
void |
setOrigCmdContext(CommandContext newOrigCmdContext)
Saves a copy of the command context at the start of command run.
|
void |
setOrigReqProperties(TypedProperty newOrigReqProperties)
Saves a copy of the request properties at the start of command run.
|
void |
setRedirectURL(java.lang.String newRedirectURL)
Sets the redirect URL.
|
void |
setReturnId(java.lang.String newReturnId)
Sets unique identifier of the Return being processed.
|
java.lang.String |
traceFormat(TypedProperty prop)
Formats a trace message.
|
void |
validateParameters()
Prepares command environment.
|
getIfExePreCmdChains, getPreCmdChain, setIfExePreCmdChains, setPreCmdChaingetViewInputProperties, setRequestPropertiescheckPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public static final java.lang.String ERRTASK_NAME
public CSRReturnBaseCmdImpl()
public java.lang.String getCustomerId()
public java.util.Hashtable getNLS()
public CommandContext getOrigCmdContext()
public TypedProperty getOrigReqProperties()
public java.lang.String getRedirectURL()
public AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECExceptionAccessVectorpublic java.lang.String getReturnId()
public void setCustomerId(java.lang.String newCustomerId)
newCustomerId - customer identifierpublic void setOrigCmdContext(CommandContext newOrigCmdContext)
newOrigCmdContext - command contextpublic void setOrigReqProperties(TypedProperty newOrigReqProperties)
newOrigReqProperties - request propertiespublic void setRedirectURL(java.lang.String newRedirectURL)
newRedirectURL - URL to which to redirect when command terminatespublic void setReturnId(java.lang.String newReturnId)
newReturnId - Return identifierpublic java.lang.String traceFormat(TypedProperty prop)
prop - message to be formattedpublic void validateParameters()
throws ECApplicationException
validateParameters in interface ECCommandvalidateParameters in class CSRBaseControllerCommandImplECApplicationException