public class CheckOrderCopyCmdImpl extends TaskCommandImpl implements CheckOrderCopyCmd
CheckOrderCopyCmd task command interface.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
defaultCommandClassName, NAME, READ_ACCESS, WRITE_ACCESS| Constructor and Description |
|---|
CheckOrderCopyCmdImpl()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
performExecute()
Executes the main business logic of the command.
|
void |
setAccessType(int anAccessType)
Sets the
AccessType to be checked. |
void |
setOrder(OrderAccessBean aabOrder)
Sets the Order to be accessed.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersexecuteFromCache, 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, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECApplicationException - write access was requested, but the Order status value is neither
P nor E. The _ERR_ORDER_WRONG_STATUS message is passed, with message parameters of the Order identifier,
its status value and the status value it should have. Exception data is also passed as the following name
value pairs: (errorCode, 603), (orderId, the identifier of the Order).
ECSystemException - an unexpected exception occurred. One of the following messages is passed:
ECMessage._ERR_CREATE_EXCEPTION, ECMessage._ERR_FINDER_EXCEPTION, ECMessage._ERR_NAMING_EXCEPTION,
ECMessage._ERR_REMOTE_EXCEPTION. The String representation of the exception is passed as a message
parameter.ECExceptionpublic void setAccessType(int anAccessType)
AccessType to be checked.
setAccessType in interface CheckOrderCopyCmdanAccessType - one of the following values:
READ_ACCESS - read-only access to the order.WRITE_ACCESS - write access to the order.public void setOrder(OrderAccessBean aabOrder)
setOrder in interface CheckOrderCopyCmdaabOrder - the Order to be accessed.