Class SendingNewsLetter


  • public class SendingNewsLetter
    extends java.lang.Object
    This class represents business objects SendingNewsLetter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCountSubscribers()
      Returns the number of subscribers
      java.sql.Timestamp getDate()
      Returns the date of the newsletter sending
      java.lang.String getEmailSubject()
      Returns the subject of the email
      java.lang.String getHtml()
      Returns the html content of the sending newsletter
      int getId()
      Returns the identifier of the sending
      int getNewsLetterId()
      Returns the identifier of the newsletter
      void setCountSubscribers​(int nCountSubscribers)
      Sets the number of subscribers
      void setDate​(java.sql.Timestamp date)
      Sets the date of the newsletter sending
      void setEmailSubject​(java.lang.String subject)
      Sets the subject of the email
      void setHtml​(java.lang.String strHtml)
      Sets the html content of the sending newsletter
      void setId​(int nId)
      Sets the identifier of the sending
      void setNewsLetterId​(int nNewsLetterId)
      Sets the identifier of the newsletter
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SendingNewsLetter

        public SendingNewsLetter()
    • Method Detail

      • setId

        public void setId​(int nId)
        Sets the identifier of the sending
        Parameters:
        nId - the sending identifier
      • getId

        public int getId()
        Returns the identifier of the sending
        Returns:
        the sending identifier
      • setNewsLetterId

        public void setNewsLetterId​(int nNewsLetterId)
        Sets the identifier of the newsletter
        Parameters:
        nNewsLetterId - the newsletter identifier
      • getNewsLetterId

        public int getNewsLetterId()
        Returns the identifier of the newsletter
        Returns:
        the newsletter identifier
      • setHtml

        public void setHtml​(java.lang.String strHtml)
        Sets the html content of the sending newsletter
        Parameters:
        strHtml - the newsletter html content
      • getHtml

        public java.lang.String getHtml()
        Returns the html content of the sending newsletter
        Returns:
        the newsletter html content
      • setCountSubscribers

        public void setCountSubscribers​(int nCountSubscribers)
        Sets the number of subscribers
        Parameters:
        nCountSubscribers - the number of subscribers
      • getCountSubscribers

        public int getCountSubscribers()
        Returns the number of subscribers
        Returns:
        the number of subscribers
      • setDate

        public void setDate​(java.sql.Timestamp date)
        Sets the date of the newsletter sending
        Parameters:
        date - the date of the sending
      • getDate

        public java.sql.Timestamp getDate()
        Returns the date of the newsletter sending
        Returns:
        the date of sending
      • getEmailSubject

        public java.lang.String getEmailSubject()
        Returns the subject of the email
        Returns:
        the subject of the email
      • setEmailSubject

        public void setEmailSubject​(java.lang.String subject)
        Sets the subject of the email
        Parameters:
        subject - the new subject