Class ComputeInheritedRuleService

java.lang.Object
fr.gouv.vitam.metadata.core.rules.ComputeInheritedRuleService

public class ComputeInheritedRuleService extends Object
Unit inherited rules service
  • Constructor Details

    • ComputeInheritedRuleService

      public ComputeInheritedRuleService()
  • Method Details

    • computeInheritedRules

      public Map<String,UnitInheritedRulesResponseModel> computeInheritedRules(Map<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