com.ibm.commerce.order.commands
Interface CheckOrderCopyCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
CheckOrderCopyCmdImpl

public interface CheckOrderCopyCmd
extends TaskCommand

Checks whether an Order can be accessed by the OrderCopyCmd controller command. This task command can be used to implement custom business logic checks. The checks are in addition to, and do not replace, the normal access control policy checking performed by the command framework.


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.
static int READ_ACCESS
          AccessType indicating read-only access to the Order is required.
static int WRITE_ACCESS
          AccessType indicating read-write access to the Order is required.
 
Method Summary
 void setAccessType(int accessType)
          Sets the AccessType to be checked.
 void setOrder( OrderAccessBean aabOrder)           Sets the Order to be accessed.
 

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

READ_ACCESS

public static final int READ_ACCESS
AccessType indicating read-only access to the Order is required.
See Also:
Constant Field Values

WRITE_ACCESS

public static final int WRITE_ACCESS
AccessType indicating read-write access to the Order is required.
See Also:
Constant Field Values
Method Detail

setAccessType

public void setAccessType(int accessType)
Sets the AccessType to be checked.
Parameters:
accessType - one of the following values:
  • READ_ACCESS - read-only access to the order.
  • WRITE_ACCESS - write access to the order.

setOrder

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