ALF-9156 Add CalendarService list methods, and add a temp implementation of the basic case using the FileFolderService, plus tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2011-07-11 15:17:39 +00:00
parent 10a9817d08
commit cc058d2425
4 changed files with 177 additions and 10 deletions

View File

@@ -20,8 +20,9 @@ package org.alfresco.service.cmr.calendar;
import java.util.Date;
import org.alfresco.query.PagingRequest;
import org.alfresco.query.PagingResults;
import org.alfresco.service.NotAuditable;
import org.alfresco.service.cmr.site.SiteInfo;
/**
* The Calendar service.
@@ -61,4 +62,25 @@ public interface CalendarService {
*/
@NotAuditable
CalendarEntry getCalendarEntry(String siteShortName, String entryName);
/**
* Retrieves all {@link CalendarEntry} instances in the repository
* for the given site.
*/
@NotAuditable
PagingResults<CalendarEntry> listCalendarEntries(String siteShortName, PagingRequest paging);
/**
* Retrieves all {@link CalendarEntry} instances in the repository
* for the given sites.
*/
@NotAuditable
PagingResults<CalendarEntry> listCalendarEntries(String[] siteShortNames, PagingRequest paging);
/**
* Retrieves all {@link CalendarEntry} instances in the repository
* for the given sites, between the specified date range
*/
@NotAuditable
PagingResults<CalendarEntry> listCalendarEntries(String[] siteShortNames, Date from, Date to, PagingRequest paging);
}