Class NewsLetterProperties

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

public class NewsLetterProperties extends Object
This class represents business NewsLetterProperties Object
  • 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

      public String getTOS()
      Returns the tos content of the newsletter
      Returns:
      the tos content of the newsletter
    • setTOS

      public void setTOS(String strTermOfService)
      Sets the tos content of the newsletter
      Parameters:
      strTermOfService - the tos content of the newsletter