Class NewsLetterProperties
java.lang.Object
fr.paris.lutece.plugins.newsletter.business.NewsLetterProperties
This class represents business NewsLetterProperties Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTOS()Returns the tos content of the newsletterbooleanreturn if the user must enter a captcha to subscribebooleanreturn if the validation by mail is activevoidsetCaptchaActive(boolean bIsCaptchaActive) Set if the user must enter a captcha to subscribevoidSets the tos content of the newslettervoidsetValidationActive(boolean bIsValidationActive) Set if the user must validate by mail
-
Constructor Details
-
NewsLetterProperties
public NewsLetterProperties()
-
-
Method Details
-
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
Returns the tos content of the newsletter- Returns:
- the tos content of the newsletter
-
setTOS
Sets the tos content of the newsletter- Parameters:
strTermOfService- the tos content of the newsletter
-