Class PageLinkServiceJspBean

java.lang.Object
fr.paris.lutece.portal.web.insert.InsertServiceJspBean
fr.paris.lutece.plugins.pagelinkservice.web.PageLinkServiceJspBean
All Implemented Interfaces:
fr.paris.lutece.portal.web.insert.InsertServiceSelectionBean, Serializable

@RequestScoped public class PageLinkServiceJspBean extends fr.paris.lutece.portal.web.insert.InsertServiceJspBean implements fr.paris.lutece.portal.web.insert.InsertServiceSelectionBean
This class provides the user interface to manage PageLibrary features
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getInsertLinkUrl(jakarta.servlet.http.HttpServletRequest request)
    Builds the link to the selected page and returns the url that inserts it into the calling editor field.
    getInsertServiceSelectorUI(jakarta.servlet.http.HttpServletRequest request)
    Return the html form for page selection, with the pages matching the searched name that the user may view.

    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 Details

    • PageLinkServiceJspBean

      public PageLinkServiceJspBean()
  • Method Details

    • getInsertServiceSelectorUI

      public String getInsertServiceSelectorUI(jakarta.servlet.http.HttpServletRequest request)
      Return the html form for page selection, with the pages matching the searched name that the user may view.
      Specified by:
      getInsertServiceSelectorUI in interface fr.paris.lutece.portal.web.insert.InsertServiceSelectionBean
      Parameters:
      request - The Http Request
      Returns:
      The html form.
    • getInsertLinkUrl

      public String getInsertLinkUrl(jakarta.servlet.http.HttpServletRequest request)
      Builds the link to the selected page and returns the url that inserts it into the calling editor field.
      Parameters:
      request - The http request
      Returns:
      the insertion url, or the url of an error message when the page is missing or not viewable