public class CSROrderItemUpdateCmdImpl extends ToolsControllerCommandImpl implements CSROrderItemUpdateCmd
This command calls the following Command:
This command uses the following AccessBean:
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | ERRTASK_NAME
Error handling view name for this command.
|
Constructor and Description |
---|
CSROrderItemUpdateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected TypedProperty | exceptionUtil(TypedProperty prop, java.lang.Exception ex, java.lang.String methodName, java.lang.String cmdName)
This method sets up the response property when an exception occurs.
|
protected void | executeOrderItemUpdate()
Calls OrderItemUpdateCmd to update the order items in the order with the following parameters: quantity orderItemId tradingId shipAddrId shipModeId
|
java.lang.String | getAddressId()
Gets the address ID for which the order item is to be updated.
|
java.util.Vector | getDeleteItems()
Gets the items to be deleted.
|
java.lang.String | getFirstOrderId()
Gets the first order ID.
|
java.util.Vector | getItems()
Gets the items in the order.
|
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 access vector accessed by this command.
|
java.lang.String | getSecondOrderId()
Gets the second order ID.
|
java.lang.String | getShipModeId()
Gets the shipping mode ID for which the order item is to be updated.
|
java.lang.String | getShopperId()
Gets the shopper ID for which the order is to be added.
|
java.util.Vector | getUpdateItems()
Gets the list of items that are to be updated.
|
void | performExecute()
Updates the order items for the order.
|
void | setAddressId(java.lang.String newAddressId)
Sets the address ID for which the items are to be updated.
|
void | setDeleteItems(java.util.Vector newDeleteItems)
Sets the items to be deleted from the order.
|
void | setFirstOrderId(java.lang.String newFirstOrderId)
Sets the first order ID.
|
void | setItems(java.util.Vector newItems)
Sets the items of the order.
|
protected void | setNLS(java.util.Hashtable newNLS)
Sets NLS properties.
|
void | setOrderId(java.lang.String newOrderId)
Sets the order ID into which the items are updated.
|
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 | setSecondOrderId(java.lang.String newSecondOrderId)
Sets the second order ID.
|
void | setShipModeId(java.lang.String newShipModeId)
Sets the shipping mode ID for which the items are updated.
|
void | setShopperId(java.lang.String newShopperId)
Sets the shopper ID for which the items are updated.
|
void | setUpdateItems(java.util.Vector newUpdateItems)
Sets the items to be updated.
|
void | validateParameters()
Gets XMLObject from the GUI Notebook or Wizard and get ready to parse it.
|
public static final java.lang.String COPYRIGHT
public static java.lang.String ERRTASK_NAME
protected TypedProperty exceptionUtil(TypedProperty prop, java.lang.Exception ex, java.lang.String methodName, java.lang.String cmdName)
protected void executeOrderItemUpdate() throws ECException, java.lang.Exception
public java.lang.String getAddressId()
public java.util.Vector getDeleteItems()
public java.lang.String getFirstOrderId()
public java.util.Vector getItems()
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 getSecondOrderId()
public java.lang.String getShipModeId()
public java.lang.String getShopperId()
public java.util.Vector getUpdateItems()
public void performExecute() throws ECException
public void setAddressId(java.lang.String newAddressId)
public void setDeleteItems(java.util.Vector newDeleteItems)
public void setFirstOrderId(java.lang.String newFirstOrderId)
public void setItems(java.util.Vector newItems)
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 setSecondOrderId(java.lang.String newSecondOrderId)
public void setShipModeId(java.lang.String newShipModeId)
public void setShopperId(java.lang.String newShopperId)
public void setUpdateItems(java.util.Vector newUpdateItems)
public void validateParameters() throws ECException