public class CSROrderItemSplitCmdImpl extends ToolsControllerCommandImpl implements CSROrderItemSplitCmd
CSROrderItemSplitCmd command.
This command calls the following Commands:
This command uses the following AccessBeans:
OrderAccessBeanOrderItemAccessBean| 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, setRequestPropertiescheckPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, 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, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic 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 ECCommandgetResources in class AbstractECTargetableCommandECException - If the resource can not be retrieved.public java.lang.String getToOrderId()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException - if unable to move items from one order to the other.public void validateParameters()
throws ECApplicationException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECApplicationException - If the required parameters are not contained.