Class SendingNewsLetter
- java.lang.Object
-
- fr.paris.lutece.plugins.newsletter.business.SendingNewsLetter
-
public class SendingNewsLetter extends java.lang.ObjectThis class represents business objects SendingNewsLetter
-
-
Constructor Summary
Constructors Constructor Description SendingNewsLetter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCountSubscribers()Returns the number of subscribersjava.sql.TimestampgetDate()Returns the date of the newsletter sendingjava.lang.StringgetEmailSubject()Returns the subject of the emailjava.lang.StringgetHtml()Returns the html content of the sending newsletterintgetId()Returns the identifier of the sendingintgetNewsLetterId()Returns the identifier of the newslettervoidsetCountSubscribers(int nCountSubscribers)Sets the number of subscribersvoidsetDate(java.sql.Timestamp date)Sets the date of the newsletter sendingvoidsetEmailSubject(java.lang.String subject)Sets the subject of the emailvoidsetHtml(java.lang.String strHtml)Sets the html content of the sending newslettervoidsetId(int nId)Sets the identifier of the sendingvoidsetNewsLetterId(int nNewsLetterId)Sets the identifier of the newsletter
-
-
-
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
-
-