Interface TrashRuleEvaluator
- All Known Implementing Classes:
DefaultTrashRuleEvaluator
public interface TrashRuleEvaluator
Apply current trash retention rules to a list of trashed entities
- Since:
- 7.14.0
-
Method Summary
Modifier and TypeMethodDescriptionevaluate
(TrashRetentionRule globalRule, List<SpaceContentEntityObject> trashedEntities) Apply a global trash rule to a list of trashed entities which may be affected by more rules at space level
-
Method Details
-
evaluate
List<EvaluatedTrash> evaluate(TrashRetentionRule globalRule, List<SpaceContentEntityObject> trashedEntities) Apply a global trash rule to a list of trashed entities which may be affected by more rules at space level- Parameters:
globalRule
- global retention trash ruletrashedEntities
- trashed entities to be processed- Returns:
- list of evaluation results eg. which trash should be deleted or not
-