public class GetEligibleFulfillmentCentersCmdImpl extends TaskCommandImpl implements GetEligibleFulfillmentCentersCmd
GetEligibleFulfillmentCenters
task command
interface.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
GetEligibleFulfillmentCentersCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
getAllOrderItems()
Deprecated.
This method will be changed to protected.
|
java.util.Vector |
getFulfillmentCenters()
Returns a list of fulfillment centers that could ship an item specified by the setOrderItem method.
|
java.util.Hashtable |
getOrderItemFulfillmentCentersMaps()
Gets lists of fulfillment centers which can ship items specified by the setOrderItems method.
|
java.util.Vector |
getOrderItems()
Deprecated.
This method will be changed to protected.
|
java.lang.Integer |
getPreferredFulfillmentCenterId()
Deprecated.
This method will be changed to protected.
|
void |
performExecute()
Performs the actual business logic of the command.
|
void |
reset()
This method should be called after a command has been executed to reset its instance variables.
|
void |
setAllOrderItems(java.util.Vector newAllOrderItems)
Sets all order items to be considered when determining fulfillment centers.
|
void |
setOrderItem(Item anOrderItemData)
Sets the item (with specified catalog entry id) for which eligible fulfillment centers are to be determined.
|
void |
setOrderItemFulfillmentCentersMaps(java.util.Hashtable newOrderItemFulfillmentCentersMaps)
Sets the lists of fulfillment centers which can ship items specified by the setOrderItems method.
|
void |
setOrderItems(java.util.Vector newOrderItems)
Sets the item (with specified catalog entry id) for which eligible fulfillment centers are to be determined.
|
void |
setPreferredFulfillmentCenterId(java.lang.Integer newPreferredFulfillmentCenterId)
Sets the preferred fulfillment center.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
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
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public GetEligibleFulfillmentCentersCmdImpl()
public java.util.Vector getAllOrderItems()
Item
.
public java.util.Vector getFulfillmentCenters()
getFulfillmentCenters
in interface GetEligibleFulfillmentCentersCmd
public java.util.Hashtable getOrderItemFulfillmentCentersMaps()
getOrderItemFulfillmentCentersMaps
in interface GetEligibleFulfillmentCentersCmd
public java.util.Vector getOrderItems()
public java.lang.Integer getPreferredFulfillmentCenterId()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setAllOrderItems(java.util.Vector newAllOrderItems)
setAllOrderItems
in interface GetEligibleFulfillmentCentersCmd
newAllOrderItems
- a Vector of com.ibm.commerce.order.calculation.Item.public void setOrderItem(Item anOrderItemData)
setOrderItem
in interface GetEligibleFulfillmentCentersCmd
anOrderItemData
- the order item.public void setOrderItemFulfillmentCentersMaps(java.util.Hashtable newOrderItemFulfillmentCentersMaps)
newOrderItemFulfillmentCentersMaps
- Hashtable:
public void setOrderItems(java.util.Vector newOrderItems)
setOrderItems
in interface GetEligibleFulfillmentCentersCmd
newOrderItems
- a Vector of Item
.public void setPreferredFulfillmentCenterId(java.lang.Integer newPreferredFulfillmentCenterId)
setPreferredFulfillmentCenterId
in interface GetEligibleFulfillmentCentersCmd
newPreferredFulfillmentCenterId
- the identifier of the preferred fulfillment center.