Class DefaultRetentionRulesChecker
- java.lang.Object
-
- com.atlassian.confluence.impl.retention.rules.DefaultRetentionRulesChecker
-
- All Implemented Interfaces:
RetentionRulesChecker
public class DefaultRetentionRulesChecker extends Object implements RetentionRulesChecker
An implementation ofRetentionRulesChecker
using search index to scan space policies- Since:
- 7.16.0
-
-
Constructor Summary
Constructors Constructor Description DefaultRetentionRulesChecker(GlobalRetentionPolicyManager globalRetentionPolicyManager, SearchManager searchManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasDeletingRule(RetentionType type)
-
-
-
Constructor Detail
-
DefaultRetentionRulesChecker
public DefaultRetentionRulesChecker(GlobalRetentionPolicyManager globalRetentionPolicyManager, SearchManager searchManager)
-
-
Method Detail
-
hasDeletingRule
public boolean hasDeletingRule(RetentionType type)
- Specified by:
hasDeletingRule
in interfaceRetentionRulesChecker
- Parameters:
type
- retention type (version or trash)- Returns:
- true if there is at least a rule to delete some content
-
-