com.ibm.commerce.order.commands

Interface CancelPONumberCmd

  • 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:
    CancelPONumberCmdImpl


    public interface CancelPONumberCmd
    extends TaskCommand
    This task command is used to cancel a purchase order number. The default implementation of this command is CancelPONumberCmdImpl.
    See Also:
    CancelPONumberCmdImpl
    • 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
      • NOT_PURGE

        static final java.lang.String NOT_PURGE
        This is the constant "Not Purge".
        See Also:
        Constant Field Values
    • Method Detail

      • getOrder

        OrderAccessBean getOrder()
        This method returns the order whose relative purchase order number will be canceled.
        Returns:
        An OrderAccessBean that represents the order to get.
      • setOrder

        void setOrder(OrderAccessBean anOrder)
        This method sets the order whose relative purchase order number will be canceled.
        Parameters:
        anOrder - An OrderAccessBean that represents the order to set
      • setPurge

        void setPurge(java.lang.String sPurge)
        This method sets the purge property of the command.
        Parameters:
        sPurge - A String indicating if purge is needed. Set to "1" to remove the field BUYERPO_ID from the tables orders for the canceled purchase order number. Otherwise, the field BUYERPO_ID for the order is left intact.