public class ComposeATPInventoryAvailabilityForDKCmdImpl extends com.ibm.commerce.inventory.facade.server.commands.ComposeATPInventoryAvailabilityCmdImpl implements ComposeInventoryAvailabilityCmd
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 |
---|---|
protected java.lang.Object[] | checkComponentsInFfmcenter(java.lang.Long[] compCatEntryIds, int[] compQuantities, java.lang.Integer ffmcenterId)
This method checks inventory availability for all components in a single fulfillment center, returns the available quantity or expected available date at dynamic kit level.
|
protected InventoryAvailabilityType | composeInventoryAvailabilityForDynamicKit(CatalogEntryAccessBean abDKCatalogEntry, java.lang.Long[] compCatEntryIds, int[] compQuantities, StoreAccessBean aabOnlineStore, PhysicalStoreType asdoPhysicalStore)
This method composes the InventoryAvailabilityType of a dynamic kit in an online store or a physical store.
|
void | execute()
This method executes the main business logic of this class.
|
protected void | fetchATPAvailabilityDates(CatalogEntryAccessBean aabCatalogEntry, java.lang.Integer quantity)
This method fetches the ATP inventory available date for a catalog entry with required quantity.
|
protected java.lang.Object[] | resolveComponentsOfDynamicKit(java.lang.String dk_catentry)
This method resolves preconfigurated components of a dynamic kit
|
public static final java.lang.String COPYRIGHT
public ComposeATPInventoryAvailabilityForDKCmdImpl()
public void execute() throws com.ibm.websphere.command.CommandException
protected java.lang.Object[] checkComponentsInFfmcenter(java.lang.Long[] compCatEntryIds, int[] compQuantities, java.lang.Integer ffmcenterId) throws java.lang.Exception
protected InventoryAvailabilityType composeInventoryAvailabilityForDynamicKit(CatalogEntryAccessBean abDKCatalogEntry, java.lang.Long[] compCatEntryIds, int[] compQuantities, StoreAccessBean aabOnlineStore, PhysicalStoreType asdoPhysicalStore) throws InventoryApplicationException
protected void fetchATPAvailabilityDates(CatalogEntryAccessBean aabCatalogEntry, java.lang.Integer quantity) throws InventoryApplicationException
protected java.lang.Object[] resolveComponentsOfDynamicKit(java.lang.String dk_catentry) throws ECException