Class DemandTypeJspBean

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.notificationstore.web.AbstractJspBean<Integer,fr.paris.lutece.plugins.grubusiness.business.demand.DemandType>
fr.paris.lutece.plugins.notificationstore.web.DemandTypeJspBean
All Implemented Interfaces:
Serializable

@Controller(controllerJsp="ManageDemandTypes.jsp", controllerPath="jsp/admin/plugins/notificationstore/", right="NOTIFICATIONSTORE_DEMANDTYPE_MANAGEMENT") public class DemandTypeJspBean extends AbstractJspBean<Integer,fr.paris.lutece.plugins.grubusiness.business.demand.DemandType>
This class provides the user interface to manage DemandType features ( manage, create, modify, remove )
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    doCreateDemandType(javax.servlet.http.HttpServletRequest request)
    Process the data capture form of a new demandtype
    doModifyDemandType(javax.servlet.http.HttpServletRequest request)
    Process the change form of a demandtype
    doRemoveDemandType(javax.servlet.http.HttpServletRequest request)
    Handles the removal form of a demandtype
    getConfirmRemoveDemandType(javax.servlet.http.HttpServletRequest request)
    Manages the removal form of a demandtype whose identifier is in the http request
    getCreateDemandType(javax.servlet.http.HttpServletRequest request)
    Returns the form to create a demandtype
    getManageDemandTypes(javax.servlet.http.HttpServletRequest request)
    Build the Manage View
    getModifyDemandType(javax.servlet.http.HttpServletRequest request)
    Returns the form to update info about a demandtype

    Methods inherited from class fr.paris.lutece.plugins.notificationstore.web.AbstractJspBean

    fillModelWithSearchParamsAndResult, resetListId

    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 Details

    • DemandTypeJspBean

      public DemandTypeJspBean()
  • Method Details

    • getManageDemandTypes

      @View(value="manageDemandTypes", defaultView=true) public String getManageDemandTypes(javax.servlet.http.HttpServletRequest request)
      Build the Manage View
      Parameters:
      request - The HTTP request
      Returns:
      The page
    • getCreateDemandType

      @View("createDemandType") public String getCreateDemandType(javax.servlet.http.HttpServletRequest request)
      Returns the form to create a demandtype
      Parameters:
      request - The Http request
      Returns:
      the html code of the demandtype form
    • doCreateDemandType

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

      @Action("confirmRemoveDemandType") public String getConfirmRemoveDemandType(javax.servlet.http.HttpServletRequest request)
      Manages the removal form of a demandtype whose identifier is in the http request
      Parameters:
      request - The Http request
      Returns:
      the html code to confirm
    • doRemoveDemandType

      @Action("removeDemandType") public String doRemoveDemandType(javax.servlet.http.HttpServletRequest request)
      Handles the removal form of a demandtype
      Parameters:
      request - The Http request
      Returns:
      the jsp URL to display the form to manage demandtypes
    • getModifyDemandType

      @View("modifyDemandType") public String getModifyDemandType(javax.servlet.http.HttpServletRequest request)
      Returns the form to update info about a demandtype
      Parameters:
      request - The Http request
      Returns:
      The HTML form to update info
    • doModifyDemandType

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