com.ibm.commerce.marketing.promotion.commands
Interface CreateSimulatedOrderTaskCmd
-
- All Superinterfaces:
- com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
- All Known Implementing Classes:
- CreateSimulatedOrderTaskCmdImpl
public interface CreateSimulatedOrderTaskCmd extends TaskCommand
The command interface to create a simulated promotion Order object
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
IBM copyright notice field.static java.lang.String
defaultCommandClassName
Default implementation class for this command.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description Order
getOrder()
Gets the created Order object.void
setCatalogEntryMap(java.util.Map<java.lang.String,java.math.BigDecimal> aCatalogEntryMap)
Sets the Map object that contains the CatalogEntry ID as the key and its quantity as the value.void
setOrderId(long orderId)
Sets the order ID for the simulated order.void
setOwnerKey(CustomerKey aCustomerKey)
Sets the CustomerKey object of the owner of the simulated order.void
setStoreKey(StoreKey storeKey)
Sets the StoreKey object.-
Methods inherited from interface com.ibm.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
-
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
-
-
-
Field Detail
-
COPYRIGHT
static final java.lang.String COPYRIGHT
IBM copyright notice field.- See Also:
- Constant Field Values
-
defaultCommandClassName
static final java.lang.String defaultCommandClassName
Default implementation class for this command.
-
-
Method Detail
-
setOrderId
void setOrderId(long orderId)
Sets the order ID for the simulated order.- Parameters:
orderId
- The order ID.
-
setCatalogEntryMap
void setCatalogEntryMap(java.util.Map<java.lang.String,java.math.BigDecimal> aCatalogEntryMap)
Sets the Map object that contains the CatalogEntry ID as the key and its quantity as the value.- Parameters:
aCatalogEntryMap
- The Map object.
-
setStoreKey
void setStoreKey(StoreKey storeKey)
Sets the StoreKey object.- Parameters:
storeKey
- The StoreKey object to set.
-
setOwnerKey
void setOwnerKey(CustomerKey aCustomerKey)
Sets the CustomerKey object of the owner of the simulated order.- Parameters:
aCustomerKey
- The CustomerKey object to set.
-
getOrder
Order getOrder()
Gets the created Order object.- Returns:
- The Order object.
-
-