Interface NewsLetter


  • public interface NewsLetter
    This object describes a newsletter and gives status information etc. todo: extend messageTemplate
    Since:
    5.4
    • Method Detail

      • getPath

        java.lang.String getPath()
        Return the content path.
        Returns:
        The content path.
      • getSubject

        java.lang.String getSubject()
        Get the subject for sending this newsletter.
        Returns:
        The subject.
      • setSubject

        void setSubject​(java.lang.String subject)
        Set the subject for this newsletter.
        Parameters:
        subject - the subject
      • getSession

        Session getSession()
        Returns:
        used to build this letter
        Since:
        5.4
      • setAuthorizableMailingList

        void setAuthorizableMailingList​(AuthorizableMailingList list)
        Sets the receivers of this List.
        Parameters:
        list - of Authorizable this Letter should be send to.
      • getAuthorizableMailingList

        AuthorizableMailingList getAuthorizableMailingList()
        Access the Subscribers to this Newsletter
        Returns:
        all Subscribers of this Newsletter
      • getFromAddress

        InternetAddress getFromAddress()
        Returns:
        The from address or null.
      • getMessageTemplate

        MessageTemplate getMessageTemplate()
        Returns:
        The Template build from this newsletter