Class MetadataRuleService
- java.lang.Object
-
- fr.gouv.vitam.metadata.core.rules.MetadataRuleService
-
public class MetadataRuleService extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
INHERITED_RULES
-
Constructor Summary
Constructors Constructor Description MetadataRuleService(MetaDataImpl metaData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataResult
selectUnitsWithInheritedRules(com.fasterxml.jackson.databind.JsonNode selectQuery)
Select units by DSL and computes inherited rules for matching units
-
-
-
Field Detail
-
INHERITED_RULES
public static final java.lang.String INHERITED_RULES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MetadataRuleService
public MetadataRuleService(MetaDataImpl metaData)
-
-
Method Detail
-
selectUnitsWithInheritedRules
public MetadataResult selectUnitsWithInheritedRules(com.fasterxml.jackson.databind.JsonNode selectQuery) throws InvalidParseOperationException, MetaDataExecutionException, BadRequestException, VitamDBException, MetaDataNotFoundException, MetaDataDocumentSizeException
Select units by DSL and computes inherited rules for matching units- Parameters:
selectQuery
- the query DSL- Returns:
- the selected units with there inherited rules
- Throws:
InvalidParseOperationException
MetaDataExecutionException
BadRequestException
VitamDBException
MetaDataNotFoundException
MetaDataDocumentSizeException
-
-