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.
|
NAME
defaultCommandClassName
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, setPreCmdChain
getViewInputProperties, setRequestProperties
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, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
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, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public 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 ECCommand
getResources
in class AbstractECTargetableCommand
ECException
AccessVector
public 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 ECCommand
validateParameters
in class CSRBaseControllerCommandImpl
ECApplicationException