public class CSROrderItemAddressUpdateCmdImpl extends ToolsControllerCommandImpl implements CSROrderItemAddressUpdateCmd
This command calls the following Commands:
This command uses the following AccessBeans:
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.
|
java.lang.Integer | orgLangId
The language id.
|
Constructor and Description |
---|
CSROrderItemAddressUpdateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | createAddress()
This method calls CSRCustomerAddressAddCmd to create a new address based on the address information passed to the command.
|
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()
Update order item(s) with the given shipping address ID by calling OrderItemUpdateCmd.
|
java.lang.String | getAddressId()
Returns the address ID.
|
java.lang.String | getCustomerId()
Returns the customer ID.
|
java.util.Vector | getItems()
Returns all the orderItems as a Vector.
|
protected java.lang.String | getMissingParam(java.lang.String msg)
Deprecated.
|
java.util.Hashtable | getNLS()
Returns the properties containing all translatable messages for this command.
|
CommandContext | getOrgCmdContext()
Returns the original commandContext (administrator's command context).
|
java.lang.Integer | getOrgLangId()
Returns original language ID.
|
java.util.Locale | getOrgLocale()
Returns original locale.
|
TypedProperty | getOrgReqProperties()
Returns original request properties.
|
java.lang.String | getRedirectURL()
Returns the redirect URL that is to be executed after this controller command terminates.
|
AccessVector | getResources()
Gets the access vector accessed by this command.
|
void | performExecute()
This method updates the shipping address of the order item for the customer.
|
protected void | setAddressId(java.lang.String newAddressId)
Sets address ID.
|
protected void | setCustomerId(java.lang.String newCustomerId)
Sets customer ID.
|
void | setItems(java.util.Vector newItems)
Sets all orderItems to be updated.
|
protected void | setNLS(java.util.Hashtable newNLS)
Sets NLS properties.
|
protected void | setOrgCmdContext(CommandContext newOrgCmdContext)
Sets original commandContext.
|
protected void | setOrgLangId(java.lang.Integer newOrgLangId)
Sets the original language ID.
|
protected void | setOrgLocale(java.util.Locale newOrgLocale)
Sets original locale.
|
protected void | setOrgReqProperties(TypedProperty newOrgReqProperties)
Sets original request properties.
|
protected void | setRedirectURL(java.lang.String newRedirectURL)
Sets redirect URL.
|
void | validateParameters()
This method gets the XMLObject from the GUI Dialog.
|
public static final java.lang.String COPYRIGHT
public static java.lang.String ERRTASK_NAME
public java.lang.Integer orgLangId
protected void createAddress() throws ECException
In address Hashtable, it contains following information:
protected TypedProperty exceptionUtil(TypedProperty prop, java.lang.Exception ex, java.lang.String methodName, java.lang.String cmdName)
protected void executeOrderItemUpdate() throws ECException
public java.lang.String getAddressId()
public java.lang.String getCustomerId()
public java.util.Vector getItems()
protected java.lang.String getMissingParam(java.lang.String msg)
public java.util.Hashtable getNLS()
public CommandContext getOrgCmdContext()
public java.lang.Integer getOrgLangId()
public java.util.Locale getOrgLocale()
public TypedProperty getOrgReqProperties()
public java.lang.String getRedirectURL()
public AccessVector getResources() throws ECException
public void performExecute() throws ECException
protected void setAddressId(java.lang.String newAddressId)
protected void setCustomerId(java.lang.String newCustomerId)
public void setItems(java.util.Vector newItems)
protected void setNLS(java.util.Hashtable newNLS)
protected void setOrgCmdContext(CommandContext newOrgCmdContext)
protected void setOrgLangId(java.lang.Integer newOrgLangId)
protected void setOrgLocale(java.util.Locale newOrgLocale)
protected void setOrgReqProperties(TypedProperty newOrgReqProperties)
protected void setRedirectURL(java.lang.String newRedirectURL)
public void validateParameters() throws ECApplicationException