Class AppointmentFormJspBean
java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
fr.paris.lutece.plugins.appointment.web.AbstractAppointmentFormAndSlotJspBean
fr.paris.lutece.plugins.appointment.web.AppointmentFormJspBean
- All Implemented Interfaces:
Serializable
@Controller(controllerJsp="ManageAppointmentForms.jsp",
controllerPath="jsp/admin/plugins/appointment/",
right="APPOINTMENT_FORM_MANAGEMENT")
public class AppointmentFormJspBean
extends AbstractAppointmentFormAndSlotJspBean
This class provides the user interface to manage AppointmentForm features ( manage, create, modify, copy, remove )
- Author:
- L.Payen
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic fr.paris.lutece.portal.service.image.ImageResourcebuildImageResource(fr.paris.lutece.portal.web.upload.MultipartHttpServletRequest mRequest) Build an image resource (icon)doChangeFormActivation(javax.servlet.http.HttpServletRequest request) Change the enabling of an appointment formdoCopyAppointmentForm(javax.servlet.http.HttpServletRequest request) Do copy a formdoCreateAppointmentForm(javax.servlet.http.HttpServletRequest request) Process the data capture form of a new appointment formdoModifyAppointmentForm(javax.servlet.http.HttpServletRequest request) Process the change form of a appointment formdoModifyAppointmentFormMessages(javax.servlet.http.HttpServletRequest request) Do modify an appointment form messagesdoRemoveAppointmentForm(javax.servlet.http.HttpServletRequest request) Handles the removal form of an appointment formgetConfirmRemoveAppointmentForm(javax.servlet.http.HttpServletRequest request) Manages the removal form of a appointment form whose identifier is in the HTTP requestgetCreateAppointmentForm(javax.servlet.http.HttpServletRequest request) Returns the form to create an appointment formgetManageAppointmentForms(javax.servlet.http.HttpServletRequest request) Get the page to manage appointment formsgetModifyAppointmentForm(javax.servlet.http.HttpServletRequest request) Returns the form to update info about a appointment formgetModifyAppointmentFormMessages(javax.servlet.http.HttpServletRequest request) Get the page to modify an appointment form messagestatic StringgetURLManageAppointmentForms(javax.servlet.http.HttpServletRequest request) Get the URL to manage appointment formsMethods inherited from class fr.paris.lutece.plugins.appointment.web.AbstractAppointmentFormAndSlotJspBean
addElementsToModelMethods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
processControllerMethods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, initMethods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Field Details
-
RIGHT_MANAGEAPPOINTMENTFORM
Right to manage appointment forms- See Also:
-
PROPERTY_DEFAULT_LIST_APPOINTMENTFORM_PER_PAGE
- See Also:
-
-
Constructor Details
-
AppointmentFormJspBean
public AppointmentFormJspBean()Default constructor
-
-
Method Details
-
getManageAppointmentForms
@View(value="manageAppointmentForms", defaultView=true) public String getManageAppointmentForms(javax.servlet.http.HttpServletRequest request) Get the page to manage appointment forms- Parameters:
request- the request- Returns:
- The HTML content to display
-
getCreateAppointmentForm
@View("createAppointmentForm") public String getCreateAppointmentForm(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Returns the form to create an appointment form- Parameters:
request- The HTTP request- Returns:
- the HTML code of the appointment form
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not authorized to create appointment forms
-
doCreateAppointmentForm
@Action("createAppointmentForm") public String doCreateAppointmentForm(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Process the data capture form of a new appointment form- Parameters:
request- The HTTP Request- Returns:
- The JSP URL of the process result
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not authorized to create appointment forms
-
getConfirmRemoveAppointmentForm
@Action("confirmRemoveAppointmentForm") public String getConfirmRemoveAppointmentForm(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Manages the removal form of a appointment form whose identifier is in the HTTP request- Parameters:
request- The HTTP request- Returns:
- the HTML code to confirm
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not authorized to delete this appointment form
-
doRemoveAppointmentForm
@Action("removeAppointmentForm") public String doRemoveAppointmentForm(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Handles the removal form of an appointment form- Parameters:
request- The HTTP request- Returns:
- the JSP URL to display the form to manage appointment forms
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not authorized to delete this appointment form
-
getModifyAppointmentForm
@View("modifyAppointmentForm") public String getModifyAppointmentForm(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Returns the form to update info about a appointment form- Parameters:
request- The HTTP request- Returns:
- The HTML form to update info
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not authorized to modify this appointment form
-
doModifyAppointmentForm
@Action("modifyAppointmentForm") public String doModifyAppointmentForm(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Process the change form of a appointment form- Parameters:
request- The HTTP request- Returns:
- The JSP URL of the process result
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not authorized to modify this appointment form
-
doChangeFormActivation
@Action("doChangeFormActivation") public String doChangeFormActivation(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Change the enabling of an appointment form- Parameters:
request- The request- Returns:
- The next URL to redirect to
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not authorized to change the activation of this appointment form
-
doCopyAppointmentForm
@Action("doCopyAppointmentForm") public String doCopyAppointmentForm(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Do copy a form- Parameters:
request- the request- Returns:
- the JSP URL to display the form to manage appointment forms
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
getModifyAppointmentFormMessages
@View("modifyAppointmentFormMessages") public String getModifyAppointmentFormMessages(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Get the page to modify an appointment form message- Parameters:
request- The request- Returns:
- The HTML content to display
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not authorized to modify this appointment form
-
doModifyAppointmentFormMessages
@Action("doModifyAppointmentFormMessages") public String doModifyAppointmentFormMessages(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Do modify an appointment form messages- Parameters:
request- The request- Returns:
- The next URL to redirect to
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not authorized to modify this appointment form
-
getURLManageAppointmentForms
Get the URL to manage appointment forms- Parameters:
request- The request- Returns:
- The URL to manage appointment forms
-
buildImageResource
public static fr.paris.lutece.portal.service.image.ImageResource buildImageResource(fr.paris.lutece.portal.web.upload.MultipartHttpServletRequest mRequest) Build an image resource (icon)- Parameters:
mRequest- the request- Returns:
- the image resource
-