For each specified Order, determines a list of catalog items to be included in the Order, adds them to the Order if they are not already in it, and recalculates specified CalculationUsages. If ATP inventory is not enabled, items are not added to an Order when there is insufficient inventory available. The specified Orders are unlocked.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The IBM copyright string. |
static java.lang.String |
defaultCommandClassName The default implementation of this command. |
static java.lang.String |
NAME The name of this command. |
Method Summary | |
---|---|
java.lang.Long[] |
getOutOfInventoryCatalogEntryIds() Returns the identifiers of CatalogEntries that do not have sufficient inventory, when ATP inventory is not enabled. |
void |
setOrders(
OrderAccessBean[] aabOrders) Sets the Orders. |
void |
setUsageIds(java.lang.Integer[] anUsageIds) Sets the CalculationUsages. |
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 setOrders(OrderAccessBean[] aabOrders)
aabOrders
- the Orders.public void setUsageIds(java.lang.Integer[] anUsageIds)
anUsageIds
- the CalculationUsage
identifiers.public java.lang.Long[] getOutOfInventoryCatalogEntryIds()