Class DemandCategoryJspBean

  • All Implemented Interfaces:
    java.io.Serializable

    @Controller(controllerJsp="ManageDemandCategorys.jsp",
                controllerPath="jsp/admin/plugins/notificationstore/",
                right="NOTIFICATIONSTORE_MANAGEMENT")
    public class DemandCategoryJspBean
    extends AbstractManageDemandTypeJspBean<java.lang.Integer,​fr.paris.lutece.plugins.grubusiness.business.demand.DemandCategory>
    This class provides the user interface to manage DemandCategory 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 doCreateDemandCategory​(javax.servlet.http.HttpServletRequest request)
      Process the data capture form of a new demandcategory
      java.lang.String doModifyDemandCategory​(javax.servlet.http.HttpServletRequest request)
      Process the change form of a demandcategory
      java.lang.String doRemoveDemandCategory​(javax.servlet.http.HttpServletRequest request)
      Handles the removal form of a demandcategory
      java.lang.String getConfirmRemoveDemandCategory​(javax.servlet.http.HttpServletRequest request)
      Manages the removal form of a demandcategory whose identifier is in the http request
      java.lang.String getCreateDemandCategory​(javax.servlet.http.HttpServletRequest request)
      Returns the form to create a demandcategory
      java.lang.String getManageDemandCategorys​(javax.servlet.http.HttpServletRequest request)
      Build the Manage View
      java.lang.String getModifyDemandCategory​(javax.servlet.http.HttpServletRequest request)
      Returns the form to update info about a demandcategory
      void resetListId()
      reset the _listIdDemandCategorys 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

      • DemandCategoryJspBean

        public DemandCategoryJspBean()
    • Method Detail

      • getManageDemandCategorys

        @View(value="manageDemandCategorys",
              defaultView=true)
        public java.lang.String getManageDemandCategorys​(javax.servlet.http.HttpServletRequest request)
        Build the Manage View
        Parameters:
        request - The HTTP request
        Returns:
        The page
      • resetListId

        public void resetListId()
        reset the _listIdDemandCategorys list
      • getCreateDemandCategory

        @View("createDemandCategory")
        public java.lang.String getCreateDemandCategory​(javax.servlet.http.HttpServletRequest request)
        Returns the form to create a demandcategory
        Parameters:
        request - The Http request
        Returns:
        the html code of the demandcategory form
      • doCreateDemandCategory

        @Action("createDemandCategory")
        public java.lang.String doCreateDemandCategory​(javax.servlet.http.HttpServletRequest request)
                                                throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Process the data capture form of a new demandcategory
        Parameters:
        request - The Http Request
        Returns:
        The Jsp URL of the process result
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • getConfirmRemoveDemandCategory

        @Action("confirmRemoveDemandCategory")
        public java.lang.String getConfirmRemoveDemandCategory​(javax.servlet.http.HttpServletRequest request)
        Manages the removal form of a demandcategory whose identifier is in the http request
        Parameters:
        request - The Http request
        Returns:
        the html code to confirm
      • doRemoveDemandCategory

        @Action("removeDemandCategory")
        public java.lang.String doRemoveDemandCategory​(javax.servlet.http.HttpServletRequest request)
        Handles the removal form of a demandcategory
        Parameters:
        request - The Http request
        Returns:
        the jsp URL to display the form to manage demandcategorys
      • getModifyDemandCategory

        @View("modifyDemandCategory")
        public java.lang.String getModifyDemandCategory​(javax.servlet.http.HttpServletRequest request)
        Returns the form to update info about a demandcategory
        Parameters:
        request - The Http request
        Returns:
        The HTML form to update info
      • doModifyDemandCategory

        @Action("modifyDemandCategory")
        public java.lang.String doModifyDemandCategory​(javax.servlet.http.HttpServletRequest request)
                                                throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Process the change form of a demandcategory
        Parameters:
        request - The Http request
        Returns:
        The Jsp URL of the process result
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException