com.ibm.commerce.ordermanagement.util

Interface ExtendBlockingConditionsCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
    All Known Implementing Classes:
    ExtendBlockingConditionsCmdImpl


    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

      • COPYRIGHT

        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

        com.ibm.commerce.ordermanagement.util.ExtendBlockingResultObject getExtendBlockingResult()
        This method returns the result object.
        Returns:
        ExtendBlockingResultObject The result object
        See Also:
        ExtendBlockingResultObject
      • setOrderDetails

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