java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.orderitems.commands.OrderItemDisplayCmdImpl
Display a list of order items with pending order status.
Behavior
If the addressId is set, the command only displays order items with this shipping address.
For each order item in the list, the command does the following:
View Task
If the addressId is set, it calls OrderItemDisplayViewShiptoDsp view task, otherwise it calls OrderItemDisplayViewShiptoAssoc view task. This command calls the following TaskCommands:
This command uses the following AccessBeans:Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl |
requestProperties, responseProperties, retriable, viewReqProperties |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.orderitems.commands.OrderItemDisplayCmd |
defaultCommandClassName, NAME |
Constructor Summary | |
OrderItemDisplayCmdImpl() |
Method Summary | |
protected java.lang.Long | getAddressId() Gets the input parameter addressId. |
ATPParameters | getATPParms() Gets the input ATP parameters. |
protected java.lang.String[] | getOrderIds() Return a list of ids of the orders which are displayed. |
AccessVector | getResources() Gets the resources. |
void | performExecute() The main entry point of the command. |
void | reset() Reset all instance variables. |
void | setAddressId(java.lang.Long addressId) Sets the id of the address book entry for the items to display (optional). |
void | setATPParms(ATPParameters newATPParms) Set the ATP parameters. |
void | setOrderId(java.lang.String[] numbers) Specifies zero or more order ids (optional). |
void | setOutOrderName(java.lang.String[] names) Specifies the names of the name-value pairs to be added to the response object passed to the command's view task. |
void | setRequestProperties(TypedProperty aRequestProperties) Sets the request properties. |
void | validateParameters() Verify the input parameters. |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.AccCommand |
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public OrderItemDisplayCmdImpl()
Method Detail |
protected java.lang.Long getAddressId()
public ATPParameters getATPParms()
protected java.lang.String[] getOrderIds()
public AccessVector getResources() throws ECException
public void performExecute() throws ECException
public void reset()
public void setAddressId(java.lang.Long addressId)
public void setATPParms(ATPParameters newATPParms)
public void setOrderId(java.lang.String[] numbers)
public void setOutOrderName(java.lang.String[] names)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.