public class GenericVitamRepository extends Object
Constructor and Description |
---|
GenericVitamRepository() |
Modifier and Type | Method and Description |
---|---|
void |
persist(FunctionalAdminCollections collections)
Persist with bulk mode in vitam databases (mongo, elasticsearch, ...)
|
void |
persist(FunctionalAdminCollections collections,
int tenant)
Persist with bulk mode in vitam databases (mongo, elasticsearch, ...)
|
void |
remove(FunctionalAdminCollections collections,
int tenant)
Delete all documents in all vitam databases for the given tenant
|
public void persist(FunctionalAdminCollections collections)
collections
- the concerning collectionpublic void persist(FunctionalAdminCollections collections, int tenant)
collections
- the concerning collectiontenant
- the concerning tenantpublic void remove(FunctionalAdminCollections collections, int tenant)
collections
- the concerning collectiontenant
- the concerning tenantCopyright © 2018 Vitam. All rights reserved.