Interface VersionRemovalService

    • Method Detail

      • softRemoveVersions

        void softRemoveVersions​(RetentionPolicy policy,
                                int batchSize)
        Remove approximately {@param contentCount} content records which meet the RetentionPolicy {@param policy} Removes versions which meet a given RetentionPolicy in batch.
        Parameters:
        policy - retention policy
        batchSize - number of versions in a batch
      • hardRemoveVersions

        void hardRemoveVersions​(RetentionPolicy policy)
        Remove all content records which meet the RetentionPolicy {@param policy} Removes all content records which meet the RetentionPolicy.
        Parameters:
        policy - retention policy