Class CalendarEntryGet
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.repo.web.scripts.calendar.AbstractCalendarWebScript
org.alfresco.repo.web.scripts.calendar.CalendarEntryGet
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
This class is the controller for the slingshot calendar event.get webscript.
- Since:
- 4.0
- Author:
- Nick Burch
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
-
Field Summary
Fields inherited from class org.alfresco.repo.web.scripts.calendar.AbstractCalendarWebScript
activityService, CALENDAR_SERVICE_ACTIVITY_APP_NAME, calendarService, MAX_QUERY_ENTRY_COUNT, MSG_EVENT_NOT_FOUND, MSG_INVALID_JSON, nodeService, PARAM_END_AT, PARAM_ISO8601, PARAM_START_AT, PARAM_TIMEZONE, siteService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
This method replicates the pre-existing behaviour for recurring events.executeImpl
(SiteInfo site, String eventName, org.springframework.extensions.webscripts.WebScriptRequest req, org.json.simple.JSONObject json, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache) void
setPermissionService
(PermissionService permissionService) Methods inherited from class org.alfresco.repo.web.scripts.calendar.AbstractCalendarWebScript
addActivityEntry, buildError, buildPagingRequest, createIgnoreEvent, executeImpl, extractDates, getOrNull, parseDate, removeTimeZoneIfRequired, removeTimeZoneIfRequired, setActivityService, setCalendarService, setNodeService, setSiteService, useJSONErrors
Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
-
Constructor Details
-
CalendarEntryGet
public CalendarEntryGet()
-
-
Method Details
-
executeImpl
protected Map<String,Object> executeImpl(SiteInfo site, String eventName, org.springframework.extensions.webscripts.WebScriptRequest req, org.json.simple.JSONObject json, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache) - Specified by:
executeImpl
in classAbstractCalendarWebScript
-
buildRecurrenceString
This method replicates the pre-existing behaviour for recurring events. Rather than try to render the text for them on the client, we instead statically render the description text here on the server. When we properly support recurring events in the client (and not just for SharePoint ones), this can be replaced. -
setPermissionService
-