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.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
static java.lang.String |
defaultCommandClassName The default implementation class. |
static java.lang.String |
NAME The name of the Command Interface class. |
Method Summary | |
---|---|
void |
setAddressId(java.lang.Long addressId) Sets the id of the address book entry for the items to display (optional). |
void |
setOrderId(java.lang.String[] orderId) 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. |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRequestProperties,
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,
getResources,
getStoreId,
getUser,
getUserId,
performExecute,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public void setAddressId(java.lang.Long addressId)
addressId
- address id.public void setOrderId(java.lang.String[] orderId)
orderId
- an array of order ids.public void setOutOrderName(java.lang.String[] names)
names
- an array of out order names.