com.atlassian.confluence.content.render.xhtml.migration
Interface ContentDao

All Superinterfaces:
ContentEntityObjectDao, ObjectDao, VersionedObjectDao
All Known Implementing Classes:
DefaultContentDao

public interface ContentDao
extends ContentEntityObjectDao

Dao to allow us to load content objects by id for migration. This was introduced because ContentEntityManager cannot be autowired by type in spring 2.0. Secondly, was introduced to make unit testing easier.

Since:
4.0

Method Summary
 ContentEntityObject getById(long id)
           
 List<ContentEntityObject> getContent(int startRow, int maxRows)
           
 int getContentCount()
           
 List<ContentEntityObject> getLatestContent(int startRow, int maxRows)
           
 int getLatestContentCount()
           
 
Methods inherited from interface com.atlassian.confluence.core.persistence.ContentEntityObjectDao
findPreviousVersions, getAllCurrentEntities, getContentAuthoredByUser, getFirstVersionAfter, getFirstVersionBefore, getLastEditedVersionsOf, getLockedContentBySpace, getObjectType, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getTrashedContent, getVersion, getVersionHistorySummary
 
Methods inherited from interface com.atlassian.confluence.core.persistence.VersionedObjectDao
findLatestVersionsCount, findLatestVersionsIterator, save
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
 

Method Detail

getById

ContentEntityObject getById(long id)
Specified by:
getById in interface ContentEntityObjectDao

getLatestContentCount

int getLatestContentCount()

getLatestContent

List<ContentEntityObject> getLatestContent(int startRow,
                                           int maxRows)

getContentCount

int getContentCount()

getContent

List<ContentEntityObject> getContent(int startRow,
                                     int maxRows)


Confluence is developed by Atlassian.