Interface HistoricalVersionService

All Known Implementing Classes:
DefaultHistoricalVersionService

public interface HistoricalVersionService
Provides methods for finding and deleting Confluence Historical Content
Since:
7.12
  • Method Details

    • 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 .
      Parameters:
      startOriginalId - only entries with original id equal to or higher than this will be returned
      limit - 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

      Delete the content for the historical versions.
      Parameters:
      contentToDelete - The content to delete.
      Since:
      7.12