com.ibm.commerce.order.commands

Interface CheckOrderCopyCmd

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

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

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

      • setAccessType

        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

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