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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
-
-
Method Detail
-
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
-
-