Interface UserMessageHistory

    • Method Detail

      • getAction

        UserMessageFlowAction getAction()
        Get the value for Action. (The action undertaken) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getComment

        String getComment()
        Get the value for Comment. (Optional comment.)
        Returns:
        the field
        Throws:
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getCreationTime

        DateTimeZone getCreationTime()
        Get the value for CreationTime. (When was the history record created)
        Returns:
        the field
        Throws:
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setAction

        void setAction​(UserMessageFlowAction newAction)
        Set the value for Action. (The action undertaken) This value is mandatory.
        Parameters:
        newAction - the new value for Action. If this is null, then the object cannot be persisted.
        Throws:
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setComment

        void setComment​(String newComment)
        Set the value for Comment. (Optional comment.) This value is optional.
        Parameters:
        newComment - the new value for Comment.
        Throws:
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getUserMessage

        UserMessage getUserMessage()
        Get the UserMessage.
        Returns:
        UserMessage
        Throws:
        com.redwood.scheduler.api.exception.ObjectDeletedException - If this method is called when the object has been marked for deletion.
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - If this method is called when the object has been removed from it's session.
      • getSenderSubject

        Subject getSenderSubject()
        Get the SenderSubject.
        Returns:
        SenderSubject
        Throws:
        com.redwood.scheduler.api.exception.ObjectDeletedException - If this method is called when the object has been marked for deletion.
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - If this method is called when the object has been removed from it's session.
      • getReceiverSubject

        Subject getReceiverSubject()
        Get the ReceiverSubject.
        Returns:
        ReceiverSubject
        Throws:
        com.redwood.scheduler.api.exception.ObjectDeletedException - If this method is called when the object has been marked for deletion.
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - If this method is called when the object has been removed from it's session.
      • setReceiverSubject

        void setReceiverSubject​(Subject newReceiverSubject)
        Set the value for ReceiverSubject. This value is mandatory.
        Parameters:
        newReceiverSubject - is the object to set ReceiverSubject to. The related UserMessage job that created this user message If this is null, then the object cannot be persisted.