Class ComposeATPInventoryAvailabilityForDKCmdImpl

  • All Implemented Interfaces:

    public class ComposeATPInventoryAvailabilityForDKCmdImpl
    implements ComposeInventoryAvailabilityCmd
    This command implementation is used to compose the InventoryAvailabilityType from ATP inventory system. It should be registered in the CMDREG with interface: This implementation extends ComposeATPInventoryAvailabilityCmdImpl to support dynamic kit.
    See Also:
    Serialized Form
    • Field Detail


        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ComposeATPInventoryAvailabilityForDKCmdImpl

        public ComposeATPInventoryAvailabilityForDKCmdImpl()
    • Method Detail

      • execute

        public void execute()
        This method executes the main business logic of this class. It fetches the ATP inventory availability for every catalog entry/online store or catalog entry/physical store combination. Then it composes a list of 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.
        Specified by:
        execute in interface
        execute in class