Class NewsletterTemplateJspBean

java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
fr.paris.lutece.plugins.newsletter.web.NewsletterTemplateJspBean
All Implemented Interfaces:
Serializable

public class NewsletterTemplateJspBean extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
JspBean to manage newsletter templates.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The right used for managing newsletter templates
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    doCreateNewsletterTemplate(javax.servlet.http.HttpServletRequest request)
    Processes the creation form of a new newsletter template by recovering the parameters in the http request
    doModifyNewsletterTemplate(javax.servlet.http.HttpServletRequest request)
    Processes the modification form of a newsletter template by recovering the parameters in the http request
    doModifyNewsletterTemplateFile(javax.servlet.http.HttpServletRequest request)
    Processes the modification form of a newsletter template modified by hand by recovering the parameters in the http request
    doRemoveNewsLetterTemplate(javax.servlet.http.HttpServletRequest request)
    Processes the removal form of a newsletter template
    getCreateNewsLetterTemplate(javax.servlet.http.HttpServletRequest request)
    Builds the newsletter's templates creation page
    getManageTemplates(javax.servlet.http.HttpServletRequest request)
    Builds the newsletter's templates management page
    getModifyNewsLetterTemplate(javax.servlet.http.HttpServletRequest request)
    Builds the newsletter's templates modification page
    getModifyNewsLetterTemplateFile(javax.servlet.http.HttpServletRequest request)
    Builds the newsletter's templates modification page (with the modification of the file content)
    fr.paris.lutece.portal.service.plugin.Plugin
    getRemoveNewsLetterTemplate(javax.servlet.http.HttpServletRequest request)
    Manages the removal form of a newsletter template whose identifier is in the http request

    Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean

    init

    Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean

    getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • RIGHT_NEWSLETTER_TEMPLATE_MANAGEMENT

      public static final String RIGHT_NEWSLETTER_TEMPLATE_MANAGEMENT
      The right used for managing newsletter templates
      See Also:
  • Constructor Details

    • NewsletterTemplateJspBean

      public NewsletterTemplateJspBean()
  • Method Details

    • getManageTemplates

      public String getManageTemplates(javax.servlet.http.HttpServletRequest request)
      Builds the newsletter's templates management page
      Parameters:
      request - The HTTP request
      Returns:
      the html code for newsletter's templates management page (liste of templates + available actions)
    • getCreateNewsLetterTemplate

      public String getCreateNewsLetterTemplate(javax.servlet.http.HttpServletRequest request)
      Builds the newsletter's templates creation page
      Parameters:
      request - The HTTP request
      Returns:
      the html code for newsletter's templates creation page
    • doCreateNewsletterTemplate

      public String doCreateNewsletterTemplate(javax.servlet.http.HttpServletRequest request)
      Processes the creation form of a new newsletter template by recovering the parameters in the http request
      Parameters:
      request - the http request
      Returns:
      The Jsp URL of the process result
    • getModifyNewsLetterTemplate

      public String getModifyNewsLetterTemplate(javax.servlet.http.HttpServletRequest request)
      Builds the newsletter's templates modification page
      Parameters:
      request - The HTTP request
      Returns:
      the html code for newsletter's templates creation page
    • doModifyNewsletterTemplate

      public String doModifyNewsletterTemplate(javax.servlet.http.HttpServletRequest request)
      Processes the modification form of a newsletter template by recovering the parameters in the http request
      Parameters:
      request - the http request
      Returns:
      The Jsp URL of the process result
    • getModifyNewsLetterTemplateFile

      public String getModifyNewsLetterTemplateFile(javax.servlet.http.HttpServletRequest request)
      Builds the newsletter's templates modification page (with the modification of the file content)
      Parameters:
      request - The HTTP request
      Returns:
      the html code for newsletter's templates creation page
    • doModifyNewsletterTemplateFile

      public String doModifyNewsletterTemplateFile(javax.servlet.http.HttpServletRequest request)
      Processes the modification form of a newsletter template modified by hand by recovering the parameters in the http request
      Parameters:
      request - the http request
      Returns:
      The Jsp URL of the process result
    • getRemoveNewsLetterTemplate

      public String getRemoveNewsLetterTemplate(javax.servlet.http.HttpServletRequest request)
      Manages the removal form of a newsletter template whose identifier is in the http request
      Parameters:
      request - The Http request
      Returns:
      the html code to confirm
    • doRemoveNewsLetterTemplate

      public String doRemoveNewsLetterTemplate(javax.servlet.http.HttpServletRequest request)
      Processes the removal form of a newsletter template
      Parameters:
      request - The Http request
      Returns:
      the jsp URL to display the form to manage newsletter templates
    • getPlugin

      public fr.paris.lutece.portal.service.plugin.Plugin getPlugin()
      Overrides:
      getPlugin in class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean