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
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
public static final int READ_ACCESS
AccessType
indicating read-only access to the Order is
required.
public static final int WRITE_ACCESS
AccessType
indicating read-write access to the Order is
required.
Method Detail |
---|
public void setAccessType(int accessType)
AccessType
to be checked.
accessType
- one of the following values:
READ_ACCESS
- read-only access to the order.WRITE_ACCESS
- write access to the
order.public void setOrder(OrderAccessBean aabOrder)
aabOrder
- the Order to be accessed.