@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 | Class and Description |
|---|---|
static class |
AppointmentJspBean.ExportFilter
Status of appointments that have not been validated yet, validate or rejected
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTIVATEWORKFLOW |
static String |
PREVIEOUS_FORM |
| Constructor and Description |
|---|
AppointmentJspBean()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addInPosition(int i,
ResponseRecapDTO response,
List<ResponseRecapDTO> list)
add an object in a collection list
|
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 |
getAppointmentCalendar(javax.servlet.http.HttpServletRequest request)
Get the page with the calendar with opened and closed days for an appointment form
|
String |
getCalendarManageAppointments(javax.servlet.http.HttpServletRequest request)
Get the page to manage appointments.
|
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)
Manages the removal form of a appointment whose identifier is in the HTTP request
|
String |
getCreateAppointment(javax.servlet.http.HttpServletRequest request)
Returns the form to create an appointment
|
String |
getDownloadFile(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse httpResponse)
Do download a file from an appointment response
|
String |
getDownloadFileAppointment(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Do download a file from an appointment response
|
String |
getDownloadFileFromSession(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse httpResponse)
Do download a file from an appointment response stored in session and not yet on server fs
|
String |
getManageAppointments(javax.servlet.http.HttpServletRequest request)
Get the page to manage appointments
|
static int |
getMaxWeek(int nbWeekToCreate,
AppointmentForm form) |
String |
getModifyAppointment(javax.servlet.http.HttpServletRequest request)
Get the page to modify an appointment
|
static String |
getUrlExecuteWorkflowAction(javax.servlet.http.HttpServletRequest request,
int nIdAppointment,
int nIdAction)
Get the URL to display the form of a workflow action.
|
static String |
getUrlExecuteWorkflowAction(javax.servlet.http.HttpServletRequest request,
String strIdAppointment,
String strIdAction)
Get the URL to display the form of a workflow action.
|
static String |
getUrlManageAppointment(javax.servlet.http.HttpServletRequest request,
int nIdForm)
Get the URL to manage appointments of a given form
|
static String |
getUrlManageAppointment(javax.servlet.http.HttpServletRequest request,
String strIdForm)
Get the URL to manage appointments of a given form
|
String |
getViewAppointment(javax.servlet.http.HttpServletRequest request)
View details of 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, validateBeangetPlugin, initpublic static final String ACTIVATEWORKFLOW
public static final String PREVIEOUS_FORM
public 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 featurepublic static int getMaxWeek(int nbWeekToCreate,
AppointmentForm form)
@View(value="viewCalendarManageAppointment",
defaultView=true)
public String getCalendarManageAppointments(javax.servlet.http.HttpServletRequest request)
request - The request@View(value="manageAppointments") public String getManageAppointments(javax.servlet.http.HttpServletRequest request)
request - The request@View(value="createAppointment") public String getCreateAppointment(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="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@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 featureSiteMessageExcamoreptionfr.paris.lutece.portal.service.message.SiteMessageException@View(value="getAppointmentCalendar") public String getAppointmentCalendar(javax.servlet.http.HttpServletRequest request)
request - The request@Action(value="confirmRemoveMassAppointment") public String getConfirmRemoveMassAppointment(javax.servlet.http.HttpServletRequest request)
request - The HTTP request@Action(value="confirmRemoveAppointment") public String getConfirmRemoveAppointment(javax.servlet.http.HttpServletRequest request)
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@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@View(value="displayRecapAppointment") public String displayRecapAppointment(javax.servlet.http.HttpServletRequest request)
request - The requestpublic void addInPosition(int i,
ResponseRecapDTO response,
List<ResponseRecapDTO> list)
int - the indexResponseRecapDTO - the objectList - @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 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 getDownloadFileFromSession(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse httpResponse) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
request - The requesthttpResponse - The responsefr.paris.lutece.portal.service.admin.AccessDeniedException - If the user is not authorized to access this featurepublic String getDownloadFile(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse httpResponse) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
request - The requesthttpResponse - The responsefr.paris.lutece.portal.service.admin.AccessDeniedException - If the user is not authorized to access this feature@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 feature@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 requestpublic static String getUrlManageAppointment(javax.servlet.http.HttpServletRequest request, int nIdForm)
request - The requestnIdForm - The id of the formpublic static String getUrlManageAppointment(javax.servlet.http.HttpServletRequest request, String strIdForm)
request - The requeststrIdForm - The id of the formpublic static String getUrlExecuteWorkflowAction(javax.servlet.http.HttpServletRequest request, int nIdAppointment, int nIdAction)
request - The requestnIdAppointment - The id of the appointmentnIdAction - The id of the workflow actionpublic 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 actionCopyright © 2017 City of Paris. All rights reserved.