com.ibm.commerce.requisitionlist.commands

Interface RequisitionListCopyCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
    All Known Implementing Classes:
    RequisitionListCopyCmdImpl


    public interface RequisitionListCopyCmd
    extends ControllerCommand
    This controller command is used to copy an existing order (or requisition list) and create a new requisition list. The default implementation of this command is RequisitionListCopyCmdImpl. The RequisitionListCopy URL is mapped to this command by default.
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String NAME
        The full name of this command.
        See Also:
        Constant Field Values
      • defaultCommandClassName

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

      • getRequisitionListId

        java.lang.Long getRequisitionListId()
        This method returns the newly created requisition list id.
        Returns:
        the requisition list id.
      • setName

        void setName(java.lang.String name)
        This method specifies the name of the created requisition list.
        Parameters:
        name - requisition list name
      • setOrderId

        void setOrderId(java.lang.Long id)
        This method specifies the source order or requisition list id.
        Parameters:
        id - order id
      • setStatus

        void setStatus(java.lang.String status)
        This method specifies the status of the created requisition list. If it is not specified, the default value is 'Y', a private requisition list.
        Parameters:
        status - status
      • setType

        void setType(java.lang.String type)
        This method specifies the type of the created requisition list. If it is not specified, the default value is 'Y', a private requisition list.
        Parameters:
        type - the type of the created requisition list.