Class NewsLetterProperties
- java.lang.Object
-
- fr.paris.lutece.plugins.newsletter.business.NewsLetterProperties
-
public class NewsLetterProperties extends java.lang.ObjectThis class represents business NewsLetterProperties Object
-
-
Constructor Summary
Constructors Constructor Description NewsLetterProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetTOS()Returns the tos content of the newsletterbooleanisCaptchaActive()return if the user must enter a captcha to subscribebooleanisValidationActive()return if the validation by mail is activevoidsetCaptchaActive(boolean bIsCaptchaActive)Set if the user must enter a captcha to subscribevoidsetTOS(java.lang.String strTermOfService)Sets the tos content of the newslettervoidsetValidationActive(boolean bIsValidationActive)Set if the user must validate by mail
-
-
-
Method Detail
-
setValidationActive
public void setValidationActive(boolean bIsValidationActive)
Set if the user must validate by mail- Parameters:
bIsValidationActive- the boolean
-
isValidationActive
public boolean isValidationActive()
return if the validation by mail is active- Returns:
- _bIsValidationActive the boolean
-
setCaptchaActive
public void setCaptchaActive(boolean bIsCaptchaActive)
Set if the user must enter a captcha to subscribe- Parameters:
bIsCaptchaActive- the boolean
-
isCaptchaActive
public boolean isCaptchaActive()
return if the user must enter a captcha to subscribe- Returns:
- bIsCaptchaActive the boolean
-
getTOS
public java.lang.String getTOS()
Returns the tos content of the newsletter- Returns:
- the tos content of the newsletter
-
setTOS
public void setTOS(java.lang.String strTermOfService)
Sets the tos content of the newsletter- Parameters:
strTermOfService- the tos content of the newsletter
-
-