Interface AlertSourceEmail

    • Method Detail

      • getParentUniqueId

        Long getParentUniqueId()
        Get the value for ParentUniqueId. (The unique id of the parent object) 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.
      • getBody

        String getBody()
        Get the value for Body. (The email body for this object.)
        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.
      • setBody

        void setBody​(String newBody)
        Set the value for Body. (The email body for this object.) This value is optional.
        Parameters:
        newBody - the new value for Body.
        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.
      • getAlertSource

        AlertSource getAlertSource()
        Get the AlertSource.
        Returns:
        AlertSource
        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.