Class InitiateIsBlockedOrderCheckCmdImpl

    • Constructor Detail

      • InitiateIsBlockedOrderCheckCmdImpl

        public InitiateIsBlockedOrderCheckCmdImpl()
    • Method Detail

      • setRequestProperties

        public void setRequestProperties(TypedProperty reqProperties)
                                  throws ECException
        The WebController calls the setRequestProperties method before invoking the execute method in this command. It is the responsibility of the implementer of the ControllerCommand to extract the required input parameters from the request properties and perform parameter checking. This method extracts the storeId parameters from the request properties.
        Specified by:
        setRequestProperties in interface ControllerCommand
        setRequestProperties in class ControllerCommandImpl
        reqProperties - the TypedProperty object containing the request properties of the command
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        This method is called by the Command Framework to check if all basic mandatory parameters have been set for this command. This is done before the Framework calls the performExecute method of the command.
        Specified by:
        isReadyToCallExecute in interface
        isReadyToCallExecute in class AbstractECTargetableCommand
        true if we can execute the command; false otherwise.
      • setOrderId

        public void setOrderId(java.lang.Long passedOrderId)
        Sets the order ID for checking the block status.
        passedOrderId -
      • setXtensibleCodeCheck

        public void setXtensibleCodeCheck(java.lang.String passedXTensibleCodeCheck)
        Indicates whether to call the User Extensible code as part of order block checking.
        passedXTensibleCodeCheck -
      • isBlocked

        public boolean isBlocked()
        This method returns value indicating whether extensible code blocked the Order or not.
        Specified by:
        isBlocked in interface InitiateIsBlockedOrderCheckCmd
        the boolean value of whether the extensible code set a block or not.