# Uses of Class
fr.gouv.vitam.metadata.core.database.collections.MetadataDocument

Packages that use MetadataDocument
Package
Description
fr.gouv.vitam.metadata.core.database.collections
Provides

- ## Uses of MetadataDocument in fr.gouv.vitam.metadata.core.database.collections

  Subclasses of MetadataDocument in fr.gouv.vitam.metadata.core.database.collections
  Modifier and Type
  Class
  Description
  `class`
  `ObjectGroup`
  ObjectGroup:
  `class`
  `Unit`
  Unit class:
  Methods in fr.gouv.vitam.metadata.core.database.collections with type parameters of type MetadataDocument
  Modifier and Type
  Method
  Description
  `<T extends MetadataDocument<T>>
  VitamCollection<T>`
  MetadataCollections.`getVitamCollection()`
  Methods in fr.gouv.vitam.metadata.core.database.collections that return MetadataDocument
  Modifier and Type
  Method
  Description
  `MetadataDocument<E>`
  MetadataDocument.`checkId()`
  Create a new ID
  `static final MetadataDocument`
  MongoDbMetadataHelper.`findOne(MetadataCollections col, String id)`
  Deprecated.
  Find the corresponding id in col collection if it exists.
  `MetadataDocument<ObjectGroup>`
  ObjectGroup.`newInstance(com.fasterxml.jackson.databind.JsonNode content)`
  `MetadataDocument<Unit>`
  Unit.`newInstance(com.fasterxml.jackson.databind.JsonNode content)`
  Methods in fr.gouv.vitam.metadata.core.database.collections that return types with arguments of type MetadataDocument
  Modifier and Type
  Method
  Description
  `protected Result<MetadataDocument<?>>`
  DbRequest.`exactDepthUnitQuery(Query realQuery, Result<MetadataDocument<?>> previous, int exactDepth, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, DynamicParserTokens parserTokens, boolean trackTotalHits)`
  Execute one Unit Query using exact Depth
  `Result<MetadataDocument<?>>`
  DbRequest.`execRequest(RequestParserMultiple requestParser, List<OntologyModel> ontologies)`
  The request should be already analyzed.
  `protected Result<MetadataDocument<?>>`
  DbRequest.`executeQuery(RequestParserMultiple requestParser, RequestToAbstract requestToMongodb, int rank, Result<MetadataDocument<?>> previous, DynamicParserTokens parserTokens)`
  Execute one request
  `Class<? extends MetadataDocument<?>>`
  MetadataCollections.`getClasz()`
  `protected Result<MetadataDocument<?>>`
  DbRequest.`lastDeleteFilterProjection(DeleteToMongodb requestToMongodb, Result<MetadataDocument<?>> last)`
  Finalize the queries with last True Delete
  `protected Result<MetadataDocument<?>>`
  DbRequest.`lastSelectFilterProjection(SelectToMongodb requestToMongodb, Result<MetadataDocument<?>> last, boolean checkConsistency)`
  Finalize the queries with last True Select
  `protected Result<MetadataDocument<?>>`
  DbRequest.`objectGroupQuery(Query realQuery, Result<MetadataDocument<?>> previous, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, String scrollId, Integer scrollTimeout, Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, DynamicParserTokens parserTokens, boolean trackTotalHits)`
  Execute one relative Depth ObjectGroup Query
  `protected Result<MetadataDocument<?>>`
  DbRequest.`relativeDepthUnitQuery(Query realQuery, Result<MetadataDocument<?>> previous, int relativeDepth, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, DynamicParserTokens parserTokens, boolean trackTotalHits)`
  Execute one relative Depth Unit Query
  `protected Result<MetadataDocument<?>>`
  DbRequest.`sameDepthUnitQuery(Query realQuery, Result<MetadataDocument<?>> previous, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, DynamicParserTokens parserTokens, boolean trackTotalHits)`
  Execute one relative Depth Unit Query
  `protected final Result<MetadataDocument<?>>`
  ElasticsearchAccessMetadata.`search(MetadataCollections collection, Integer tenantId, co.elastic.clients.elasticsearch._types.query_dsl.Query query, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, Integer limit, Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, boolean trackTotalHits)`
  Methods in fr.gouv.vitam.metadata.core.database.collections with parameters of type MetadataDocument
  Modifier and Type
  Method
  Description
  `void`
  ElasticsearchAccessMetadata.`insertFullDocument(MetadataCollections collection, Integer tenantId, String id, MetadataDocument<?> doc)`
  Insert one element
  `void`
  ElasticsearchAccessMetadata.`updateFullDocument(MetadataCollections collection, Integer tenantId, String id, MetadataDocument<?> metadataDocument)`
  Update one element fully
  Method parameters in fr.gouv.vitam.metadata.core.database.collections with type arguments of type MetadataDocument
  Modifier and Type
  Method
  Description
  `protected Result<MetadataDocument<?>>`
  DbRequest.`exactDepthUnitQuery(Query realQuery, Result<MetadataDocument<?>> previous, int exactDepth, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, DynamicParserTokens parserTokens, boolean trackTotalHits)`
  Execute one Unit Query using exact Depth
  `protected Result<MetadataDocument<?>>`
  DbRequest.`executeQuery(RequestParserMultiple requestParser, RequestToAbstract requestToMongodb, int rank, Result<MetadataDocument<?>> previous, DynamicParserTokens parserTokens)`
  Execute one request
  `void`
  ElasticsearchAccessMetadata.`insertFullDocuments(MetadataCollections collection, Integer tenantId, Collection<? extends MetadataDocument<?>> documents)`
  `void`
  ElasticsearchAccessMetadata.`insertFullDocumentsWithRefreshSettings(MetadataCollections collection, Integer tenantId, Collection<? extends MetadataDocument<?>> documents, boolean withRefreshIndex)`
  `protected Result<MetadataDocument<?>>`
  DbRequest.`lastDeleteFilterProjection(DeleteToMongodb requestToMongodb, Result<MetadataDocument<?>> last)`
  Finalize the queries with last True Delete
  `protected Result<MetadataDocument<?>>`
  DbRequest.`lastSelectFilterProjection(SelectToMongodb requestToMongodb, Result<MetadataDocument<?>> last, boolean checkConsistency)`
  Finalize the queries with last True Select
  `protected Result<MetadataDocument<?>>`
  DbRequest.`objectGroupQuery(Query realQuery, Result<MetadataDocument<?>> previous, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, String scrollId, Integer scrollTimeout, Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, DynamicParserTokens parserTokens, boolean trackTotalHits)`
  Execute one relative Depth ObjectGroup Query
  `ResultError`
  ResultError.`putFrom(Result<MetadataDocument<?>> from)`
  `protected Result<MetadataDocument<?>>`
  DbRequest.`relativeDepthUnitQuery(Query realQuery, Result<MetadataDocument<?>> previous, int relativeDepth, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, DynamicParserTokens parserTokens, boolean trackTotalHits)`
  Execute one relative Depth Unit Query
  `protected Result<MetadataDocument<?>>`
  DbRequest.`sameDepthUnitQuery(Query realQuery, Result<MetadataDocument<?>> previous, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, DynamicParserTokens parserTokens, boolean trackTotalHits)`
  Execute one relative Depth Unit Query