Class AbstractBlogInsertServiceJspBean

  • All Implemented Interfaces:
    fr.paris.lutece.portal.web.insert.InsertServiceSelectionBean, java.io.Serializable
    Direct Known Subclasses:
    BlogPortletInsertServiceJspBean, BlogResourceInsertServiceJspBean, BlogUrlInsertServiceJspBean

    public abstract class AbstractBlogInsertServiceJspBean
    extends fr.paris.lutece.portal.web.insert.InsertServiceJspBean
    implements fr.paris.lutece.portal.web.insert.InsertServiceSelectionBean
    This class provides the user interface to insert a link toward a blog post or a blog's Resource
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String doInsertBlogLink​(javax.servlet.http.HttpServletRequest request)
      Insert the link toward the selected blog post element into the html editor
      abstract java.lang.String doSearchBlogLink​(javax.servlet.http.HttpServletRequest request)
      Search for the blogs matching the user's search and reload the HTML form where the blog link to insert is selected
      java.lang.String getInsertServiceSelectorUI​(javax.servlet.http.HttpServletRequest request)
      Get the HTML form where the blog to insert is selected
      • 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
    • Constructor Detail

      • AbstractBlogInsertServiceJspBean

        public AbstractBlogInsertServiceJspBean()
    • Method Detail

      • getInsertServiceSelectorUI

        public java.lang.String getInsertServiceSelectorUI​(javax.servlet.http.HttpServletRequest request)
        Get the HTML form where the blog to insert is selected
        Specified by:
        getInsertServiceSelectorUI in interface fr.paris.lutece.portal.web.insert.InsertServiceSelectionBean
        Parameters:
        request - The http request
        Returns:
        the HTML code to display
      • doInsertBlogLink

        public java.lang.String doInsertBlogLink​(javax.servlet.http.HttpServletRequest request)
        Insert the link toward the selected blog post element into the html editor
        Parameters:
        request - The http request
        Returns:
        the link to display in the html code
      • doSearchBlogLink

        public abstract java.lang.String doSearchBlogLink​(javax.servlet.http.HttpServletRequest request)
        Search for the blogs matching the user's search and reload the HTML form where the blog link to insert is selected
        Parameters:
        request - The http request
        Returns:
        the HTML code to display the blogs that can be selected to create a link from