Class NewInboundMessageCmdImpl

    • Field Detail


        public static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
      • message

        public java.lang.String message
        The message buffer
    • Constructor Detail

      • NewInboundMessageCmdImpl

        public NewInboundMessageCmdImpl()
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        This method retrieves the message passed in the message buffer.
        The inbound message that triggers this command.
      • getResourceOwners

        public java.lang.Long[] getResourceOwners()
                                           throws ECException
        This method returns the organization unit reference numbers for all the resources accessed by this command. It returns null if no resource is being accessed by this command.
        Specified by:
        getResourceOwners in interface AccCommand
        getResourceOwners in class ControllerCommandImpl
        An array of all organization unit reference numbers.
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        This method checks if the command is ready to run and if the message buffer is null.
        Specified by:
        isReadyToCallExecute in interface
        isReadyToCallExecute in class AbstractECTargetableCommand
        True if ready to run, otherwise false.
      • performExecute

        public void performExecute()
                            throws ECException
        This method needs to be implemented to process new inbound message unknown to WebSphere Commerce Server. By default, it throws an exception indicating that this method is not customized.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface NewInboundMessageCmd
        Specified by:
        performExecute in interface
        performExecute in class AbstractECTargetableCommand
        ECException - Raised with message _ERR_NI_NOT_CUSTOMIZED as there is no customized implementation
      • setMessage

        public void setMessage(java.lang.String newMessage)
        This method sets the content of the message buffer.
        newMessage - A String to set the content of the message buffer.
      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperties)
        This method sets the request properties as input for the command where the message is retrieved from.
        Specified by:
        setRequestProperties in interface ControllerCommand
        setRequestProperties in class ControllerCommandImpl
        aRequestProperties - name-value pairs containing attributes for this command. The message content is retrieved using the key "message" and stored in the local variable "message"