fr.paris.lutece.plugins.newsletter.web
Class NewsletterTemplateJspBean

java.lang.Object
  extended by fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
      extended by fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
          extended by 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:
Serialized Form

Field Summary
static String RIGHT_NEWSLETTER_TEMPLATE_MANAGEMENT
          The right used for managing newsletter templates
 
Constructor Summary
NewsletterTemplateJspBean()
           
 
Method Summary
 String doCreateNewsletterTemplate(javax.servlet.http.HttpServletRequest request)
          Processes the creation form of a new newsletter template by recovering the parameters in the http request
 String doModifyNewsletterTemplate(javax.servlet.http.HttpServletRequest request)
          Processes the modification form of a newsletter template by recovering the parameters in the http request
 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
 String doRemoveNewsLetterTemplate(javax.servlet.http.HttpServletRequest request)
          Processes the removal form of a newsletter template
 String getCreateNewsLetterTemplate(javax.servlet.http.HttpServletRequest request)
          Builds the newsletter's templates creation page
 String getManageTemplates(javax.servlet.http.HttpServletRequest request)
          Builds the newsletter's templates management page
 String getModifyNewsLetterTemplate(javax.servlet.http.HttpServletRequest request)
          Builds the newsletter's templates modification page
 String 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 getPlugin()
          
 String 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, populate, setFeatureIcon, setPageTitleProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RIGHT_NEWSLETTER_TEMPLATE_MANAGEMENT

public static final String RIGHT_NEWSLETTER_TEMPLATE_MANAGEMENT
The right used for managing newsletter templates

See Also:
Constant Field Values
Constructor Detail

NewsletterTemplateJspBean

public NewsletterTemplateJspBean()
Method Detail

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


Copyright © 2013 Mairie de Paris. All Rights Reserved.