com.ibm.commerce.inventory.commands

Class GenericInventoryBaseCmdImpl

    • Constructor Detail

      • GenericInventoryBaseCmdImpl

        public GenericInventoryBaseCmdImpl()
        Default constructor.
    • Method Detail

      • getCatEntryId

        public java.lang.Long getCatEntryId()
        Get catalog entry id. Creation date: (9/7/2001 10:20:50 AM)
        Returns:
        java.lang.Long
      • getFulfillmentCenterId

        public java.lang.Integer getFulfillmentCenterId()
        Returns the id of the fulfillment center that the inventory reservation took place. Creation date: (9/7/2001 10:03:40 AM)
        Returns:
        java.lang.Integer
      • getItemSpecId

        public java.lang.Long getItemSpecId()
        Get Item specification id. Creation date: (9/7/2001 10:14:44 AM)
        Returns:
        java.lang.String
      • getQuantity

        public java.lang.Integer getQuantity()
        Get Quantity. Creation date: (9/7/2001 10:21:14 AM)
        Returns:
        java.lang.Integer
      • getReservationId

        public java.lang.Long getReservationId()
        Returns the reservation id for ATP enabled stores. Returns null for the non-ATP stores. Creation date: (9/7/2001 10:03:40 AM)
        Returns:
        java.lang.Long
      • getStore

        public StoreAccessBean getStore()
        Get store access bean. Creation date: (9/7/2001 10:22:44 AM)
        Returns:
        com.ibm.commerce.common.objects.StoreAccessBean
      • initParameters

        public void initParameters()
                            throws ECSystemException
        Initialize some parameters for the command. Creation date: (9/7/2001 10:38:06 AM)
        Throws:
        ECSystemException
      • isGeneric

        public boolean isGeneric()
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Returns true when it is ready to execute.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class AbstractECTargetableCommand
        Returns:
        boolean
      • reset

        public void reset()
        Reset the command's parameters.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • setCatEntryId

        public void setCatEntryId(java.lang.Long param)
        Set the catalog Id of the product to reserve. Creation date: (9/7/2001 10:03:40 AM)
        Parameters:
        param - java.lang.Long
      • setFulfillmentCenterId

        public void setFulfillmentCenterId(java.lang.Integer fid)
        Set the fulfillment center that the inventory reservation took place. Creation date: (9/7/2001 10:03:40 AM)
      • setItemSpecId

        public void setItemSpecId(java.lang.Long newItemSpecId)
        Set the item specification id. Creation date: (9/7/2001 10:14:44 AM)
        Parameters:
        newItemSpecId - java.lang.String
      • setQuantity

        public void setQuantity(java.lang.Integer argQuantity)
        Set the quantity of the product to reserve. Creation date: (9/7/2001 10:03:40 AM)
        Parameters:
        argQuantity - java.lang.Long
      • setReservationId

        public void setReservationId(java.lang.Long rid)
        Set the reservation id for ATP enabled stores. this Id is gotten from the ReserveInventory command. Creation date: (9/7/2001 10:03:40 AM)
      • setStore

        public void setStore(StoreAccessBean param)
        Set the store object in which this reservation is taking place. Creation date: (9/7/2001 10:03:40 AM)
        Parameters:
        param - com.ibm.commerce.common.objects.StoreAccessBean
      • updateInventoryForNonATP

        public void updateInventoryForNonATP()
                                      throws ECException
        Update inventory for non-ATP store. Creation date: (9/7/2001 1:59:09 PM)
        Throws:
        ECException