Interface ExtendBlockingConditionsCmd

  • All Superinterfaces:
    AccCommand,,,, ControllerCommand, ECCommand, Protectable,,
    All Known Implementing Classes:

    public interface ExtendBlockingConditionsCmd
    extends ControllerCommand
    This Order controller command is used for extending blocking conditions for a given Order. The implementor of this interface needs to ensure that the order data bean is set in the implementing class's instance variable before execution.

    In the execute method, the implementation needs to test the new block conditions, and create and populate the result object suitably.

    The implementor should be aware of the availability of a merchant extension flag in the Store tables that allows this command to be executed asynchronously. This is useful if the block conditions being tested would need to make long duration network calls which may affect the system throughput.

    The default implementation of this command is ExtendBlockingConditionsCmdImpl.
    The ExtendBlockingConditions URL is mapped to this command by default.

    • Field Detail


        static final java.lang.String COPYRIGHT
        The IBM copyright notice field.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation of this command.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        The full name of this command.
    • Method Detail

      • getExtendBlockingResult getExtendBlockingResult()
        This method returns the result object.
        ExtendBlockingResultObject The result object
        See Also:
      • setOrderDetails

        void setOrderDetails(OrderDataBean orderDataBean)
        This method sets the order data bean which has the Order details.
        orderDataBean - The order data bean that provides the details of the Order