Interface CalendarService
- All Known Implementing Classes:
CalendarServiceImpl
public interface CalendarService
The Calendar service.
- Since:
- 4.0
- Author:
- Nick Burch
-
Method Summary
Modifier and TypeMethodDescriptioncreateCalendarEntry(String siteShortName, CalendarEntry entry) Stores a newCalendarEntryinto the given site.voiddeleteCalendarEntry(CalendarEntry entry) Deletes an existingCalendarEntryfrom the repositorygetCalendarEntry(String siteShortName, String entryName) Retrieves an existingCalendarEntryfrom the repositoryorg.alfresco.query.PagingResults<CalendarEntry>listCalendarEntries(String[] siteShortNames, Date from, Date to, org.alfresco.query.PagingRequest paging) Retrieves allCalendarEntryinstances in the repository for the given sites, between the specified date range.org.alfresco.query.PagingResults<CalendarEntry>listCalendarEntries(String[] siteShortNames, org.alfresco.query.PagingRequest paging) Retrieves allCalendarEntryinstances in the repository for the given sites.org.alfresco.query.PagingResults<CalendarEntry>listCalendarEntries(String siteShortName, org.alfresco.query.PagingRequest paging) Retrieves allCalendarEntryinstances in the repository for the given site.org.alfresco.query.PagingResults<CalendarEntry>listOutlookCalendarEntries(String siteShortName, String outlookUID, org.alfresco.query.PagingRequest paging) Retrieves all Outlook basedCalendarEntryinstances in the repository for the given site, optionally filtered by the Outlook Event UID.updateCalendarEntry(CalendarEntry entry) Updates an existingCalendarEntryin the repository.
-
Method Details
-
createCalendarEntry
Stores a newCalendarEntryinto the given site. The concrete classCalendarEntryDTOcan be used to create aCalendarEntryinstance for this.- Returns:
- The newly created CalendarEntry
-
updateCalendarEntry
Updates an existingCalendarEntryin the repository.- Returns:
- The updated CalendarEntry
-
deleteCalendarEntry
Deletes an existingCalendarEntryfrom the repository -
getCalendarEntry
Retrieves an existingCalendarEntryfrom the repository -
listCalendarEntries
@NotAuditable org.alfresco.query.PagingResults<CalendarEntry> listCalendarEntries(String siteShortName, org.alfresco.query.PagingRequest paging) Retrieves allCalendarEntryinstances in the repository for the given site. -
listCalendarEntries
@NotAuditable org.alfresco.query.PagingResults<CalendarEntry> listCalendarEntries(String[] siteShortNames, org.alfresco.query.PagingRequest paging) Retrieves allCalendarEntryinstances in the repository for the given sites. -
listCalendarEntries
@NotAuditable org.alfresco.query.PagingResults<CalendarEntry> listCalendarEntries(String[] siteShortNames, Date from, Date to, org.alfresco.query.PagingRequest paging) Retrieves allCalendarEntryinstances in the repository for the given sites, between the specified date range. -
listOutlookCalendarEntries
@NotAuditable org.alfresco.query.PagingResults<CalendarEntry> listOutlookCalendarEntries(String siteShortName, String outlookUID, org.alfresco.query.PagingRequest paging) Retrieves all Outlook basedCalendarEntryinstances in the repository for the given site, optionally filtered by the Outlook Event UID.
-