Modifier and Type | Method and Description |
---|---|
void |
VitamRepository.delete(List<String> ids,
int tenant)
Deleted all documents by ids
|
Optional<org.bson.Document> |
VitamRepository.findByIdentifier(String identifier)
Find by identifier for collections cross tenant
|
Optional<org.bson.Document> |
VitamRepository.findByIdentifierAndTenant(String identifier,
Integer tenant)
find by identifier for all tenant
|
Optional<org.bson.Document> |
VitamRepository.getByID(String id,
Integer tenant)
Get vitam document by id
|
long |
VitamRepository.purge()
Be careful when using this method
Remove by tenant for collection cross-tenant
|
long |
VitamRepository.purge(Integer tenant)
Be careful when using this method
Remove by tenant for collection multi-tenant
|
long |
VitamRepository.remove(org.bson.conversions.Bson query)
Be careful when using this method
Remove by query
|
void |
VitamRepository.remove(String id,
Integer tenant)
Remove document by id
|
void |
VitamRepository.removeByNameAndTenant(String name,
Integer tenant)
Be careful when using this method
Remove collection by name and tenant
|
void |
VitamRepository.save(org.bson.Document document)
Save vitam document
|
void |
VitamRepository.save(List<org.bson.Document> documents)
Save a list of vitam documents
|
VitamRepositoryStatus |
VitamRepository.saveOrUpdate(org.bson.Document document)
Save or updatevitam document
|
void |
VitamRepository.saveOrUpdate(List<org.bson.Document> documents)
Save or update a list of vitam documents
|
void |
VitamRepository.update(List<com.mongodb.client.model.WriteModel<org.bson.Document>> updates)
Used to execute a bulk update
If document exists then update
If document do not exists then create document
throw Duplicate key exception if document exists by _id but not exists by filter in the update one model
|
Modifier and Type | Method and Description |
---|---|
void |
VitamElasticsearchRepository.delete(List<String> ids,
int tenant) |
Optional<org.bson.Document> |
VitamElasticsearchRepository.findByIdentifier(String identifier) |
Optional<org.bson.Document> |
VitamMongoRepository.findByIdentifier(String identifier) |
Optional<org.bson.Document> |
VitamElasticsearchRepository.findByIdentifierAndTenant(String identifier,
Integer tenant) |
Optional<org.bson.Document> |
VitamMongoRepository.findByIdentifierAndTenant(String identifier,
Integer tenant) |
Optional<org.bson.Document> |
VitamElasticsearchRepository.getByID(String id,
Integer tenant) |
Optional<org.bson.Document> |
VitamMongoRepository.getByID(String id,
Integer tenant) |
long |
VitamElasticsearchRepository.purge() |
long |
VitamMongoRepository.purge() |
long |
VitamElasticsearchRepository.purge(Integer tenant) |
long |
VitamMongoRepository.purge(Integer tenant) |
long |
VitamElasticsearchRepository.remove(org.bson.conversions.Bson query) |
long |
VitamMongoRepository.remove(org.bson.conversions.Bson query) |
void |
VitamElasticsearchRepository.remove(String id,
Integer tenant) |
void |
VitamMongoRepository.remove(String id,
Integer tenant) |
void |
VitamElasticsearchRepository.removeByNameAndTenant(String name,
Integer tenant) |
void |
VitamMongoRepository.removeByNameAndTenant(String name,
Integer tenant) |
void |
VitamElasticsearchRepository.save(org.bson.Document document) |
void |
VitamMongoRepository.save(org.bson.Document document) |
void |
VitamElasticsearchRepository.save(List<org.bson.Document> documents) |
void |
VitamMongoRepository.save(List<org.bson.Document> documents) |
void |
VitamElasticsearchRepository.saveLogbook(List<org.bson.Document> documents)
Reindex Logbook documents
|
VitamRepositoryStatus |
VitamElasticsearchRepository.saveOrUpdate(org.bson.Document document) |
VitamRepositoryStatus |
VitamMongoRepository.saveOrUpdate(org.bson.Document document) |
void |
VitamElasticsearchRepository.saveOrUpdate(List<org.bson.Document> documents) |
void |
VitamMongoRepository.saveOrUpdate(List<org.bson.Document> documents) |
void |
VitamElasticsearchRepository.saveUnit(List<org.bson.Document> documents)
Reindex Unit documents
|
void |
VitamElasticsearchRepository.update(List<com.mongodb.client.model.WriteModel<org.bson.Document>> updates) |
void |
VitamMongoRepository.update(List<com.mongodb.client.model.WriteModel<org.bson.Document>> queries) |
Modifier and Type | Method and Description |
---|---|
DbRequestResult |
DbRequestSingle.execute(RequestSingle request)
execute all request
|
DbRequestResult |
DbRequestSingle.execute(RequestSingle request,
Integer version)
execute all request
|
Modifier and Type | Method and Description |
---|---|
String |
ElasticsearchAccess.createIndexWithoutAlias(String collectionName,
String mapping,
String type,
Integer tenantId)
Create an index without a linked alias
|
void |
ElasticsearchAccess.switchIndex(String aliasName,
String indexNameToSwitchWith)
Switch index
|
static void |
IndexationHelper.switchIndex(String aliasName,
String newIndex,
ElasticsearchAccess esClient)
switch index, attach a new index to an existing alias
|
Modifier and Type | Method and Description |
---|---|
void |
ReconstructionService.reconstruct(FunctionalAdminCollections collection)
Reconstrut Vitam collection.
|
void |
ReconstructionService.reconstruct(FunctionalAdminCollections collection,
Integer... tenant)
Reconstrut Vitam collection by tenant.
|
Modifier and Type | Method and Description |
---|---|
void |
ReconstructionServiceImpl.reconstruct(FunctionalAdminCollections collection) |
void |
ReconstructionServiceImpl.reconstruct(FunctionalAdminCollections collection,
Integer... tenants)
purge collection content and reconstruct the content.
|
Modifier and Type | Method and Description |
---|---|
DbRequestResult |
MongoDbAccessReferential.deleteCollection(FunctionalAdminCollections collection)
Delete FileFormat collections
|
DbRequestResult |
MongoDbAccessAdminImpl.deleteCollection(FunctionalAdminCollections collection) |
DbRequestResult |
MongoDbAccessReferential.deleteCollection(FunctionalAdminCollections collection,
Delete delete) |
DbRequestResult |
MongoDbAccessAdminImpl.deleteCollection(FunctionalAdminCollections collection,
Delete delete) |
void |
VitamElasticsearchReindex.reindex(VitamCollection collections) |
Modifier and Type | Method and Description |
---|---|
void |
AccessionRegisterMigrationRepository.bulkElasticsearch(FunctionalAdminCollections functionalAdminCollections,
List<org.bson.Document> collection) |
void |
AccessionRegisterMigrationRepository.bulkMongo(FunctionalAdminCollections functionalAdminCollections,
List<com.mongodb.client.model.WriteModel<org.bson.Document>> collection) |
void |
AccessionRegisterMigrationRepository.bulkReplaceAccessionRegisters(List<org.bson.Document> updatedDocuments,
FunctionalAdminCollections functionalAdminCollections)
Replace all accession register (Detail or summary)
|
Modifier and Type | Method and Description |
---|---|
void |
LogbookDbAccess.bulkInsert(LogbookCollections lifecycleUnit,
List<? extends LogbookLifeCycleModel> logbookLifeCycleModels) |
void |
LogbookDbAccess.deleteCollection(LogbookCollections collection)
Delete logbook collection
|
Modifier and Type | Method and Description |
---|---|
void |
LogbookMongoDbAccessImpl.bulkInsert(LogbookCollections lifecycleUnit,
List<? extends LogbookLifeCycleModel> logbookLifeCycleModels) |
void |
LogbookMongoDbAccessImpl.deleteCollection(LogbookCollections collection) |
void |
LogbookRepositoryService.saveBulk(LogbookCollections collection,
List<com.fasterxml.jackson.databind.JsonNode> logbookItems)
Save datas as bulk
|
Modifier and Type | Method and Description |
---|---|
ReconstructionResponseItem |
ReconstructionService.reconstruct(ReconstructionRequestItem reconstructionItem)
Reconstruct logbook operation on a tenant
|
Modifier and Type | Method and Description |
---|---|
void |
LogbookLifeCycles.bulk(LogbookCollections collections,
String idOp,
List<? extends LogbookLifeCycleModel> logbookLifeCycleModels)
Bulk method
|
void |
LogbookLifeCycles.deleteLifeCycleObjectGroups(List<String> objectGroupIds)
delete LifeCycle ObjectGroups
|
void |
LogbookLifeCycles.deleteLifeCycleUnits(List<String> unitsIdentifier)
delete LifeCycle Units
|
Modifier and Type | Method and Description |
---|---|
void |
LogbookLifeCyclesImpl.bulk(LogbookCollections collections,
String idOp,
List<? extends LogbookLifeCycleModel> logbookLifeCycleModels) |
void |
LogbookLifeCyclesImpl.deleteLifeCycleObjectGroups(List<String> objectGroupIds) |
void |
LogbookLifeCyclesImpl.deleteLifeCycleUnits(List<String> unitsIdentifier) |
Modifier and Type | Method and Description |
---|---|
void |
LogbookOperations.switchIndex(String alias,
String newIndexName)
Switch indexes for one or more collections
|
Modifier and Type | Method and Description |
---|---|
void |
LogbookOperationsImpl.switchIndex(String alias,
String newIndexName) |
void |
LogbookOperationsDecorator.switchIndex(String alias,
String newIndexName) |
Modifier and Type | Method and Description |
---|---|
void |
MetaData.switchIndex(String alias,
String newIndexName)
Switch indexes for one or more collections
|
Modifier and Type | Method and Description |
---|---|
void |
MetaDataImpl.switchIndex(String alias,
String newIndexName) |
Modifier and Type | Method and Description |
---|---|
void |
MongoDbAccessMetadataImpl.deleteObjectGroupByTenant(Integer... tenantIds)
Delete Object Group metadata by Tenant Not check, test feature !
|
void |
MongoDbAccessMetadataImpl.deleteUnitByTenant(Integer... tenantIds)
Delete Unit metadata by tenant Not check, test feature !
|
com.fasterxml.jackson.databind.JsonNode |
MetadataRepositoryService.getDocumentById(MetadataCollections collection,
String id,
Integer tenant)
Retrieve document by its ID in a given collection filtered by a tenant in mongo
|
Modifier and Type | Method and Description |
---|---|
void |
GraphComputeServiceImpl.bulkElasticsearch(MetadataCollections metaDaCollection,
List<org.bson.Document> collection) |
void |
GraphComputeServiceImpl.bulkElasticsearch(MetadataCollections metaDaCollection,
Set<String> collection) |
void |
GraphComputeServiceImpl.bulkUpdateMongo(MetadataCollections metaDaCollection,
List<com.mongodb.client.model.WriteModel<org.bson.Document>> collection) |
Modifier and Type | Method and Description |
---|---|
void |
GraphComputeService.bulkElasticsearch(MetadataCollections metaDaCollection,
List<org.bson.Document> collection)
Bulk save in elasticsearch
|
void |
GraphComputeService.bulkElasticsearch(MetadataCollections metaDaCollection,
Set<String> collection)
Bulk save in elasticsearch
|
void |
GraphComputeService.bulkUpdateMongo(MetadataCollections metaDaCollection,
List<com.mongodb.client.model.WriteModel<org.bson.Document>> collection)
Bulk write in mongodb
|
Copyright © 2018 Vitam. All rights reserved.