com.ibm.commerce.inventory.client.commands

Class ProcessOrderInventoryCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, ProcessOrderInventoryCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class ProcessOrderInventoryCmdImpl
    extends TaskCommandImpl
    implements ProcessOrderInventoryCmd
    This is the default implementation of the ProcessOrderInventoryCmd task command.

    Input parameters:

    Name Description
    orderItem the orderItem that need process inventory
    action the action that need perform
    order the order that need process inventory

    Output parameters:

    None.

    Behaviour:

    • compose the ProcessOrderInventory SDO
    • call inventory facade to invoke inventory outbound service
    See Also:
    GetProductAvailabilityCmdImpl, Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • ProcessOrderInventoryCmdImpl

        public ProcessOrderInventoryCmdImpl()
    • Method Detail

      • setAction

        public void setAction(java.lang.String argAction)
        This method sets the action
        Specified by:
        setAction in interface ProcessOrderInventoryCmd
        Parameters:
        argAction - The istrAction to set.
      • getAcknowledgeOrderInventory

        public com.ibm.commerce.inventory.datatypes.AcknowledgeOrderInventoryType getAcknowledgeOrderInventory()
        This method gets the AcknowledgeOrderInventory SDO
        Specified by:
        getAcknowledgeOrderInventory in interface ProcessOrderInventoryCmd
        Returns:
        Returns the iAcknowledgeOrder SDO
      • getOrder

        public OrderAccessBean getOrder()
        This method gets the order
        Returns:
        Returns the iabOrder.
      • getOrderInventory

        public com.ibm.commerce.inventory.datatypes.OrderInventoryType getOrderInventory()
        This method gets the orderInventory
        Returns:
        Returns the orderInventory.
      • setOrderInventory

        public void setOrderInventory(com.ibm.commerce.inventory.datatypes.OrderInventoryType argOrderInventory)
        This method sets the OrderInventory
        Parameters:
        argOrderInventory - The orderInventory to set.
      • reset

        public void reset()
        reset
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • getAction

        public java.lang.String getAction()
        This method gets the action
        Returns:
        Returns the action.
      • setAcknowledgeOrderInventory

        public void setAcknowledgeOrderInventory(com.ibm.commerce.inventory.datatypes.AcknowledgeOrderInventoryType argAcknowledgeOrderInventory)
        This method sets the AcknowledgeOrderInventory
        Parameters:
        argAcknowledgeOrderInventory - The iAcknowledgeOrder to set.