# Uses of Class
fr.gouv.vitam.common.database.collections.VitamCollection

Packages that use VitamCollection
Package
Description
fr.gouv.vitam.common.database.api
Provides common database API
fr.gouv.vitam.common.database.collections
Provides common database collection
fr.gouv.vitam.common.database.server
Database server package in vitam
fr.gouv.vitam.functional.administration.common.server
Provides common server classes for the Functional Administration module
fr.gouv.vitam.logbook.common.server.database.collections
Provides Logbook collection classes
fr.gouv.vitam.metadata.core.database.collections
Provides

- ## Uses of VitamCollection in fr.gouv.vitam.common.database.api

  Methods in fr.gouv.vitam.common.database.api with parameters of type VitamCollection
  Modifier and Type
  Method
  Description
  `VitamElasticsearchRepository`
  VitamRepositoryFactory.`getVitamESRepository(VitamCollection collection, ElasticsearchIndexAliasResolver elasticsearchIndexAliasResolver)`
  `VitamElasticsearchRepository`
  VitamRepositoryProvider.`getVitamESRepository(VitamCollection collection, ElasticsearchIndexAliasResolver elasticsearchIndexAliasResolver)`
  `VitamMongoRepository`
  VitamRepositoryFactory.`getVitamMongoRepository(VitamCollection collection)`
  `VitamMongoRepository`
  VitamRepositoryProvider.`getVitamMongoRepository(VitamCollection collection)`

- ## Uses of VitamCollection in fr.gouv.vitam.common.database.collections

  Methods in fr.gouv.vitam.common.database.collections that return VitamCollection
  Modifier and Type
  Method
  Description
  `static <T> VitamCollection<T>`
  VitamCollectionHelper.`getCollection(Class<T> clasz, boolean multitenant, boolean usingScore, String prefix, VitamDescriptionResolver vitamDescriptionResolver)`
  getCollection with collection class

- ## Uses of VitamCollection in fr.gouv.vitam.common.database.server

  Methods in fr.gouv.vitam.common.database.server with parameters of type VitamCollection
  Modifier and Type
  Method
  Description
  `void`
  DbRequestSingle.`replaceDocument(com.fasterxml.jackson.databind.JsonNode document, String identifierValue, String identifierKey, VitamCollection<VitamDocument<?>> vitamCollection)`
  `void`
  DbRequestSingle.`replaceDocuments(Map<String,com.fasterxml.jackson.databind.JsonNode> documentByIdentifiers, String identifierKey, VitamCollection<VitamDocument<?>> vitamCollection)`
  `static <T extends VitamDocument<?>>
  com.mongodb.client.MongoCursor<T>`
  DbRequestHelper.`selectMongoDbExecuteThroughFakeMongoCursor(VitamCollection<T> collection, RequestParserSingle parser, List<String> list, List<Double> scores)`
  Private method for select using MongoDb from Elasticsearch result
  Constructors in fr.gouv.vitam.common.database.server with parameters of type VitamCollection
  Modifier
  Constructor
  Description
  ``
  `DbRequestSingle(VitamCollection<VitamDocument<?>> collection, OntologyLoader ontologyLoader, ElasticsearchIndexAlias elasticsearchIndexAlias)`
  Constructor with VitamCollection

- ## Uses of VitamCollection in fr.gouv.vitam.functional.administration.common.server

  Methods in fr.gouv.vitam.functional.administration.common.server that return VitamCollection
  Modifier and Type
  Method
  Description
  `<T extends VitamDocument<?>>
  VitamCollection<T>`
  FunctionalAdminCollections.`getVitamCollection()`
  Methods in fr.gouv.vitam.functional.administration.common.server with parameters of type VitamCollection
  Modifier and Type
  Method
  Description
  `void`
  VitamElasticsearchReindex.`reindex(VitamCollection collections)`

- ## Uses of VitamCollection in fr.gouv.vitam.logbook.common.server.database.collections

  Methods in fr.gouv.vitam.logbook.common.server.database.collections that return VitamCollection
  Modifier and Type
  Method
  Description
  `<T extends VitamDocument<?>>
  VitamCollection<T>`
  LogbookCollections.`getVitamCollection()`

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

  Methods in fr.gouv.vitam.metadata.core.database.collections that return VitamCollection
  Modifier and Type
  Method
  Description
  `<T extends MetadataDocument<T>>
  VitamCollection<T>`
  MetadataCollections.`getVitamCollection()`