Class LogbookLifeCyclesImpl
- java.lang.Object
-
- fr.gouv.vitam.logbook.lifecycles.core.LogbookLifeCyclesImpl
-
- All Implemented Interfaces:
LogbookLifeCycles
public class LogbookLifeCyclesImpl extends java.lang.Object implements LogbookLifeCycles
Logbook LifeCycles implementation base class
-
-
Constructor Summary
Constructors Constructor Description LogbookLifeCyclesImpl(LogbookDbAccess mongoDbAccess)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bulk(LogbookCollections collections, java.lang.String idOp, java.util.List<? extends LogbookLifeCycleModel> logbookLifeCycleModels)
Bulk methodboolean
checkObjectGroupLifecycleEntriesExistenceByLastPersistedDate(java.lang.String startDate, java.lang.String endDate)
Checks existence of new object group life cyclesboolean
checkUnitLifecycleEntriesExistenceByLastPersistedDate(java.lang.String startDate, java.lang.String endDate)
Checks existence of new unit life cyclesvoid
commitObjectGroup(java.lang.String idOperation, java.lang.String idLc)
Commits ObjectGroup lifeCyclevoid
commitUnit(java.lang.String idOperation, java.lang.String idLc)
Commits Unit lifeCyclevoid
createBulkLogbookLifecycle(java.lang.String idOp, LogbookLifeCycleParameters[] lifecycleArray)
Create one Logbook Lifecycle with already multiple sub-eventsvoid
createObjectGroup(java.lang.String idOperation, java.lang.String idLc, LogbookLifeCycleObjectGroupParameters parameters)
Create and insert logbook LifeCycle entriesvoid
createUnit(java.lang.String idOperation, java.lang.String idLc, LogbookLifeCycleUnitParameters parameters)
Create and insert logbook LifeCycle entriesvoid
deleteLifeCycleObjectGroups(java.util.List<java.lang.String> objectGroupIds)
delete LifeCycle ObjectGroupsvoid
deleteLifeCycleUnits(java.util.List<java.lang.String> unitsIdentifier)
delete LifeCycle UnitsLifeCycleStatusCode
getObjectGroupLifeCycleStatus(java.lang.String objectGroupId)
Returns the LifeCycle Status for a given objectGroup Idcom.fasterxml.jackson.databind.JsonNode
getRawObjectGroupLifeCycleById(java.lang.String id)
returns the raw version of object group life cyclejava.util.List<com.fasterxml.jackson.databind.JsonNode>
getRawObjectGroupLifeCycleByIds(java.util.List<java.lang.String> ids)
returns the raw version of object group life cycleCloseableIterator<com.fasterxml.jackson.databind.JsonNode>
getRawObjectGroupLifecyclesByLastPersistedDate(java.lang.String startDate, java.lang.String endDate, int limit)
Gets a list of raw object group life cycles by requestcom.fasterxml.jackson.databind.JsonNode
getRawUnitLifeCycleById(java.lang.String id)
returns the raw version of unit life cyclejava.util.List<com.fasterxml.jackson.databind.JsonNode>
getRawUnitLifeCycleByIds(java.util.List<java.lang.String> ids)
returns the raw version of unit life cycleCloseableIterator<com.fasterxml.jackson.databind.JsonNode>
getRawUnitLifecyclesByLastPersistedDate(java.lang.String startDate, java.lang.String endDate, int limit)
Gets a list of raw unit life cycles by requestLifeCycleStatusCode
getUnitLifeCycleStatus(java.lang.String unitId)
Returns the LifeCycle Status for a given unit Idvoid
rollbackObjectGroup(java.lang.String idOperation, java.lang.String idLc)
Rollback logbook LifeCycle entriesvoid
rollBackObjectGroupsByOperation(java.lang.String idOperation)
Removes the created object groups lifeCycles during a given operationvoid
rollbackUnit(java.lang.String idOperation, java.lang.String idLc)
Rollback logbook LifeCycle entriesvoid
rollBackUnitsByOperation(java.lang.String idOperation)
Removes the created unit lifeCycles during a given operationLogbookLifeCycle<?>
selectLifeCycleById(java.lang.String lifecycleId, com.fasterxml.jackson.databind.JsonNode queryDsl, boolean sliced, LogbookCollections collection)
Selects life cycle entryjava.util.List<LogbookLifeCycle<?>>
selectLifeCycles(com.fasterxml.jackson.databind.JsonNode select, boolean sliced, LogbookCollections collection)
Selects life cycle entriesvoid
updateBulkLogbookLifecycle(java.lang.String idOp, LogbookLifeCycleParameters[] lifecycleArray)
Update one Logbook Lifecycle with multiple sub-events
It adds this new entry within the very same Logbook Lifecycle entry in "events" array.void
updateLogbookLifeCycleBulk(LogbookCollections logbookCollections, java.util.List<LogbookLifeCycleParametersBulk> logbookLifeCycleParametersBulk)
updateLogbookLifeCycleBulkvoid
updateObjectGroup(java.lang.String idOperation, java.lang.String idLc, LogbookLifeCycleObjectGroupParameters parameters)
Update logbook LifeCycle entriesvoid
updateObjectGroup(java.lang.String idOperation, java.lang.String idLc, LogbookLifeCycleObjectGroupParameters parameters, boolean commit)
Update logbook LifeCycle entriesvoid
updateUnit(java.lang.String idOperation, java.lang.String idLc, LogbookLifeCycleUnitParameters parameters)
Update logbook LifeCycle entriesvoid
updateUnit(java.lang.String idOperation, java.lang.String idLc, LogbookLifeCycleUnitParameters parameters, boolean commit)
Update logbook LifeCycle entries committed or in progress
-
-
-
Constructor Detail
-
LogbookLifeCyclesImpl
public LogbookLifeCyclesImpl(LogbookDbAccess mongoDbAccess)
Constructor- Parameters:
mongoDbAccess
- of logbook
-
-
Method Detail
-
createUnit
public void createUnit(java.lang.String idOperation, java.lang.String idLc, LogbookLifeCycleUnitParameters parameters) throws LogbookAlreadyExistsException, LogbookDatabaseException, java.lang.IllegalArgumentException
Description copied from interface:LogbookLifeCycles
Create and insert logbook LifeCycle entries- Specified by:
createUnit
in interfaceLogbookLifeCycles
- Parameters:
idOperation
- the operation identifieridLc
- the lifecycle unit identifierparameters
- the logbook lifecycle parameters- Throws:
LogbookAlreadyExistsException
- if an LifeCycle with the same eventIdentifierProcess and outcome="Started" already existsLogbookDatabaseException
- if errors occur while connecting or writing to the databasejava.lang.IllegalArgumentException
-
createObjectGroup
public void createObjectGroup(java.lang.String idOperation, java.lang.String idLc, LogbookLifeCycleObjectGroupParameters parameters) throws LogbookAlreadyExistsException, LogbookDatabaseException, java.lang.IllegalArgumentException
Description copied from interface:LogbookLifeCycles
Create and insert logbook LifeCycle entries- Specified by:
createObjectGroup
in interfaceLogbookLifeCycles
- Parameters:
idOperation
- the operation identifieridLc
- the lifecycle identifierparameters
- the logbook lifecycle parameters- Throws:
LogbookAlreadyExistsException
- if an LifeCycle with the same eventIdentifierProcess and outcome="Started" already existsLogbookDatabaseException
- if errors occur while connecting or writing to the databasejava.lang.IllegalArgumentException
-
updateUnit
public void updateUnit(java.lang.String idOperation, java.lang.String idLc, LogbookLifeCycleUnitParameters parameters) throws LogbookDatabaseException, java.lang.IllegalArgumentException, LogbookNotFoundException, LogbookAlreadyExistsException
Description copied from interface:LogbookLifeCycles
Update logbook LifeCycle entries- Specified by:
updateUnit
in interfaceLogbookLifeCycles
- Parameters:
idOperation
- the operation identifieridLc
- the lifecycle identifierparameters
- the logbook lifecycle parameters- Throws:
LogbookDatabaseException
- if errors occur while connecting or writing to the databaseLogbookNotFoundException
- if no LifeCycle with the same eventIdentifierProcess existsLogbookAlreadyExistsException
- if the entry already existsjava.lang.IllegalArgumentException
-
updateUnit
public void updateUnit(java.lang.String idOperation, java.lang.String idLc, LogbookLifeCycleUnitParameters parameters, boolean commit) throws LogbookNotFoundException, LogbookDatabaseException, LogbookAlreadyExistsException
Description copied from interface:LogbookLifeCycles
Update logbook LifeCycle entries committed or in progress- Specified by:
updateUnit
in interfaceLogbookLifeCycles
- Parameters:
idOperation
- the operation identifieridLc
- the lifecycle identifierparameters
- the logbook lifecycle parameterscommit
- if false update in progress collection else update committed LFC- Throws:
LogbookNotFoundException
- if no LifeCycle with the same eventIdentifierProcess existsLogbookDatabaseException
- if errors occur while connecting or writing to the databaseLogbookAlreadyExistsException
- if the entry already exists
-
updateObjectGroup
public void updateObjectGroup(java.lang.String idOperation, java.lang.String idLc, LogbookLifeCycleObjectGroupParameters parameters) throws LogbookNotFoundException, LogbookDatabaseException, java.lang.IllegalArgumentException, LogbookAlreadyExistsException
Description copied from interface:LogbookLifeCycles
Update logbook LifeCycle entries- Specified by:
updateObjectGroup
in interfaceLogbookLifeCycles
- Parameters:
idOperation
- the operation identifieridLc
- the lifecycle identifierparameters
- the logbook lifecycle parameters- Throws:
LogbookNotFoundException
- if no LifeCycle with the same eventIdentifierProcess existsLogbookDatabaseException
- if errors occur while connecting or writing to the databaseLogbookAlreadyExistsException
- if the entry already existsjava.lang.IllegalArgumentException
-
updateObjectGroup
public void updateObjectGroup(java.lang.String idOperation, java.lang.String idLc, LogbookLifeCycleObjectGroupParameters parameters, boolean commit) throws LogbookNotFoundException, LogbookDatabaseException, java.lang.IllegalArgumentException, LogbookAlreadyExistsException
Description copied from interface:LogbookLifeCycles
Update logbook LifeCycle entries- Specified by:
updateObjectGroup
in interfaceLogbookLifeCycles
- Parameters:
idOperation
- the operation identifieridLc
- the lifecycle identifierparameters
- the logbook lifecycle parameterscommit
- if true update is done on committed collection otherwise on inProcess one- Throws:
LogbookNotFoundException
- if no LifeCycle with the same eventIdentifierProcess existsLogbookDatabaseException
- if errors occur while connecting or writing to the databaseLogbookAlreadyExistsException
- if the entry already existsjava.lang.IllegalArgumentException
-
selectLifeCycleById
public LogbookLifeCycle<?> selectLifeCycleById(java.lang.String lifecycleId, com.fasterxml.jackson.databind.JsonNode queryDsl, boolean sliced, LogbookCollections collection) throws LogbookDatabaseException, LogbookNotFoundException, InvalidParseOperationException, VitamDBException, InvalidCreateOperationException
Description copied from interface:LogbookLifeCycles
Selects life cycle entry- Specified by:
selectLifeCycleById
in interfaceLogbookLifeCycles
- Parameters:
lifecycleId
- the lifecycle idqueryDsl
- the select projection in format of JsonNodesliced
- the boolean sliced filtering events or notcollection
- the collection on which the select operation will be done : Production collection (LIFECYCLE_OBJECT_GROUP/LIFECYCLE_UNIT) or Working collection (LIFECYCLE_OBJECT_GROUP_IN_PROCESS/LIFECYCLE_UNIT_IN_PROCESS)- Returns:
- the logbook LifeCycle
- Throws:
LogbookDatabaseException
- if errors occur while connecting or writing to the databaseLogbookNotFoundException
- if no LifeCycle selected cannot be foundInvalidParseOperationException
- if invalid parse for selecting the LifeCycleVitamDBException
- in case a desynchro is recorded between Mongo and ESInvalidCreateOperationException
-
selectLifeCycles
public java.util.List<LogbookLifeCycle<?>> selectLifeCycles(com.fasterxml.jackson.databind.JsonNode select, boolean sliced, LogbookCollections collection) throws LogbookDatabaseException, LogbookNotFoundException, VitamDBException
Description copied from interface:LogbookLifeCycles
Selects life cycle entries- Specified by:
selectLifeCycles
in interfaceLogbookLifeCycles
- Parameters:
select
- the select request in format of JsonNodesliced
- the boolean sliced filtering events or notcollection
- the collection on which the select operation will be done : Production collection (LIFECYCLE_OBJECT_GROUP/LIFECYCLE_UNIT) or Working collection (LIFECYCLE_OBJECT_GROUP_IN_PROCESS/LIFECYCLE_UNIT_IN_PROCESS)- Returns:
- List of the logbook LifeCycle
- Throws:
LogbookDatabaseException
- if errors occur while connecting or writing to the databaseLogbookNotFoundException
- if no LifeCycle selected cannot be foundVitamDBException
- in case a desynchro is recorded between Mongo and ES
-
rollbackUnit
public void rollbackUnit(java.lang.String idOperation, java.lang.String idLc) throws LogbookNotFoundException, LogbookDatabaseException, java.lang.IllegalArgumentException
Description copied from interface:LogbookLifeCycles
Rollback logbook LifeCycle entries- Specified by:
rollbackUnit
in interfaceLogbookLifeCycles
- Parameters:
idOperation
- the operation identifieridLc
- the lifecycle identifier- Throws:
LogbookNotFoundException
- if no LifeCycle with the same eventIdentifierProcess existsLogbookDatabaseException
- if errors occur while connecting or writing to the databasejava.lang.IllegalArgumentException
-
rollbackObjectGroup
public void rollbackObjectGroup(java.lang.String idOperation, java.lang.String idLc) throws LogbookNotFoundException, LogbookDatabaseException, java.lang.IllegalArgumentException
Description copied from interface:LogbookLifeCycles
Rollback logbook LifeCycle entries- Specified by:
rollbackObjectGroup
in interfaceLogbookLifeCycles
- Parameters:
idOperation
- the operation identifieridLc
- the lifecycle identifier- Throws:
LogbookNotFoundException
- if no LifeCycle with the same eventIdentifierProcess existsLogbookDatabaseException
- if errors occur while connecting or writing to the databasejava.lang.IllegalArgumentException
-
createBulkLogbookLifecycle
public void createBulkLogbookLifecycle(java.lang.String idOp, LogbookLifeCycleParameters[] lifecycleArray) throws LogbookDatabaseException, LogbookAlreadyExistsException
Description copied from interface:LogbookLifeCycles
Create one Logbook Lifecycle with already multiple sub-events- Specified by:
createBulkLogbookLifecycle
in interfaceLogbookLifeCycles
- Parameters:
idOp
- Operation IdlifecycleArray
- with first and next events to add/update- Throws:
LogbookDatabaseException
- if errors occur while connecting or writing to the databaseLogbookAlreadyExistsException
- if LifeCycle already exists
-
updateBulkLogbookLifecycle
public void updateBulkLogbookLifecycle(java.lang.String idOp, LogbookLifeCycleParameters[] lifecycleArray) throws LogbookDatabaseException, LogbookNotFoundException, LogbookAlreadyExistsException
Description copied from interface:LogbookLifeCycles
Update one Logbook Lifecycle with multiple sub-events
It adds this new entry within the very same Logbook Lifecycle entry in "events" array.- Specified by:
updateBulkLogbookLifecycle
in interfaceLogbookLifeCycles
- Parameters:
idOp
- Operation IdlifecycleArray
- containing all Lifecycle Logbook in order- Throws:
LogbookDatabaseException
- if errors occur while connecting or writing to the databaseLogbookNotFoundException
- if LifeCycle cannot be foundLogbookAlreadyExistsException
- if LifeCycle already exists
-
commitUnit
public void commitUnit(java.lang.String idOperation, java.lang.String idLc) throws LogbookDatabaseException, LogbookNotFoundException, LogbookAlreadyExistsException
Description copied from interface:LogbookLifeCycles
Commits Unit lifeCycle- Specified by:
commitUnit
in interfaceLogbookLifeCycles
- Parameters:
idOperation
- the operation identifieridLc
- the lifecycle identifier- Throws:
LogbookDatabaseException
- if errors occur while connecting or writing to the databaseLogbookNotFoundException
- if LifeCycle cannot be foundLogbookAlreadyExistsException
- if LifeCycle already exists
-
commitObjectGroup
public void commitObjectGroup(java.lang.String idOperation, java.lang.String idLc) throws LogbookDatabaseException, LogbookNotFoundException, LogbookAlreadyExistsException
Description copied from interface:LogbookLifeCycles
Commits ObjectGroup lifeCycle- Specified by:
commitObjectGroup
in interfaceLogbookLifeCycles
- Parameters:
idOperation
- the operation identifieridLc
- the lifecycle identifier- Throws:
LogbookDatabaseException
- if errors occur while connecting or writing to the databaseLogbookNotFoundException
- if LifeCycle cannot be foundLogbookAlreadyExistsException
- if LifeCycle already exists
-
rollBackUnitsByOperation
public void rollBackUnitsByOperation(java.lang.String idOperation) throws LogbookNotFoundException, LogbookDatabaseException
Description copied from interface:LogbookLifeCycles
Removes the created unit lifeCycles during a given operation- Specified by:
rollBackUnitsByOperation
in interfaceLogbookLifeCycles
- Parameters:
idOperation
- the operation id- Throws:
LogbookNotFoundException
- if LifeCycle cannot be foundLogbookDatabaseException
- if errors occur while connecting or writing to the database
-
rollBackObjectGroupsByOperation
public void rollBackObjectGroupsByOperation(java.lang.String idOperation) throws LogbookNotFoundException, LogbookDatabaseException
Description copied from interface:LogbookLifeCycles
Removes the created object groups lifeCycles during a given operation- Specified by:
rollBackObjectGroupsByOperation
in interfaceLogbookLifeCycles
- Parameters:
idOperation
- the operation id- Throws:
LogbookNotFoundException
- if LifeCycle cannot be foundLogbookDatabaseException
- if errors occur while connecting or writing to the database
-
getUnitLifeCycleStatus
public LifeCycleStatusCode getUnitLifeCycleStatus(java.lang.String unitId) throws LogbookDatabaseException, LogbookNotFoundException
Description copied from interface:LogbookLifeCycles
Returns the LifeCycle Status for a given unit Id- Specified by:
getUnitLifeCycleStatus
in interfaceLogbookLifeCycles
- Parameters:
unitId
- the unit Id- Returns:
- the lifeCycleStatusCode
- Throws:
LogbookDatabaseException
- if errors occur while connecting or writing to the databaseLogbookNotFoundException
- if LifeCycle cannot be found
-
getObjectGroupLifeCycleStatus
public LifeCycleStatusCode getObjectGroupLifeCycleStatus(java.lang.String objectGroupId) throws LogbookDatabaseException, LogbookNotFoundException
Description copied from interface:LogbookLifeCycles
Returns the LifeCycle Status for a given objectGroup Id- Specified by:
getObjectGroupLifeCycleStatus
in interfaceLogbookLifeCycles
- Parameters:
objectGroupId
- the objectGroup Id- Returns:
- the lifeCycleStatusCode
- Throws:
LogbookDatabaseException
- if errors occur while connecting or writing to the databaseLogbookNotFoundException
- if LifeCycle cannot be found
-
bulk
public void bulk(LogbookCollections collections, java.lang.String idOp, java.util.List<? extends LogbookLifeCycleModel> logbookLifeCycleModels) throws DatabaseException
Description copied from interface:LogbookLifeCycles
Bulk method- Specified by:
bulk
in interfaceLogbookLifeCycles
- Parameters:
collections
- the logbook collectionsidOp
- operation identifierlogbookLifeCycleModels
- lifecycles to be created- Throws:
DatabaseException
- if database could not be reached
-
getRawUnitLifecyclesByLastPersistedDate
public CloseableIterator<com.fasterxml.jackson.databind.JsonNode> getRawUnitLifecyclesByLastPersistedDate(java.lang.String startDate, java.lang.String endDate, int limit)
Description copied from interface:LogbookLifeCycles
Gets a list of raw unit life cycles by request- Specified by:
getRawUnitLifecyclesByLastPersistedDate
in interfaceLogbookLifeCycles
- Parameters:
startDate
- the selection start dateendDate
- the selection end datelimit
- the max limit
-
getRawObjectGroupLifecyclesByLastPersistedDate
public CloseableIterator<com.fasterxml.jackson.databind.JsonNode> getRawObjectGroupLifecyclesByLastPersistedDate(java.lang.String startDate, java.lang.String endDate, int limit)
Description copied from interface:LogbookLifeCycles
Gets a list of raw object group life cycles by request- Specified by:
getRawObjectGroupLifecyclesByLastPersistedDate
in interfaceLogbookLifeCycles
- Parameters:
startDate
- the selection start dateendDate
- the selection end datelimit
- the max limit
-
checkUnitLifecycleEntriesExistenceByLastPersistedDate
public boolean checkUnitLifecycleEntriesExistenceByLastPersistedDate(java.lang.String startDate, java.lang.String endDate)
Description copied from interface:LogbookLifeCycles
Checks existence of new unit life cycles- Specified by:
checkUnitLifecycleEntriesExistenceByLastPersistedDate
in interfaceLogbookLifeCycles
- Parameters:
startDate
- the selection start dateendDate
- the selection end date
-
checkObjectGroupLifecycleEntriesExistenceByLastPersistedDate
public boolean checkObjectGroupLifecycleEntriesExistenceByLastPersistedDate(java.lang.String startDate, java.lang.String endDate)
Description copied from interface:LogbookLifeCycles
Checks existence of new object group life cycles- Specified by:
checkObjectGroupLifecycleEntriesExistenceByLastPersistedDate
in interfaceLogbookLifeCycles
- Parameters:
startDate
- the selection start dateendDate
- the selection end date
-
getRawUnitLifeCycleById
public com.fasterxml.jackson.databind.JsonNode getRawUnitLifeCycleById(java.lang.String id) throws LogbookNotFoundException, InvalidParseOperationException
Description copied from interface:LogbookLifeCycles
returns the raw version of unit life cycle- Specified by:
getRawUnitLifeCycleById
in interfaceLogbookLifeCycles
- Parameters:
id
- the id to retrieve- Returns:
- the unit life cycle
- Throws:
LogbookNotFoundException
InvalidParseOperationException
-
getRawUnitLifeCycleByIds
public java.util.List<com.fasterxml.jackson.databind.JsonNode> getRawUnitLifeCycleByIds(java.util.List<java.lang.String> ids) throws LogbookNotFoundException, InvalidParseOperationException
Description copied from interface:LogbookLifeCycles
returns the raw version of unit life cycle- Specified by:
getRawUnitLifeCycleByIds
in interfaceLogbookLifeCycles
- Parameters:
ids
- the ids to retrieve- Returns:
- the unit life cycle
- Throws:
LogbookNotFoundException
InvalidParseOperationException
-
getRawObjectGroupLifeCycleById
public com.fasterxml.jackson.databind.JsonNode getRawObjectGroupLifeCycleById(java.lang.String id) throws LogbookNotFoundException, InvalidParseOperationException
Description copied from interface:LogbookLifeCycles
returns the raw version of object group life cycle- Specified by:
getRawObjectGroupLifeCycleById
in interfaceLogbookLifeCycles
- Parameters:
id
- the id to retrieve- Returns:
- the object group life cycle
- Throws:
LogbookNotFoundException
InvalidParseOperationException
-
getRawObjectGroupLifeCycleByIds
public java.util.List<com.fasterxml.jackson.databind.JsonNode> getRawObjectGroupLifeCycleByIds(java.util.List<java.lang.String> ids) throws LogbookNotFoundException, InvalidParseOperationException
Description copied from interface:LogbookLifeCycles
returns the raw version of object group life cycle- Specified by:
getRawObjectGroupLifeCycleByIds
in interfaceLogbookLifeCycles
- Parameters:
ids
- the ids to retrieve- Returns:
- the object group life cycle
- Throws:
LogbookNotFoundException
InvalidParseOperationException
-
updateLogbookLifeCycleBulk
public void updateLogbookLifeCycleBulk(LogbookCollections logbookCollections, java.util.List<LogbookLifeCycleParametersBulk> logbookLifeCycleParametersBulk)
Description copied from interface:LogbookLifeCycles
updateLogbookLifeCycleBulk- Specified by:
updateLogbookLifeCycleBulk
in interfaceLogbookLifeCycles
- Parameters:
logbookCollections
- lifecycleUnitInProcesslogbookLifeCycleParametersBulk
- logbookLifeCycleParametersBulk
-
deleteLifeCycleObjectGroups
public void deleteLifeCycleObjectGroups(java.util.List<java.lang.String> objectGroupIds) throws DatabaseException
Description copied from interface:LogbookLifeCycles
delete LifeCycle ObjectGroups- Specified by:
deleteLifeCycleObjectGroups
in interfaceLogbookLifeCycles
- Parameters:
objectGroupIds
- objectGroupIds- Throws:
DatabaseException
- DatabaseException
-
deleteLifeCycleUnits
public void deleteLifeCycleUnits(java.util.List<java.lang.String> unitsIdentifier) throws DatabaseException
Description copied from interface:LogbookLifeCycles
delete LifeCycle Units- Specified by:
deleteLifeCycleUnits
in interfaceLogbookLifeCycles
- Parameters:
unitsIdentifier
- units lfc Identifier- Throws:
DatabaseException
- DatabaseException
-
-