public class CSROrderStatusChangeCmdImpl extends TaskCommandImpl implements CSROrderStatusChangeCmd
CSROrderStatusChangCmd command.
This command uses the following AccessBean(s):
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
CSROrderStatusChangeCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNewStatus()
Gets the new status.
|
java.util.Vector |
getOrderIds()
Gets the order IDs to be changed.
|
AccessVector |
getResources()
Gets the access vector accessed by this command.
|
void |
performExecute()
Changes the order status.
|
void |
setNewStatus(java.lang.String newNewStatus)
Sets the new status.
|
void |
setOrderIds(java.util.Vector newOrderIds)
Sets the order IDs that is to be changed into the new order status.
|
void |
validateParameters()
Validates the parameters for changing the order status.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, 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, 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, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String COPYRIGHT
public java.lang.String getNewStatus()
public java.util.Vector getOrderIds()
public AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECException - If the resource can not be retrieved.public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECApplicationException - If the order cannot be changed successfully.ECExceptionpublic void setNewStatus(java.lang.String newNewStatus)
setNewStatus in interface CSROrderStatusChangeCmdnewNewStatus - The new status into which the orders are set.public void setOrderIds(java.util.Vector newOrderIds)
setOrderIds in interface CSROrderStatusChangeCmdnewOrderIds - The order IDs that are to be changed into the new status.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException - If the parameters are not valid.