com.atlassian.confluence.core.persistence
Interface ContentEntityObjectDao

All Superinterfaces:
ObjectDao, VersionedObjectDao
All Known Subinterfaces:
MailDao, PageDao
All Known Implementing Classes:
ContentEntityObjectHibernateDao, HibernateMailDao, HibernatePageDao

public interface ContentEntityObjectDao
extends VersionedObjectDao


Method Summary
 List findPreviousVersions(long originalContentId)
           
 Iterator getAllCurrentEntities()
           
 ContentEntityObject getById(long id)
           
 List getContentAuthoredByUser(String username)
           
 List getEntitiesModifiedSince(Date date)
          Retrieve a list of the entities modified since the specified date.
 ContentEntityObject getFirstVersionAfter(long originalVersionContentId, int version)
           
 ContentEntityObject getFirstVersionBefore(long originalVersionContentId, int version)
           
 List getLockedContentBySpace(String spaceKey)
           
 String getObjectType(long id)
           
 Iterator getRecentlyAddedEntities(String spaceKey, int maxResults)
           
 Iterator getRecentlyModifiedEntities(int maxResults)
           
 Iterator getRecentlyModifiedEntities(String spaceKey, int maxResults)
           
 Iterator getRecentlyModifiedEntitiesByType(ListQuery query, int firstResult)
           
 Iterator getRecentlyModifiedEntitiesForUser(String username)
           
 List getTrashedContent(String spaceKey)
           
 ContentEntityObject getVersion(long originalVersionContentId, int version)
           
 List getVersionHistorySummary(long originalContentId)
           
 
Methods inherited from interface com.atlassian.confluence.core.persistence.VersionedObjectDao
findLatestVersionsCount, findLatestVersionsIterator, save
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
 

Method Detail

getById

public ContentEntityObject getById(long id)

getContentAuthoredByUser

public List getContentAuthoredByUser(String username)

getAllCurrentEntities

public Iterator getAllCurrentEntities()

getRecentlyAddedEntities

public Iterator getRecentlyAddedEntities(String spaceKey,
                                         int maxResults)

getRecentlyModifiedEntities

public Iterator getRecentlyModifiedEntities(int maxResults)

getRecentlyModifiedEntities

public Iterator getRecentlyModifiedEntities(String spaceKey,
                                            int maxResults)

getEntitiesModifiedSince

public List getEntitiesModifiedSince(Date date)
Retrieve a list of the entities modified since the specified date. This excludes mail and space descriptions.

Parameters:
date -
Returns:
a list of content entity objects.

getRecentlyModifiedEntitiesForUser

public Iterator getRecentlyModifiedEntitiesForUser(String username)

getLockedContentBySpace

public List getLockedContentBySpace(String spaceKey)

getTrashedContent

public List getTrashedContent(String spaceKey)

getObjectType

public String getObjectType(long id)

getRecentlyModifiedEntitiesByType

public Iterator getRecentlyModifiedEntitiesByType(ListQuery query,
                                                  int firstResult)

getFirstVersionBefore

public ContentEntityObject getFirstVersionBefore(long originalVersionContentId,
                                                 int version)

getFirstVersionAfter

public ContentEntityObject getFirstVersionAfter(long originalVersionContentId,
                                                int version)

getVersion

public ContentEntityObject getVersion(long originalVersionContentId,
                                      int version)

getVersionHistorySummary

public List getVersionHistorySummary(long originalContentId)

findPreviousVersions

public List findPreviousVersions(long originalContentId)


Confluence is developed by Atlassian.