@Controller(controllerJsp="ManageAppointmentForms.jsp",
controllerPath="jsp/admin/plugins/appointment/",
right="APPOINTMENT_FORM_MANAGEMENT")
public class AppointmentFormJspBean
extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
| Modifier and Type | Field and Description |
|---|---|
static String |
RIGHT_MANAGEAPPOINTMENTFORM
Right to manage appointment forms
|
| Constructor and Description |
|---|
AppointmentFormJspBean()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addElementsToModelForLeftColumn(javax.servlet.http.HttpServletRequest request,
AppointmentForm appointmentForm,
fr.paris.lutece.portal.business.user.AdminUser user,
Locale locale,
Map<String,Object> model)
Add elements to the model to display the left column to modify an
appointment form
|
String |
doChangeFormActivation(javax.servlet.http.HttpServletRequest request)
Change the enabling of an appointment form
|
String |
doCreateAppointmentForm(javax.servlet.http.HttpServletRequest request)
Process the data capture form of a new appointment form
|
String |
doModifyAppointmentForm(javax.servlet.http.HttpServletRequest request)
Process the change form of a appointment form
|
String |
doModifyAppointmentFormMessages(javax.servlet.http.HttpServletRequest request)
Do modify an appointment form messages
|
String |
doRemoveAppointmentForm(javax.servlet.http.HttpServletRequest request)
Handles the removal form of an appointment form
|
String |
getConfirmRemoveAppointmentForm(javax.servlet.http.HttpServletRequest request)
Manages the removal form of a appointment form whose identifier is in the
HTTP request
|
String |
getCreateAppointmentForm(javax.servlet.http.HttpServletRequest request)
Returns the form to create an appointment form
|
static long |
getDateDiff(Date date1,
Date date2,
TimeUnit timeUnit)
Get a diff between two dates
|
String |
getManageAppointmentForms(javax.servlet.http.HttpServletRequest request)
Get the page to manage appointment forms
|
String |
getModifyAppointmentForm(javax.servlet.http.HttpServletRequest request)
Returns the form to update info about a appointment form
|
String |
getModifyAppointmentFormAdvanced(javax.servlet.http.HttpServletRequest request)
Returns the form to update info about a appointment form
|
String |
getModifyAppointmentFormMessages(javax.servlet.http.HttpServletRequest request)
Get the page to modify an appointment form
|
static String |
getURLManageAppointmentForm(javax.servlet.http.HttpServletRequest request,
String strIdForm)
Get url manage appointment form
|
static String |
getURLManageAppointmentForms(javax.servlet.http.HttpServletRequest request)
Get the URL to manage appointment forms
|
static String |
getURLModifyAppointmentForm(javax.servlet.http.HttpServletRequest request,
int nIdForm)
Get the URL to modify an appointment form
|
static String |
getURLModifyAppointmentForm(javax.servlet.http.HttpServletRequest request,
String strIdForm)
Get the URL to modify an appointment form
|
addError, addError, addInfo, addInfo, download, download, fillCommons, getActionUrl, getControllerJsp, getControllerPath, getModel, getPage, getPage, getPage, getViewFullUrl, getViewUrl, processController, redirect, redirect, redirect, redirect, redirectView, validateBeangetPlugin, initpublic static final String RIGHT_MANAGEAPPOINTMENTFORM
@View(value="manageAppointmentForms",
defaultView=true)
public String getManageAppointmentForms(javax.servlet.http.HttpServletRequest request)
request - the request@View(value="createAppointmentForm") public String getCreateAppointmentForm(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 create
appointment forms@Action(value="createAppointmentForm") public String doCreateAppointmentForm(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException, FileNotFoundException
request - The HTTP Requestfr.paris.lutece.portal.service.admin.AccessDeniedException - If the user is not authorized to create
appointment formsFileNotFoundException@Action(value="confirmRemoveAppointmentForm") public String getConfirmRemoveAppointmentForm(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 delete
this appointment form@Action(value="removeAppointmentForm") public String doRemoveAppointmentForm(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 delete
this appointment form@View(value="modifyAppointmentForm") public String getModifyAppointmentForm(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 modify
this appointment form@View(value="modifyAppointmentFormAdvanced") public String getModifyAppointmentFormAdvanced(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 modify
this appointment form@Action(value="modifyAppointmentForm") public String doModifyAppointmentForm(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 modify
this appointment formpublic static long getDateDiff(Date date1, Date date2, TimeUnit timeUnit)
date1 - the oldest datedate2 - the newest datetimeUnit - the unit in which you want the diff@Action(value="doChangeFormActivation") public String doChangeFormActivation(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 change the
activation of this appointment form@View(value="modifyAppointmentFormMessages") public String getModifyAppointmentFormMessages(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 modify
this appointment form@Action(value="doModifyAppointmentFormMessages") public String doModifyAppointmentFormMessages(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 modify
this appointment formpublic static String getURLManageAppointmentForm(javax.servlet.http.HttpServletRequest request, String strIdForm)
request - the requeststrIdForm - the id formpublic static String getURLModifyAppointmentForm(javax.servlet.http.HttpServletRequest request, int nIdForm)
request - The requestnIdForm - The id of the form to modifypublic static String getURLModifyAppointmentForm(javax.servlet.http.HttpServletRequest request, String strIdForm)
request - The requeststrIdForm - The id of the form to modifypublic static String getURLManageAppointmentForms(javax.servlet.http.HttpServletRequest request)
request - The requestpublic static void addElementsToModelForLeftColumn(javax.servlet.http.HttpServletRequest request,
AppointmentForm appointmentForm,
fr.paris.lutece.portal.business.user.AdminUser user,
Locale locale,
Map<String,Object> model)
request - The request to store the appointment form in sessionappointmentForm - The appointment formuser - The userlocale - The localemodel - the model to add elements inCopyright © 2015 City of Paris. All rights reserved.