The OrderItemMove command can be used to move order items from one order to another.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
static java.lang.String |
defaultCommandClassName The default implementation class. |
static java.lang.String |
NAME The name of the Command Interface class. |
Method Summary | |
---|---|
OrderItemAccessBean[] |
getOutOrderItems() Gets the output order items. |
OrderAccessBean[] |
getOutOrders() Gets the output order where input order items are moved to. |
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 |
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 |
setOutOrderNames(java.lang.String[] newOutOrderNames) Sets the names of name-value pairs to be added to the redirection URL. |
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. |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRequestProperties,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
performExecute,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public OrderItemAccessBean[] getOutOrderItems()
public OrderAccessBean[] getOutOrders()
public void setFromOrderItems(java.lang.String[] newFromOrderItems)
newFromOrderItems
- String[]public void setFromOrders(java.lang.String[] newFromOrders)
newFromOrders
- String[]public void setInOrderNames(java.lang.String[] newInOrderNames)
newInOrderNames
- String[]public void setOrdersToDeleteIfEmpty(java.lang.String[] newOrdersToDeleteIfEmpty)
newOrdersToDeleteIfEmpty
- String[]public void setOrderToCreateIfEmpty(boolean abOrderToCreateIfEmpty)
abOrderToCreateIfEmpty
- booleanpublic void setOutOrderItemNames(java.lang.String[] newOutOrderItemNames)
newOutOrderItemNames
- String[]public void setOutOrderNames(java.lang.String[] newOutOrderNames)
newOutOrderNames
- String[]public void setToOrders(java.lang.String[] newToOrders)
newToOrders
- String[]public void setUrl(java.lang.String newUrl)
newUrl
- URL.