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)
ContentRetentionDaofindHistoricalPageVersions in interface ContentRetentionDaostartOriginalId - 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 ContentRetentionDaoCopyright © 2003–2022 Atlassian. All rights reserved.