Class DemandCategoryJspBean

  • All Implemented Interfaces:
    Serializable

    @Controller(controllerJsp="ManageDemandCategorys.jsp",
                controllerPath="jsp/admin/plugins/notificationstore/",
                right="NOTIFICATIONSTORE_MANAGEMENT")
    public class DemandCategoryJspBean
    extends AbstractManageDemandTypeJspBean<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
    • Constructor Detail

      • DemandCategoryJspBean

        public DemandCategoryJspBean()
    • Method Detail

      • getManageDemandCategorys

        @View(value="manageDemandCategorys",
              defaultView=true)
        public 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 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 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 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 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 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 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