@Controller(xpageName="appointment",
pageTitleI18nKey="appointment.appointmentApp.defaultTitle",
pagePathI18nKey="appointment.appointment.name")
public class AppointmentApp
extends fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGE_DEFAULT_PAGE_TITLE
Default page title of XPages of this app
|
static String |
MESSAGE_DEFAULT_PATH
Default page of XPages of this app
|
static String |
VIEW_APPOINTMENT_CALENDAR |
static String |
VIEW_APPOINTMENT_FORM |
| Constructor and Description |
|---|
AppointmentApp() |
| Modifier and Type | Method and Description |
|---|---|
fr.paris.lutece.portal.web.xpages.XPage |
displayRecapAppointment(javax.servlet.http.HttpServletRequest request)
Display the recap before validating an appointment
|
fr.paris.lutece.portal.web.xpages.XPage |
doCancelAppointment(javax.servlet.http.HttpServletRequest request)
Cancel an appointment
|
fr.paris.lutece.portal.web.xpages.XPage |
doMakeAppointment(javax.servlet.http.HttpServletRequest request)
Do save an appointment into the database if it is valid
|
fr.paris.lutece.portal.web.xpages.XPage |
doProcessWorkflowAction(javax.servlet.http.HttpServletRequest request)
Do process a workflow action over an appointment
|
fr.paris.lutece.portal.web.xpages.XPage |
doValidateForm(javax.servlet.http.HttpServletRequest request)
Do validate data entered by a user to fill a form
|
fr.paris.lutece.portal.web.xpages.XPage |
getAppointmentCanceled(javax.servlet.http.HttpServletRequest request)
Get the page to confirm that the appointment has been canceled
|
fr.paris.lutece.portal.web.xpages.XPage |
getAppointmentCreated(javax.servlet.http.HttpServletRequest request)
Get the page to notify the user that the appointment has been created
|
static String |
getCancelAppointmentUrl(Appointment appointment)
Get the URL
|
static String |
getCancelAppointmentUrl(javax.servlet.http.HttpServletRequest request,
Appointment appointment)
Get the URL
|
fr.paris.lutece.portal.web.xpages.XPage |
getFormList(javax.servlet.http.HttpServletRequest request)
Get the view of all the forms on front office side
|
static String |
getFormListHtml(Locale locale,
Map<String,Object> model)
Get the html content of the list of forms
|
fr.paris.lutece.portal.web.xpages.XPage |
getMyAppointments(javax.servlet.http.HttpServletRequest request)
Get the page to view the appointments of a user
|
static String |
getMyAppointmentsXPage(javax.servlet.http.HttpServletRequest request,
Locale locale,
Map<String,Object> model)
Get the HTML content of the my appointment page of a user
|
static String |
getReportAppointmentUrl(AppointmentDTO appointment)
Get the URL
|
fr.paris.lutece.portal.web.xpages.XPage |
getViewAppointmentCalendar(javax.servlet.http.HttpServletRequest request)
Get the calendar view
|
fr.paris.lutece.portal.web.xpages.XPage |
getViewAppointmentForm(javax.servlet.http.HttpServletRequest request)
Get the form appointment view (front office)
|
fr.paris.lutece.portal.web.xpages.XPage |
getViewCancelAppointment(javax.servlet.http.HttpServletRequest request)
Get the view for he user who wants to cancel its appointment
|
fr.paris.lutece.portal.web.xpages.XPage |
getViewChangeDateAppointment(javax.servlet.http.HttpServletRequest request)
Return to the display recap view with the new date selected on the calendar
|
fr.paris.lutece.portal.web.xpages.XPage |
getWorkflowActionForm(javax.servlet.http.HttpServletRequest request)
Get the workflow action form before processing the action.
|
void |
setUserInfo(javax.servlet.http.HttpServletRequest request,
AppointmentDTO appointment)
Set the user infos to the appointment DTO
|
public static final String MESSAGE_DEFAULT_PATH
public static final String MESSAGE_DEFAULT_PAGE_TITLE
public static final String VIEW_APPOINTMENT_FORM
public static final String VIEW_APPOINTMENT_CALENDAR
@View(value="getViewAppointmentCalendar")
public fr.paris.lutece.portal.web.xpages.XPage getViewAppointmentCalendar(javax.servlet.http.HttpServletRequest request)
throws fr.paris.lutece.portal.service.admin.AccessDeniedException,
fr.paris.lutece.portal.service.security.UserNotSignedException
request - fr.paris.lutece.portal.service.security.UserNotSignedExceptionfr.paris.lutece.portal.service.admin.AccessDeniedException@View(value="getViewAppointmentForm")
public fr.paris.lutece.portal.web.xpages.XPage getViewAppointmentForm(javax.servlet.http.HttpServletRequest request)
throws fr.paris.lutece.portal.service.security.UserNotSignedException,
fr.paris.lutece.portal.service.admin.AccessDeniedException
request - the requestfr.paris.lutece.portal.service.security.UserNotSignedExceptionfr.paris.lutece.portal.service.admin.AccessDeniedException@Action(value="doValidateForm")
public fr.paris.lutece.portal.web.xpages.XPage doValidateForm(javax.servlet.http.HttpServletRequest request)
throws fr.paris.lutece.portal.service.security.UserNotSignedException,
fr.paris.lutece.portal.service.admin.AccessDeniedException
request - The requestfr.paris.lutece.portal.service.message.SiteMessageExceptionfr.paris.lutece.portal.service.security.UserNotSignedExceptionfr.paris.lutece.portal.service.admin.AccessDeniedException@View(value="displayRecapAppointment")
public fr.paris.lutece.portal.web.xpages.XPage displayRecapAppointment(javax.servlet.http.HttpServletRequest request)
throws fr.paris.lutece.portal.service.security.UserNotSignedException,
fr.paris.lutece.portal.service.admin.AccessDeniedException
request - The requestfr.paris.lutece.portal.service.security.UserNotSignedExceptionfr.paris.lutece.portal.service.admin.AccessDeniedException@Action(value="doMakeAppointment")
public fr.paris.lutece.portal.web.xpages.XPage doMakeAppointment(javax.servlet.http.HttpServletRequest request)
throws fr.paris.lutece.portal.service.security.UserNotSignedException,
fr.paris.lutece.portal.service.admin.AccessDeniedException
request - The requestfr.paris.lutece.portal.service.security.UserNotSignedExceptionfr.paris.lutece.portal.service.admin.AccessDeniedException@View(value="getAppointmentCreated") public fr.paris.lutece.portal.web.xpages.XPage getAppointmentCreated(javax.servlet.http.HttpServletRequest request)
request - The request@View(value="viewChangeDateAppointment") public fr.paris.lutece.portal.web.xpages.XPage getViewChangeDateAppointment(javax.servlet.http.HttpServletRequest request)
request - the requestfr.paris.lutece.portal.service.admin.AccessDeniedExceptionfr.paris.lutece.portal.service.message.SiteMessageException@View(value="getViewFormList",
defaultView=true)
public fr.paris.lutece.portal.web.xpages.XPage getFormList(javax.servlet.http.HttpServletRequest request)
request - the request@View(value="getViewCancelAppointment") public fr.paris.lutece.portal.web.xpages.XPage getViewCancelAppointment(javax.servlet.http.HttpServletRequest request)
request - @Action(value="doCancelAppointment") public fr.paris.lutece.portal.web.xpages.XPage doCancelAppointment(javax.servlet.http.HttpServletRequest request)
request - @View(value="getAppointmentCanceled") public fr.paris.lutece.portal.web.xpages.XPage getAppointmentCanceled(javax.servlet.http.HttpServletRequest request)
request - The request@View(value="getMyAppointments")
public fr.paris.lutece.portal.web.xpages.XPage getMyAppointments(javax.servlet.http.HttpServletRequest request)
throws fr.paris.lutece.portal.service.security.UserNotSignedException
request - The requestfr.paris.lutece.portal.service.security.UserNotSignedException - If the authentication is enabled and the user has not signed inpublic static String getMyAppointmentsXPage(javax.servlet.http.HttpServletRequest request, Locale locale, Map<String,Object> model) throws fr.paris.lutece.portal.service.security.UserNotSignedException
request - The requestlocale - The localefr.paris.lutece.portal.service.security.UserNotSignedException - If the user has not signed inpublic static String getFormListHtml(Locale locale, Map<String,Object> model)
appointmentFormService - The service to usestrTitle - The title to display, or null to display the default title.locale - The locale@View(value="viewWorkflowActionForm")
public fr.paris.lutece.portal.web.xpages.XPage getWorkflowActionForm(javax.servlet.http.HttpServletRequest request)
throws fr.paris.lutece.portal.service.security.UserNotSignedException
request - The requestfr.paris.lutece.portal.service.security.UserNotSignedException@Action(value="doProcessWorkflowAction")
public fr.paris.lutece.portal.web.xpages.XPage doProcessWorkflowAction(javax.servlet.http.HttpServletRequest request)
throws fr.paris.lutece.portal.service.security.UserNotSignedException
request - The requestfr.paris.lutece.portal.service.security.UserNotSignedExceptionpublic static String getCancelAppointmentUrl(javax.servlet.http.HttpServletRequest request, Appointment appointment)
request - Get the URL to cancel an appointment in FOappointment - The appointmentpublic static String getCancelAppointmentUrl(Appointment appointment)
request - Get the URL to cancel an appointment in FOappointment - The appointmentpublic static String getReportAppointmentUrl(AppointmentDTO appointment)
request - Get the URL to report an appointment in FOappointment - The appointmentpublic void setUserInfo(javax.servlet.http.HttpServletRequest request,
AppointmentDTO appointment)
request - the requestappointment - the appointment DTOCopyright © 2022 City of Paris. All rights reserved.