Interface LogbookDbAccess
- All Known Implementing Classes:
LogbookMongoDbAccessImpl
public interface LogbookDbAccess
MongoDbAccess interface
-
Method Summary
Modifier and TypeMethodDescriptionvoidbulkInsert(String idOp, LogbookCollections lifecycleUnit, List<? extends LogbookLifeCycleModel> logbookLifeCycleModels) voidclose()Close database accessvoidcreateLogbookLifeCycleObjectGroup(LogbookLifeCycleObjectGroupInProcess logbookLifeCycleObjectGrouptInProcess) Creates ObjectGroup lifeCycle from a LogbookLifeCycleObjectGroupInProcess instancevoidcreateLogbookLifeCycleObjectGroup(String operationId, LogbookLifeCycleObjectGroupParameters... lifecycleItems) Create one Logbook LifeCycle with already multiple sub-eventsvoidcreateLogbookLifeCycleUnit(LogbookLifeCycleUnitInProcess logbookLifeCycleUnitInProcess) Creates Unit lifeCycle from a LogbookLifeCycleUnitInProcess instancevoidcreateLogbookLifeCycleUnit(String operationId, LogbookLifeCycleUnitParameters... lifecycleItems) Create one Logbook LifeCycle with already multiple sub-eventsvoidcreateLogbookOperation(String operationId, LogbookOperationParameters... operationItems) Create one Logbook Operation with already multiple sub-eventsvoiddeleteCollectionForTesting(LogbookCollections collection) Delete logbook collectionbooleanexistsLogbookLifeCycleObjectGroup(String lifecycleItem) Check if one eventIdentifier for Lifecycle exists alreadybooleanexistsLogbookLifeCycleObjectGroupInProcess(String lifecycleItem) Check if one eventIdentifier for Lifecycle exists alreadybooleanexistsLogbookLifeCycleUnit(String lifecycleItem) Check if one eventIdentifier for Lifecycle exists alreadybooleanexistsLogbookLifeCycleUnitInProcess(String lifecycleItem) Check if one eventIdentifier for Lifecycle exists alreadybooleanexistsLogbookOperation(String operationItem) Check if one eventIdentifier for Operation exists alreadygetInfo()Get information on a DatabasegetLogbookLifeCycleObjectGroupInProcess(String objectGroupId) Gets ObjectGroup LifeCycle In processcom.mongodb.client.MongoCursor<LogbookLifeCycleObjectGroup>getLogbookLifeCycleObjectGroupsFull(LogbookCollections collection, Select select) Get a list of Logbook LifeCycle through Closeable MongoCursorcom.mongodb.client.MongoCursor<LogbookLifeCycle<?>>getLogbookLifeCycles(com.fasterxml.jackson.databind.JsonNode select, boolean sliced, LogbookCollections collection) Get a list of Logbook LifeCycles through Closeable MongoCursorGet Unit LifeCycle In processcom.mongodb.client.MongoCursor<LogbookLifeCycleUnit>getLogbookLifeCycleUnitsFull(LogbookCollections collection, Select select) Get a list of Logbook LifeCycle through Closeable MongoCursorlonglonglonglonggetLogbookOperationById(String eventIdentifierProcess) Get one OperationgetLogbookOperationById(String eventIdentifierProcess, com.fasterxml.jackson.databind.JsonNode query, boolean slice, boolean crossTenant) Get one OperationgetLogbookOperations(com.fasterxml.jackson.databind.JsonNode select, boolean sliced) getLogbookOperations(com.fasterxml.jackson.databind.JsonNode select, boolean sliced, boolean crossTenant) Get a list of Logbook Operation through Closeable MongoCursorlonggetOneLogbookLifeCycle(com.fasterxml.jackson.databind.JsonNode select, boolean sliced, LogbookCollections collection) Get a list of Logbook LifeCycles through Closeable MongoCursorvoidrollbackLogbookLifeCycleObjectGroup(String idOperation, String lifecycleItem) Rollback one Logbook LifeCycle
It adds this new entry within the very same Logbook LifeCycle entry in "events" array.voidrollbackLogbookLifeCycleUnit(String idOperation, String lifecycleItem) Rollback one Logbook LifeCycle
It adds this new entry within the very same Logbook LifeCycle entry in "events" array.voidrollBackObjectGroupLifeCyclesByOperation(String operationId) Rolls back all the created objectGroups lifeCycles during a given operationvoidrollBackUnitLifeCyclesByOperation(String operationId) Rolls back all the created unit lifeCycles during a given operationvoidupdateLogbookLifeCycleBulk(LogbookCollections collection, List<LogbookLifeCycleParametersBulk> logbookLifeCycleParametersBulk) voidupdateLogbookLifeCycleObjectGroup(LogbookLifeCycleObjectGroupParameters... lifecycleItems) Update one Logbook LifeCycle with multiple sub-events
It adds this new entry within the very same Logbook LifeCycle entry in "events" array.voidupdateLogbookLifeCycleObjectGroup(LogbookLifeCycleObjectGroupInProcess logbookLifeCycleObjectGrouptInProcess) Updates ObjectGroup lifeCycle from a LogbookLifeCycleObjectGroupInProcess instancevoidupdateLogbookLifeCycleObjectGroup(String idOperation, String idLfc, LogbookLifeCycleObjectGroupParameters lifecycleItem) Update one Logbook LifeCycle
It adds this new entry within the very same Logbook LifeCycle entry in "events" array.voidupdateLogbookLifeCycleObjectGroup(String idOperation, String idLfc, LogbookLifeCycleObjectGroupParameters lifecycleItem, boolean commit) Update one Logbook LifeCycle
It adds this new entry within the very same Logbook LifeCycle entry in "events" array.voidupdateLogbookLifeCycleUnit(LogbookLifeCycleUnitParameters... lifecycleItems) Update one Logbook LifeCycle with multiple sub-events
It adds this new entry within the very same Logbook LifeCycle entry in "events" array.voidupdateLogbookLifeCycleUnit(LogbookLifeCycleUnitInProcess logbookLifeCycleUnitInProcess) Updates Unit lifeCycle from a LogbookLifeCycleUnitInProcess instancevoidupdateLogbookLifeCycleUnit(String idOperation, String idLfc, LogbookLifeCycleUnitParameters lifecycleItem) Update one Logbook LifeCycle
It adds this new entry within the very same Logbook LifeCycle entry in "events" array.voidupdateLogbookLifeCycleUnit(String idOperation, String idLfc, LogbookLifeCycleUnitParameters lifecycleItem, boolean commit) Update one Logbook LifeCycle (in progress or committed
It adds this new entry within the very same Logbook LifeCycle entry in "events" array.voidupdateLogbookOperation(String operationId, LogbookOperationParameters... operationItems) Update one Logbook Operation with multiple sub-events
It adds this new entry within the very same Logbook Operaton entry in "events" array.
-
Method Details
-
close
void close()Close database access -
getLogbookOperationSize
- Returns:
- the current number of Logbook Operation
- Throws:
LogbookDatabaseExceptionLogbookNotFoundException
-
getLogbookLifeCyleUnitSize
- Returns:
- the current number of Logbook LifeCyle
- Throws:
LogbookDatabaseExceptionLogbookNotFoundException
-
getLogbookLifeCyleObjectGroupSize
long getLogbookLifeCyleObjectGroupSize()- Returns:
- the current number of Logbook LifeCyle
-
existsLogbookOperation
Check if one eventIdentifier for Operation exists already- Parameters:
operationItem-- Returns:
- True if one LogbookOperation exists with this id
- Throws:
LogbookDatabaseExceptionIllegalArgumentException- if parameter has null or empty mandatory values
-
existsLogbookLifeCycleUnit
boolean existsLogbookLifeCycleUnit(String lifecycleItem) throws LogbookDatabaseException, LogbookNotFoundException Check if one eventIdentifier for Lifecycle exists already- Parameters:
lifecycleItem-- Returns:
- True if one LogbookLibeCycle exists with this id
- Throws:
LogbookDatabaseExceptionLogbookNotFoundExceptionIllegalArgumentException- if parameter has null or empty mandatory values
-
existsLogbookLifeCycleObjectGroup
boolean existsLogbookLifeCycleObjectGroup(String lifecycleItem) throws LogbookDatabaseException, LogbookNotFoundException Check if one eventIdentifier for Lifecycle exists already- Parameters:
lifecycleItem-- Returns:
- True if one LogbookLibeCycle exists with this id
- Throws:
LogbookDatabaseExceptionLogbookNotFoundExceptionIllegalArgumentException- if parameter has null or empty mandatory values
-
getLogbookOperationById
LogbookOperation getLogbookOperationById(String eventIdentifierProcess) throws LogbookDatabaseException, LogbookNotFoundException Get one Operation- Parameters:
eventIdentifierProcess-- Returns:
- the corresponding LogbookOperation if it exists
- Throws:
LogbookDatabaseExceptionLogbookNotFoundExceptionVitamDBException
-
getLogbookOperationById
LogbookOperation getLogbookOperationById(String eventIdentifierProcess, com.fasterxml.jackson.databind.JsonNode query, boolean slice, boolean crossTenant) throws LogbookDatabaseException, LogbookNotFoundException Get one Operation- Parameters:
eventIdentifierProcess-query-slice-crossTenant-- Returns:
- the corresponding LogbookOperation if it exists
- Throws:
LogbookDatabaseExceptionLogbookNotFoundExceptionVitamDBException
-
updateLogbookLifeCycleUnit
void updateLogbookLifeCycleUnit(String idOperation, String idLfc, LogbookLifeCycleUnitParameters lifecycleItem) throws LogbookDatabaseException, LogbookNotFoundException, LogbookAlreadyExistsException Update one Logbook LifeCycle
It adds this new entry within the very same Logbook LifeCycle entry in "events" array.- Parameters:
idOperation-idLfc-lifecycleItem-- Throws:
LogbookDatabaseExceptionLogbookNotFoundExceptionLogbookAlreadyExistsExceptionIllegalArgumentException- if parameter has null or empty mandatory values
-
updateLogbookLifeCycleUnit
void updateLogbookLifeCycleUnit(String idOperation, String idLfc, LogbookLifeCycleUnitParameters lifecycleItem, boolean commit) throws LogbookDatabaseException, LogbookNotFoundException, LogbookAlreadyExistsException Update one Logbook LifeCycle (in progress or committed
It adds this new entry within the very same Logbook LifeCycle entry in "events" array.- Parameters:
idOperation-idLfc-lifecycleItem-commit- if true update committed LFC else update in progress LFC- Throws:
LogbookDatabaseExceptionLogbookNotFoundExceptionLogbookAlreadyExistsExceptionIllegalArgumentException- if parameter has null or empty mandatory values
-
updateLogbookLifeCycleObjectGroup
void updateLogbookLifeCycleObjectGroup(String idOperation, String idLfc, LogbookLifeCycleObjectGroupParameters lifecycleItem) throws LogbookDatabaseException, LogbookNotFoundException, LogbookAlreadyExistsException Update one Logbook LifeCycle
It adds this new entry within the very same Logbook LifeCycle entry in "events" array.- Parameters:
idOperation-idLfc-lifecycleItem-- Throws:
LogbookDatabaseExceptionLogbookNotFoundExceptionLogbookAlreadyExistsExceptionIllegalArgumentException- if parameter has null or empty mandatory values
-
updateLogbookLifeCycleObjectGroup
void updateLogbookLifeCycleObjectGroup(String idOperation, String idLfc, LogbookLifeCycleObjectGroupParameters lifecycleItem, boolean commit) throws LogbookDatabaseException, LogbookNotFoundException, LogbookAlreadyExistsException Update one Logbook LifeCycle
It adds this new entry within the very same Logbook LifeCycle entry in "events" array.- Parameters:
idOperation-idLfc-lifecycleItem-commit- if true update is done on committed collection otherwise on inProcess one- Throws:
LogbookDatabaseExceptionLogbookNotFoundExceptionLogbookAlreadyExistsExceptionIllegalArgumentException- if parameter has null or empty mandatory values
-
rollbackLogbookLifeCycleUnit
void rollbackLogbookLifeCycleUnit(String idOperation, String lifecycleItem) throws LogbookDatabaseException, LogbookNotFoundException Rollback one Logbook LifeCycle
It adds this new entry within the very same Logbook LifeCycle entry in "events" array.- Parameters:
idOperation-lifecycleItem-- Throws:
LogbookDatabaseExceptionLogbookNotFoundExceptionIllegalArgumentException- if parameter has null or empty mandatory values
-
rollbackLogbookLifeCycleObjectGroup
void rollbackLogbookLifeCycleObjectGroup(String idOperation, String lifecycleItem) throws LogbookDatabaseException, LogbookNotFoundException Rollback one Logbook LifeCycle
It adds this new entry within the very same Logbook LifeCycle entry in "events" array.- Parameters:
idOperation-lifecycleItem-- Throws:
LogbookDatabaseExceptionLogbookNotFoundExceptionIllegalArgumentException- if parameter has null or empty mandatory values
-
createLogbookOperation
void createLogbookOperation(String operationId, LogbookOperationParameters... operationItems) throws LogbookDatabaseException, LogbookAlreadyExistsException Create one Logbook Operation with already multiple sub-events- Parameters:
operationItems- with first and next events to add/update- Throws:
IllegalArgumentException- if first argument is null or null mandatory parameters for allLogbookDatabaseExceptionLogbookAlreadyExistsException
-
createLogbookLifeCycleUnit
void createLogbookLifeCycleUnit(String operationId, LogbookLifeCycleUnitParameters... lifecycleItems) throws LogbookDatabaseException, LogbookAlreadyExistsException Create one Logbook LifeCycle with already multiple sub-events- Parameters:
lifecycleItems- with first and next events to add/update- Throws:
IllegalArgumentException- if first argument is null or null mandatory parameters for allLogbookDatabaseExceptionLogbookAlreadyExistsException
-
createLogbookLifeCycleObjectGroup
void createLogbookLifeCycleObjectGroup(String operationId, LogbookLifeCycleObjectGroupParameters... lifecycleItems) throws LogbookDatabaseException, LogbookAlreadyExistsException Create one Logbook LifeCycle with already multiple sub-events- Parameters:
lifecycleItems- with first and next events to add/update- Throws:
IllegalArgumentException- if first argument is null or null mandatory parameters for allLogbookDatabaseExceptionLogbookAlreadyExistsException
-
updateLogbookOperation
void updateLogbookOperation(String operationId, LogbookOperationParameters... operationItems) throws LogbookDatabaseException, LogbookNotFoundException Update one Logbook Operation with multiple sub-events
It adds this new entry within the very same Logbook Operaton entry in "events" array.- Parameters:
operationId-operationItems-- Throws:
IllegalArgumentException- if parameter has null or empty mandatory valuesLogbookDatabaseExceptionLogbookNotFoundException
-
updateLogbookLifeCycleUnit
void updateLogbookLifeCycleUnit(LogbookLifeCycleUnitParameters... lifecycleItems) throws LogbookDatabaseException, LogbookNotFoundException, LogbookAlreadyExistsException Update one Logbook LifeCycle with multiple sub-events
It adds this new entry within the very same Logbook LifeCycle entry in "events" array.- Parameters:
lifecycleItems-- Throws:
IllegalArgumentException- if parameter has null or empty mandatory valuesLogbookDatabaseExceptionLogbookNotFoundExceptionLogbookAlreadyExistsException
-
updateLogbookLifeCycleObjectGroup
void updateLogbookLifeCycleObjectGroup(LogbookLifeCycleObjectGroupParameters... lifecycleItems) throws LogbookDatabaseException, LogbookNotFoundException, LogbookAlreadyExistsException Update one Logbook LifeCycle with multiple sub-events
It adds this new entry within the very same Logbook LifeCycle entry in "events" array.- Parameters:
lifecycleItems-- Throws:
IllegalArgumentException- if parameter has null or empty mandatory valuesLogbookDatabaseExceptionLogbookNotFoundExceptionLogbookAlreadyExistsException
-
getLogbookOperations
VitamMongoCursor<LogbookOperation> getLogbookOperations(com.fasterxml.jackson.databind.JsonNode select, boolean sliced) throws LogbookDatabaseException, VitamDBException -
getLogbookOperations
VitamMongoCursor<LogbookOperation> getLogbookOperations(com.fasterxml.jackson.databind.JsonNode select, boolean sliced, boolean crossTenant) throws LogbookDatabaseException, VitamDBException Get a list of Logbook Operation through Closeable MongoCursor- Parameters:
select-sliced- If true will return the first and last events only- Returns:
- the Closeable MongoCursor of LogbookOperation
- Throws:
IllegalArgumentException- if argument is null or emptyLogbookDatabaseExceptionLogbookNotFoundExceptionVitamDBException
-
getOneLogbookLifeCycle
LogbookLifeCycle<?> getOneLogbookLifeCycle(com.fasterxml.jackson.databind.JsonNode select, boolean sliced, LogbookCollections collection) throws LogbookDatabaseException, LogbookNotFoundException, VitamDBException Get a list of Logbook LifeCycles through Closeable MongoCursor- Parameters:
select-sliced-collection- the collection on which the select operation will be done : Production collection (LIFECYCLE_UNIT/LIFECYCLE_OBJECT_GROUP) or Working collection (LIFECYCLE_UNIT_IN_PROCESS/LIFECYCLE_OBJECT_GROUP_IN_PROCESS)- Returns:
- the Closeable MongoCursor of LogbookLifeCycle
- Throws:
IllegalArgumentException- if argument is null or emptyLogbookDatabaseException- if more than one resultLogbookNotFoundException- if no resultVitamDBException
-
getLogbookLifeCycles
com.mongodb.client.MongoCursor<LogbookLifeCycle<?>> getLogbookLifeCycles(com.fasterxml.jackson.databind.JsonNode select, boolean sliced, LogbookCollections collection) throws LogbookDatabaseException, LogbookNotFoundException, VitamDBException Get a list of Logbook LifeCycles through Closeable MongoCursor- Parameters:
select-sliced-collection- the collection on which the select operation will be done : Production collection (LIFECYCLE_UNIT/LIFECYCLE_OBJECT_GROUP) or Working collection (LIFECYCLE_UNIT_IN_PROCESS/LIFECYCLE_OBJECT_GROUP_IN_PROCESS)- Returns:
- the Closeable MongoCursor of LogbookLifeCycle
- Throws:
IllegalArgumentException- if argument is null or emptyLogbookDatabaseExceptionLogbookNotFoundExceptionVitamDBException
-
getLogbookLifeCycleUnitsFull
com.mongodb.client.MongoCursor<LogbookLifeCycleUnit> getLogbookLifeCycleUnitsFull(LogbookCollections collection, Select select) throws LogbookDatabaseException Get a list of Logbook LifeCycle through Closeable MongoCursor- Parameters:
collection- the collection on which the select operation will be done : Production collection (LIFECYCLE_UNIT) or Working collection (LIFECYCLE_UNIT_IN_PROCESS)select-- Returns:
- the Closeable MongoCursor of LogbookLifeCycle
- Throws:
IllegalArgumentException- if argument is null or emptyLogbookDatabaseException
-
getLogbookLifeCycleObjectGroupsFull
com.mongodb.client.MongoCursor<LogbookLifeCycleObjectGroup> getLogbookLifeCycleObjectGroupsFull(LogbookCollections collection, Select select) throws LogbookDatabaseException Get a list of Logbook LifeCycle through Closeable MongoCursor- Parameters:
collection- the collection on which the select operation will be done : Production collection (LIFECYCLE_OBJECT_GROUP) or Working collection (LIFECYCLE_OBJECT_GROUP_IN_PROCESS)select-- Returns:
- the Closeable MongoCursor of LogbookLifeCycle
- Throws:
IllegalArgumentException- if argument is null or emptyLogbookDatabaseException
-
deleteCollectionForTesting
void deleteCollectionForTesting(LogbookCollections collection) throws DatabaseException, LogbookExecutionException Delete logbook collection- Parameters:
collection- the logbook collection to delete- Throws:
DatabaseException- thrown when error on deleteLogbookExecutionException
-
getLogbookLifeCycleUnitInProcess
LogbookLifeCycleUnitInProcess getLogbookLifeCycleUnitInProcess(String unitId) throws LogbookDatabaseException, LogbookNotFoundException Get Unit LifeCycle In process- Parameters:
unitId- the unit id- Returns:
- the corresponding LogbookLifeCycleUnitInProcess if it exists
- Throws:
LogbookDatabaseExceptionLogbookNotFoundExceptionIllegalArgumentException- if parameter has null or empty mandatory values
-
getLogbookLifeCycleObjectGroupInProcess
LogbookLifeCycleObjectGroupInProcess getLogbookLifeCycleObjectGroupInProcess(String objectGroupId) throws LogbookDatabaseException, LogbookNotFoundException Gets ObjectGroup LifeCycle In process- Parameters:
objectGroupId- the object group id- Returns:
- the corresponding LogbookLifeCycleObjectGroupInProcess if it exists
- Throws:
LogbookDatabaseExceptionLogbookNotFoundExceptionIllegalArgumentException- if parameter has null or empty mandatory values
-
createLogbookLifeCycleUnit
void createLogbookLifeCycleUnit(LogbookLifeCycleUnitInProcess logbookLifeCycleUnitInProcess) throws LogbookDatabaseException, LogbookAlreadyExistsException Creates Unit lifeCycle from a LogbookLifeCycleUnitInProcess instance- Parameters:
logbookLifeCycleUnitInProcess- a LogbookLifeCycleUnitInProcess instance- Throws:
LogbookAlreadyExistsExceptionLogbookDatabaseException
-
createLogbookLifeCycleObjectGroup
void createLogbookLifeCycleObjectGroup(LogbookLifeCycleObjectGroupInProcess logbookLifeCycleObjectGrouptInProcess) throws LogbookDatabaseException, LogbookAlreadyExistsException Creates ObjectGroup lifeCycle from a LogbookLifeCycleObjectGroupInProcess instance- Parameters:
logbookLifeCycleObjectGrouptInProcess-- Throws:
LogbookAlreadyExistsExceptionLogbookDatabaseException
-
updateLogbookLifeCycleUnit
void updateLogbookLifeCycleUnit(LogbookLifeCycleUnitInProcess logbookLifeCycleUnitInProcess) throws LogbookDatabaseException, LogbookNotFoundException Updates Unit lifeCycle from a LogbookLifeCycleUnitInProcess instance- Parameters:
logbookLifeCycleUnitInProcess- a LogbookLifeCycleUnitInProcess instance- Throws:
LogbookDatabaseExceptionLogbookNotFoundException
-
updateLogbookLifeCycleObjectGroup
void updateLogbookLifeCycleObjectGroup(LogbookLifeCycleObjectGroupInProcess logbookLifeCycleObjectGrouptInProcess) throws LogbookDatabaseException, LogbookNotFoundException Updates ObjectGroup lifeCycle from a LogbookLifeCycleObjectGroupInProcess instance- Parameters:
logbookLifeCycleObjectGrouptInProcess- a LogbookLifeCycleObjectGroupInProcess instance- Throws:
LogbookDatabaseExceptionLogbookNotFoundException
-
rollBackUnitLifeCyclesByOperation
void rollBackUnitLifeCyclesByOperation(String operationId) throws LogbookNotFoundException, LogbookDatabaseException Rolls back all the created unit lifeCycles during a given operation- Parameters:
operationId- an operation id- Throws:
LogbookNotFoundExceptionLogbookDatabaseException
-
rollBackObjectGroupLifeCyclesByOperation
void rollBackObjectGroupLifeCyclesByOperation(String operationId) throws LogbookNotFoundException, LogbookDatabaseException Rolls back all the created objectGroups lifeCycles during a given operation- Parameters:
operationId- an operation Id- Throws:
LogbookNotFoundExceptionLogbookDatabaseException
-
getLogbookLifeCyleUnitInProcessSize
long getLogbookLifeCyleUnitInProcessSize()- Returns:
- the current number of LogbookLifeCyle created in working unit collection
-
getLogbookLifeCyleObjectGroupInProcessSize
long getLogbookLifeCyleObjectGroupInProcessSize()- Returns:
- the current number of LogbookLifeCyle created in working objectGroup collection
-
existsLogbookLifeCycleUnitInProcess
boolean existsLogbookLifeCycleUnitInProcess(String lifecycleItem) throws LogbookDatabaseException, LogbookNotFoundException Check if one eventIdentifier for Lifecycle exists already- Parameters:
lifecycleItem-- Returns:
- True if one LogbookLibeCycle exists with this id
- Throws:
LogbookDatabaseExceptionLogbookNotFoundExceptionIllegalArgumentException- if parameter has null or empty mandatory values
-
existsLogbookLifeCycleObjectGroupInProcess
boolean existsLogbookLifeCycleObjectGroupInProcess(String lifecycleItem) throws LogbookDatabaseException, LogbookNotFoundException Check if one eventIdentifier for Lifecycle exists already- Parameters:
lifecycleItem-- Returns:
- True if one LogbookLibeCycle exists with this id
- Throws:
LogbookDatabaseExceptionLogbookNotFoundExceptionIllegalArgumentException- if parameter has null or empty mandatory values
-
getInfo
String getInfo()Get information on a Database- Returns:
- information on the database
-
bulkInsert
void bulkInsert(String idOp, LogbookCollections lifecycleUnit, List<? extends LogbookLifeCycleModel> logbookLifeCycleModels) throws DatabaseException - Throws:
DatabaseException
-
updateLogbookLifeCycleBulk
void updateLogbookLifeCycleBulk(LogbookCollections collection, List<LogbookLifeCycleParametersBulk> logbookLifeCycleParametersBulk)
-