public class CSROrderItemSplitCmdImpl extends ToolsControllerCommandImpl implements CSROrderItemSplitCmd
CSROrderItemSplitCmd
command.
This command calls the following Commands:
This command uses the following AccessBeans:
OrderAccessBean
OrderItemAccessBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
ERRTASK_NAME
Error handling view name for this command.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
CSROrderItemSplitCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
executeCSROrderStatusChange(java.lang.String theOrderId,
java.lang.String newStatus)
Calls
CSROrderStatusChangeCmd command to change the status of the order and its order items. |
java.lang.String |
getCustomerId()
Returns customer ID.
|
java.lang.String |
getFromOrderId()
Returns the ID of the order which the order items are moved from.
|
java.lang.String |
getNewOrderId()
Returns the ID of the newly created order.
|
java.util.Hashtable |
getNLS()
Returns NLS properties.
|
java.util.Vector |
getOrderItems()
Returns a vector of order items to be moved.
|
CommandContext |
getOrgCmdContext()
Returns original command context.
|
java.lang.Integer |
getOrgLangId()
Returns original language ID.
|
java.util.Locale |
getOrgLocale()
Returns original locale.
|
TypedProperty |
getOrgReqProperties()
Returns original request properties.
|
java.lang.String |
getRedirectURL()
Returns redirect URL.
|
AccessVector |
getResources()
Gets the access vector accessed by this command.
|
java.lang.String |
getToOrderId()
Returns ID of the order which the order items will be moved to.
|
void |
performExecute()
This method performs the execution of moving the order items from one order to another order.
|
void |
validateParameters()
Sets the NLS properties and parse the input XML parameters.
|
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, 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, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public static java.lang.String ERRTASK_NAME
public void executeCSROrderStatusChange(java.lang.String theOrderId, java.lang.String newStatus) throws ECException
CSROrderStatusChangeCmd
command to change the status of the order and its order items.newStatus
- The status of the order and its order items.theOrderId
- The ID of the order.ECException
- if unable to change status of the order and its items.public java.lang.String getCustomerId()
public java.lang.String getFromOrderId()
public java.lang.String getNewOrderId()
public java.util.Hashtable getNLS()
public java.util.Vector getOrderItems()
public CommandContext getOrgCmdContext()
public java.lang.Integer getOrgLangId()
public java.util.Locale getOrgLocale()
public TypedProperty getOrgReqProperties()
public java.lang.String getRedirectURL()
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
- If the resource can not be retrieved.public java.lang.String getToOrderId()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- if unable to move items from one order to the other.public void validateParameters() throws ECApplicationException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECApplicationException
- If the required parameters are not contained.