Interface CalendarService
-
- All Known Implementing Classes:
CalendarServiceImpl
public interface CalendarServiceThe Calendar service.- Since:
- 4.0
- Author:
- Nick Burch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CalendarEntrycreateCalendarEntry(java.lang.String siteShortName, CalendarEntry entry)Stores a newCalendarEntryinto the given site.voiddeleteCalendarEntry(CalendarEntry entry)Deletes an existingCalendarEntryfrom the repositoryCalendarEntrygetCalendarEntry(java.lang.String siteShortName, java.lang.String entryName)Retrieves an existingCalendarEntryfrom the repositoryorg.alfresco.query.PagingResults<CalendarEntry>listCalendarEntries(java.lang.String[] siteShortNames, java.util.Date from, java.util.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(java.lang.String[] siteShortNames, org.alfresco.query.PagingRequest paging)Retrieves allCalendarEntryinstances in the repository for the given sites.org.alfresco.query.PagingResults<CalendarEntry>listCalendarEntries(java.lang.String siteShortName, org.alfresco.query.PagingRequest paging)Retrieves allCalendarEntryinstances in the repository for the given site.org.alfresco.query.PagingResults<CalendarEntry>listOutlookCalendarEntries(java.lang.String siteShortName, java.lang.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.CalendarEntryupdateCalendarEntry(CalendarEntry entry)Updates an existingCalendarEntryin the repository.
-
-
-
Method Detail
-
createCalendarEntry
@NotAuditable CalendarEntry createCalendarEntry(java.lang.String siteShortName, CalendarEntry entry)
Stores a newCalendarEntryinto the given site. The concrete classCalendarEntryDTOcan be used to create aCalendarEntryinstance for this.- Returns:
- The newly created CalendarEntry
-
updateCalendarEntry
@NotAuditable CalendarEntry updateCalendarEntry(CalendarEntry entry)
Updates an existingCalendarEntryin the repository.- Returns:
- The updated CalendarEntry
-
deleteCalendarEntry
@NotAuditable void deleteCalendarEntry(CalendarEntry entry)
Deletes an existingCalendarEntryfrom the repository
-
getCalendarEntry
@NotAuditable CalendarEntry getCalendarEntry(java.lang.String siteShortName, java.lang.String entryName)
Retrieves an existingCalendarEntryfrom the repository
-
listCalendarEntries
@NotAuditable org.alfresco.query.PagingResults<CalendarEntry> listCalendarEntries(java.lang.String siteShortName, org.alfresco.query.PagingRequest paging)
Retrieves allCalendarEntryinstances in the repository for the given site.
-
listCalendarEntries
@NotAuditable org.alfresco.query.PagingResults<CalendarEntry> listCalendarEntries(java.lang.String[] siteShortNames, org.alfresco.query.PagingRequest paging)
Retrieves allCalendarEntryinstances in the repository for the given sites.
-
listCalendarEntries
@NotAuditable org.alfresco.query.PagingResults<CalendarEntry> listCalendarEntries(java.lang.String[] siteShortNames, java.util.Date from, java.util.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(java.lang.String siteShortName, java.lang.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.
-
-