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, 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
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECApplicationException
- 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.ECException
public void setAccessType(int anAccessType)
AccessType
to be checked.
setAccessType
in interface CheckOrderCopyCmd
anAccessType
- 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 CheckOrderCopyCmd
aabOrder
- the Order to be accessed.