Interface VersionRemovalService
-
- All Known Implementing Classes:
DefaultVersionRemovalService
public interface VersionRemovalService
- Since:
- 7.12
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
hardRemoveVersions(RetentionPolicy policy)
Remove all content records which meet the RetentionPolicy {@param policy} Removes all content records which meet theRetentionPolicy
.void
softRemoveVersions(RetentionPolicy policy, int batchSize)
Remove approximately {@param contentCount} content records which meet the RetentionPolicy {@param policy} Removes versions which meet a givenRetentionPolicy
in batch.
-
-
-
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 givenRetentionPolicy
in batch.- Parameters:
policy
- retention policybatchSize
- 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 theRetentionPolicy
.- Parameters:
policy
- retention policy
-
-