public class CSROrderCopyCmdImpl extends ToolsControllerCommandImpl implements CSROrderCopyCmd
This command calls the following ControllerCommand:
This command uses the following AccessBean:
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM Copyright statement.
|
static java.lang.String | ERRTASK_NAME
The error view name.
|
Constructor and Description |
---|
CSROrderCopyCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | executeOrderCopy()
Calls OrderCopyCmd to make a copy of the order.
|
java.lang.String | getBackupOrderId()
Returns the backupOrderId.
|
java.util.Hashtable | getNLS()
Returns NLS properties.
|
java.lang.String | getOrderId()
Gets the order ID for which the items are to be updated.
|
CommandContext | getOrgCmdContext()
Gets the original command context.
|
TypedProperty | getOrgReqProperties()
Gets the original request properties.
|
java.lang.String | getRedirectURL()
Gets the redirect URL.
|
AccessVector | getResources()
Gets the resources accessed by this command.
|
java.lang.String | getShopperId()
Gets the shopper ID for which the order is to be added.
|
void | performExecute()
Main logic for this command.
|
void | setBackupOrderId(java.lang.String backupOrderId)
Sets the order id of the new order.
|
protected void | setNLS(java.util.Hashtable newNLS)
Sets NLS properties.
|
void | setOrderId(java.lang.String newOrderId)
Sets the order ID to copy
|
void | setOrgCmdContext(CommandContext newOrgCmdContext)
Sets the original command context.
|
void | setOrgReqProperties(TypedProperty newOrgReqProperties)
Sets the original request properties.
|
void | setRedirectURL(java.lang.String newRedirectURL)
Sets the redirect URL.
|
void | setShopperId(java.lang.String newShopperId)
Sets the shopper ID that owns the order.
|
void | validateParameters()
Verify that caller of the command specified the shopperId and orderId parameters.
|
public static final java.lang.String COPYRIGHT
public static java.lang.String ERRTASK_NAME
protected void executeOrderCopy() throws ECException
public java.lang.String getBackupOrderId()
public java.util.Hashtable getNLS()
public java.lang.String getOrderId()
public CommandContext getOrgCmdContext()
public TypedProperty getOrgReqProperties()
public java.lang.String getRedirectURL()
public AccessVector getResources() throws ECException
public java.lang.String getShopperId()
public void performExecute() throws ECException
public void setBackupOrderId(java.lang.String backupOrderId)
protected void setNLS(java.util.Hashtable newNLS)
public void setOrderId(java.lang.String newOrderId)
public void setOrgCmdContext(CommandContext newOrgCmdContext)
public void setOrgReqProperties(TypedProperty newOrgReqProperties)
public void setRedirectURL(java.lang.String newRedirectURL)
public void setShopperId(java.lang.String newShopperId)
public void validateParameters() throws ECApplicationException