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
FieldsModifier and TypeFieldDescriptionstatic final StringThe right used for managing newsletter templates -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCreateNewsletterTemplate(javax.servlet.http.HttpServletRequest request) Processes the creation form of a new newsletter template by recovering the parameters in the http requestdoModifyNewsletterTemplate(javax.servlet.http.HttpServletRequest request) Processes the modification form of a newsletter template by recovering the parameters in the http requestdoModifyNewsletterTemplateFile(javax.servlet.http.HttpServletRequest request) Processes the modification form of a newsletter template modified by hand by recovering the parameters in the http requestdoRemoveNewsLetterTemplate(javax.servlet.http.HttpServletRequest request) Processes the removal form of a newsletter templategetCreateNewsLetterTemplate(javax.servlet.http.HttpServletRequest request) Builds the newsletter's templates creation pagegetManageTemplates(javax.servlet.http.HttpServletRequest request) Builds the newsletter's templates management pagegetModifyNewsLetterTemplate(javax.servlet.http.HttpServletRequest request) Builds the newsletter's templates modification pagegetModifyNewsLetterTemplateFile(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.PlugingetRemoveNewsLetterTemplate(javax.servlet.http.HttpServletRequest request) Manages the removal form of a newsletter template whose identifier is in the http requestMethods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
initMethods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Field Details
-
RIGHT_NEWSLETTER_TEMPLATE_MANAGEMENT
The right used for managing newsletter templates- See Also:
-
-
Constructor Details
-
NewsletterTemplateJspBean
public NewsletterTemplateJspBean()
-
-
Method Details
-
getManageTemplates
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
Builds the newsletter's templates creation page- Parameters:
request- The HTTP request- Returns:
- the html code for newsletter's templates creation page
-
doCreateNewsletterTemplate
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
Builds the newsletter's templates modification page- Parameters:
request- The HTTP request- Returns:
- the html code for newsletter's templates creation page
-
doModifyNewsletterTemplate
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
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
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
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
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:
getPluginin classfr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
-