com.ibm.commerce.order.commands

Class CheckOrderAcceptanceCmdImpl

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CheckOrderAcceptanceCmdImpl

        public CheckOrderAcceptanceCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        Executes the main business logic of the command.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECApplicationException - the TradingAgreement for an OrderItem is of type Contract, but does not have the active status. The _ERR_INVALID_TRADING message is passed, with a message parameter of the TradingAgreement identifier.
        ECSystemException - an unexpected exception occurred. The _ERR_GENERIC message is passed. with a message parameter of the String representation of the unexpected exception.
        ECException
      • setOrderId

        public void setOrderId(java.lang.String astrOrderId)
        Sets the identifier of the order to be checked.
        Specified by:
        setOrderId in interface CheckOrderAcceptanceCmd
        Parameters:
        astrOrderId - the identifier of the order to be checked.