Class AppointmentDeskJspBean

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.appointment.modules.desk.web.AbstractManageAppointmentDeskJspBean
fr.paris.lutece.plugins.appointment.modules.desk.web.AppointmentDeskJspBean
All Implemented Interfaces:
Serializable

@SessionScoped @Named @Controller(controllerJsp="ManageAppointmentDesks.jsp", controllerPath="jsp/admin/plugins/appointment/modules/desk/", right="APPOINTMENT_FORM_MANAGEMENT", securityTokenEnabled=true) public class AppointmentDeskJspBean extends AbstractManageAppointmentDeskJspBean
This class provides the user interface to manage AppointmentDesk features ( manage, create, modify, remove )
See Also:
  • Field Summary

    Fields inherited from class fr.paris.lutece.plugins.appointment.modules.desk.web.AbstractManageAppointmentDeskJspBean

    RIGHT_MANAGEAPPOINTMENTDESK
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    docloseAppointmentDesk(jakarta.servlet.http.HttpServletRequest request)
    Close one desk on the slots the desk screen selected.
    doIncrementMaxCapacity(jakarta.servlet.http.HttpServletRequest request)
    Add places to the slots of a form between two dates, then show the desk screen again.
    doOpenAppointmentDesk(jakarta.servlet.http.HttpServletRequest request)
    Open one desk on the slots the desk screen selected.
    getManageAppointmentDesks(jakarta.servlet.http.HttpServletRequest request)
    Build the Manage View

    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

    • AppointmentDeskJspBean

      public AppointmentDeskJspBean()
  • Method Details

    • getManageAppointmentDesks

      @View(value="manageAppointmentDesks", defaultView=true, securityTokenAction="incrementMaxCapacity") public String getManageAppointmentDesks(jakarta.servlet.http.HttpServletRequest request)
      Build the Manage View
      Parameters:
      request - The HTTP request
      Returns:
      The page
    • docloseAppointmentDesk

      @Action("closeAppointmentDesk") public String docloseAppointmentDesk(jakarta.servlet.http.HttpServletRequest request)
      Close one desk on the slots the desk screen selected.
      Parameters:
      request - The Http request, whose data parameter carries the slots as JSON
      Returns:
      The JSON answer: success, or the error to show
    • doOpenAppointmentDesk

      @Action("openAppointmentDesk") public String doOpenAppointmentDesk(jakarta.servlet.http.HttpServletRequest request)
      Open one desk on the slots the desk screen selected.
      Parameters:
      request - The Http request, whose data parameter carries the slots as JSON
      Returns:
      The JSON answer: success, or the error to show
    • doIncrementMaxCapacity

      @Action("incrementMaxCapacity") public String doIncrementMaxCapacity(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Add places to the slots of a form between two dates, then show the desk screen again.
      Parameters:
      request - The Http request
      Returns:
      The HTML of the desk screen
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - If the user may not modify the form