public interface OrderCopyCmd extends ControllerCommand
OrderCopyCmdImpl
.
The OrderCopyCmd
URL is mapped to this controller command.Modifier and Type | Interface and Description |
---|---|
static class |
OrderCopyCmd.Group
The OrderCopy enumeration group.
|
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
getItemsToBeRemoved()
Returns the List of Items (Catalog Entry IDs) that needs to be removed from copied items since
Inventory is not available and
|
void |
setBillingAddressId(java.lang.Long anBillingAddressId)
Set the addressId of the billing address.
|
void |
setBlockInfoCopyFlag(java.lang.String astrBlockInfoCopyFlag)
Set the block info copy flag
|
void |
setContinue(java.lang.String astrContinue)
Set the continue parameter (optional).
|
void |
setCopyOrderInfoFrom(java.lang.String[] astrCopyOrderInfoFrom)
Set the source order from which the order info (for example billingAddress) will be copied.
|
void |
setCopyOrderPromotionCodeFrom(java.lang.String[] astrCopyOrderPromotionCodeFrom)
Set the source order from which the order promotion codes are copied.
|
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.
|
void |
setOrderComment(java.lang.String astrOrderComment)
Set the order comment (optional).
|
void |
setOrderPromotionCodeCopyFlag(java.lang.String astrOrderPromotionCodeCopyFlag)
Set the order promotion code copy flag.
|
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 |
setSensitiveInfoCopyFlag(java.lang.String astrSensitiveInfoCopyFlag)
Set the sensitive info copy flag
|
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.
|
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, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
static final java.lang.String ORDER_COPY_ERRVIEW
ErrorCode
.
static final java.lang.String ERRCODE_ACCESS_DENIED
ErrorCode
value that indicates that the CheckOrderCopyCmd
task command
denied access to an Order.
orderId
property.static final java.lang.String ERRCODE_WRONG_STATUS
ErrorCode
value that indicates that the CheckOrderCopyCmd
task command
denied access to an Order because it had the wrong status.
orderId
property.void setBillingAddressId(java.lang.Long anBillingAddressId)
anBillingAddressId
- the addressId.void setCopyOrderInfoFrom(java.lang.String[] astrCopyOrderInfoFrom)
astrCopyOrderInfoFrom
- the source order.void setCopyPaymentInfoFrom(java.lang.String[] astrCopyPaymentInfoFrom)
astrCopyPaymentInfoFrom
- the source order.void setDescription(java.lang.String astrDescription)
astrDescription
- the description.void setDisplaySequence(java.lang.Double adDisplaySequence)
adDisplaySequence
- the display sequence.void setField1(java.lang.Integer anField1)
anField1
- the value of field1.void setField2(java.math.BigDecimal adField2)
adField2
- the value of field2.void setField3(java.lang.String astrField3)
astrField3
- the value of field3.void setGroups(OrderCopyCmd.Group[] aGroups)
items.commands.OrderItemUpdateCmd
task command.aGroups
- the enumeration groups.void setOutOrderItemNames(java.lang.String[] astrOutOrderItemNames)
astrOutOrderItemNames
- the names of the orderItemId properties.void setOutOrderNames(java.lang.String[] astrOutOrderNames)
astrOutOrderNames
- the names of the orderId properties.void setPayment(java.util.Hashtable ahshPayment)
ahshPayment
- the payment information.
String
).String[]
) .void setStatus(java.lang.String astrStatus)
astrStatus
- the status ("P" or "I").void setTcId(java.lang.Long anTcId)
anTcId
- the tcId of the PaymentTCvoid setToOrderAbbreviations(java.lang.String[] astrToOrderAbbreviations)
astrToOrderAbbreviations
- the target order.void setContinue(java.lang.String astrContinue)
astrContinue
- the continue parameter. Default is "0".void setOrderComment(java.lang.String astrOrderComment)
astrOrderComment
- the order comment.java.util.Vector getItemsToBeRemoved()
void setSensitiveInfoCopyFlag(java.lang.String astrSensitiveInfoCopyFlag)
astrSensitiveInfoCopyFlag
- sensitive info copy flagvoid setBlockInfoCopyFlag(java.lang.String astrBlockInfoCopyFlag)
astrBlockInfoCopyFlag
- block info copy flagvoid setOrderPromotionCodeCopyFlag(java.lang.String astrOrderPromotionCodeCopyFlag)
astrOrderPromotionCodeCopyFlag
- the order promotion code copy flag.void setCopyOrderPromotionCodeFrom(java.lang.String[] astrCopyOrderPromotionCodeFrom)
astrCopyOrderPromotionCodeFrom
- the array of source orders.