public class CSROrderItemAddressUpdateCmdImpl extends ToolsControllerCommandImpl implements CSROrderItemAddressUpdateCmd
CSROrderItemAddressUpdateCmd
command.
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.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
CSROrderItemAddressUpdateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
void |
setItems(java.util.Vector newItems)
Sets all orderItems to be updated.
|
void |
validateParameters()
This method gets the XMLObject from the GUI Dialog.
|
getViewInputProperties, setRequestProperties
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public static java.lang.String ERRTASK_NAME
public java.lang.Integer orgLangId
public java.lang.String getAddressId()
public java.lang.String getCustomerId()
public java.util.Vector getItems()
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
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
- If the resource can not be retrieved.public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- if shipping address of the order item can not be updated.public void setItems(java.util.Vector newItems)
newItems
- A vector containing the order items to be updated.public void validateParameters() throws ECApplicationException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECApplicationException
- If the XMLObject cannot be parsed as expected.