public class OrderItemMoveCmdImpl extends ControllerCommandImpl implements OrderItemMoveCmd
Behavior
OrderItemMove command This command calls the following TaskCommands:OrderCopyCmdOrderItemUpdateCmdSetOrderPaymentInfoCmdResolveOrderItemsCmdResolveOrdersCmd| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
OrderItemMoveCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDoInventory()
This method returns the doInventory flag, this flag indicates if the inventory action should be done.
|
java.lang.String[] |
getFromOrderItems()
Gets the input order items.
|
java.lang.String[] |
getFromOrders()
Gets the orders from which order items will be moved.
|
java.lang.String[] |
getInOrderNames()
Gets the names of name-value pairs to be added to the redirection URL.
|
java.lang.String[] |
getOrdersToDeleteIfEmpty()
Gets orders to delete if no order items remain in them after this command completes processing.
|
java.lang.String[] |
getOrdersToDeleteIfNotEmpty()
Deprecated.
Replaced by
getOrdersToDeleteIfEmpty() |
java.lang.String[] |
getOutOrderItemNames()
Gets the names of name-value pairs to be added to the redirection URL.
|
OrderItemAccessBean[] |
getOutOrderItems()
Gets the output order items.
|
java.lang.String[] |
getOutOrderNames()
Gets the names of name-value pairs to be added to the redirection URL.
|
OrderAccessBean[] |
getOutOrders()
Gets the output orders where input order items are moved to.
|
java.lang.String[] |
getToOrders()
Gets a destination order for the output order items.
|
java.lang.String |
getUrl()
Gets the URL to be redirected to when the command completes successfully.
|
void |
performExecute()
Contains the actual business logic of the command.
|
void |
reset()
This method should be called after a command has been executed to reset its state variables.
|
void |
setContinue(java.lang.String astrContinue) |
void |
setDoInventory(java.lang.String doInventory)
This method sets the doInventory flag, this flag indicates if the inventory action should be done.
|
void |
setFromOrderItems(java.lang.String[] newFromOrderItems)
Sets the input order items.
|
void |
setFromOrders(java.lang.String[] newFromOrders)
Sets the orders from which order items will be moved.
|
void |
setInOrderNames(java.lang.String[] newInOrderNames)
Sets the names of name-value pairs to be added to the redirection URL.
|
void |
setOrdersToDeleteIfEmpty(java.lang.String[] newOrdersToDeleteIfEmpty)
Sets orders to delete if no order items remain in them after this command completes processing.
|
void |
setOrdersToDeleteIfNotEmpty(java.lang.String[] newOrdersToDeleteIfNotEmpty)
Deprecated.
|
void |
setOrderToCreateIfEmpty(boolean abOrderToCreateIfEmpty)
Sets the boolean flag to control the creation of an empty output order
when there are not order items to move into it.
|
void |
setOutOrderItemNames(java.lang.String[] newOutOrderItemNames)
Sets the names of name-value pairs to be added to the redirection URL.
|
void |
setOutOrderItems(OrderItemAccessBean[] newOutOrderItems)
Sets the output order items.
|
void |
setOutOrderNames(java.lang.String[] newOutOrderNames)
Sets the names of name-value pairs to be added to the redirection URL.
|
void |
setOutOrders(OrderAccessBean[] newOutOrders)
Sets the output orders where input order items are moved to.
|
void |
setRequestProperties(TypedProperty ahshRequestProperties)
The WebController calls this method before invoking the execute method in this command
to set the request properties for this command.
|
void |
setToOrders(java.lang.String[] newToOrders)
Sets a destination order for the output order items.
|
void |
setUrl(java.lang.String newUrl)
Sets the URL to be redirected to when the command completes successfully.
|
void |
validateParameters()
Performs server side parameter checking.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, 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, 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, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public java.lang.String[] getFromOrderItems()
public java.lang.String[] getFromOrders()
public java.lang.String[] getInOrderNames()
public java.lang.String[] getOrdersToDeleteIfEmpty()
public java.lang.String[] getOrdersToDeleteIfNotEmpty()
getOrdersToDeleteIfEmpty()public java.lang.String[] getOutOrderItemNames()
public OrderItemAccessBean[] getOutOrderItems()
getOutOrderItems in interface OrderItemMoveCmdpublic java.lang.String[] getOutOrderNames()
public OrderAccessBean[] getOutOrders()
getOutOrders in interface OrderItemMoveCmdpublic java.lang.String[] getToOrders()
public java.lang.String getUrl()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setFromOrderItems(java.lang.String[] newFromOrderItems)
setFromOrderItems in interface OrderItemMoveCmdnewFromOrderItems - String[]public void setFromOrders(java.lang.String[] newFromOrders)
setFromOrders in interface OrderItemMoveCmdnewFromOrders - String[]public void setInOrderNames(java.lang.String[] newInOrderNames)
setInOrderNames in interface OrderItemMoveCmdnewInOrderNames - String[]public void setOrdersToDeleteIfEmpty(java.lang.String[] newOrdersToDeleteIfEmpty)
setOrdersToDeleteIfEmpty in interface OrderItemMoveCmdnewOrdersToDeleteIfEmpty - String[]public void setOrdersToDeleteIfNotEmpty(java.lang.String[] newOrdersToDeleteIfNotEmpty)
setOrdersToDeleteIfEmpty(java.lang.String[] newOrdersToDeleteIfEmpty)newOrdersToDeleteIfNotEmpty - String[]public void setOrderToCreateIfEmpty(boolean abOrderToCreateIfEmpty)
setOrderToCreateIfEmpty in interface OrderItemMoveCmdabOrderToCreateIfEmpty - booleanpublic void setOutOrderItemNames(java.lang.String[] newOutOrderItemNames)
setOutOrderItemNames in interface OrderItemMoveCmdnewOutOrderItemNames - String[]public void setOutOrderItems(OrderItemAccessBean[] newOutOrderItems)
newOutOrderItems - OrderItemAccessBean[]public void setOutOrderNames(java.lang.String[] newOutOrderNames)
setOutOrderNames in interface OrderItemMoveCmdnewOutOrderNames - String[]public void setOutOrders(OrderAccessBean[] newOutOrders)
newOutOrders - OrderAccessBean[]public void setRequestProperties(TypedProperty ahshRequestProperties) throws ECApplicationException
setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplahshRequestProperties - request propertiesECApplicationExceptionpublic void setToOrders(java.lang.String[] newToOrders)
setToOrders in interface OrderItemMoveCmdnewToOrders - String[]public void setUrl(java.lang.String newUrl)
setUrl in interface OrderItemMoveCmdnewUrl - Stringpublic void setDoInventory(java.lang.String doInventory)
doInventory - public java.lang.String getDoInventory()
public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionpublic void setContinue(java.lang.String astrContinue)
astrContinue - the continue parameter.