fr.paris.lutece.plugins.newsletter.business
Class NewsLetter

java.lang.Object
  extended by fr.paris.lutece.plugins.newsletter.business.NewsLetter
All Implemented Interfaces:
fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

public class NewsLetter
extends java.lang.Object
implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

This class represents business NewsLetter Object


Constructor Summary
NewsLetter()
           
 
Method Summary
 java.sql.Timestamp getDateLastSending()
          Returns the date of the last sending
 int getDocumentTemplateId()
          Returns the identifier of the document template
 java.lang.String getHtml()
          Returns the html content of the newsletter
 int getId()
          Returns the identifier of the newsletter
 java.lang.String getName()
          Returns the name of the newsletter
 java.lang.String getNewsletterSenderMail()
          Returns the Newsletter sender mail
 int getNewsLetterTemplateId()
          Returns the identifier of the newsletter template
 java.lang.String getTestRecipients()
          Returns the test recipients
 java.lang.String getUnsubscribe()
          Returns the unsubscription of the newsletter
 java.lang.String getWorkgroup()
          Returns the workgroup
 void setDateLastSending(java.sql.Timestamp dateLastSending)
          Sets the date of the last newsletter sending
 void setDocumentTemplateId(int nDocumentTemplateId)
          Sets the identifier of the Document template
 void setHtml(java.lang.String strHtml)
          Sets the html content of the newsletter
 void setId(int nId)
          Sets the identifier of the newsletter
 void setName(java.lang.String strName)
          Sets the name of the newsletter
 void setNewsletterSenderMail(java.lang.String strNewsletterSenderMail)
          Sets the Newsletter sender mail
 void setNewsLetterTemplateId(int nNewsLetterTemplateId)
          Sets the identifier of the newsletter template
 void setTestRecipients(java.lang.String strTestRecipients)
          Sets the test recipients
 void setUnsubscribe(java.lang.String strUnsubscribe)
          Sets the value of the unsubscription to the newsletter
 void setWorkgroup(java.lang.String strWorkgroup)
          Sets the workgroup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewsLetter

public NewsLetter()
Method Detail

getId

public int getId()
Returns the identifier of the newsletter

Returns:
the newsletter identifier

setId

public void setId(int nId)
Sets the identifier of the newsletter

Parameters:
nId - the newsletter identifier

getName

public java.lang.String getName()
Returns the name of the newsletter

Returns:
the newsletter name

setName

public void setName(java.lang.String strName)
Sets the name of the newsletter

Parameters:
strName - the newsletter name

getUnsubscribe

public java.lang.String getUnsubscribe()
Returns the unsubscription of the newsletter

Returns:
the newsletter unsubscrition value

setUnsubscribe

public void setUnsubscribe(java.lang.String strUnsubscribe)
Sets the value of the unsubscription to the newsletter

Parameters:
strUnsubscribe - the newsletter name

setDateLastSending

public void setDateLastSending(java.sql.Timestamp dateLastSending)
Sets the date of the last newsletter sending

Parameters:
dateLastSending - the last date of sending

getDateLastSending

public java.sql.Timestamp getDateLastSending()
Returns the date of the last sending

Returns:
the last sending date

getHtml

public java.lang.String getHtml()
Returns the html content of the newsletter

Returns:
the html content of the newsletter

setHtml

public void setHtml(java.lang.String strHtml)
Sets the html content of the newsletter

Parameters:
strHtml - the html content of the newsletter

getNewsLetterTemplateId

public int getNewsLetterTemplateId()
Returns the identifier of the newsletter template

Returns:
the newsletter template identifier

setNewsLetterTemplateId

public void setNewsLetterTemplateId(int nNewsLetterTemplateId)
Sets the identifier of the newsletter template

Parameters:
nNewsLetterTemplateId - the newsletter template identifier

getDocumentTemplateId

public int getDocumentTemplateId()
Returns the identifier of the document template

Returns:
the Document template identifier

setDocumentTemplateId

public void setDocumentTemplateId(int nDocumentTemplateId)
Sets the identifier of the Document template

Parameters:
nDocumentTemplateId - the Document template identifier

getWorkgroup

public java.lang.String getWorkgroup()
Returns the workgroup

Specified by:
getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
Returns:
The workgroup

setWorkgroup

public void setWorkgroup(java.lang.String strWorkgroup)
Sets the workgroup

Parameters:
strWorkgroup - The workgroup

getTestRecipients

public java.lang.String getTestRecipients()
Returns the test recipients

Returns:
The test recipients

setTestRecipients

public void setTestRecipients(java.lang.String strTestRecipients)
Sets the test recipients

Parameters:
strTestRecipients - The Test recipients

getNewsletterSenderMail

public java.lang.String getNewsletterSenderMail()
Returns the Newsletter sender mail

Returns:
The Newsletter sender mail

setNewsletterSenderMail

public void setNewsletterSenderMail(java.lang.String strNewsletterSenderMail)
Sets the Newsletter sender mail

Parameters:
strNewsletterSenderMail - The NewsletterSenderMail


Copyright © 2007 Mairie de Paris. All Rights Reserved.