Class NewsletterJspBean
java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
fr.paris.lutece.plugins.newsletter.web.NewsletterJspBean
- All Implemented Interfaces:
Serializable
public class NewsletterJspBean
extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
This class provides the user interface to manage NewsLetters features
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfirmRemoveNewsletterTopic(javax.servlet.http.HttpServletRequest request) Get a confirmation page before removing a newsletter topicdoAddNewsletterTopic(javax.servlet.http.HttpServletRequest request) Create a news topic in a newsletterdoAddSubscriber(javax.servlet.http.HttpServletRequest request) Processes the registration of a subscriberdoChangeNewsletterTopicSection(javax.servlet.http.HttpServletRequest request) Change the section of a newsletter topic.doCleanSubscribers(javax.servlet.http.HttpServletRequest request) Processes subscribers cleaningdoComposeNewsLetter(javax.servlet.http.HttpServletRequest request) Returns the newsletter form of newsletter compositiondoConfirmSendNewsLetter(javax.servlet.http.HttpServletRequest request) Displays the confirmation page before sending the newsletterdoConfirmTestNewsLetter(javax.servlet.http.HttpServletRequest request) Displays the confirmation page before testing the newsletterdoCopyNewsLetter(javax.servlet.http.HttpServletRequest request) Processes the copy of a newsletterdoCreateNewsLetter(javax.servlet.http.HttpServletRequest request) Processes the creation form of a new newsletterdoExportCsv(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Exports the list of subscribers in a csv file formatdoImportSubscribers(javax.servlet.http.HttpServletRequest request) Processes the import of subscribers due to a csv file and loads the subscribers management pagedoManageNewsLetterProperties(javax.servlet.http.HttpServletRequest request) Processes the update form of the newsletter propertiesdoModifyNewsLetter(javax.servlet.http.HttpServletRequest request) Processes the update form of the newsletter whose identifier is in the http requestdoModifyTopicConfig(javax.servlet.http.HttpServletRequest request) Save the configuration of a topicdoPrepareNewsLetter(javax.servlet.http.HttpServletRequest request) Builds the page of preparation before sendingdoRegisterNewsLetter(javax.servlet.http.HttpServletRequest request) Processes the registration of a newsletter and loads the newsletter management pagedoRemoveMultiNewsLetter(javax.servlet.http.HttpServletRequest request) Processes the removal form of a sending newsletterdoRemoveNewsLetter(javax.servlet.http.HttpServletRequest request) Processes the removal form of a newsletterdoRemoveNewsletterTopic(javax.servlet.http.HttpServletRequest request) Remove a newsletter topicdoRemoveSelection(javax.servlet.http.HttpServletRequest request) Processes the unregistration of selected subscribersdoRemoveSendingNewsLetter(javax.servlet.http.HttpServletRequest request) Processes the removal form of a sending newsletterdoSendNewsLetter(javax.servlet.http.HttpServletRequest request) Processes the sending of a newsletterdoTestNewsLetter(javax.servlet.http.HttpServletRequest request) Processes the testing of a newsletterdoUnregistrationAdmin(javax.servlet.http.HttpServletRequest request) Processes the unregistration of a subscriber for a newslettergetComposeNewsLetter(javax.servlet.http.HttpServletRequest request) Returns the newsletter form of newsletter compositiongetConfirmRemoveSelectedSubscribers(javax.servlet.http.HttpServletRequest request) Manages the removal form of a newsletter whose identifier is in the http for selected users requestgetConfirmRemoveSubscriber(javax.servlet.http.HttpServletRequest request) Manages the removal form of a newsletter whose identifier is in the http requestgetCreateNewsLetter(javax.servlet.http.HttpServletRequest request) Returns the newsletter form for creationgetImportDeleteSubscribers(javax.servlet.http.HttpServletRequest request) Builds the subscribers import pagegetImportSubscribers(javax.servlet.http.HttpServletRequest request) Builds the subscribers import pagegetManageArchive(javax.servlet.http.HttpServletRequest request) Returns the list of old newslettersgetManageNewsLetters(javax.servlet.http.HttpServletRequest request) Returns the list of newslettersgetManageNewsLettersProperties(javax.servlet.http.HttpServletRequest request) Returns the newsletters propertiesgetManageNewsletterTopics(javax.servlet.http.HttpServletRequest request) Get the manage topics pagegetManageSubscribers(javax.servlet.http.HttpServletRequest request) Builds the newsletter's subscribers management pagegetModifyNewsLetter(javax.servlet.http.HttpServletRequest request) Returns the newsletter form for modificationgetModifyTopicConfig(javax.servlet.http.HttpServletRequest request) Get the modification page of a newsletter topic configurationgetMoveNewsletterTopic(javax.servlet.http.HttpServletRequest request) Change the order of a topic, and display the manage topics page.fr.paris.lutece.portal.service.plugin.PlugingetPrepareNewsLetter(javax.servlet.http.HttpServletRequest request) Builds the page of preparation before sendinggetPreviewNewsLetter(javax.servlet.http.HttpServletRequest request) Builds the page of preparation before sendinggetRemoveMultiNewsLetter(javax.servlet.http.HttpServletRequest request) Manages the removal form of a newsletter archive whose identifier is in the http requestgetRemoveNewsLetter(javax.servlet.http.HttpServletRequest request) Manages the removal form of a newsletter whose identifier is in the http requestgetRemoveSendingNewsLetter(javax.servlet.http.HttpServletRequest request) Manages the removal form of a newsletter archive 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, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Field Details
-
RIGHT_NEWSLETTER_MANAGEMENT
The right used for managing newsletters- See Also:
-
-
Constructor Details
-
NewsletterJspBean
public NewsletterJspBean()Creates a new NewsletterJspBean object.
-
-
Method Details
-
getManageNewsLetters
Returns the list of newsletters- Parameters:
request- the HTTP request- Returns:
- the html code for display the newsletters list
-
getManageArchive
Returns the list of old newsletters- Parameters:
request- the HTTP request- Returns:
- the html code for display the newsletters list
-
getManageNewsLettersProperties
public String getManageNewsLettersProperties(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Returns the newsletters properties- Parameters:
request- the HTTP request- Returns:
- the html code for display the newsletters list
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not allowed to acces the feature
-
doManageNewsLetterProperties
public String doManageNewsLetterProperties(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Processes the update form of the newsletter properties- Parameters:
request- The Http request- Returns:
- The jsp URL which displays the view of all newsletter
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not allowed to acces the feature
-
getCreateNewsLetter
Returns the newsletter form for creation- Parameters:
request- The Http request- Returns:
- the html code of the newsletter form
-
getComposeNewsLetter
Returns the newsletter form of newsletter composition- Parameters:
request- The Http rquest- Returns:
- the html code of the newsletter composition form
-
doComposeNewsLetter
Returns the newsletter form of newsletter composition- Parameters:
request- The Http rquest- Returns:
- the html code of the newsletter composition form
-
doCleanSubscribers
Processes subscribers cleaning- Parameters:
request- The Http request- Returns:
- The jsp URL
-
doCreateNewsLetter
Processes the creation form of a new newsletter- Parameters:
request- The Http request- Returns:
- The jsp URL which displays the view of the created newsletter
-
getModifyNewsLetter
Returns the newsletter form for modification- Parameters:
request- The Http request- Returns:
- the html code of the newsletter form
-
doModifyNewsLetter
Processes the update form of the newsletter whose identifier is in the http request- Parameters:
request- The Http request- Returns:
- The jsp URL which displays the view of the updated newsletter
-
getConfirmRemoveSubscriber
Manages the removal form of a newsletter whose identifier is in the http request- Parameters:
request- The Http request- Returns:
- the html code to confirm
-
getConfirmRemoveSelectedSubscribers
Manages the removal form of a newsletter whose identifier is in the http for selected users request- Parameters:
request- The Http request- Returns:
- the html code to confirm
-
doUnregistrationAdmin
Processes the unregistration of a subscriber for a newsletter- Parameters:
request- The Http request- Returns:
- the jsp URL to display the form to manage newsletters
-
doRemoveSelection
Processes the unregistration of selected subscribers- Parameters:
request- The Http request- Returns:
- the jsp URL to display the form to manage newsletters
-
getRemoveNewsLetter
Manages the removal form of a newsletter whose identifier is in the http request- Parameters:
request- The Http request- Returns:
- the html code to confirm
-
getRemoveSendingNewsLetter
Manages the removal form of a newsletter archive whose identifier is in the http request- Parameters:
request- The Http request- Returns:
- the html code to confirm
-
getRemoveMultiNewsLetter
Manages the removal form of a newsletter archive whose identifier is in the http request- Parameters:
request- The Http request- Returns:
- the html code to confirm
-
doRemoveNewsLetter
Processes the removal form of a newsletter- Parameters:
request- The Http request- Returns:
- the jsp URL to display the form to manage newsletters
-
doRemoveSendingNewsLetter
Processes the removal form of a sending newsletter- Parameters:
request- The Http request- Returns:
- the jsp URL to display the form to manage newsletters
-
doRemoveMultiNewsLetter
Processes the removal form of a sending newsletter- Parameters:
request- The Http request- Returns:
- the jsp URL to display the form to manage newsletters
-
getManageSubscribers
Builds the newsletter's subscribers management page- Parameters:
request- The HTTP request- Returns:
- the html code for newsletter's subscribers management page
-
doAddSubscriber
Processes the registration of a subscriber- Parameters:
request- The Http request- Returns:
- The jsp URL which displays the subscribers management page
-
getPrepareNewsLetter
Builds the page of preparation before sending- Parameters:
request- the http request- Returns:
- the html code for the preparation page
-
doPrepareNewsLetter
Builds the page of preparation before sending- Parameters:
request- the Http request- Returns:
- the html code for the preparation page
-
getPreviewNewsLetter
Builds the page of preparation before sending- Parameters:
request- the http request- Returns:
- the html code for the preparation page
-
doConfirmSendNewsLetter
Displays the confirmation page before sending the newsletter- Parameters:
request- the http request- Returns:
- the html code for the confirmation page
-
doConfirmTestNewsLetter
Displays the confirmation page before testing the newsletter- Parameters:
request- the http request- Returns:
- the html code for the confirmation page
-
doTestNewsLetter
Processes the testing of a newsletter- Parameters:
request- the http request- Returns:
- the url of the confirmation page
-
doSendNewsLetter
Processes the sending of a newsletter- Parameters:
request- the http request- Returns:
- the url of the confirmation page
-
doRegisterNewsLetter
Processes the registration of a newsletter and loads the newsletter management page- Parameters:
request- The Http request- Returns:
- The jsp URL which displays the newsletters management page
-
getImportSubscribers
Builds the subscribers import page- Parameters:
request- The HTTP request- Returns:
- the html code for subscribers import page
-
getImportDeleteSubscribers
Builds the subscribers import page- Parameters:
request- The HTTP request- Returns:
- the html code for subscribers import page
-
doImportSubscribers
Processes the import of subscribers due to a csv file and loads the subscribers management page- Parameters:
request- The Http request- Returns:
- The jsp URL which displays the subscribers management page
-
doExportCsv
public String doExportCsv(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Exports the list of subscribers in a csv file format- Parameters:
request- The Http Requestresponse- The Http Response- Returns:
- The url of the management console for newsletters
-
getManageNewsletterTopics
Get the manage topics page- Parameters:
request- The request- Returns:
- The HTML to display
-
doAddNewsletterTopic
Create a news topic in a newsletter- Parameters:
request- The request- Returns:
- The URL to redirect to.
-
confirmRemoveNewsletterTopic
Get a confirmation page before removing a newsletter topic- Parameters:
request- The request- Returns:
- The URL to redirect to.
-
doRemoveNewsletterTopic
Remove a newsletter topic- Parameters:
request- The request- Returns:
- The URL to redirect to.
-
getMoveNewsletterTopic
Change the order of a topic, and display the manage topics page.- Parameters:
request- The request- Returns:
- The HTML content to display
-
getModifyTopicConfig
Get the modification page of a newsletter topic configuration- Parameters:
request- The request- Returns:
- The html content to display
-
doModifyTopicConfig
Save the configuration of a topic- Parameters:
request- The request- Returns:
- The URL to redirect to
-
doChangeNewsletterTopicSection
Change the section of a newsletter topic.- Parameters:
request- The request- Returns:
- The html to display
-
getPlugin
public fr.paris.lutece.portal.service.plugin.Plugin getPlugin()- Overrides:
getPluginin classfr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
-
doCopyNewsLetter
Processes the copy of a newsletter- Parameters:
request- The Http request- Returns:
- the jsp URL to display the form to manage newsletters
-