|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.newsletter.business.NewsLetter
public class NewsLetter
This class represents business NewsLetter Object
| Field Summary | |
|---|---|
static String |
RESOURCE_TYPE
Name of the resource type |
| Constructor Summary | |
|---|---|
NewsLetter()
|
|
| Method Summary | |
|---|---|
Timestamp |
getDateLastSending()
Returns the date of the last sending |
String |
getDescription()
Returns the name of the newsletter |
String |
getHtml()
Returns the html content of the newsletter |
int |
getId()
Returns the identifier of the newsletter |
String |
getName()
Returns the name of the newsletter |
int |
getNbSections()
Get the number of sections of this newsletter |
String |
getNewsletterSenderMail()
Returns the Newsletter sender mail |
String |
getNewsletterSenderName()
Returns the Newsletter sender name |
int |
getNewsLetterTemplateId()
Returns the identifier of the newsletter template |
String |
getResourceId()
Returns the Resource Type Code that identify the resource type |
String |
getResourceTypeCode()
Returns the resource Id of the current object |
String |
getTestRecipients()
Returns the test recipients |
String |
getTestSubject()
Returns the subject of the newsletter |
String |
getTOS()
Returns the tos content of the newsletter |
String |
getUnsubscribe()
Returns the unsubscription of the newsletter |
String |
getWorkgroup()
Returns the workgroup |
static void |
init()
Initialize the Newsletter |
boolean |
isCaptchaActive()
return if the user must enter a captcha to subscribe |
boolean |
isValidationActive()
return if the validation by mail is active |
void |
setCaptchaActive(boolean bIsCaptchaActive)
Set if the user must enter a captcha to subscribe |
void |
setDateLastSending(Timestamp dateLastSending)
Sets the date of the last newsletter sending |
void |
setDescription(String strDescription)
Sets the description of the newsletter |
void |
setHtml(String strHtml)
Sets the html content of the newsletter |
void |
setId(int nId)
Sets the identifier of the newsletter |
void |
setName(String strName)
Sets the name of the newsletter |
void |
setNbSections(int nNbSections)
Set the number of sections of this newsletter |
void |
setNewsletterSenderMail(String strNewsletterSenderMail)
Sets the Newsletter sender mail |
void |
setNewsletterSenderName(String strNewsletterSenderName)
Sets the Newsletter sender name |
void |
setNewsLetterTemplateId(int nNewsLetterTemplateId)
Sets the identifier of the newsletter template |
void |
setTestRecipients(String strTestRecipients)
Sets the test recipients |
void |
setTestSubject(String strTestSubject)
Sets the test subject of the newsletter |
void |
setTOS(String strTermOfService)
Sets the tos content of the newsletter |
void |
setUnsubscribe(String strUnsubscribe)
Sets the value of the unsubscription to the newsletter |
void |
setValidationActive(boolean bIsValidationActive)
Set if the user must validate by mail |
void |
setWorkgroup(String strWorkgroup)
Sets the workgroup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String RESOURCE_TYPE
| Constructor Detail |
|---|
public NewsLetter()
| Method Detail |
|---|
public static void init()
public int getId()
public void setId(int nId)
nId - the newsletter identifierpublic String getTestSubject()
public void setTestSubject(String strTestSubject)
strTestSubject - the newsletter test subjectpublic void setValidationActive(boolean bIsValidationActive)
bIsValidationActive - the booleanpublic boolean isValidationActive()
public void setCaptchaActive(boolean bIsCaptchaActive)
bIsCaptchaActive - the booleanpublic boolean isCaptchaActive()
public String getName()
public void setName(String strName)
strName - the newsletter namepublic String getDescription()
public void setDescription(String strDescription)
strDescription - the descriptionpublic String getUnsubscribe()
public void setUnsubscribe(String strUnsubscribe)
strUnsubscribe - the newsletter namepublic void setDateLastSending(Timestamp dateLastSending)
dateLastSending - the last date of sendingpublic Timestamp getDateLastSending()
public String getHtml()
public void setHtml(String strHtml)
strHtml - the html content of the newsletterpublic String getTOS()
public void setTOS(String strTermOfService)
strTermOfService - the tos content of the newsletterpublic int getNewsLetterTemplateId()
public void setNewsLetterTemplateId(int nNewsLetterTemplateId)
nNewsLetterTemplateId - the newsletter template identifierpublic String getWorkgroup()
getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResourcepublic void setWorkgroup(String strWorkgroup)
strWorkgroup - The workgrouppublic String getTestRecipients()
public void setTestRecipients(String strTestRecipients)
strTestRecipients - The Test recipientspublic String getNewsletterSenderMail()
public void setNewsletterSenderMail(String strNewsletterSenderMail)
strNewsletterSenderMail - The NewsletterSenderMailpublic String getNewsletterSenderName()
public void setNewsletterSenderName(String strNewsletterSenderName)
strNewsletterSenderName - The NewsletterSenderNamepublic String getResourceId()
getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResourcepublic String getResourceTypeCode()
getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResourcepublic int getNbSections()
public void setNbSections(int nNbSections)
nNbSections - The number of sections of this newsletter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||