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
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 |
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)