Class ExtendBlockingConditionsCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, ExtendBlockingConditionsCmd, Protectable,,,,,,

    public class ExtendBlockingConditionsCmdImpl
    extends ControllerCommandImpl
    implements ExtendBlockingConditionsCmd
    This is the default implementation of the ExtendBlockingConditionsCmd controller command.

    Input parameters:

    Name Description
    iorderDataBean The order data bean that provides the details of the Order. Mandatory.


    This controller command provides a point of extensibility for adding order blocking conditions to order process. The results of the blocking tests need to be conveyed back in a result object along with all the reason codes for the blocks.
    Before this command is executed, the OrderDataBean must be set and available for use.
    See Also:
    ExtendBlockingResultObject, OrderDataBean, Serialized Form
    • Constructor Detail

      • ExtendBlockingConditionsCmdImpl

        public ExtendBlockingConditionsCmdImpl()
        Constructor for the implementation class, used by the factory. No data initializations are done here.
    • Method Detail

      • getExtendBlockingResult

        public getExtendBlockingResult()
        Returns the result object.
        Specified by:
        getExtendBlockingResult in interface ExtendBlockingConditionsCmd
        ExtendBlockingResultObject The result object
        See Also:
      • setOrderDetails

        public void setOrderDetails(OrderDataBean orderDataBean)
        Sets the order data bean. This is mandatory for the successful execution of this command.
        Specified by:
        setOrderDetails in interface ExtendBlockingConditionsCmd
        orderDataBean - The order data bean that provides the details of the Order
      • performExecute

        public void performExecute()
                            throws ECException

        Main method for setting up blocking conditions. Multiple tests can be executed here, and the result object should be created and populated here.

        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface
        performExecute in class AbstractECTargetableCommand
        ECException - Remote, Create, Finder, Naming exceptions are converted to ECApplicationException