Class ValidateDynamicKitConfigurationInSterlingCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, ValidateDynamicKitConfigurationCmd,,,,,,

    public class ValidateDynamicKitConfigurationInSterlingCmdImpl
    extends TaskCommandImpl
    implements ValidateDynamicKitConfigurationCmd
    This command implementation validates that the configuration associated with the provided OrderItem is still valid. If it is not valid, an exception is thrown.
    See Also:
    Serialized Form
    • Field Detail


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

      • ValidateDynamicKitConfigurationInSterlingCmdImpl

        public ValidateDynamicKitConfigurationInSterlingCmdImpl()
    • Method Detail

      • setConfiguration

        public void setConfiguration(java.lang.String configXML)
        This method sets the configuration to be validated.
        configXML -
      • getUpdatedConfiguration

        public java.lang.String getUpdatedConfiguration()
        This method gets the updated configuration
        the updated configuration
      • setContractId

        public void setContractId(java.lang.String contractId)
        This method sets the contractId.
        contractId -
      • getErrorMessage

        public java.lang.String getErrorMessage()
        This method gets the error message of the validation
        the error message
      • performExecute

        public void performExecute()
                            throws ECException
        This method executes the business logic of this command implementation. It calls SterlingClientHelper to validate dynamic kit configuration.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface
        performExecute in class AbstractECTargetableCommand
      • reset

        public void reset()
        This method is called after a command has been executed. It is used to reset its states variables. After the call to reset, the command should be able to be executed again.
        Specified by:
        reset in interface
        reset in class AbstractECTargetableCommand