public class FetchInventoryAvailabilityCmdImpl extends AbstractFetchNounCmdImpl implements FetchInventoryAvailabilityCmd
InventoryAvailabilityType
. It calls the
ComposeInventoryAvailabilityCmd
to compose the
InventoryAvailabilityType
.Constructor and Description |
---|
FetchInventoryAvailabilityCmdImpl()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getBaseItems() |
java.util.Map |
getCatalogEntries() |
java.lang.String |
getComposeCommandInterface() |
java.util.List |
getNouns()
This method returns the list of nouns retrieved by the fetch implementation.
|
java.util.Map |
getOnlineStoreFulfillmentCenterIds() |
java.util.Map |
getOnlineStores()
Gets the map which contains the mapping from online store id to online store access bean.
|
java.util.Map |
getPhysicalStoreFulfillmentCenterIds() |
java.util.Map |
getPhysicalStores() |
void |
initComposeCommand(ComposeInventoryAvailabilityCmd command)
This method is used to initialaize the
ComposeInventoryAvailabilityCmd command. |
void |
performExecute()
This method performs the business flow of the class.
|
void |
setNouns(java.util.List alistNouns)
(non-Javadoc)
|
getShow, isReadyToCallExecute, reset, setGet, setSearchExpression
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, 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
getShow, setGet, setSearchExpression
public FetchInventoryAvailabilityCmdImpl()
public void performExecute() throws java.lang.Exception
Based on the xpath and access profile, this method resolves the catalog entry, online store and physical store, and the fulfillment centers of the stores.
After the useable objects resoved, it get the an implementation command
for the entry of cmdreg:
com.ibm.commerce.inventory.facade.server.commands.ComposeInventoryAvailabilityCmd+DOMInventorySystem
com.ibm.commerce.inventory.facade.server.commands.ComposeInventoryAvailabilityCmd+ATPInventorySystem
com.ibm.commerce.inventory.facade.server.commands.ComposeInventoryAvailabilityCmd+NonATPInventorySystem
It initalized the command and execute the command. Then get the
InventoryAvailabilityType
list from this command.
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class com.ibm.websphere.command.TargetableCommandImpl
java.lang.Exception
- Throws exception when error.public void initComposeCommand(ComposeInventoryAvailabilityCmd command)
ComposeInventoryAvailabilityCmd
command.command
- The ComposeInventoryAvailabilityCmd implementaion.public java.lang.String getComposeCommandInterface()
ComposeInventoryAvailabilityCmd
interface name.public java.util.List getNouns()
AbstractFetchNounCmd
getNouns
in interface AbstractFetchNounCmd
public void setNouns(java.util.List alistNouns)
com.ibm.commerce.foundation.server.command.bod.AbstractFetchNounCmd#setNouns()
public java.util.Map getCatalogEntries()
public java.util.Map getBaseItems()
public java.util.Map getPhysicalStores()
PhysicalStoreType
.public java.util.Map getOnlineStoreFulfillmentCenterIds()
public java.util.Map getPhysicalStoreFulfillmentCenterIds()
public java.util.Map getOnlineStores()