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, 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
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, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public java.lang.String getNewStatus()
public java.util.Vector getOrderIds()
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
- If the resource can not be retrieved.public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECApplicationException
- If the order cannot be changed successfully.ECException
public void setNewStatus(java.lang.String newNewStatus)
setNewStatus
in interface CSROrderStatusChangeCmd
newNewStatus
- The new status into which the orders are set.public void setOrderIds(java.util.Vector newOrderIds)
setOrderIds
in interface CSROrderStatusChangeCmd
newOrderIds
- The order IDs that are to be changed into the new status.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
- If the parameters are not valid.