Class InternalLinkInsertServiceJspBean

java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
fr.paris.lutece.plugins.quicklinks.web.InternalLinkInsertServiceJspBean
All Implemented Interfaces:
fr.paris.lutece.portal.web.insert.InsertServiceSelectionBean, Serializable

@RequestScoped @Named @Controller(controllerJsp="InternalLinkInsertService.jsp", controllerPath="jsp/admin/plugins/quicklinks/", right="CORE_LINK_SERVICE_MANAGEMENT", securityTokenEnabled=true) public class InternalLinkInsertServiceJspBean extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean implements fr.paris.lutece.portal.web.insert.InsertServiceSelectionBean
This class provides the user interface of the internal link insert service: search a page, then insert a link to it
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    doInsertLink(jakarta.servlet.http.HttpServletRequest request)
    Insert a link to the selected page into the HTML content.
    getInsertServiceSelectorUI(jakarta.servlet.http.HttpServletRequest request)
    Return the html form for page selection, as the core insert service screen displays it.
    getSearchPage(jakarta.servlet.http.HttpServletRequest request)
    Return the page selection filtered by the searched name
    fr.paris.lutece.util.ReferenceList
    Return the sub categories of the insert service, read by the core insert service list: none.

    Methods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean

    processController

    Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean

    getPlugin, init

    Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean

    getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getSecurityTokenService, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InternalLinkInsertServiceJspBean

      public InternalLinkInsertServiceJspBean()
  • Method Details

    • getInsertServiceSelectorUI

      public String getInsertServiceSelectorUI(jakarta.servlet.http.HttpServletRequest request)
      Return the html form for page selection, as the core insert service screen displays it.
      Specified by:
      getInsertServiceSelectorUI in interface fr.paris.lutece.portal.web.insert.InsertServiceSelectionBean
      Parameters:
      request - The Http Request
      Returns:
      The html form.
    • getSubCategories

      public fr.paris.lutece.util.ReferenceList getSubCategories()
      Return the sub categories of the insert service, read by the core insert service list: none.
      Returns:
      An empty list
    • getSearchPage

      @View(value="searchPage", defaultView=true) public String getSearchPage(jakarta.servlet.http.HttpServletRequest request)
      Return the page selection filtered by the searched name
      Parameters:
      request - The Http Request
      Returns:
      The html form.
    • doInsertLink

      @Action(value="insertLink", securityTokenDisabled=true) public String doInsertLink(jakarta.servlet.http.HttpServletRequest request)
      Insert a link to the selected page into the HTML content. Only the session of the user changes, for the core insert screen to read it back, so the action carries no security token.
      Parameters:
      request - The http request
      Returns:
      The redirection result