public final class LogbookMongoDbAccessImpl extends MongoDbAccess implements LogbookDbAccess
| Constructor and Description |
|---|
LogbookMongoDbAccessImpl(com.mongodb.MongoClient mongoClient,
String dbname,
boolean recreate,
LogbookElasticsearchAccess esClient,
List<Integer> tenants,
LogbookTransformData logbookTransformData)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
bulk(LogbookCollections lifecycleUnit,
List<? extends LogbookLifeCycleModel> logbookLifeCycleModels) |
void |
close()
Close database access
|
void |
createBulkLogbookLifeCycleObjectGroup(LogbookLifeCycleObjectGroupParameters... lifecycleItems)
Create one Logbook LifeCycle with already multiple sub-events
|
void |
createBulkLogbookLifeCycleUnit(LogbookLifeCycleUnitParameters... lifecycleItems)
Create one Logbook LifeCycle with already multiple sub-events
|
void |
createBulkLogbookOperation(LogbookOperationParameters... operationItems)
Create one Logbook Operation with already multiple sub-events
|
void |
createLogbookLifeCycleForUpdate(LogbookCollections inProccessCollection,
LogbookLifeCycle logbookLifeCycleInProd) |
void |
createLogbookLifeCycleObjectGroup(LogbookLifeCycleObjectGroupInProcess logbookLifeCycleObjectGroupInProcess)
Creates ObjectGroup lifeCycle from a LogbookLifeCycleObjectGroupInProcess instance
|
void |
createLogbookLifeCycleObjectGroup(String idOperation,
LogbookLifeCycleObjectGroupParameters lifecycleItem)
Create one Logbook LifeCycle object group
|
void |
createLogbookLifeCycleUnit(LogbookLifeCycleUnitInProcess logbookLifeCycleUnitInProcess)
Creates Unit lifeCycle from a LogbookLifeCycleUnitInProcess instance
|
void |
createLogbookLifeCycleUnit(String idOperation,
LogbookLifeCycleUnitParameters lifecycleItem)
Create one Logbook LifeCycle unit
|
void |
createLogbookOperation(LogbookOperationParameters operationItem)
Create one Logbook Operation
|
void |
deleteCollection(LogbookCollections collection)
Delete logbook collection
|
boolean |
existsLogbookLifeCycleObjectGroup(String objectGroupId)
Check if one eventIdentifier for Lifecycle exists already
|
boolean |
existsLogbookLifeCycleObjectGroupInProcess(String objectGroupId)
Check if one eventIdentifier for Lifecycle exists already
|
boolean |
existsLogbookLifeCycleUnit(String unitId)
Check if one eventIdentifier for Lifecycle exists already
|
boolean |
existsLogbookLifeCycleUnitInProcess(String unitId)
Check if one eventIdentifier for Lifecycle exists already
|
boolean |
existsLogbookOperation(String operationItem)
Check if one eventIdentifier for Operation exists already
|
LogbookElasticsearchAccess |
getEsClient() |
String |
getInfo()
Get information on a Database
|
LogbookLifeCycleObjectGroup |
getLogbookLifeCycleObjectGroup(String objectGroupId)
Get one Lifecycle
|
LogbookLifeCycleObjectGroup |
getLogbookLifeCycleObjectGroup(String idOperation,
String objectGroupId)
Get one Lifecycle
|
LogbookLifeCycleObjectGroupInProcess |
getLogbookLifeCycleObjectGroupInProcess(String objectGroupId)
Gets ObjectGroup LifeCycle In process
|
com.mongodb.client.MongoCursor<LogbookLifeCycle> |
getLogbookLifeCycleObjectGroups(com.fasterxml.jackson.databind.JsonNode select,
boolean sliced,
LogbookCollections collection)
Get a list of Logbook LifeCycle through Closeable MongoCursor
|
com.mongodb.client.MongoCursor<LogbookLifeCycleObjectGroup> |
getLogbookLifeCycleObjectGroupsFull(LogbookCollections collection,
Select select)
Get a list of Logbook LifeCycle through Closeable MongoCursor
|
LogbookLifeCycle |
getLogbookLifeCycleUnit(com.fasterxml.jackson.databind.JsonNode queryDsl,
LogbookCollections collection)
Get one Lifecycle
|
LogbookLifeCycleUnit |
getLogbookLifeCycleUnit(String unitId)
Get one Lifecycle
|
LogbookLifeCycleUnit |
getLogbookLifeCycleUnit(String idOperation,
String unitId)
Get one Lifecycle
|
LogbookLifeCycleUnitInProcess |
getLogbookLifeCycleUnitInProcess(String unitId)
Get Unit LifeCycle In process
|
com.mongodb.client.MongoCursor<LogbookLifeCycle> |
getLogbookLifeCycleUnits(com.fasterxml.jackson.databind.JsonNode select,
boolean sliced,
LogbookCollections collection)
Get a list of Logbook LifeCycle through Closeable MongoCursor
|
com.mongodb.client.MongoCursor<LogbookLifeCycleUnit> |
getLogbookLifeCycleUnitsFull(LogbookCollections collection,
Select select)
Get a list of Logbook LifeCycle through Closeable MongoCursor
|
long |
getLogbookLifeCyleObjectGroupInProcessSize() |
long |
getLogbookLifeCyleObjectGroupSize() |
long |
getLogbookLifeCyleUnitInProcessSize() |
long |
getLogbookLifeCyleUnitSize() |
LogbookOperation |
getLogbookOperation(String eventIdentifierProcess)
Get one Operation
|
com.mongodb.client.MongoCursor<LogbookOperation> |
getLogbookOperations(com.fasterxml.jackson.databind.JsonNode select,
boolean sliced)
Get a list of Logbook Operation through Closeable MongoCursor
|
long |
getLogbookOperationSize() |
void |
rollbackLogbookLifeCycleObjectGroup(String idOperation,
String lifecycleItem)
Rollback one Logbook LifeCycle
It adds this new entry within the very same Logbook LifeCycle entry in "events" array. |
void |
rollbackLogbookLifeCycleUnit(String idOperation,
String lifecycleItem)
Rollback one Logbook LifeCycle
It adds this new entry within the very same Logbook LifeCycle entry in "events" array. |
void |
rollBackObjectGroupLifeCyclesByOperation(String operationId)
Rolls back all the created objectGroups lifeCycles during a given operation
|
void |
rollBackUnitLifeCyclesByOperation(String operationId)
Rolls back all the created unit lifeCycles during a given operation
|
void |
updateBulkLogbookLifeCycleObjectGroup(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. |
void |
updateBulkLogbookLifeCycleUnit(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. |
void |
updateBulkLogbookOperation(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. |
void |
updateLogbookLifeCycleObjectGroup(LogbookLifeCycleObjectGroupInProcess logbookLifeCycleObjectGrouptInProcess)
Updates ObjectGroup lifeCycle from a LogbookLifeCycleObjectGroupInProcess instance
|
void |
updateLogbookLifeCycleObjectGroup(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. |
void |
updateLogbookLifeCycleObjectGroup(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. |
void |
updateLogbookLifeCycleUnit(LogbookLifeCycleUnitInProcess logbookLifeCycleUnitInProcess)
Updates Unit lifeCycle from a LogbookLifeCycleUnitInProcess instance
|
void |
updateLogbookLifeCycleUnit(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. |
void |
updateLogbookLifeCycleUnit(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. |
void |
updateLogbookOperation(LogbookOperationParameters operationItem)
Update one Logbook Operation
It adds this new entry within the very same Logbook Operaton entry in "events" array. |
checkConnection, createMongoClient, getMongoAdmin, getMongoClient, getMongoDatabase, setDatabase, setMongoAdmin, setMongoClient, setMongoDatabasepublic LogbookMongoDbAccessImpl(com.mongodb.MongoClient mongoClient,
String dbname,
boolean recreate,
LogbookElasticsearchAccess esClient,
List<Integer> tenants,
LogbookTransformData logbookTransformData)
mongoClient - MongoClientdbname - MongoDB database namerecreate - True to recreate the indexesClient - elastic search clienttenants - the tenants listIllegalArgumentException - if mongoClient or dbname is nullpublic final void close()
close in interface LogbookDbAccessclose in class MongoDbAccesspublic String getInfo()
DatabaseConnectiongetInfo in interface DatabaseConnectiongetInfo in interface LogbookDbAccessgetInfo in class MongoDbAccesspublic LogbookElasticsearchAccess getEsClient()
public final long getLogbookOperationSize()
getLogbookOperationSize in interface LogbookDbAccesspublic final long getLogbookLifeCyleUnitSize()
getLogbookLifeCyleUnitSize in interface LogbookDbAccesspublic final long getLogbookLifeCyleObjectGroupSize()
throws LogbookDatabaseException,
LogbookNotFoundException
getLogbookLifeCyleObjectGroupSize in interface LogbookDbAccessLogbookDatabaseExceptionLogbookNotFoundExceptionpublic long getLogbookLifeCyleUnitInProcessSize()
throws LogbookDatabaseException,
LogbookNotFoundException
getLogbookLifeCyleUnitInProcessSize in interface LogbookDbAccessLogbookDatabaseExceptionLogbookNotFoundExceptionpublic long getLogbookLifeCyleObjectGroupInProcessSize()
throws LogbookDatabaseException,
LogbookNotFoundException
getLogbookLifeCyleObjectGroupInProcessSize in interface LogbookDbAccessLogbookDatabaseExceptionLogbookNotFoundExceptionpublic com.mongodb.client.MongoCursor<LogbookOperation> getLogbookOperations(com.fasterxml.jackson.databind.JsonNode select, boolean sliced) throws LogbookDatabaseException, VitamDBException
LogbookDbAccessgetLogbookOperations in interface LogbookDbAccesssliced - If true will return the first and last events onlyLogbookDatabaseExceptionVitamDBExceptionpublic com.mongodb.client.MongoCursor<LogbookLifeCycle> getLogbookLifeCycleUnits(com.fasterxml.jackson.databind.JsonNode select, boolean sliced, LogbookCollections collection) throws LogbookDatabaseException, VitamDBException
LogbookDbAccessgetLogbookLifeCycleUnits in interface LogbookDbAccesscollection - the collection on which the select operation will be done : Production collection
(LIFECYCLE_UNIT) or Working collection (LIFECYCLE_UNIT_IN_PROCESS)LogbookDatabaseExceptionVitamDBExceptionpublic com.mongodb.client.MongoCursor<LogbookLifeCycleUnit> getLogbookLifeCycleUnitsFull(LogbookCollections collection, Select select) throws LogbookDatabaseException
LogbookDbAccessgetLogbookLifeCycleUnitsFull in interface LogbookDbAccesscollection - the collection on which the select operation will be done : Production collection
(LIFECYCLE_UNIT) or Working collection (LIFECYCLE_UNIT_IN_PROCESS)LogbookDatabaseExceptionpublic com.mongodb.client.MongoCursor<LogbookLifeCycle> getLogbookLifeCycleObjectGroups(com.fasterxml.jackson.databind.JsonNode select, boolean sliced, LogbookCollections collection) throws LogbookDatabaseException, LogbookNotFoundException, VitamDBException
LogbookDbAccessgetLogbookLifeCycleObjectGroups in interface LogbookDbAccesscollection - the collection on which the select operation will be done : Production collection
(LIFECYCLE_OBJECT_GROUP) or Working collection (LIFECYCLE_OBJECT_GROUP_IN_PROCESS)LogbookDatabaseExceptionLogbookNotFoundExceptionVitamDBExceptionpublic com.mongodb.client.MongoCursor<LogbookLifeCycleObjectGroup> getLogbookLifeCycleObjectGroupsFull(LogbookCollections collection, Select select) throws LogbookDatabaseException
LogbookDbAccessgetLogbookLifeCycleObjectGroupsFull in interface LogbookDbAccesscollection - the collection on which the select operation will be done : Production collection
(LIFECYCLE_OBJECT_GROUP) or Working collection (LIFECYCLE_OBJECT_GROUP_IN_PROCESS)LogbookDatabaseExceptionpublic final boolean existsLogbookOperation(String operationItem) throws LogbookDatabaseException
LogbookDbAccessexistsLogbookOperation in interface LogbookDbAccessLogbookDatabaseExceptionpublic boolean existsLogbookLifeCycleUnit(String unitId) throws LogbookDatabaseException
LogbookDbAccessexistsLogbookLifeCycleUnit in interface LogbookDbAccessLogbookDatabaseExceptionpublic boolean existsLogbookLifeCycleObjectGroup(String objectGroupId) throws LogbookDatabaseException
LogbookDbAccessexistsLogbookLifeCycleObjectGroup in interface LogbookDbAccessLogbookDatabaseExceptionpublic LogbookOperation getLogbookOperation(String eventIdentifierProcess) throws LogbookDatabaseException, LogbookNotFoundException
LogbookDbAccessgetLogbookOperation in interface LogbookDbAccessLogbookDatabaseExceptionLogbookNotFoundExceptionpublic LogbookLifeCycleUnit getLogbookLifeCycleUnit(String unitId) throws LogbookDatabaseException, LogbookNotFoundException
LogbookDbAccessgetLogbookLifeCycleUnit in interface LogbookDbAccessLogbookDatabaseExceptionLogbookNotFoundExceptionpublic LogbookLifeCycle getLogbookLifeCycleUnit(com.fasterxml.jackson.databind.JsonNode queryDsl, LogbookCollections collection) throws LogbookDatabaseException, LogbookNotFoundException
LogbookDbAccessgetLogbookLifeCycleUnit in interface LogbookDbAccessqueryDsl - the DSL querycollection - the collection on which the select operation will be done : Production collection
(LIFECYCLE_UNIT) or Working collection (LIFECYCLE_UNIT_IN_PROCESS)LogbookDatabaseExceptionLogbookNotFoundExceptionpublic LogbookLifeCycleObjectGroup getLogbookLifeCycleObjectGroup(String objectGroupId) throws LogbookDatabaseException, LogbookNotFoundException
LogbookDbAccessgetLogbookLifeCycleObjectGroup in interface LogbookDbAccessLogbookDatabaseExceptionLogbookNotFoundExceptionpublic LogbookLifeCycleUnit getLogbookLifeCycleUnit(String idOperation, String unitId) throws LogbookDatabaseException, LogbookNotFoundException
LogbookDbAccessgetLogbookLifeCycleUnit in interface LogbookDbAccessLogbookDatabaseExceptionLogbookNotFoundExceptionpublic LogbookLifeCycleObjectGroup getLogbookLifeCycleObjectGroup(String idOperation, String objectGroupId) throws LogbookDatabaseException, LogbookNotFoundException
LogbookDbAccessgetLogbookLifeCycleObjectGroup in interface LogbookDbAccessLogbookDatabaseExceptionLogbookNotFoundExceptionpublic void createLogbookOperation(LogbookOperationParameters operationItem) throws LogbookDatabaseException, LogbookAlreadyExistsException
LogbookDbAccesscreateLogbookOperation in interface LogbookDbAccessLogbookDatabaseExceptionLogbookAlreadyExistsExceptionpublic void createLogbookLifeCycleUnit(String idOperation, LogbookLifeCycleUnitParameters lifecycleItem) throws LogbookDatabaseException, LogbookAlreadyExistsException
LogbookDbAccesscreateLogbookLifeCycleUnit in interface LogbookDbAccessLogbookDatabaseExceptionLogbookAlreadyExistsExceptionpublic void createLogbookLifeCycleObjectGroup(String idOperation, LogbookLifeCycleObjectGroupParameters lifecycleItem) throws LogbookDatabaseException, LogbookAlreadyExistsException
LogbookDbAccesscreateLogbookLifeCycleObjectGroup in interface LogbookDbAccessLogbookDatabaseExceptionLogbookAlreadyExistsExceptionpublic void updateLogbookOperation(LogbookOperationParameters operationItem) throws LogbookDatabaseException, LogbookNotFoundException
LogbookDbAccessupdateLogbookOperation in interface LogbookDbAccessLogbookDatabaseExceptionLogbookNotFoundExceptionpublic void updateLogbookLifeCycleUnit(String idOperation, String idLfc, LogbookLifeCycleUnitParameters lifecycleItem) throws LogbookDatabaseException, LogbookNotFoundException, LogbookAlreadyExistsException
LogbookDbAccessupdateLogbookLifeCycleUnit in interface LogbookDbAccessLogbookDatabaseExceptionLogbookNotFoundExceptionLogbookAlreadyExistsExceptionpublic void updateLogbookLifeCycleUnit(String idOperation, String idLfc, LogbookLifeCycleUnitParameters lifecycleItem, boolean commit) throws LogbookDatabaseException, LogbookNotFoundException, LogbookAlreadyExistsException
LogbookDbAccessupdateLogbookLifeCycleUnit in interface LogbookDbAccesscommit - if true update committed LFC else update in progress LFCLogbookDatabaseExceptionLogbookNotFoundExceptionLogbookAlreadyExistsExceptionpublic void updateLogbookLifeCycleObjectGroup(String idOperation, String idLfc, LogbookLifeCycleObjectGroupParameters lifecycleItem) throws LogbookDatabaseException, LogbookNotFoundException, LogbookAlreadyExistsException
LogbookDbAccessupdateLogbookLifeCycleObjectGroup in interface LogbookDbAccessLogbookDatabaseExceptionLogbookNotFoundExceptionLogbookAlreadyExistsExceptionpublic void updateLogbookLifeCycleObjectGroup(String idOperation, String idLfc, LogbookLifeCycleObjectGroupParameters lifecycleItem, boolean commit) throws LogbookDatabaseException, LogbookNotFoundException, LogbookAlreadyExistsException
LogbookDbAccessupdateLogbookLifeCycleObjectGroup in interface LogbookDbAccesscommit - if true update is done on committed collection otherwise on inProcess oneLogbookDatabaseExceptionLogbookNotFoundExceptionLogbookAlreadyExistsExceptionpublic void rollbackLogbookLifeCycleUnit(String idOperation, String lifecycleItem) throws LogbookDatabaseException, LogbookNotFoundException
LogbookDbAccessrollbackLogbookLifeCycleUnit in interface LogbookDbAccessLogbookDatabaseExceptionLogbookNotFoundExceptionpublic void rollbackLogbookLifeCycleObjectGroup(String idOperation, String lifecycleItem) throws LogbookDatabaseException, LogbookNotFoundException
LogbookDbAccessrollbackLogbookLifeCycleObjectGroup in interface LogbookDbAccessLogbookDatabaseExceptionLogbookNotFoundExceptionpublic final void createBulkLogbookOperation(LogbookOperationParameters... operationItems) throws LogbookDatabaseException, LogbookAlreadyExistsException
LogbookDbAccesscreateBulkLogbookOperation in interface LogbookDbAccessoperationItems - with first and next events to add/updateLogbookDatabaseExceptionLogbookAlreadyExistsExceptionpublic final void createBulkLogbookLifeCycleUnit(LogbookLifeCycleUnitParameters... lifecycleItems) throws LogbookDatabaseException, LogbookAlreadyExistsException
LogbookDbAccesscreateBulkLogbookLifeCycleUnit in interface LogbookDbAccesslifecycleItems - with first and next events to add/updateLogbookDatabaseExceptionLogbookAlreadyExistsExceptionpublic final void createBulkLogbookLifeCycleObjectGroup(LogbookLifeCycleObjectGroupParameters... lifecycleItems) throws LogbookDatabaseException, LogbookAlreadyExistsException
LogbookDbAccesscreateBulkLogbookLifeCycleObjectGroup in interface LogbookDbAccesslifecycleItems - with first and next events to add/updateLogbookDatabaseExceptionLogbookAlreadyExistsExceptionpublic final void updateBulkLogbookOperation(LogbookOperationParameters... operationItems) throws LogbookDatabaseException, LogbookNotFoundException
LogbookDbAccessupdateBulkLogbookOperation in interface LogbookDbAccessLogbookDatabaseExceptionLogbookNotFoundExceptionpublic void updateBulkLogbookLifeCycleUnit(LogbookLifeCycleUnitParameters... lifecycleItems) throws LogbookDatabaseException, LogbookNotFoundException, LogbookAlreadyExistsException
LogbookDbAccessupdateBulkLogbookLifeCycleUnit in interface LogbookDbAccessLogbookDatabaseExceptionLogbookNotFoundExceptionLogbookAlreadyExistsExceptionpublic void updateBulkLogbookLifeCycleObjectGroup(LogbookLifeCycleObjectGroupParameters... lifecycleItems) throws LogbookDatabaseException, LogbookNotFoundException, LogbookAlreadyExistsException
LogbookDbAccessupdateBulkLogbookLifeCycleObjectGroup in interface LogbookDbAccessLogbookDatabaseExceptionLogbookNotFoundExceptionLogbookAlreadyExistsExceptionpublic void deleteCollection(LogbookCollections collection) throws DatabaseException
LogbookDbAccessdeleteCollection in interface LogbookDbAccesscollection - the logbook collection to deleteDatabaseException - thrown when error on deletepublic LogbookLifeCycleUnitInProcess getLogbookLifeCycleUnitInProcess(String unitId) throws LogbookDatabaseException, LogbookNotFoundException
LogbookDbAccessgetLogbookLifeCycleUnitInProcess in interface LogbookDbAccessunitId - the unit idLogbookDatabaseExceptionLogbookNotFoundExceptionpublic LogbookLifeCycleObjectGroupInProcess getLogbookLifeCycleObjectGroupInProcess(String objectGroupId) throws LogbookDatabaseException, LogbookNotFoundException
LogbookDbAccessgetLogbookLifeCycleObjectGroupInProcess in interface LogbookDbAccessobjectGroupId - the object group idLogbookDatabaseExceptionLogbookNotFoundExceptionpublic void createLogbookLifeCycleUnit(LogbookLifeCycleUnitInProcess logbookLifeCycleUnitInProcess) throws LogbookDatabaseException, LogbookAlreadyExistsException
LogbookDbAccesscreateLogbookLifeCycleUnit in interface LogbookDbAccesslogbookLifeCycleUnitInProcess - a LogbookLifeCycleUnitInProcess instanceLogbookDatabaseExceptionLogbookAlreadyExistsExceptionpublic void createLogbookLifeCycleObjectGroup(LogbookLifeCycleObjectGroupInProcess logbookLifeCycleObjectGroupInProcess) throws LogbookDatabaseException, LogbookAlreadyExistsException
LogbookDbAccesscreateLogbookLifeCycleObjectGroup in interface LogbookDbAccessLogbookDatabaseExceptionLogbookAlreadyExistsExceptionpublic void createLogbookLifeCycleForUpdate(LogbookCollections inProccessCollection, LogbookLifeCycle logbookLifeCycleInProd) throws LogbookDatabaseException, LogbookAlreadyExistsException
inProccessCollection - collection of logbook in processlogbookLifeCycleInProd - to create logbook lfc Unit/GroupObjectLogbookDatabaseException - if mongo execution errorLogbookAlreadyExistsException - if duplicated key in mongopublic void updateLogbookLifeCycleUnit(LogbookLifeCycleUnitInProcess logbookLifeCycleUnitInProcess) throws LogbookDatabaseException, LogbookNotFoundException
LogbookDbAccessupdateLogbookLifeCycleUnit in interface LogbookDbAccesslogbookLifeCycleUnitInProcess - a LogbookLifeCycleUnitInProcess instanceLogbookDatabaseExceptionLogbookNotFoundExceptionpublic void updateLogbookLifeCycleObjectGroup(LogbookLifeCycleObjectGroupInProcess logbookLifeCycleObjectGrouptInProcess) throws LogbookDatabaseException, LogbookNotFoundException
LogbookDbAccessupdateLogbookLifeCycleObjectGroup in interface LogbookDbAccesslogbookLifeCycleObjectGrouptInProcess - a LogbookLifeCycleObjectGroupInProcess instanceLogbookDatabaseExceptionLogbookNotFoundExceptionpublic void rollBackUnitLifeCyclesByOperation(String operationId) throws LogbookNotFoundException, LogbookDatabaseException
LogbookDbAccessrollBackUnitLifeCyclesByOperation in interface LogbookDbAccessoperationId - an operation idLogbookNotFoundExceptionLogbookDatabaseExceptionpublic void rollBackObjectGroupLifeCyclesByOperation(String operationId) throws LogbookNotFoundException, LogbookDatabaseException
LogbookDbAccessrollBackObjectGroupLifeCyclesByOperation in interface LogbookDbAccessoperationId - an operation IdLogbookNotFoundExceptionLogbookDatabaseExceptionpublic boolean existsLogbookLifeCycleUnitInProcess(String unitId) throws LogbookDatabaseException
LogbookDbAccessexistsLogbookLifeCycleUnitInProcess in interface LogbookDbAccessLogbookDatabaseExceptionpublic boolean existsLogbookLifeCycleObjectGroupInProcess(String objectGroupId) throws LogbookDatabaseException
LogbookDbAccessexistsLogbookLifeCycleObjectGroupInProcess in interface LogbookDbAccessLogbookDatabaseExceptionpublic void bulk(LogbookCollections lifecycleUnit, List<? extends LogbookLifeCycleModel> logbookLifeCycleModels) throws DatabaseException
bulk in interface LogbookDbAccessDatabaseExceptionCopyright © 2018 Vitam. All rights reserved.