public abstract class AbstractCalendarListingWebScript extends AbstractCalendarWebScript
Modifier and Type | Field and Description |
---|---|
protected static String |
RESULT_END |
protected static String |
RESULT_EVENT |
protected static String |
RESULT_NAME |
protected static String |
RESULT_START |
protected static String |
RESULT_TITLE |
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 and Description |
---|
AbstractCalendarListingWebScript() |
Modifier and Type | Method and Description |
---|---|
protected static Comparator<Map<String,Object>> |
getEventDetailsSorter()
Returns a Comparator for (re-)sorting events, typically used after
expanding out recurring instances.
|
protected boolean |
handleRecurring(CalendarEntry entry,
Map<String,Object> entryResult,
List<Map<String,Object>> allResults,
Date from,
Date until,
boolean repeatingFirstOnly)
Do what's needed for recurring events.
|
addActivityEntry, buildError, buildPagingRequest, createIgnoreEvent, executeImpl, executeImpl, extractDates, getOrNull, parseDate, removeTimeZoneIfRequired, removeTimeZoneIfRequired, setActivityService, setCalendarService, setNodeService, setSiteService, useJSONErrors
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
protected static final String RESULT_EVENT
protected static final String RESULT_NAME
protected static final String RESULT_TITLE
protected static final String RESULT_START
protected static final String RESULT_END
protected static Comparator<Map<String,Object>> getEventDetailsSorter()
Copyright © 2005–2017 Alfresco Software. All rights reserved.