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,Serializable
@SessionScoped
@Named
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.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoInsert(jakarta.servlet.http.HttpServletRequest request) Insert the selected documents as a piece of html code into the html editor.doSearchDocuments(jakarta.servlet.http.HttpServletRequest request) Search for a list of documents.getInsertServiceSelectorUI(jakarta.servlet.http.HttpServletRequest request) Inserts Html code by the insert serviceMethods inherited from class fr.paris.lutece.portal.web.insert.InsertServiceJspBean
getSubCategories
-
Field Details
-
RIGHT_NEWSLETTER_MANAGEMENT
The newsletter right needed to manage- See Also:
-
-
Constructor Details
-
NewsletterDocumentServiceJspBean
public NewsletterDocumentServiceJspBean()
-
-
Method Details
-
getInsertServiceSelectorUI
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
Search for a list of documents. Actually does the same as getInsertServiceSelectorUI.- Parameters:
request- the http request- Returns:
- the found documents
-
doInsert
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)
-