Class ComputeInheritedRuleService
- java.lang.Object
-
- fr.gouv.vitam.metadata.core.rules.ComputeInheritedRuleService
-
public class ComputeInheritedRuleService extends java.lang.Object
Unit inherited rules service
-
-
Constructor Summary
Constructors Constructor Description ComputeInheritedRuleService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,UnitInheritedRulesResponseModel>
computeInheritedRules(java.util.Map<java.lang.String,UnitRuleModel> unitRulesById)
Computes inherited rules given local unit rule definitions
-
-
-
Method Detail
-
computeInheritedRules
public java.util.Map<java.lang.String,UnitInheritedRulesResponseModel> computeInheritedRules(java.util.Map<java.lang.String,UnitRuleModel> unitRulesById)
Computes inherited rules given local unit rule definitions- Parameters:
unitRulesById
- Map of local unit rules by unit id (the unit and all it's parents must be included)- Returns:
- the inherited rules by unit ids
-
-