fr.paris.lutece.plugins.newsletter.web
Class NewsletterDocumentServiceJspBean
java.lang.Object
fr.paris.lutece.portal.web.insert.InsertServiceJspBean
fr.paris.lutece.plugins.newsletter.web.NewsletterDocumentServiceJspBean
- All Implemented Interfaces:
- fr.paris.lutece.portal.web.insert.InsertServiceSelectionBean, java.io.Serializable
public class NewsletterDocumentServiceJspBean
- extends fr.paris.lutece.portal.web.insert.InsertServiceJspBean
- implements fr.paris.lutece.portal.web.insert.InsertServiceSelectionBean
This class is responsible for the insertion of document lists in the newsletter.
It is a HtmlService.
- See Also:
- Serialized Form
|
Method Summary |
java.lang.String |
doInsert(javax.servlet.http.HttpServletRequest request)
Insert the selected documents as a piece of html code into the html editor |
java.lang.String |
doSearchDocuments(javax.servlet.http.HttpServletRequest request)
Search for a list of documents
Actually does the same as getHtmlSelectorUI |
java.lang.String |
getInsertServiceSelectorUI(javax.servlet.http.HttpServletRequest request)
Inserts Html code by the insert service |
| Methods inherited from class fr.paris.lutece.portal.web.insert.InsertServiceJspBean |
buildLink, insertUrl, insertUrlWithoutEscape |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RIGHT_NEWSLETTER_MANAGEMENT
public static final java.lang.String RIGHT_NEWSLETTER_MANAGEMENT
- The newsletter right needed to manage
- See Also:
- Constant Field Values
NewsletterDocumentServiceJspBean
public NewsletterDocumentServiceJspBean()
getInsertServiceSelectorUI
public java.lang.String getInsertServiceSelectorUI(javax.servlet.http.HttpServletRequest request)
- Inserts Html code by the insert service
- Specified by:
getInsertServiceSelectorUI in interface fr.paris.lutece.portal.web.insert.InsertServiceSelectionBean
- Parameters:
request - The Http request
- Returns:
- The string representation of the category
- See Also:
fr.paris.lutece.portal.web.insertservice.HtmlServiceSelectionBean#getInsertServiceSelectorUI(javax.servlet.http.HttpServletRequest)
doSearchDocuments
public java.lang.String doSearchDocuments(javax.servlet.http.HttpServletRequest request)
- Search for a list of documents
Actually does the same as getHtmlSelectorUI
- Parameters:
request - the http request
- Returns:
- the found documents
doInsert
public java.lang.String doInsert(javax.servlet.http.HttpServletRequest request)
- Insert the selected documents as a piece of html code into the html editor
- Parameters:
request - the http request
- Returns:
- the html code to display (this code uses a javascript to close the selection window and insert the document list into the editor)
Copyright © 2010 Mairie de Paris. All Rights Reserved.