The OrderCopy command can be used to create new orders or modify existing pending orders by copying information from existing orders. The copied information can be overridden with information provided as parameters to the OrderCopy command.
Nested Class Summary | |
static class | OrderCopyCmd.Group The OrderCopy enumeration group. |
Field Summary | |
static java.lang.String | COPYRIGHT IBM Copyright notice field. |
static java.lang.String | defaultCommandClassName The default implementation of this command. |
static java.lang.String | ERRCODE_ACCESS_DENIED The ErrorCode value that indicates that the CheckOrderCopyCmd task command denied access to an Order. |
static java.lang.String | ERRCODE_WRONG_STATUS The ErrorCode value that indicates that the CheckOrderCopyCmd task command denied access to an Order because it had the wrong status. |
static java.lang.String | NAME The name of this command. |
static java.lang.String | ORDER_COPY_ERRVIEW The name of the view set when an error is encountered. |
Method Summary | |
void | setBillingAddressId(java.lang.Long anBillingAddressId) Set the addressId of the billing address. |
void | setContinue(java.lang.String astrContinue) Set the continue parameter (optional). If an OrderItem cannot be created or updated in the target Order, 0 - terminate execution and rollback. 1 - ignore the create or update operation for that OrderItem and continue execution. |
void | setCopyOrderInfoFrom(java.lang.String[] astrCopyOrderInfoFrom) Set the source order from which the order info (e.g. |
void | setCopyPaymentInfoFrom(java.lang.String[] astrCopyPaymentInfoFrom) Set the source order from which the payment info will be copied. |
void | setDescription(java.lang.String astrDescription) Set the description of the target order. |
void | setDisplaySequence(java.lang.Double adDisplaySequence) Set the display sequence of the target order. |
void | setField1(java.lang.Integer anField1) Set field1 of the target order. |
void | setField2(java.math.BigDecimal adField2) Set field2 of the target order. |
void | setField3(java.lang.String astrField3) Set field3 of the target order. |
void | setGroups(OrderCopyCmd.Group[] aGroups) Set the enumeration groups. An enumeration group contains information used to construct parameters that will be passed to the OrderItemUpdateCmd task command. |
void | setOrderComment(java.lang.String astrOrderComment) Set the order comment (optional). |
void | setOutOrderItemNames(java.lang.String[] astrOutOrderItemNames) Sets the names of the orderItemId properties to be appended to the redirection URL. |
void | setOutOrderNames(java.lang.String[] astrOutOrderNames) Sets the names of the orderId properties to be appended to the redirection URL. |
void | setPayment(java.util.Hashtable ahshPayment) Set the payment information of the target order. |
void | setStatus(java.lang.String astrStatus) Set the status of the target order. |
void | setTcId(java.lang.Long anTcId) Set the PaymentTC that the billing address will be checked against. |
void | setToOrderAbbreviations(java.lang.String[] astrToOrderAbbreviations) Set the target order. |
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 |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
public static final java.lang.String ORDER_COPY_ERRVIEW
public static final java.lang.String ERRCODE_ACCESS_DENIED
public static final java.lang.String ERRCODE_WRONG_STATUS
Method Detail |
public void setBillingAddressId(java.lang.Long anBillingAddressId)
public void setCopyOrderInfoFrom(java.lang.String[] astrCopyOrderInfoFrom)
public void setCopyPaymentInfoFrom(java.lang.String[] astrCopyPaymentInfoFrom)
public void setDescription(java.lang.String astrDescription)
public void setDisplaySequence(java.lang.Double adDisplaySequence)
public void setField1(java.lang.Integer anField1)
public void setField2(java.math.BigDecimal adField2)
public void setField3(java.lang.String astrField3)
public void setGroups(OrderCopyCmd.Group[] aGroups)
public void setOutOrderItemNames(java.lang.String[] astrOutOrderItemNames)
public void setOutOrderNames(java.lang.String[] astrOutOrderNames)
public void setPayment(java.util.Hashtable ahshPayment)
public void setStatus(java.lang.String astrStatus)
public void setTcId(java.lang.Long anTcId)
public void setToOrderAbbreviations(java.lang.String[] astrToOrderAbbreviations)
public void setContinue(java.lang.String astrContinue)
public void setOrderComment(java.lang.String astrOrderComment)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.