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 Details

    • RIGHT_NEWSLETTER_MANAGEMENT

      public static final String RIGHT_NEWSLETTER_MANAGEMENT
      The newsletter right needed to manage
      See Also:
  • Constructor Details

    • NewsletterDocumentServiceJspBean

      public NewsletterDocumentServiceJspBean()
  • Method Details

    • getInsertServiceSelectorUI

      public String getInsertServiceSelectorUI(jakarta.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
    • doSearchDocuments

      public String doSearchDocuments(jakarta.servlet.http.HttpServletRequest request)
      Search for a list of documents. Actually does the same as getInsertServiceSelectorUI.
      Parameters:
      request - the http request
      Returns:
      the found documents
    • doInsert

      public String doInsert(jakarta.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)