Class 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.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String RIGHT_NEWSLETTER_MANAGEMENT
      The newsletter right needed to manage
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

        getSubCategories
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Constructor Detail

      • NewsletterDocumentServiceJspBean

        public NewsletterDocumentServiceJspBean()
    • Method Detail

      • 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
      • 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)