Class NewsletterDocumentServiceJspBean
- java.lang.Object
-
- fr.paris.lutece.portal.web.insert.InsertServiceJspBean
-
- fr.paris.lutece.plugins.newsletter.modules.blog.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.InsertServiceSelectionBeanThis class is responsible for the insertion of document lists in the newsletter.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringRIGHT_NEWSLETTER_MANAGEMENTThe newsletter right needed to manage
-
Constructor Summary
Constructors Constructor Description NewsletterDocumentServiceJspBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdoInsert(javax.servlet.http.HttpServletRequest request)Insert the selected documents as a piece of html code into the html editorjava.lang.StringdoSearchDocuments(javax.servlet.http.HttpServletRequest request)Search for a list of documents Actually does the same as getHtmlSelectorUIjava.lang.StringgetInsertServiceSelectorUI(javax.servlet.http.HttpServletRequest request)Inserts Html code by the insert service
-
-
-
Field Detail
-
RIGHT_NEWSLETTER_MANAGEMENT
public static final java.lang.String RIGHT_NEWSLETTER_MANAGEMENT
The newsletter right needed to manage- See Also:
- Constant Field Values
-
-
Method Detail
-
getInsertServiceSelectorUI
public java.lang.String getInsertServiceSelectorUI(javax.servlet.http.HttpServletRequest request)
Inserts Html code by the insert service- Specified by:
getInsertServiceSelectorUIin interfacefr.paris.lutece.portal.web.insert.InsertServiceSelectionBean- Parameters:
request- The Http request- Returns:
- The string representation of the category
-
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)
-
-