Package fr.gouv.vitam.worker.core.utils
Class HoldRuleUtils
- java.lang.Object
-
- fr.gouv.vitam.worker.core.utils.HoldRuleUtils
-
public final class HoldRuleUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Set<InheritedRuleResponseModel>
listActiveHoldRules(java.lang.String unitId, java.util.List<InheritedRuleResponseModel> holdRules, java.time.LocalDate expirationDate)
static InheritedRuleCategoryResponseModel
parseHoldRuleCategory(com.fasterxml.jackson.databind.JsonNode unit)
-
-
-
Method Detail
-
parseHoldRuleCategory
public static InheritedRuleCategoryResponseModel parseHoldRuleCategory(com.fasterxml.jackson.databind.JsonNode unit) throws ProcessingStatusException
- Throws:
ProcessingStatusException
-
listActiveHoldRules
public static java.util.Set<InheritedRuleResponseModel> listActiveHoldRules(java.lang.String unitId, java.util.List<InheritedRuleResponseModel> holdRules, java.time.LocalDate expirationDate)
-
-