@Controller(controllerJsp="ManageAppointments.jsp",
controllerPath="jsp/admin/plugins/appointment/",
right="APPOINTMENT_FORM_MANAGEMENT")
public class AppointmentJspBean
extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
Modifier and Type | Field and Description |
---|---|
static String |
ACTIVATEWORKFLOW |
static String |
PREVIOUS_FORM |
Constructor and Description |
---|
AppointmentJspBean()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
String |
displayRecapAppointment(javax.servlet.http.HttpServletRequest request)
Display the recap before validating an appointment
|
String |
doChangeAppointmentStatus(javax.servlet.http.HttpServletRequest request)
Do change the status of an appointment
|
String |
doMakeAppointment(javax.servlet.http.HttpServletRequest request)
Do save an appointment into the database if it is valid
|
String |
doProcessWorkflowAction(javax.servlet.http.HttpServletRequest request)
Do process a workflow action over an appointment
|
String |
doRemoveAppointment(javax.servlet.http.HttpServletRequest request)
Handles the removal form of a appointment
|
String |
doRemoveMassAppointment(javax.servlet.http.HttpServletRequest request)
Handles the removal form of a appointment
|
String |
doValidateForm(javax.servlet.http.HttpServletRequest request)
Do validate data entered by a user to fill a form
|
String |
getConfirmRemoveAppointment(javax.servlet.http.HttpServletRequest request)
Manages the removal form of a appointment whose identifier is in the HTTP request
|
String |
getConfirmRemoveMassAppointment(javax.servlet.http.HttpServletRequest request,
int nIdForm)
Manages the removal form of a appointment whose identifier is in the HTTP request
|
String |
getDownloadFileAppointment(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Do download a file from an appointment response
|
String |
getManageAppointments(javax.servlet.http.HttpServletRequest request)
Get the page to manage appointments
|
String |
getModifyAppointment(javax.servlet.http.HttpServletRequest request)
Get the page to modify an appointment
|
static String |
getUrlExecuteWorkflowAction(javax.servlet.http.HttpServletRequest request,
String strIdAppointment,
String strIdAction)
Get the URL to display the form of a workflow action.
|
String |
getViewAppointment(javax.servlet.http.HttpServletRequest request)
View details of an appointment
|
String |
getViewCalendarManageAppointments(javax.servlet.http.HttpServletRequest request)
Get the page to manage appointments.
|
String |
getViewChangeDateAppointment(javax.servlet.http.HttpServletRequest request)
Return to the display recap view with the new date selected on the calendar
|
String |
getViewCreateAppointment(javax.servlet.http.HttpServletRequest request)
Returns the form to create an appointment
|
String |
getWorkflowActionForm(javax.servlet.http.HttpServletRequest request)
Get the workflow action form before processing the action.
|
addError, addError, addInfo, addInfo, addWarning, addWarning, download, download, fillCommons, getActionUrl, getControllerJsp, getControllerPath, getModel, getPage, getPage, getPage, getViewFullUrl, getViewUrl, processController, redirect, redirect, redirect, redirect, redirectView, validateBean
getPlugin, init
public static final String ACTIVATEWORKFLOW
public static final String PREVIOUS_FORM
@View(value="viewCalendarManageAppointment", defaultView=true) public String getViewCalendarManageAppointments(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
request
- The requestfr.paris.lutece.portal.service.admin.AccessDeniedException
@View(value="manageAppointments") public String getManageAppointments(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
request
- The requestfr.paris.lutece.portal.service.admin.AccessDeniedException
@Action(value="confirmRemoveAppointment") public String getConfirmRemoveAppointment(javax.servlet.http.HttpServletRequest request)
request
- The HTTP request@Action(value="removeAppointment") public String doRemoveAppointment(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
request
- The HTTP requestfr.paris.lutece.portal.service.admin.AccessDeniedException
- If the user is not authorized to access this feature@Action(value="confirmRemoveMassAppointment") public String getConfirmRemoveMassAppointment(javax.servlet.http.HttpServletRequest request, int nIdForm)
request
- The HTTP request@Action(value="removeMassAppointment") public String doRemoveMassAppointment(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
request
- The HTTP requestfr.paris.lutece.portal.service.admin.AccessDeniedException
- If the user is not authorized to access this feature@View(value="viewAppointment") public String getViewAppointment(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
request
- The requestfr.paris.lutece.portal.service.admin.AccessDeniedException
- If the user is not authorized to access this featurepublic String getDownloadFileAppointment(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
request
- The requestresponse
- The responsefr.paris.lutece.portal.service.admin.AccessDeniedException
- If the user is not authorized to access this feature@View(value="modifyAppointment") public String getModifyAppointment(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
request
- The requestfr.paris.lutece.portal.service.admin.AccessDeniedException
- If the user is not authorized to access this feature@View(value="createAppointment") public String getViewCreateAppointment(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
request
- The HTTP requestfr.paris.lutece.portal.service.admin.AccessDeniedException
- If the user is not authorized to access this feature@Action(value="doValidateForm") public String doValidateForm(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException, fr.paris.lutece.portal.service.message.SiteMessageException
request
- The requestfr.paris.lutece.portal.service.admin.AccessDeniedException
- If the user is not authorized to access this featureSiteMessageExcamoreption
fr.paris.lutece.portal.service.message.SiteMessageException
@View(value="viewChangeDateAppointment") public String getViewChangeDateAppointment(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException, fr.paris.lutece.portal.service.message.SiteMessageException
request
- the requestfr.paris.lutece.portal.service.admin.AccessDeniedException
fr.paris.lutece.portal.service.message.SiteMessageException
@View(value="displayRecapAppointment") public String displayRecapAppointment(javax.servlet.http.HttpServletRequest request)
request
- The request@Action(value="doMakeAppointment") public String doMakeAppointment(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
request
- The requestfr.paris.lutece.portal.service.admin.AccessDeniedException
- If the user is not authorized to access this featurepublic static String getUrlExecuteWorkflowAction(javax.servlet.http.HttpServletRequest request, String strIdAppointment, String strIdAction)
request
- The requeststrIdAppointment
- The id of the appointmentstrIdAction
- The id of the workflow action@View(value="viewWorkflowActionForm") public String getWorkflowActionForm(javax.servlet.http.HttpServletRequest request)
request
- The request@Action(value="doProcessWorkflowAction") public String doProcessWorkflowAction(javax.servlet.http.HttpServletRequest request)
request
- The request@Action(value="doChangeAppointmentStatus") public String doChangeAppointmentStatus(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
request
- The requestfr.paris.lutece.portal.service.admin.AccessDeniedException
- If the user is not authorized to access this featureCopyright © 2018 City of Paris. All rights reserved.