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 -
Method Summary
Modifier and TypeMethodDescriptiondocloseAppointmentDesk(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 ViewMethods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
processControllerMethods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, initMethods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getSecurityTokenService, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
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
-