Interface HistoricalVersionService
-
- All Known Implementing Classes:
DefaultHistoricalVersionService
public interface HistoricalVersionService
Provides methods for finding and deleting Confluence Historical Content- Since:
- 7.12
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeletedHistoricalVersionSummary
delete(List<HistoricalVersion> contentToDelete)
Delete the content for the historical versions.List<HistoricalVersion>
find(long startOriginalId, int limit, ContentType contentType)
Get a list of content which has a current version with an id greater or equal to {@param startOriginalId}.
-
-
-
Method Detail
-
find
List<HistoricalVersion> find(long startOriginalId, int limit, ContentType contentType)
Get a list of content which has a current version with an id greater or equal to {@param startOriginalId}.- Parameters:
startOriginalId
- only entries with original id equal to or higher than this will be returnedlimit
- the maximum number of historical versions to retrieve.contentType
- only entries with this type will be returned- Returns:
- Historical versions with a current(original) which meet the search criteria
- Since:
- 7.12
-
delete
DeletedHistoricalVersionSummary delete(List<HistoricalVersion> contentToDelete)
Delete the content for the historical versions.- Parameters:
contentToDelete
- The content to delete.- Since:
- 7.12
-
-