|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.calendar.CalendarServiceImpl
public class CalendarServiceImpl
Field Summary | |
---|---|
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 Summary | |
---|---|
CalendarServiceImpl()
|
Method Summary | |
---|---|
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. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public CalendarServiceImpl()
Method Detail |
---|
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 queries
protected org.alfresco.service.cmr.repository.NodeRef getSiteCalendarContainer(java.lang.String siteShortName, boolean create)
public CalendarEntry getCalendarEntry(java.lang.String siteShortName, java.lang.String entryName)
CalendarService
CalendarEntry
from the repository
getCalendarEntry
in interface CalendarService
public CalendarEntry createCalendarEntry(java.lang.String siteShortName, CalendarEntry entry)
CalendarService
CalendarEntry
into the given site.
The concrete class CalendarEntryDTO
can be used
to create a CalendarEntry
instance for this.
createCalendarEntry
in interface CalendarService
public CalendarEntry updateCalendarEntry(CalendarEntry entry)
CalendarService
CalendarEntry
in the repository.
updateCalendarEntry
in interface CalendarService
public void deleteCalendarEntry(CalendarEntry entry)
CalendarService
CalendarEntry
from the repository
deleteCalendarEntry
in interface CalendarService
public org.alfresco.query.PagingResults listCalendarEntries(java.lang.String siteShortName, org.alfresco.query.PagingRequest paging)
CalendarService
CalendarEntry
instances in the repository
for the given site.
listCalendarEntries
in interface CalendarService
public org.alfresco.query.PagingResults listCalendarEntries(java.lang.String[] siteShortNames, org.alfresco.query.PagingRequest paging)
CalendarService
CalendarEntry
instances in the repository
for the given sites.
listCalendarEntries
in interface CalendarService
public org.alfresco.query.PagingResults listCalendarEntries(java.lang.String[] siteShortNames, java.util.Date from, java.util.Date to, org.alfresco.query.PagingRequest paging)
CalendarService
CalendarEntry
instances in the repository
for the given sites, between the specified date range
listCalendarEntries
in interface CalendarService
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |