Class DefaultContentRetentionDao
java.lang.Object
com.atlassian.confluence.impl.retention.DefaultContentRetentionDao
- All Implemented Interfaces:
ContentRetentionDao
- Since:
- 7.12
-
Constructor Summary
-
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:ContentRetentionDao
Get a list of content which has a current version with an id greater or equal to and less than .- Specified by:
findHistoricalPageVersions
in interfaceContentRetentionDao
- Parameters:
startOriginalId
- the start of the range to selectlimit
- the maximum number of historical versions to retrieve.- Returns:
- the list of
HistoricalVersion
found within the requested range
-
findHistoricalAttachmentVersions
- Specified by:
findHistoricalAttachmentVersions
in interfaceContentRetentionDao
-