Class MapTemplateJspBean

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.carto.web.AbstractManageCartoJspBean<Integer,MapTemplate>
fr.paris.lutece.plugins.carto.web.MapTemplateJspBean
All Implemented Interfaces:
Serializable

@SessionScoped @Named @Controller(controllerJsp="ManageMapTemplates.jsp", controllerPath="jsp/admin/plugins/carto/", right="CARTO_MANAGEMENT", securityTokenEnabled=true) public class MapTemplateJspBean extends AbstractManageCartoJspBean<Integer,MapTemplate>
This class provides the user interface to manage MapTemplate features ( manage, create, modify, remove )
See Also:
  • Field Summary

    Fields inherited from class fr.paris.lutece.plugins.carto.web.AbstractManageCartoJspBean

    RIGHT_MANAGECARTO
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    doCreateMapTemplate(jakarta.servlet.http.HttpServletRequest request)
    Process the data capture form of a new maptemplate
    doModifyMapTemplate(jakarta.servlet.http.HttpServletRequest request)
    Process the change form of a maptemplate
    doRemoveMapTemplate(jakarta.servlet.http.HttpServletRequest request)
    Handles the removal form of a maptemplate
    getConfirmRemoveMapTemplate(jakarta.servlet.http.HttpServletRequest request)
    Manages the removal form of a maptemplate whose identifier is in the http request
    getCreateMapTemplate(jakarta.servlet.http.HttpServletRequest request)
    Returns the form to create a maptemplate
    getManageMapTemplates(jakarta.servlet.http.HttpServletRequest request)
    Build the Manage View
    fr.paris.lutece.util.ReferenceList
    Builds the ReferenceList of all available map providers
    getModifyMapTemplate(jakarta.servlet.http.HttpServletRequest request)
    Returns the form to update info about a maptemplate
    void
    reset the _listIdMapTemplates list

    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

    • MapTemplateJspBean

      public MapTemplateJspBean()
  • Method Details

    • getManageMapTemplates

      @View(value="manageMapTemplates", defaultView=true) public String getManageMapTemplates(jakarta.servlet.http.HttpServletRequest request)
      Build the Manage View
      Parameters:
      request - The HTTP request
      Returns:
      The page
    • resetListId

      public void resetListId()
      reset the _listIdMapTemplates list
    • getCreateMapTemplate

      @View("createMapTemplate") public String getCreateMapTemplate(jakarta.servlet.http.HttpServletRequest request)
      Returns the form to create a maptemplate
      Parameters:
      request - The Http request
      Returns:
      the html code of the maptemplate form
    • getMapProvidersRefList

      public fr.paris.lutece.util.ReferenceList getMapProvidersRefList()
      Builds the ReferenceList of all available map providers
      Returns:
      the ReferenceList
    • doCreateMapTemplate

      @Action("createMapTemplate") public String doCreateMapTemplate(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new maptemplate
      Parameters:
      request - The Http Request
      Returns:
      The Jsp URL of the process result
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException
    • getConfirmRemoveMapTemplate

      @Action(value="confirmRemoveMapTemplate", securityTokenAction="removeMapTemplate") public String getConfirmRemoveMapTemplate(jakarta.servlet.http.HttpServletRequest request)
      Manages the removal form of a maptemplate whose identifier is in the http request
      Parameters:
      request - The Http request
      Returns:
      the html code to confirm
    • doRemoveMapTemplate

      @Action("removeMapTemplate") public String doRemoveMapTemplate(jakarta.servlet.http.HttpServletRequest request)
      Handles the removal form of a maptemplate
      Parameters:
      request - The Http request
      Returns:
      the jsp URL to display the form to manage maptemplates
    • getModifyMapTemplate

      @View("modifyMapTemplate") public String getModifyMapTemplate(jakarta.servlet.http.HttpServletRequest request)
      Returns the form to update info about a maptemplate
      Parameters:
      request - The Http request
      Returns:
      The HTML form to update info
    • doModifyMapTemplate

      @Action("modifyMapTemplate") public String doModifyMapTemplate(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the change form of a maptemplate
      Parameters:
      request - The Http request
      Returns:
      The Jsp URL of the process result
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException