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