com.ibm.commerce.order.commands
Interface CheckOrderTemplateCmd

All Superinterfaces:
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 Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String defaultCommandClassName
          The name of the default implementation class for this command interface.
static java.lang.String NAME
          The name of this command interface.
 
Method Summary
 void setOrder( OrderAccessBean aabOrder)
          Sets the order to be checked.
 void setUsage(java.lang.Integer anUsage)           Sets the template usage to be checked.
 

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

NAME

public static final java.lang.String NAME
The name of this command interface.
See Also:
Constant Field Values

defaultCommandClassName

public 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

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

setUsage

public 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.