Class AbstractCalendarListingWebScript

  • All Implemented Interfaces:
    org.springframework.extensions.webscripts.WebScript
    Direct Known Subclasses:
    CalendarEntriesListGet, UserCalendarEntriesGet

    public abstract class AbstractCalendarListingWebScript
    extends AbstractCalendarWebScript
    This class provides functionality common across the webscripts which list events.
    Since:
    4.0
    Author:
    Nick Burch
    • Constructor Detail

      • AbstractCalendarListingWebScript

        public AbstractCalendarListingWebScript()
    • Method Detail

      • getEventDetailsSorter

        protected static Comparator<Map<String,​Object>> getEventDetailsSorter()
        Returns a Comparator for (re-)sorting events, typically used after expanding out recurring instances.
      • handleRecurring

        protected boolean handleRecurring​(org.alfresco.service.cmr.calendar.CalendarEntry entry,
                                          Map<String,​Object> entryResult,
                                          List<Map<String,​Object>> allResults,
                                          Date from,
                                          Date until,
                                          boolean repeatingFirstOnly)
        Do what's needed for recurring events.
        Returns:
        If dates have been tweaked, and a sort may be required