public class ComposeATPInventoryAvailabilityForDKCmdImpl extends com.ibm.commerce.inventory.facade.server.commands.ComposeATPInventoryAvailabilityCmdImpl implements ComposeInventoryAvailabilityCmd
InventoryAvailabilityType
from ATP inventory system.
It should be registered in the CMDREG with interface:
com.ibm.commerce.inventory.facade.server.commands.ComposeInventoryAvailabilityCmd+ATPInventorySystem.
This implementation extends ComposeATPInventoryAvailabilityCmdImpl
to support dynamic kit.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
ComposeATPInventoryAvailabilityForDKCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
This method executes the main business logic of this class.
|
isReadyToCallExecute, reset
getBaseItem, getCatalogEntry, getCatalogEntryIds, getComponentId, getNouns, getOnlineStoreIdentifiers, getOnlineStoreIds, getPartNumbers, getPhysicalStoreIdentifiers, getPhysicalStoreIds, getSearchExpression, setBaseItems, setCatalogEntryAccessBeans, setCatalogEntryIds, setComponentId, setFulfillmentCenterIdList, setFulfillmentCenterIds, setNouns, setOnlineStoreFulfillmentCenterIds, setOnlineStoreIdentifiers, setOnlineStoreIds, setOnlineStores, setPartNumbers, setPhysicalStoreFulfillmentCenterIds, setPhysicalStoreIdentifiers, setPhysicalStoreIds, setPhysicalStores, setSearchExpression
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBaseItem, getCatalogEntry, getCatalogEntryIds, getComponentId, getNouns, getOnlineStoreIdentifiers, getOnlineStoreIds, getPartNumbers, getPhysicalStoreIdentifiers, getPhysicalStoreIds, getSearchExpression, setBaseItems, setCatalogEntryAccessBeans, setCatalogEntryIds, setComponentId, setFulfillmentCenterIdList, setFulfillmentCenterIds, setNouns, setOnlineStoreFulfillmentCenterIds, setOnlineStoreIdentifiers, setOnlineStoreIds, setOnlineStores, setPartNumbers, setPhysicalStoreFulfillmentCenterIds, setPhysicalStoreIdentifiers, setPhysicalStoreIds, setPhysicalStores, setSearchExpression
public static final java.lang.String COPYRIGHT
public ComposeATPInventoryAvailabilityForDKCmdImpl()
public void execute() throws com.ibm.websphere.command.CommandException
InventoryAvailabilityType
nouns and sets them.
If the catalog entry type is ItemBean or PackageBean, the business logic is same as its super method.
If the catalog entry type is DynamicKitBean, it resolves components of the dynamic kit from preconfiguration(the dynamic kit
will be ignored if preconfiguration is not available).
Then, it fetches available quantity and expected available date for each component.
At last, it composes inventory availability at dynamic kit level for each online store and physical store.execute
in interface com.ibm.websphere.command.Command
execute
in class com.ibm.commerce.inventory.facade.server.commands.ComposeATPInventoryAvailabilityCmdImpl
com.ibm.websphere.command.CommandException