Package fr.gouv.vitam.worker.core.utils
Class HoldRuleUtils
java.lang.Object
fr.gouv.vitam.worker.core.utils.HoldRuleUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic Set<InheritedRuleResponseModel>
listActiveHoldRules
(String unitId, List<InheritedRuleResponseModel> holdRules, LocalDate expirationDate) parseHoldRuleCategory
(com.fasterxml.jackson.databind.JsonNode unit)
-
Method Details
-
parseHoldRuleCategory
public static InheritedRuleCategoryResponseModel parseHoldRuleCategory(com.fasterxml.jackson.databind.JsonNode unit) throws ProcessingStatusException - Throws:
ProcessingStatusException
-
listActiveHoldRules
public static Set<InheritedRuleResponseModel> listActiveHoldRules(String unitId, List<InheritedRuleResponseModel> holdRules, LocalDate expirationDate)
-