Class MapTemplateJspBean

  • All Implemented Interfaces:
    java.io.Serializable

    @Controller(controllerJsp="ManageMapTemplates.jsp",
                controllerPath="jsp/admin/plugins/carto/",
                right="CARTO_MANAGEMENT")
    public class MapTemplateJspBean
    extends AbstractManageCartoJspBean<java.lang.Integer,​MapTemplate>
    This class provides the user interface to manage MapTemplate features ( manage, create, modify, remove )
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String doCreateMapTemplate​(javax.servlet.http.HttpServletRequest request)
      Process the data capture form of a new maptemplate
      java.lang.String doModifyMapTemplate​(javax.servlet.http.HttpServletRequest request)
      Process the change form of a maptemplate
      java.lang.String doRemoveMapTemplate​(javax.servlet.http.HttpServletRequest request)
      Handles the removal form of a maptemplate
      java.lang.String getConfirmRemoveMapTemplate​(javax.servlet.http.HttpServletRequest request)
      Manages the removal form of a maptemplate whose identifier is in the http request
      java.lang.String getCreateMapTemplate​(javax.servlet.http.HttpServletRequest request)
      Returns the form to create a maptemplate
      java.lang.String getManageMapTemplates​(javax.servlet.http.HttpServletRequest request)
      Build the Manage View
      fr.paris.lutece.util.ReferenceList getMapProvidersRefList()
      Builds the ReferenceList of all available map providers
      java.lang.String getModifyMapTemplate​(javax.servlet.http.HttpServletRequest request)
      Returns the form to update info about a maptemplate
      void resetListId()
      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, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
      • Methods inherited from class java.lang.Object

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

      • MapTemplateJspBean

        public MapTemplateJspBean()
    • Method Detail

      • getManageMapTemplates

        @View(value="manageMapTemplates",
              defaultView=true)
        public java.lang.String getManageMapTemplates​(javax.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 java.lang.String getCreateMapTemplate​(javax.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 java.lang.String doCreateMapTemplate​(javax.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("confirmRemoveMapTemplate")
        public java.lang.String getConfirmRemoveMapTemplate​(javax.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 java.lang.String doRemoveMapTemplate​(javax.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 java.lang.String getModifyMapTemplate​(javax.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 java.lang.String doModifyMapTemplate​(javax.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