Interface EmailAlertGatewayAction

    • Method Detail

      • getType

        EmailAlertGatewayActionType getType()
        Get the value for Type. (The type of the action.) 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.
      • setType

        void setType​(EmailAlertGatewayActionType newType)
        Set the value for Type. (The type of the action.) This value is mandatory.
        Parameters:
        newType - the new value for Type. 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.
      • getLibrary

        Library getLibrary()
        Get the Library.
        Returns:
        Library
        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.
      • getEmailAlertGateway

        EmailAlertGateway getEmailAlertGateway()
        Get the EmailAlertGateway.
        Returns:
        EmailAlertGateway
        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.
      • setLibrary

        void setLibrary​(Library newLibrary)
        Set the value for Library. This value is mandatory.
        Parameters:
        newLibrary - is the object to set Library to. The library that the EmailAlertGatewayAction depends upon. If this is null, then the object cannot be persisted.