Class DefaultContentRetentionDao
java.lang.Object
com.atlassian.confluence.impl.retention.DefaultContentRetentionDao
- All Implemented Interfaces:
ContentRetentionDao
- Since:
- 7.12
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindHistoricalAttachmentVersions(long startOriginalId, int limit) findHistoricalPageVersions(long startOriginalId, int limit) Get a list of content which has a current version with an id greater or equal to and less than .
-
Constructor Details
-
DefaultContentRetentionDao
public DefaultContentRetentionDao(org.hibernate.SessionFactory sessionFactory)
-
-
Method Details
-
findHistoricalPageVersions
Description copied from interface:ContentRetentionDaoGet a list of content which has a current version with an id greater or equal to and less than .- Specified by:
findHistoricalPageVersionsin interfaceContentRetentionDao- Parameters:
startOriginalId- the start of the range to selectlimit- the maximum number of historical versions to retrieve.- Returns:
- the list of
HistoricalVersionfound within the requested range
-
findHistoricalAttachmentVersions
- Specified by:
findHistoricalAttachmentVersionsin interfaceContentRetentionDao
-