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

java.lang.Object
  extended by fr.paris.lutece.plugins.newsletter.business.NewsLetterProperties

public class NewsLetterProperties
extends java.lang.Object

This class represents business NewsLetterProperties Object


Constructor Summary
NewsLetterProperties()
           
 
Method Summary
 java.lang.String getTOS()
          Returns the tos content of 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 setTOS(java.lang.String strTermOfService)
          Sets the tos content of the newsletter
 void setValidationActive(boolean bIsValidationActive)
          Set if the user must validate by mail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewsLetterProperties

public NewsLetterProperties()
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


Copyright © 2012 Mairie de Paris. All Rights Reserved.