com.ibm.commerce.orderitems.commands

Interface CopyOrderItemComponentsCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    CopyOrderItemComponentsCmdImpl, CopyOrderItemComponentsForDynamicKitCmdImpl


    public interface CopyOrderItemComponentsCmd
    extends TaskCommand
    This command copies dynamic kit components from one order item to another order item.
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String NAME
        The name of the Command Interface class.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation class.
        See Also:
        Constant Field Values
    • Method Detail

      • setFromOrderItem

        void setFromOrderItem(OrderItemAccessBean fromOrderItem)
        This method sets order item from which components are copied.
        Parameters:
        fromOrderItem - the order item from which components are copied.
      • setToOrderItem

        void setToOrderItem(OrderItemAccessBean toOrderItem)
        This method sets order item to which components are copied.
        Parameters:
        toOrderItem - the order item to which components are copied.
      • setConfigurationId

        void setConfigurationId(java.lang.String configurationId)
        This method sets configuration id of the new components.
        Parameters:
        configurationId - the configuration id of the new components
      • getConfigurationId

        java.lang.String getConfigurationId()
        This method returns configuration id of the new components.
        Returns:
        configuration id of the new components.
      • setCopyConfigurationId

        void setCopyConfigurationId(boolean copyConfigurationId)
        This method sets the flag to indicate whether configuration id is copied.
        Parameters:
        copyConfigurationId - the flag to indicate whether configuration id is copied.