com.ibm.commerce.order.commands

Interface CheckOrderTemplateCmd

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


    public interface CheckOrderTemplateCmd
    extends TaskCommand
    Checks whether an Order can be marked as a template by the SetOrderTemplateCmd controller command.
    • 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 this command interface.
        See Also:
        Constant Field Values
      • defaultCommandClassName

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

      • setOrder

        void setOrder(OrderAccessBean aabOrder)
        Sets the order to be checked.
        Parameters:
        aabOrder - the Order to be checked.
      • setUsage

        void setUsage(java.lang.Integer anUsage)
        Sets the template usage to be checked.
        Parameters:
        anUsage - the usage value to be checked.
      • 0 - mark the Order as a template.
      • 1 - mark the Order as a current template.
      • -1 - unmark the Order.