public class CalendarServiceImpl extends java.lang.Object implements CalendarService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CALENDAR_COMPONENT |
protected static java.lang.String |
CANNED_QUERY_GET_CHILDREN |
protected static java.lang.String |
CANNED_QUERY_GET_ENTRIES |
| Constructor and Description |
|---|
CalendarServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
CalendarEntry |
createCalendarEntry(java.lang.String siteShortName,
CalendarEntry entry)
Stores a new
CalendarEntry into the given site. |
void |
deleteCalendarEntry(CalendarEntry entry)
Deletes an existing
CalendarEntry from the repository |
CalendarEntry |
getCalendarEntry(java.lang.String siteShortName,
java.lang.String entryName)
Retrieves an existing
CalendarEntry from the repository |
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.
|
org.alfresco.query.PagingResults |
listCalendarEntries(java.lang.String[] siteShortNames,
java.util.Date from,
java.util.Date to,
org.alfresco.query.PagingRequest paging)
Retrieves all
CalendarEntry instances in the repository
for the given sites, between the specified date range. |
org.alfresco.query.PagingResults |
listCalendarEntries(java.lang.String[] siteShortNames,
org.alfresco.query.PagingRequest paging)
Retrieves all
CalendarEntry instances in the repository
for the given sites. |
org.alfresco.query.PagingResults |
listCalendarEntries(java.lang.String siteShortName,
org.alfresco.query.PagingRequest paging)
Retrieves all
CalendarEntry instances in the repository
for the given site. |
org.alfresco.query.PagingResults |
listOutlookCalendarEntries(java.lang.String siteShortName,
java.lang.String outlookUID,
org.alfresco.query.PagingRequest paging)
Retrieves all Outlook based
CalendarEntry instances in the repository
for the given site, optionally filtered by the Outlook Event UID. |
void |
setCannedQueryRegistry(org.alfresco.util.registry.NamedObjectRegistry cannedQueryRegistry)
Set the registry of
canned queries |
void |
setNodeDAO(NodeDAO nodeDAO) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService) |
void |
setSiteService(SiteService siteService) |
void |
setTaggingService(TaggingService taggingService) |
void |
setTransactionService(TransactionService transactionService) |
CalendarEntry |
updateCalendarEntry(CalendarEntry entry)
Updates an existing
CalendarEntry in the repository. |
public static final java.lang.String CALENDAR_COMPONENT
protected static final java.lang.String CANNED_QUERY_GET_CHILDREN
protected static final java.lang.String CANNED_QUERY_GET_ENTRIES
public void setNodeDAO(NodeDAO nodeDAO)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setSiteService(SiteService siteService)
public void setTaggingService(TaggingService taggingService)
public void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
public void setTransactionService(TransactionService transactionService)
public void setCannedQueryRegistry(org.alfresco.util.registry.NamedObjectRegistry cannedQueryRegistry)
canned queriesprotected org.alfresco.service.cmr.repository.NodeRef getSiteCalendarContainer(java.lang.String siteShortName,
boolean create)
public CalendarEntry getCalendarEntry(java.lang.String siteShortName, java.lang.String entryName)
CalendarServiceCalendarEntry from the repositorygetCalendarEntry in interface CalendarServicepublic CalendarEntry createCalendarEntry(java.lang.String siteShortName, CalendarEntry entry)
CalendarServiceCalendarEntry into the given site.
The concrete class CalendarEntryDTO can be used
to create a CalendarEntry instance for this.createCalendarEntry in interface CalendarServicepublic CalendarEntry updateCalendarEntry(CalendarEntry entry)
CalendarServiceCalendarEntry in the repository.updateCalendarEntry in interface CalendarServicepublic void deleteCalendarEntry(CalendarEntry entry)
CalendarServiceCalendarEntry from the repositorydeleteCalendarEntry in interface CalendarServicepublic org.alfresco.query.PagingResults listCalendarEntries(java.lang.String siteShortName,
org.alfresco.query.PagingRequest paging)
CalendarServiceCalendarEntry instances in the repository
for the given site.listCalendarEntries in interface CalendarServicepublic org.alfresco.query.PagingResults listCalendarEntries(java.lang.String[] siteShortNames,
org.alfresco.query.PagingRequest paging)
CalendarServiceCalendarEntry instances in the repository
for the given sites.listCalendarEntries in interface CalendarServicepublic org.alfresco.query.PagingResults listCalendarEntries(java.lang.String[] siteShortNames,
java.util.Date from,
java.util.Date to,
org.alfresco.query.PagingRequest paging)
CalendarServiceCalendarEntry instances in the repository
for the given sites, between the specified date range.listCalendarEntries in interface CalendarServicepublic org.alfresco.query.PagingResults listOutlookCalendarEntries(java.lang.String siteShortName,
java.lang.String outlookUID,
org.alfresco.query.PagingRequest paging)
CalendarServiceCalendarEntry instances in the repository
for the given site, optionally filtered by the Outlook Event UID.listOutlookCalendarEntries in interface CalendarServiceCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.