Class AppointmentFormResourcesJspBean
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.modules.resource.web.AppointmentFormResourcesJspBean
- All Implemented Interfaces:
Serializable
@SessionScoped
@Named
@Controller(controllerJsp="ManageAppointmentFormResources.jsp",
controllerPath="jsp/admin/plugins/appointment/modules/resource/",
right="APPOINTMENT_FORM_MANAGEMENT",
securityTokenEnabled=true)
public class AppointmentFormResourcesJspBean
extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
Jsp Bean to manage appointment form resources
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCreateFormResourceType(jakarta.servlet.http.HttpServletRequest request) Do create an appointment form resource typedoModifyFormResourceType(jakarta.servlet.http.HttpServletRequest request) Do modify an appointment form resource typedoRemoveFormResourceType(jakarta.servlet.http.HttpServletRequest request) Do remove an appointment form resource typedoSetAdminDefaultResourceType(jakarta.servlet.http.HttpServletRequest request) Do set a form resource type as the attribute containing the admin user associated with an appointment, so that when the attribute is modified, the admin user associated with the appointment is also modifieddoSetLocalizationDefaultResourceType(jakarta.servlet.http.HttpServletRequest request) Do set a form resource type as the attribute containing the localization of appointmentsgetConfirmRemoveFormResourceType(jakarta.servlet.http.HttpServletRequest request) Do confirm the removal of an appointment form resource typegetConfirmSetAdminDefaultResourceType(jakarta.servlet.http.HttpServletRequest request) Ask the confirmation to set a form resource type as the attribute containing the admin user associated with an appointmentgetConfirmSetLocationDefaultResourceType(jakarta.servlet.http.HttpServletRequest request) Ask the confirmation to set a form resource type as the attribute containing the localization of appointmentsgetCreateFormResourceType(jakarta.servlet.http.HttpServletRequest request) Get the page to create an appointment form resource typegetManageFormResources(jakarta.servlet.http.HttpServletRequest request) Manage the resources of an appointment formgetModifyFormResourceType(jakarta.servlet.http.HttpServletRequest request) Get the page to modify an appointment form resource typestatic final StringgetUrlManageAppointmentFormResourceType(int nIdForm, jakarta.servlet.http.HttpServletRequest request) Get the URL to manage appointment form resource typesMethods 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, getSecurityTokenService, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Field Details
-
PATH_MANAGE_APPOINTMENT_FORM_RESOURCE_TYPE
Path of this controller- See Also:
-
JSP_MANAGE_APPOINTMENT_FORM_RESOURCE_TYPE
JSP name of this controller- See Also:
-
JSP_URL_MANAGE_APPOINTMENT_FORM_RESOURCE_TYPE
Url of the JSP of this controller, with its full path (without the base URL)- See Also:
-
-
Constructor Details
-
AppointmentFormResourcesJspBean
public AppointmentFormResourcesJspBean()
-
-
Method Details
-
getManageFormResources
@View("manageFormResources") public String getManageFormResources(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Manage the resources of an appointment form- 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 access this feature
-
getCreateFormResourceType
@View(value="createFormResourceType", securityTokenAction="doCreateFormResourceType") public String getCreateFormResourceType(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Get the page to create an appointment form resource type- Parameters:
request- the request- Returns:
- The page to create an appointment form resource type
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not authorized to access this feature
-
doCreateFormResourceType
@Action("doCreateFormResourceType") public String doCreateFormResourceType(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Do create an appointment form resource type- 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 access this feature
-
getModifyFormResourceType
@View(value="modifyFormResourceType", securityTokenAction="doModifyFormResourceType") public String getModifyFormResourceType(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Get the page to modify an appointment form resource type- 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 access this feature
-
doModifyFormResourceType
@Action("doModifyFormResourceType") public String doModifyFormResourceType(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Do modify an appointment form resource type- 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 access this feature
-
getConfirmRemoveFormResourceType
@View(value="confirmRemoveFormResourceType", securityTokenAction="doRemoveFormResourceType") public String getConfirmRemoveFormResourceType(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Do confirm the removal of an appointment form resource type- 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 access this feature
-
doRemoveFormResourceType
@Action("doRemoveFormResourceType") public String doRemoveFormResourceType(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Do remove an appointment form resource type- Parameters:
request- The request- Returns:
- The newt URL to redirect to
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not authorized to access this feature
-
getConfirmSetAdminDefaultResourceType
@View(value="confirmSetAdminDefaultResourceType", securityTokenAction="doSetAdminDefaultResourceType") public String getConfirmSetAdminDefaultResourceType(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Ask the confirmation to set a form resource type as the attribute containing the admin user associated with an appointment- Parameters:
request- The request- Returns:
- The URL of the confirmation message
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not authorized to modify the form
-
getConfirmSetLocationDefaultResourceType
@View(value="confirmSetLocationDefaultResourceType", securityTokenAction="doSetLocationDefaultResourceType") public String getConfirmSetLocationDefaultResourceType(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Ask the confirmation to set a form resource type as the attribute containing the localization of appointments- Parameters:
request- The request- Returns:
- The URL of the confirmation message
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not authorized to modify the form
-
doSetAdminDefaultResourceType
@Action("doSetAdminDefaultResourceType") public String doSetAdminDefaultResourceType(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Do set a form resource type as the attribute containing the admin user associated with an appointment, so that when the attribute is modified, the admin user associated with the appointment is also modified- 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 the form
-
doSetLocalizationDefaultResourceType
@Action("doSetLocationDefaultResourceType") public String doSetLocalizationDefaultResourceType(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Do set a form resource type as the attribute containing the localization of appointments- 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 the form
-
getUrlManageAppointmentFormResourceType
public static final String getUrlManageAppointmentFormResourceType(int nIdForm, jakarta.servlet.http.HttpServletRequest request) Get the URL to manage appointment form resource types- Parameters:
nIdForm- the id of the formrequest- The request- Returns:
- The requested URL
-