Class SendingNewsLetter
java.lang.Object
fr.paris.lutece.plugins.newsletter.business.SendingNewsLetter
This class represents business objects SendingNewsLetter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of subscribersgetDate()Returns the date of the newsletter sendingReturns the subject of the emailgetHtml()Returns the html content of the sending newsletterintgetId()Returns the identifier of the sendingintReturns the identifier of the newslettervoidsetCountSubscribers(int nCountSubscribers) Sets the number of subscribersvoidSets the date of the newsletter sendingvoidsetEmailSubject(String subject) Sets the subject of the emailvoidSets the html content of the sending newslettervoidsetId(int nId) Sets the identifier of the sendingvoidsetNewsLetterId(int nNewsLetterId) Sets the identifier of the newsletter
-
Constructor Details
-
SendingNewsLetter
public SendingNewsLetter()
-
-
Method Details
-
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
Sets the html content of the sending newsletter- Parameters:
strHtml- the newsletter html content
-
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
Sets the date of the newsletter sending- Parameters:
date- the date of the sending
-
getDate
Returns the date of the newsletter sending- Returns:
- the date of sending
-
getEmailSubject
Returns the subject of the email- Returns:
- the subject of the email
-
setEmailSubject
Sets the subject of the email- Parameters:
subject- the new subject
-