public class DefaultContentRetentionDao extends Object implements ContentRetentionDao
Constructor and Description |
---|
DefaultContentRetentionDao(org.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
List<HistoricalVersion> |
findHistoricalAttachmentVersions(long startOriginalId,
int limit) |
List<HistoricalVersion> |
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 .
|
public DefaultContentRetentionDao(org.hibernate.SessionFactory sessionFactory)
public List<HistoricalVersion> findHistoricalPageVersions(long startOriginalId, int limit)
ContentRetentionDao
findHistoricalPageVersions
in interface ContentRetentionDao
startOriginalId
- the start of the range to selectlimit
- the maximum number of historical versions to retrieve.HistoricalVersion
found within the requested rangepublic List<HistoricalVersion> findHistoricalAttachmentVersions(long startOriginalId, int limit)
findHistoricalAttachmentVersions
in interface ContentRetentionDao
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences