@Controller(controllerJsp="ManageAppointmentResources.jsp",
controllerPath="jsp/admin/plugins/appointment/modules/resource",
right="APPOINTMENT_FORM_MANAGEMENT")
public class AppointmentResourceJspBean
extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
Modifier and Type | Field and Description |
---|---|
static String |
CONTROLLER_JSP
The name of the JSP of the controller
|
static String |
CONTROLLER_PATH
The path of the JSP of the controller
|
Constructor and Description |
---|
AppointmentResourceJspBean() |
Modifier and Type | Method and Description |
---|---|
String |
getResourceCalendar(javax.servlet.http.HttpServletRequest request)
Get the calendar of a resource
|
static String |
getResourceCalendar(javax.servlet.http.HttpServletRequest request,
fr.paris.lutece.plugins.resource.business.IResource resource,
int nOffsetWeek,
Locale locale)
Get the resource calendar for a week
|
static String |
getUrlResourceCalendar(String strIdResource,
String strResourceType)
Get the URL of the calendar of a resource
|
String |
getViewUserCalendar(javax.servlet.http.HttpServletRequest request)
Get the page to view the calendar of a user
|
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
public static final String CONTROLLER_PATH
public static final String CONTROLLER_JSP
@View(value="VIEW_USER_CALENDAR", defaultView=true) public String getViewUserCalendar(javax.servlet.http.HttpServletRequest request)
request
- the request@View(value="viewResourceCalendar") public String getResourceCalendar(javax.servlet.http.HttpServletRequest request)
request
- The requestpublic static String getResourceCalendar(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.resource.business.IResource resource, int nOffsetWeek, Locale locale)
request
- The requestresource
- The resourcenOffsetWeek
- The week offsetlocale
- The locale ...)public static String getUrlResourceCalendar(String strIdResource, String strResourceType)
strIdResource
- The id of the resourcestrResourceType
- the resource typeCopyright © 2019 City of Paris. All rights reserved.