com.ibm.commerce.inventory.commands

Interface DoInventoryActionCmd

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int ADJUST_RESERVE_INVENTORY
      This usage is used to unreserve inventory
      static int ALLOCATE_INVENTORY
      This usage is used to allocate inventory
      static int ATP_INVENTORY
      Specify ATP-inventory model for store
      static int CHECK_INVENTORY
      This usage is used to check available quantity,
      static java.lang.String COPYRIGHT
      The internal copyright field.
      static java.lang.String defaultCommandClassName
      The default implementation class is "com.ibm.commerce.inventory.commands.DoInventoryActionCmdImpl".
      static int EXTERNAL_IMS
      Specify external inventory management system
      static java.lang.String GENERIC_CALLER_CMD
      Specify the caller command name is GenericCaller
      static int GET_DEFAULT_ATP_PARAMETER
      This usage is used to get Default ATPParameter
      static int GET_ESTIMATE_AVAILABILITY_DATE
      The usage is used to get estimated availability date
      static int GET_INVENTORYCATALOG
      This usage is used to get inventory catalog
      static InventoryStatusConvertor INVENORY_STATUS_CONVERTOR
      inventory status convertor
      static java.lang.String INVENTORY_ALLOCATION_CHECK
      Specify the caller command name is inventoryAllocationCheckCmd
      static java.lang.String NAME
      The name of this interface is "com.ibm.commerce.inventory.commands.DoInventoryActionCmd".
      static int NO_ACTION
      The value -9999 is to represent that there is no action set
      static int NO_INVENTORY
      Specify No-inventory model for store
      static int NON_ATP_INVENTORY
      Specify non-ATP inventory model for store
      static java.lang.String ORDER_CALCULATE
      Specify the caller command name is OrderCalculateCmd
      static java.lang.String ORDER_CANCEL
      Specify the caller command name is OrderCancelCmd
      static java.lang.String ORDER_CANCEL_EXTERNAL
      Specify the caller command name is OrderCancelCmd
      static java.lang.String ORDER_PRE_PROCESS
      Specify the caller command name is OrderPreProcessCmd
      static java.lang.String ORDER_PREPARE
      Specify the caller command name is OrderPrepareCmd
      static java.lang.String ORDER_PROCESS
      Specify the caller command name is OrderProcessCmd
      static java.lang.String ORDERITEM_BASE_CMD
      Specify the caller command name is OrderItemBaseCmd
      static java.lang.String ORDERITEM_DELETE
      Specify the caller command name is OrderItemDeleteCmd
      static java.lang.String ORDERITEM_DISPLAY
      Specify the caller command name is OrderItemDisplayCmd
      static java.lang.String ORDERITEM_MOVE
      Specify the caller command name is OrderItemMoveCmd
      static java.lang.String ORDERITEM_SELECT
      Specify the caller command name is OrderItemSelectCmd
      static java.lang.String QUOTE_PREPARE
      Specify the caller command name is QuotePrepareCmd
      static java.lang.String QUOTEITEM_BASE
      Specify the caller command name is QuoteItemBaseCmd
      static java.lang.String RELEASE_EXPIRED_ALLOCATIONS
      Specify the caller command name is ReleaseExpiredAllocationsCmd
      static java.lang.String RELEASE_TO_FULFILLMENT
      Specify the caller command name is ReleaseToFulfillmentCmd
      static int RESERVE_INVENTORY
      This usage is used to reserve inventory
      static int RESOLVE_FULFILLMENTCENTER
      This usage is used to resolve fulfillmentcenter
      static int REVERSE_INVENTORY
      This usage is used to reverse inventory
      static int SHIP_ITEMS
      This usage is used to ship items.
      static int UPDATE_FULFILLMENTCENTER
      This usage is used to resolve fulfillment center and check available inventory on the resolved fulfillment
      • Fields inherited from interface com.ibm.websphere.command.Command

        serialVersionUID
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      int getAction()
      This method returns the action parameters, this action is used to specify the needed inventory operation
      ATPParameters getATPParms()
      This method returns the input ATP parameters.
      java.lang.String getCallerCommandName()
      This method returns the callerCommandName
      java.lang.Long getCatEntryId()
      This method returns the catEntry parameters, this parameter is used for checkInventory for non-ATP It is optional if order item is set
      java.util.Vector getCatEntryIdNotAvailinInv()
      Returns the Vector with Catalog Entry IDs which are not available in the requested amount in inventory
      java.lang.String getContinue()
      This method returns whether to continue when there is exception thrown in ResolveFulfillmentCenter
      ATPParameters getDefaultATPParms()
      This method returns the default ATP parameters,different caller command has different default inventory behavior
      boolean getFlushNeeded()
      This method returns whether flush needed for SP to catch the changes to DB
      java.lang.Integer getFulfillmentCenterId()
      This method returns the fulfillmentCenter parameters It is used for action checkInventory,reverseInventory,resolveFulfillmentCenter,UpdateFulfillmentCenter, but it is optional if order item is set
      java.util.Vector getFulfillmentCenters()
      Returns a list of fulfillment centers that could ship an item specified by the setOrderItem method.
      java.util.Hashtable getInvalidlyAllocateOrderItemsAfterAllocation()
      Returns invalidlyAllocatedOrderItems

      java.util.Vector getItems()
      This method returns Item to resolveFulfillmentcenter
      java.lang.String[] getMoveInOrders()
      This method returns the output orders from where the input order items are moved to.
      java.lang.String[] getMoveOutOrders()
      This method returns the output orders from where the input order items are moved to.
      java.lang.Integer getNeededQuantity()
      Returns the needed quantity, it is converted from catalog quantity

      java.lang.String[] getOrderId()
      This method returns orderId, inventory component need this orderId to get the current situation for order and order item
      OrderItemAccessBean getOrderItem()
      This method returns orderItem
      java.util.Hashtable getOrderItemFulfillmentCentersMaps()
      This method returns lists of fulfillment centers which can ship items specified by the setOrderItems method.
      java.lang.Integer getPreferredFulfillmentCenterId()
      Return the preferred fulfillment center,it is optional for usage ResolveFulfillmentCenter and GetEstimateAvailableTime
      java.lang.Double getQuantity()
      return quantity to check the inventory.
      java.lang.String getQuantityMeasure()
      Return a quantity measure to check the inventory (optional).
      java.lang.String getReservationInstance()
      This method returns the reservation description identifying the instance.
      java.lang.Long getReservationType()
      This method returns the reservation type.
      java.lang.Long getReserveId()
      This method returns the reservation identifier created after executing this command.
      java.lang.Integer getShippingModeId()
      Return the shipping mode id.
      java.lang.Integer getStoreId()
      Return a store id,it is optional
      java.util.Hashtable getUniqueOrderitemIdList()
      This method returns the uniqueOrderItemIdList, this list records the touched order item during order item add/update
      java.lang.String getUnitOfMeasure()
      This method returns the unit of measure
      void setAction(int action)
      This method sets the action parameters.
      void setATPParms(ATPParameters newATPParms)
      /** This method sets the ATP parameters.
      void setCallerCommandName(java.lang.String iCmdname)
      This method sets callerCommandName, different caller may have different inventory behavior
      void setCatEntryId(java.lang.Long catEntry_id)
      This method sets the catEntry parameters to check inventory It is optional if order item is set
      void setContinue(java.lang.String strContinue)
      This method sets whether to continue
      void setFlushNeeded(boolean flushNeeded)
      This method sets whether flush needed after order prepare
      void setFulfillmentCenterId(java.lang.Integer fulfillmentCenter_id)
      This method sets the fulfillmentCenter parameters to check inventory on It is optional if order item is set
      void setItems(java.util.Vector items)
      This method sets Items to check inventory
      void setMoveInOrders(java.lang.String[] anstrInOrders)
      This method sets a destination order for the output order items.
      void setMoveOutOrders(java.lang.String[] iabOutOrders)
      This method sets the orders from which order items will be moved.
      void setOrderId(java.lang.String[] anstrOrderIds)
      This method sets orderId, inventory component need this orderId to get the current situation for order and order item
      void setOrderItem(OrderItemAccessBean iOrderItem)
      This method sets orderItem, if this inventory operation is only operated on this orderItem.
      void setOrderItemFulfillmentCentersMaps(java.util.Hashtable orderItemFulfillmentCentersMap)
      This method sets lists of fulfillment centers which can ship items specified by the setOrderItems method.
      void setPreferredFulfillmentCenterId(java.lang.Integer preferredFulfillmentCenterId)
      This method sets the preferred fulfillment center.
      void setQuantity(java.lang.Double quantity)
      This method sets a quantity to check the inventory.
      void setQuantityMeasure(java.lang.String quantityMeasure)
      This method sets a quantity measure to check the inventory (optional).
      void setRequestProperties(TypedProperty aRequestProperties)
      Sets the request properties.
      void setReservationId(java.lang.Long rid)
      This method sets the reservation id for ATP enabled stores.
      void setReservationInstance(java.lang.String argReservationInstance)
      This method sets the reservation description identifying the instance.
      void setReservationType(java.lang.Long argReservationType)
      This method sets the reservation type.
      void setShippingModeId(java.lang.Integer shippingModeId)
      This method sets the shipping mode id.
      void setStoreId(java.lang.Integer storeId)
      This method sets a store id to check the inventory.
      void setUniqueOrderitemIdList(java.util.Hashtable uniqueOrderItemIdList)
      This method sets the uniqueOrderItemIdList
      void setUnitOfMeasure(java.lang.String unitOfMeasure)
      This method sets the unit of measure
      • Methods inherited from interface com.ibm.commerce.command.CacheableECCommand

        execute
      • Methods inherited from interface com.ibm.websphere.command.CacheableCommand

        executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
      • Methods inherited from interface com.ibm.websphere.command.TargetableCommand

        getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
      • Methods inherited from interface com.ibm.websphere.command.Command

        isReadyToCallExecute, reset
      • Methods inherited from interface com.ibm.websphere.command.CommandCaller

        unionDependencies
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        The name of this interface is "com.ibm.commerce.inventory.commands.DoInventoryActionCmd".
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation class is "com.ibm.commerce.inventory.commands.DoInventoryActionCmdImpl".
        See Also:
        Constant Field Values
      • NO_ACTION

        static final int NO_ACTION
        The value -9999 is to represent that there is no action set
        See Also:
        Constant Field Values
      • GET_DEFAULT_ATP_PARAMETER

        static final int GET_DEFAULT_ATP_PARAMETER
        This usage is used to get Default ATPParameter
        See Also:
        Constant Field Values
      • CHECK_INVENTORY

        static final int CHECK_INVENTORY
        This usage is used to check available quantity,
        See Also:
        Constant Field Values
      • RESOLVE_FULFILLMENTCENTER

        static final int RESOLVE_FULFILLMENTCENTER
        This usage is used to resolve fulfillmentcenter
        See Also:
        Constant Field Values
      • UPDATE_FULFILLMENTCENTER

        static final int UPDATE_FULFILLMENTCENTER
        This usage is used to resolve fulfillment center and check available inventory on the resolved fulfillment
        See Also:
        Constant Field Values
      • ALLOCATE_INVENTORY

        static final int ALLOCATE_INVENTORY
        This usage is used to allocate inventory
        See Also:
        Constant Field Values
      • REVERSE_INVENTORY

        static final int REVERSE_INVENTORY
        This usage is used to reverse inventory
        See Also:
        Constant Field Values
      • GET_ESTIMATE_AVAILABILITY_DATE

        static final int GET_ESTIMATE_AVAILABILITY_DATE
        The usage is used to get estimated availability date
        See Also:
        Constant Field Values
      • RESERVE_INVENTORY

        static final int RESERVE_INVENTORY
        This usage is used to reserve inventory
        See Also:
        Constant Field Values
      • ADJUST_RESERVE_INVENTORY

        static final int ADJUST_RESERVE_INVENTORY
        This usage is used to unreserve inventory
        See Also:
        Constant Field Values
      • GET_INVENTORYCATALOG

        static final int GET_INVENTORYCATALOG
        This usage is used to get inventory catalog
        See Also:
        Constant Field Values
      • SHIP_ITEMS

        static final int SHIP_ITEMS
        This usage is used to ship items.
        See Also:
        Constant Field Values
      • ORDERITEM_BASE_CMD

        static final java.lang.String ORDERITEM_BASE_CMD
        Specify the caller command name is OrderItemBaseCmd
        See Also:
        Constant Field Values
      • GENERIC_CALLER_CMD

        static final java.lang.String GENERIC_CALLER_CMD
        Specify the caller command name is GenericCaller
        See Also:
        Constant Field Values
      • ORDER_PREPARE

        static final java.lang.String ORDER_PREPARE
        Specify the caller command name is OrderPrepareCmd
        See Also:
        Constant Field Values
      • ORDER_PRE_PROCESS

        static final java.lang.String ORDER_PRE_PROCESS
        Specify the caller command name is OrderPreProcessCmd
        See Also:
        Constant Field Values
      • ORDER_PROCESS

        static final java.lang.String ORDER_PROCESS
        Specify the caller command name is OrderProcessCmd
        See Also:
        Constant Field Values
      • INVENTORY_ALLOCATION_CHECK

        static final java.lang.String INVENTORY_ALLOCATION_CHECK
        Specify the caller command name is inventoryAllocationCheckCmd
        See Also:
        Constant Field Values
      • ORDERITEM_SELECT

        static final java.lang.String ORDERITEM_SELECT
        Specify the caller command name is OrderItemSelectCmd
        See Also:
        Constant Field Values
      • ORDER_CALCULATE

        static final java.lang.String ORDER_CALCULATE
        Specify the caller command name is OrderCalculateCmd
        See Also:
        Constant Field Values
      • ORDERITEM_MOVE

        static final java.lang.String ORDERITEM_MOVE
        Specify the caller command name is OrderItemMoveCmd
        See Also:
        Constant Field Values
      • ORDERITEM_DISPLAY

        static final java.lang.String ORDERITEM_DISPLAY
        Specify the caller command name is OrderItemDisplayCmd
        See Also:
        Constant Field Values
      • ORDERITEM_DELETE

        static final java.lang.String ORDERITEM_DELETE
        Specify the caller command name is OrderItemDeleteCmd
        See Also:
        Constant Field Values
      • ORDER_CANCEL

        static final java.lang.String ORDER_CANCEL
        Specify the caller command name is OrderCancelCmd
        See Also:
        Constant Field Values
      • ORDER_CANCEL_EXTERNAL

        static final java.lang.String ORDER_CANCEL_EXTERNAL
        Specify the caller command name is OrderCancelCmd
        See Also:
        Constant Field Values
      • QUOTEITEM_BASE

        static final java.lang.String QUOTEITEM_BASE
        Specify the caller command name is QuoteItemBaseCmd
        See Also:
        Constant Field Values
      • QUOTE_PREPARE

        static final java.lang.String QUOTE_PREPARE
        Specify the caller command name is QuotePrepareCmd
        See Also:
        Constant Field Values
      • RELEASE_EXPIRED_ALLOCATIONS

        static final java.lang.String RELEASE_EXPIRED_ALLOCATIONS
        Specify the caller command name is ReleaseExpiredAllocationsCmd
        See Also:
        Constant Field Values
      • RELEASE_TO_FULFILLMENT

        static final java.lang.String RELEASE_TO_FULFILLMENT
        Specify the caller command name is ReleaseToFulfillmentCmd
        See Also:
        Constant Field Values
      • ATP_INVENTORY

        static final int ATP_INVENTORY
        Specify ATP-inventory model for store
        See Also:
        Constant Field Values
      • NON_ATP_INVENTORY

        static final int NON_ATP_INVENTORY
        Specify non-ATP inventory model for store
        See Also:
        Constant Field Values
      • NO_INVENTORY

        static final int NO_INVENTORY
        Specify No-inventory model for store
        See Also:
        Constant Field Values
      • EXTERNAL_IMS

        static final int EXTERNAL_IMS
        Specify external inventory management system
        See Also:
        Constant Field Values
    • Method Detail

      • setRequestProperties

        void setRequestProperties(TypedProperty aRequestProperties)
        Sets the request properties.
        Parameters:
        aRequestProperties - request properties.
      • setATPParms

        void setATPParms(ATPParameters newATPParms)
        /** This method sets the ATP parameters.
        Parameters:
        newATPParms - ATPParameters
      • getATPParms

        ATPParameters getATPParms()
        This method returns the input ATP parameters.
        Returns:
        ATPParameters
      • getDefaultATPParms

        ATPParameters getDefaultATPParms()
        This method returns the default ATP parameters,different caller command has different default inventory behavior
        Returns:
        ATPParameters
      • getAction

        int getAction()
        This method returns the action parameters, this action is used to specify the needed inventory operation
        Returns:
        action
      • setAction

        void setAction(int action)
        This method sets the action parameters. This action is used to specify the needed inventory operation. It is mandatory to specify the inventory operation that order component wants to fulfill
        Parameters:
        action -
      • getCallerCommandName

        java.lang.String getCallerCommandName()
        This method returns the callerCommandName
        Returns:
        istrCallerCommandName
      • setCallerCommandName

        void setCallerCommandName(java.lang.String iCmdname)
        This method sets callerCommandName, different caller may have different inventory behavior
        Parameters:
        iCmdname -
      • getCatEntryId

        java.lang.Long getCatEntryId()
        This method returns the catEntry parameters, this parameter is used for checkInventory for non-ATP It is optional if order item is set
        Returns:
        catEntry_id
      • setCatEntryId

        void setCatEntryId(java.lang.Long catEntry_id)
        This method sets the catEntry parameters to check inventory It is optional if order item is set
        Parameters:
        catEntry_id -
      • getFulfillmentCenterId

        java.lang.Integer getFulfillmentCenterId()
        This method returns the fulfillmentCenter parameters It is used for action checkInventory,reverseInventory,resolveFulfillmentCenter,UpdateFulfillmentCenter, but it is optional if order item is set
        Returns:
        fulfillmentCenter_id
      • setFulfillmentCenterId

        void setFulfillmentCenterId(java.lang.Integer fulfillmentCenter_id)
        This method sets the fulfillmentCenter parameters to check inventory on It is optional if order item is set
        Parameters:
        fulfillmentCenter_id -
      • getOrderItem

        OrderItemAccessBean getOrderItem()
        This method returns orderItem
        Returns:
        iOrderItem The orderItem to be operated on
      • setOrderItem

        void setOrderItem(OrderItemAccessBean iOrderItem)
        This method sets orderItem, if this inventory operation is only operated on this orderItem.
        Parameters:
        iOrderItem - The orderItem to be operated on
      • setOrderItemFulfillmentCentersMaps

        void setOrderItemFulfillmentCentersMaps(java.util.Hashtable orderItemFulfillmentCentersMap)
        This method sets lists of fulfillment centers which can ship items specified by the setOrderItems method.
        Parameters:
        orderItemFulfillmentCentersMap -
        • key - (Long) The OrderItem identifier, if known. Otherwise, it is a negative number.
        • value - (Object[2]) Object[0] is the com.ibm.commerce.order.calculation.Item. Object[1] is a Vector of Integer fulfillment center identifiers.
      • getPreferredFulfillmentCenterId

        java.lang.Integer getPreferredFulfillmentCenterId()
        Return the preferred fulfillment center,it is optional for usage ResolveFulfillmentCenter and GetEstimateAvailableTime
        Returns:
        newPreferredFulfillmentCenterId the identifier of the preferred fulfillment center.
      • setPreferredFulfillmentCenterId

        void setPreferredFulfillmentCenterId(java.lang.Integer preferredFulfillmentCenterId)
        This method sets the preferred fulfillment center.
        Parameters:
        preferredFulfillmentCenterId - the identifier of the preferred fulfillment center.
      • getShippingModeId

        java.lang.Integer getShippingModeId()
        Return the shipping mode id.
        Returns:
        shippingModeId
      • setShippingModeId

        void setShippingModeId(java.lang.Integer shippingModeId)
        This method sets the shipping mode id.
        Parameters:
        shippingModeId -
      • getQuantity

        java.lang.Double getQuantity()
        return quantity to check the inventory.
        Returns:
        quantity
      • setQuantity

        void setQuantity(java.lang.Double quantity)
        This method sets a quantity to check the inventory.
        Parameters:
        quantity -
      • getQuantityMeasure

        java.lang.String getQuantityMeasure()
        Return a quantity measure to check the inventory (optional).
        Returns:
        quantityMeasure
      • setQuantityMeasure

        void setQuantityMeasure(java.lang.String quantityMeasure)
        This method sets a quantity measure to check the inventory (optional).
        Parameters:
        quantityMeasure -
      • getStoreId

        java.lang.Integer getStoreId()
        Return a store id,it is optional
        Specified by:
        getStoreId in interface ECCommand
        Returns:
        storeID integer
      • setStoreId

        void setStoreId(java.lang.Integer storeId)
        This method sets a store id to check the inventory.
        Parameters:
        storeId - integer
      • getItems

        java.util.Vector getItems()
        This method returns Item to resolveFulfillmentcenter
        Returns:
        newItems
      • setItems

        void setItems(java.util.Vector items)
        This method sets Items to check inventory
        Parameters:
        items -
      • getContinue

        java.lang.String getContinue()
        This method returns whether to continue when there is exception thrown in ResolveFulfillmentCenter
        Returns:
        strContinue
      • setContinue

        void setContinue(java.lang.String strContinue)
        This method sets whether to continue
        Parameters:
        strContinue -
      • getUnitOfMeasure

        java.lang.String getUnitOfMeasure()
        This method returns the unit of measure
        Returns:
        unitOfMeasure
      • setUnitOfMeasure

        void setUnitOfMeasure(java.lang.String unitOfMeasure)
        This method sets the unit of measure
        Parameters:
        unitOfMeasure -
      • getOrderId

        java.lang.String[] getOrderId()
        This method returns orderId, inventory component need this orderId to get the current situation for order and order item
        Returns:
        anstrOrderIds
      • setOrderId

        void setOrderId(java.lang.String[] anstrOrderIds)
        This method sets orderId, inventory component need this orderId to get the current situation for order and order item
        Parameters:
        anstrOrderIds -
      • getReservationInstance

        java.lang.String getReservationInstance()
        This method returns the reservation description identifying the instance.
        Returns:
        argReservationInstance reservation description
      • setReservationInstance

        void setReservationInstance(java.lang.String argReservationInstance)
        This method sets the reservation description identifying the instance.
        Parameters:
        argReservationInstance - reservation description
      • getReservationType

        java.lang.Long getReservationType()
        This method returns the reservation type. The type or purpose of the reservation, such as an auction. The types are user defined and are in the INVRSRVTYP table.
        Returns:
        argReservationType reservation type
      • setReservationType

        void setReservationType(java.lang.Long argReservationType)
        This method sets the reservation type. The type or purpose of the reservation, such as an auction. The types are user defined and are in the INVRSRVTYP table.
        Parameters:
        argReservationType - reservation type
      • setReservationId

        void setReservationId(java.lang.Long rid)
        This method sets the reservation id for ATP enabled stores. this Id is got from the ReserveInventory command. Creation date: (9/7/2001 10:03:40 AM)
        Parameters:
        rid -
      • getMoveInOrders

        java.lang.String[] getMoveInOrders()
        This method returns the output orders from where the input order items are moved to.
        Returns:
        String[]
      • setMoveInOrders

        void setMoveInOrders(java.lang.String[] anstrInOrders)
        This method sets a destination order for the output order items. If this parameter is not specified, it means there is no output order. And the input order items will be simply removed from the source orders specified by the setFromOrders method.
        Parameters:
        anstrInOrders - String[]
      • getMoveOutOrders

        java.lang.String[] getMoveOutOrders()
        This method returns the output orders from where the input order items are moved to.
        Returns:
        String[]
      • setMoveOutOrders

        void setMoveOutOrders(java.lang.String[] iabOutOrders)
        This method sets the orders from which order items will be moved. This parameter is used to resolve order item abbreviations specified by the setFromOrderItemId method.
        Parameters:
        iabOutOrders - String[]
      • getCatEntryIdNotAvailinInv

        java.util.Vector getCatEntryIdNotAvailinInv()
        Returns the Vector with Catalog Entry IDs which are not available in the requested amount in inventory
        Returns:
        vector of OrderItemAccessBeans
      • getUniqueOrderitemIdList

        java.util.Hashtable getUniqueOrderitemIdList()
        This method returns the uniqueOrderItemIdList, this list records the touched order item during order item add/update
        Returns:
        uniqueOrderItemIdList
      • setUniqueOrderitemIdList

        void setUniqueOrderitemIdList(java.util.Hashtable uniqueOrderItemIdList)
        This method sets the uniqueOrderItemIdList
        Parameters:
        uniqueOrderItemIdList -
      • getFlushNeeded

        boolean getFlushNeeded()
        This method returns whether flush needed for SP to catch the changes to DB
        Returns:
        flushNeeded
      • setFlushNeeded

        void setFlushNeeded(boolean flushNeeded)
        This method sets whether flush needed after order prepare
        Parameters:
        flushNeeded -
      • getOrderItemFulfillmentCentersMaps

        java.util.Hashtable getOrderItemFulfillmentCentersMaps()
        This method returns lists of fulfillment centers which can ship items specified by the setOrderItems method.

        Returns:
        HashTable:
        • key - (Long) The OrderItem identifier, if known. Otherwise, it is a negative number.
        • value - (Object[2]) Object[0] is the com.ibm.commerce.order.calculation.Item. Object[1] is a Vector of Integer fulfillment center identifiers.
      • getFulfillmentCenters

        java.util.Vector getFulfillmentCenters()
        Returns a list of fulfillment centers that could ship an item specified by the setOrderItem method.

        This method is used to obtain a list of fulfillment centers for an order item if only one order item has been passed as input. If more than one order item data has been passed as input then getOrderItemFulfillmentCentersMaps should be called instead.
        Returns:
        a Vector of Integer fulfillment center identifiers.
      • getNeededQuantity

        java.lang.Integer getNeededQuantity()
        Returns the needed quantity, it is converted from catalog quantity

        Returns:
        Integer
      • getReserveId

        java.lang.Long getReserveId()
        This method returns the reservation identifier created after executing this command.
        Returns:
        The new Reservation id.
      • getInvalidlyAllocateOrderItemsAfterAllocation

        java.util.Hashtable getInvalidlyAllocateOrderItemsAfterAllocation()
                                                                   throws ECException
        Returns invalidlyAllocatedOrderItems

        Returns:
        Hashtable
        Throws:
        ECException