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

public class CalendarEntryGet extends AbstractCalendarWebScript
This class is the controller for the slingshot calendar event.get webscript.
Since:
4.0
Author:
Nick Burch
  • 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 class AbstractCalendarWebScript
    • buildRecurrenceString

      protected String buildRecurrenceString(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(PermissionService permissionService)