@Controller(controllerJsp="ManageAppointmentForms.jsp", controllerPath="jsp/admin/plugins/appointment/", right="APPOINTMENT_FORM_MANAGEMENT") public class AppointmentFormJspBean extends AbstractAppointmentFormAndSlotJspBean
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_DEFAULT_LIST_APPOINTMENTFORM_PER_PAGE |
static String |
RIGHT_MANAGEAPPOINTMENTFORM
Right to manage appointment forms
|
Constructor and Description |
---|
AppointmentFormJspBean()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
static void |
addElementsToModel(javax.servlet.http.HttpServletRequest request,
AppointmentFormDTO 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
|
static fr.paris.lutece.portal.service.image.ImageResource |
buildImageResource(fr.paris.lutece.portal.web.upload.MultipartHttpServletRequest mRequest)
Build an image resource (icon)
|
String |
doChangeFormActivation(javax.servlet.http.HttpServletRequest request)
Change the enabling of an appointment form
|
String |
doCopyAppointmentForm(javax.servlet.http.HttpServletRequest request)
Do copy a 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
|
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 |
getModifyAppointmentFormMessages(javax.servlet.http.HttpServletRequest request)
Get the page to modify an appointment form message
|
static String |
getURLManageAppointmentForms(javax.servlet.http.HttpServletRequest request)
Get the URL to manage appointment forms
|
checkConstraints
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
getAdminDashboardsUrl, getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, isUserHigherThanConnectedUser, populate, populate, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
public static final String RIGHT_MANAGEAPPOINTMENTFORM
public static final String PROPERTY_DEFAULT_LIST_APPOINTMENTFORM_PER_PAGE
@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@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 form@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@Action(value="doCopyAppointmentForm") public String doCopyAppointmentForm(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
request
- the requestfr.paris.lutece.portal.service.admin.AccessDeniedException
@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 getURLManageAppointmentForms(javax.servlet.http.HttpServletRequest request)
request
- The requestpublic static void addElementsToModel(javax.servlet.http.HttpServletRequest request, AppointmentFormDTO 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 inpublic static fr.paris.lutece.portal.service.image.ImageResource buildImageResource(fr.paris.lutece.portal.web.upload.MultipartHttpServletRequest mRequest)
mRequest
- the requestCopyright © 2020 City of Paris. All rights reserved.