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:
java.io.Serializable
@Controller(controllerJsp="ManageAppointmentForms.jsp", controllerPath="jsp/admin/plugins/appointment/", right="APPOINTMENT_FORM_MANAGEMENT") public class AppointmentFormJspBean extends AbstractAppointmentFormAndSlotJspBeanThis class provides the user interface to manage AppointmentForm features ( manage, create, modify, copy, remove )- Author:
- L.Payen
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROPERTY_DEFAULT_LIST_APPOINTMENTFORM_PER_PAGEstatic java.lang.StringRIGHT_MANAGEAPPOINTMENTFORMRight to manage appointment forms
-
Constructor Summary
Constructors Constructor Description AppointmentFormJspBean()Default constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static fr.paris.lutece.portal.service.image.ImageResourcebuildImageResource(fr.paris.lutece.portal.web.upload.MultipartHttpServletRequest mRequest)Build an image resource (icon)java.lang.StringdoChangeFormActivation(javax.servlet.http.HttpServletRequest request)Change the enabling of an appointment formjava.lang.StringdoCopyAppointmentForm(javax.servlet.http.HttpServletRequest request)Do copy a formjava.lang.StringdoCreateAppointmentForm(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new appointment formjava.lang.StringdoModifyAppointmentForm(javax.servlet.http.HttpServletRequest request)Process the change form of a appointment formjava.lang.StringdoModifyAppointmentFormMessages(javax.servlet.http.HttpServletRequest request)Do modify an appointment form messagesjava.lang.StringdoRemoveAppointmentForm(javax.servlet.http.HttpServletRequest request)Handles the removal form of an appointment formjava.lang.StringgetConfirmRemoveAppointmentForm(javax.servlet.http.HttpServletRequest request)Manages the removal form of a appointment form whose identifier is in the HTTP requestjava.lang.StringgetCreateAppointmentForm(javax.servlet.http.HttpServletRequest request)Returns the form to create an appointment formjava.lang.StringgetManageAppointmentForms(javax.servlet.http.HttpServletRequest request)Get the page to manage appointment formsjava.lang.StringgetModifyAppointmentForm(javax.servlet.http.HttpServletRequest request)Returns the form to update info about a appointment formjava.lang.StringgetModifyAppointmentFormMessages(javax.servlet.http.HttpServletRequest request)Get the page to modify an appointment form messagestatic java.lang.StringgetURLManageAppointmentForms(javax.servlet.http.HttpServletRequest request)Get the URL to manage appointment forms-
Methods inherited from class fr.paris.lutece.plugins.appointment.web.AbstractAppointmentFormAndSlotJspBean
addElementsToModel
-
Methods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
processController
-
Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, init
-
-
-
-
Field Detail
-
RIGHT_MANAGEAPPOINTMENTFORM
public static final java.lang.String RIGHT_MANAGEAPPOINTMENTFORM
Right to manage appointment forms- See Also:
- Constant Field Values
-
PROPERTY_DEFAULT_LIST_APPOINTMENTFORM_PER_PAGE
public static final java.lang.String PROPERTY_DEFAULT_LIST_APPOINTMENTFORM_PER_PAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getManageAppointmentForms
@View(value="manageAppointmentForms", defaultView=true) public java.lang.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 java.lang.String getCreateAppointmentForm(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionReturns 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 java.lang.String doCreateAppointmentForm(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionProcess 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 java.lang.String getConfirmRemoveAppointmentForm(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionManages 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 java.lang.String doRemoveAppointmentForm(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionHandles 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 java.lang.String getModifyAppointmentForm(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionReturns 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 java.lang.String doModifyAppointmentForm(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionProcess 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 java.lang.String doChangeFormActivation(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionChange 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 java.lang.String doCopyAppointmentForm(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionDo 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 java.lang.String getModifyAppointmentFormMessages(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionGet 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 java.lang.String doModifyAppointmentFormMessages(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionDo 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
public static java.lang.String getURLManageAppointmentForms(javax.servlet.http.HttpServletRequest request)
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
-
-