Class CalendarEntryGet

  • All Implemented Interfaces:
    org.springframework.extensions.webscripts.WebScript

    public class CalendarEntryGet
    extends AbstractCalendarWebScript
    This class is the controller for the slingshot calendar event.get webscript.
    Since:
    4.0
    Author:
    Nick Burch
    • Constructor Detail

      • CalendarEntryGet

        public CalendarEntryGet()
    • Method Detail

      • executeImpl

        protected Map<String,​Object> executeImpl​(org.alfresco.service.cmr.site.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 class AbstractCalendarWebScript
      • buildRecurrenceString

        protected String buildRecurrenceString​(org.alfresco.service.cmr.calendar.CalendarEntry event)
        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

        public void setPermissionService​(org.alfresco.service.cmr.security.PermissionService permissionService)