public class AbstractProcessInventoryRequirementActionCmdImpl extends AbstractProcessNounActionCmdImpl implements ProcessInventoryRequirementActionCmd
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
| Constructor and Description |
|---|
AbstractProcessInventoryRequirementActionCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
SelectionCriteria |
buildInternalSelectionCriteria(java.lang.String catEntryId,
java.lang.String onlineStoreId,
java.lang.String physicalStoreId)
Build the internal selection criteria to get inventory availability from read mediator.
|
java.util.List |
getInventoryAvailabilityFromDOM(java.lang.String catalogEntryPartNumber,
java.lang.String onlineStoreNameIdentifier,
java.lang.String physicalStoreExternalIdentifier)
This method gets the inventory availability from an external Order
Management System.
|
Invcnf |
getInventoryConfiguration(java.lang.String catEntryId,
java.lang.String onlineStoreId,
java.lang.String physicalStoreId)
Get the configuration of inventory availability of catEntryId/physicalStoreId or catEntryId/onlineStoreId.
|
boolean |
isValidStoreId(java.lang.String storeId)
Validate the store id.
|
void |
performExecute() |
void |
validate()
This method to validate if the
InventoryRequirementType passed from the caller command is a valid order. |
getActionExpression, getNoun, isGeneric, isReadyToCallExecute, reset, setActionExpression, setNoun, setPersistentObjectsexecute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisGeneric, setActionExpression, setNoun, setPersistentObjectspublic static final java.lang.String COPYRIGHT
public AbstractProcessInventoryRequirementActionCmdImpl()
public void performExecute()
throws java.lang.Exception
performExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class com.ibm.websphere.command.TargetableCommandImpljava.lang.Exceptionpublic void validate()
throws AbstractApplicationException
InventoryRequirementType passed from the caller command is a valid order.validate in interface AbstractProcessNounActionCmdAbstractApplicationException - Throws an exception with message to indicate that the InventoryRequirementType is not valid.public java.util.List getInventoryAvailabilityFromDOM(java.lang.String catalogEntryPartNumber,
java.lang.String onlineStoreNameIdentifier,
java.lang.String physicalStoreExternalIdentifier)
catalogEntryPartNumber - catalog entry part number.onlineStoreNameIdentifier - online store name identifier.physicalStoreExternalIdentifier - physical store external identifier.public SelectionCriteria buildInternalSelectionCriteria(java.lang.String catEntryId, java.lang.String onlineStoreId, java.lang.String physicalStoreId)
catEntryId - catalog entry id.onlineStoreId - online store id.physicalStoreId - physical store id.public boolean isValidStoreId(java.lang.String storeId)
storeId - the store identifier.public Invcnf getInventoryConfiguration(java.lang.String catEntryId, java.lang.String onlineStoreId, java.lang.String physicalStoreId) throws AbstractApplicationException
catEntryId - catalog entry id.onlineStoreId - online store id.physicalStoreId - physical store id.AbstractApplicationException