E
- Type of Referentialpublic interface ReferentialFile<E>
Modifier and Type | Method and Description |
---|---|
VitamDocument<E> |
findDocumentById(String id)
find document based on a given Id
|
RequestResponseOK<E> |
findDocuments(com.fasterxml.jackson.databind.JsonNode select)
find document based on DSL query
|
void |
importFile(InputStream file,
String filename)
importFile : import reference file to database
|
void importFile(InputStream file, String filename) throws VitamException, IOException, InvalidCreateOperationException
file
- as InputStreamfilename
- file nameReferentialException
- when there is error of importDatabaseConflictException
- when there is a database conflictIOException
InvalidParseOperationException
InvalidCreateOperationException
VitamException
VitamDocument<E> findDocumentById(String id) throws ReferentialException
id
- of vitam documentReferentialException
- when error occursRequestResponseOK<E> findDocuments(com.fasterxml.jackson.databind.JsonNode select) throws FileFormatNotFoundException, ReferentialException
select
- filterFileFormatNotFoundException
- when no results foundReferentialException
- when error occursCopyright © 2018 Vitam. All rights reserved.