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, validateParametersexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
public GetEligibleFulfillmentCentersCmdImpl()
public java.util.Vector getAllOrderItems()
Item.
public java.util.Vector getFulfillmentCenters()
getFulfillmentCenters in interface GetEligibleFulfillmentCentersCmdpublic java.util.Hashtable getOrderItemFulfillmentCentersMaps()
getOrderItemFulfillmentCentersMaps in interface GetEligibleFulfillmentCentersCmdpublic java.util.Vector getOrderItems()
public java.lang.Integer getPreferredFulfillmentCenterId()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setAllOrderItems(java.util.Vector newAllOrderItems)
setAllOrderItems in interface GetEligibleFulfillmentCentersCmdnewAllOrderItems - a Vector of com.ibm.commerce.order.calculation.Item.public void setOrderItem(Item anOrderItemData)
setOrderItem in interface GetEligibleFulfillmentCentersCmdanOrderItemData - the order item.public void setOrderItemFulfillmentCentersMaps(java.util.Hashtable newOrderItemFulfillmentCentersMaps)
newOrderItemFulfillmentCentersMaps - Hashtable:
public void setOrderItems(java.util.Vector newOrderItems)
setOrderItems in interface GetEligibleFulfillmentCentersCmdnewOrderItems - a Vector of Item.public void setPreferredFulfillmentCenterId(java.lang.Integer newPreferredFulfillmentCenterId)
setPreferredFulfillmentCenterId in interface GetEligibleFulfillmentCentersCmdnewPreferredFulfillmentCenterId - the identifier of the preferred fulfillment center.