Class CalendarServiceImpl

  • All Implemented Interfaces:
    CalendarService

    public class CalendarServiceImpl
    extends java.lang.Object
    implements CalendarService
    Since:
    4.0
    Author:
    Nick Burch (based on existing webscript controllers in the REST API)
    • Field Detail

      • CALENDAR_COMPONENT

        public static final java.lang.String CALENDAR_COMPONENT
        See Also:
        Constant Field Values
      • CANNED_QUERY_GET_CHILDREN

        protected static final java.lang.String CANNED_QUERY_GET_CHILDREN
        See Also:
        Constant Field Values
      • CANNED_QUERY_GET_ENTRIES

        protected static final java.lang.String CANNED_QUERY_GET_ENTRIES
        See Also:
        Constant Field Values
    • Constructor Detail

      • CalendarServiceImpl

        public CalendarServiceImpl()
    • Method Detail

      • setNodeDAO

        public void setNodeDAO​(NodeDAO nodeDAO)
      • setNodeService

        public void setNodeService​(org.alfresco.service.cmr.repository.NodeService nodeService)
      • setSiteService

        public void setSiteService​(SiteService siteService)
      • setTaggingService

        public void setTaggingService​(TaggingService taggingService)
      • setPermissionService

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

        public void setTransactionService​(TransactionService transactionService)
      • setCannedQueryRegistry

        public void setCannedQueryRegistry​(org.alfresco.util.registry.NamedObjectRegistry<org.alfresco.query.CannedQueryFactory<? extends java.lang.Object>> cannedQueryRegistry)
        Set the registry of canned queries
      • getSiteCalendarContainer

        protected org.alfresco.service.cmr.repository.NodeRef getSiteCalendarContainer​(java.lang.String siteShortName,
                                                                                       boolean create)
        Fetches the Calendar Container on a site, creating as required if requested.
      • listCalendarEntries

        public org.alfresco.query.PagingResults<CalendarEntry> listCalendarEntries​(java.lang.String[] siteShortNames,
                                                                                   java.util.Date from,
                                                                                   java.util.Date to,
                                                                                   org.alfresco.query.PagingRequest paging)
        Description copied from interface: CalendarService
        Retrieves all CalendarEntry instances in the repository for the given sites, between the specified date range.
        Specified by:
        listCalendarEntries in interface CalendarService
      • listOutlookCalendarEntries

        public org.alfresco.query.PagingResults<CalendarEntry> listOutlookCalendarEntries​(java.lang.String siteShortName,
                                                                                          java.lang.String outlookUID,
                                                                                          org.alfresco.query.PagingRequest paging)
        Description copied from interface: CalendarService
        Retrieves all Outlook based CalendarEntry instances in the repository for the given site, optionally filtered by the Outlook Event UID.
        Specified by:
        listOutlookCalendarEntries in interface CalendarService