Package fr.gouv.vitam.metadata.core.rules

# Class MetadataRuleService

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

public class MetadataRuleService extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `INHERITED_RULES`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MetadataRuleService(MetaDataImpl metaData)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `MetadataResult`
  `selectUnitsWithInheritedRules(com.fasterxml.jackson.databind.JsonNode selectQuery)`
  Select units by DSL and computes inherited rules for matching units

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### INHERITED_RULES

    public static final String INHERITED_RULES
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### MetadataRuleService

    public MetadataRuleService(MetaDataImpl metaData)

- ## Method Details

  - ### 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`