Interface LogbookLifeCyclesClient
-
- All Superinterfaces:
java.lang.AutoCloseable
,BasicClient
,MockOrRestClient
,VitamAutoCloseable
public interface LogbookLifeCyclesClient extends BasicClient
Logbook client interface
-
-
Field Summary
-
Fields inherited from interface fr.gouv.vitam.common.client.BasicClient
STATUS_URL
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
bulkCreateObjectGroup(java.lang.String objectIdentifier, java.lang.Iterable<LogbookLifeCycleParameters> queue)
Bulk Create for ObjectGroup
To be used ONLY once at top level of process startup (where objectIdentifier is set for the first time).void
bulkCreateUnit(java.lang.String objectIdentifier, java.lang.Iterable<LogbookLifeCycleParameters> queue)
Bulk Create for Unit
To be used ONLY once at top level of process startup (where objectIdentifier is set for the first time).void
bulkLifeCycle(java.lang.String operationId, DistributionType type, java.util.List<LogbookLifeCycleParametersBulk> logbookLifeCycleParametersBulk)
bulkLifeCyclevoid
bulkLifeCycleTemporary(java.lang.String operationId, DistributionType type, java.util.List<LogbookLifeCycleParametersBulk> logbookLifeCycleParametersBulk)
bulkLifeCycleTemporaryvoid
bulkObjectGroup(java.lang.String eventIdProc, java.util.List<LogbookLifeCycleObjectGroupModel> logbookLifeCycleModels)
void
bulkUnit(java.lang.String eventIdProc, java.util.List<LogbookLifeCycleUnitModel> logbookLifeCycleModels)
void
bulkUpdateObjectGroup(java.lang.String objectIdentifier, java.lang.Iterable<? extends LogbookLifeCycleParameters> queue)
Bulk Update for ObjectGroup
To be used everywhere except very first time (when objectIdentifier already used once)void
bulkUpdateUnit(java.lang.String objectIdentifier, java.lang.Iterable<? extends LogbookLifeCycleParameters> queue)
Bulk Update for Unit
To be used everywhere except very first time (when objectIdentifier already used once)void
commit(LogbookLifeCycleParameters parameters)
Commit logbook entry
To be used everywhere except very first time (when eventIdentifierProcess already used once)void
commitObjectGroup(java.lang.String operationId, java.lang.String objectGroupId)
Commit objectGroup lifeCycle
To be used everywhere except very first time (when eventIdentifierProcess already used once)void
commitUnit(java.lang.String operationId, java.lang.String unitId)
Commit unit lifeCycle
To be used everywhere except very first time (when eventIdentifierProcess already used once)void
create(LogbookLifeCycleParameters parameters)
Create logbook entry
To be used ONLY once at top level of process startup (where eventIdentifierProcess is set for the first time).void
createRawbulkObjectgrouplifecycles(java.util.List<com.fasterxml.jackson.databind.JsonNode> logbookLifeCycleRaws)
Create lifecycle objectgroupvoid
createRawbulkUnitlifecycles(java.util.List<com.fasterxml.jackson.databind.JsonNode> logbookLifeCycleRaws)
Create lifecycle unitvoid
deleteLifecycleObjectGroupBulk(java.util.Collection<java.lang.String> listIds)
deleteLifecycleObjectGroupBulkvoid
deleteLifecycleUnitsBulk(java.util.Collection<java.lang.String> listIds)
deleteLifecycleUnitsBulkjava.io.InputStream
exportRawObjectGroupLifecyclesByLastPersistedDate(java.time.LocalDateTime startDate, java.time.LocalDateTime endDate, int maxEntries)
Exports raw object group lifecycles by last persisted date range Warning: If maxEntries limit reached, lifecycles with exact same last persisted date will also be exported.java.io.InputStream
exportRawUnitLifecyclesByLastPersistedDate(java.time.LocalDateTime startDate, java.time.LocalDateTime endDate, int maxEntries)
Exports raw unit lifecycles by last persisted date range.LifeCycleStatusCode
getObjectGroupLifeCycleStatus(java.lang.String objectGroupId)
Gets the object group lifeCycle status (COMMITTED or IN_PROCESS)com.fasterxml.jackson.databind.JsonNode
getRawObjectGroupLifeCycleById(java.lang.String id)
returns the raw object group life cyclejava.util.List<com.fasterxml.jackson.databind.JsonNode>
getRawObjectGroupLifeCycleByIds(java.util.List<java.lang.String> ids)
returns the raw object group life cyclecom.fasterxml.jackson.databind.JsonNode
getRawUnitLifeCycleById(java.lang.String id)
returns the raw unit life cyclejava.util.List<com.fasterxml.jackson.databind.JsonNode>
getRawUnitLifeCycleByIds(java.util.List<java.lang.String> ids)
returns the raw unit life cyclesLifeCycleStatusCode
getUnitLifeCycleStatus(java.lang.String unitId)
Gets the unit lifeCycle status (COMMITTED or IN_PROCESS)CloseableIterator<com.fasterxml.jackson.databind.JsonNode>
objectGroupLifeCyclesByOperationIterator(java.lang.String operationId, LifeCycleStatusCode lifeCycleStatus, com.fasterxml.jackson.databind.JsonNode query)
void
rollback(LogbookLifeCycleParameters parameters)
Rollback logbook entry
To be used everywhere except very first time (when eventIdentifierProcess already used once)void
rollBackObjectGroupsByOperation(java.lang.String operationId)
Remove created object group lifeCycles during the given operationvoid
rollBackUnitsByOperation(java.lang.String operationId)
Remove created unit lifeCycles during the given operationcom.fasterxml.jackson.databind.JsonNode
selectObjectGroupLifeCycle(com.fasterxml.jackson.databind.JsonNode queryDsl)
returns the object group life cyclescom.fasterxml.jackson.databind.JsonNode
selectObjectGroupLifeCycle(com.fasterxml.jackson.databind.JsonNode queryDsl, LifeCycleStatusCode lifeCycleStatus)
com.fasterxml.jackson.databind.JsonNode
selectObjectGroupLifeCycleById(java.lang.String id, com.fasterxml.jackson.databind.JsonNode queryDsl)
returns the object group life cyclecom.fasterxml.jackson.databind.JsonNode
selectObjectGroupLifeCycleById(java.lang.String id, com.fasterxml.jackson.databind.JsonNode queryDsl, LifeCycleStatusCode lifeCycleStatus)
returns the object group life cyclecom.fasterxml.jackson.databind.JsonNode
selectUnitLifeCycle(com.fasterxml.jackson.databind.JsonNode queryDsl)
returns the unit life cyclecom.fasterxml.jackson.databind.JsonNode
selectUnitLifeCycleById(java.lang.String id, com.fasterxml.jackson.databind.JsonNode queryDsl)
returns the unit life cyclecom.fasterxml.jackson.databind.JsonNode
selectUnitLifeCycleById(java.lang.String id, com.fasterxml.jackson.databind.JsonNode queryDsl, LifeCycleStatusCode lifeCycleStatus)
returns the unit life cycle in progressCloseableIterator<com.fasterxml.jackson.databind.JsonNode>
unitLifeCyclesByOperationIterator(java.lang.String operationId, LifeCycleStatusCode lifeCycleStatus, com.fasterxml.jackson.databind.JsonNode query)
void
update(LogbookLifeCycleParameters parameters)
Update logbook entry
To be used everywhere except very first time (when eventIdentifierProcess already used once)void
update(LogbookLifeCycleParameters parameters, LifeCycleStatusCode lifeCycleStatusCode)
Update logbook entry
To be used everywhere except very first time (when eventIdentifierProcess already used once)-
Methods inherited from interface fr.gouv.vitam.common.client.MockOrRestClient
checkStatus, checkStatus, close, consumeAnyEntityAndClose, getResourcePath, getServiceUrl
-
-
-
-
Method Detail
-
create
void create(LogbookLifeCycleParameters parameters) throws LogbookClientBadRequestException, LogbookClientAlreadyExistsException, LogbookClientServerException
Create logbook entry
To be used ONLY once at top level of process startup (where eventIdentifierProcess is set for the first time).- Parameters:
parameters
- the entry parameters- Throws:
LogbookClientBadRequestException
- if the argument is incorrectLogbookClientAlreadyExistsException
- if the element already existsLogbookClientServerException
- if the Server got an internal errorjava.lang.IllegalArgumentException
- if some mandatories parameters are empty or nullLogbookClientException
- if client received an error from server
-
update
void update(LogbookLifeCycleParameters parameters) throws LogbookClientBadRequestException, LogbookClientNotFoundException, LogbookClientServerException
Update logbook entry
To be used everywhere except very first time (when eventIdentifierProcess already used once)- Parameters:
parameters
- the entry parameters- Throws:
LogbookClientBadRequestException
- if the argument is incorrectLogbookClientNotFoundException
- if the element was not created beforeLogbookClientServerException
- if the Server got an internal errorjava.lang.IllegalArgumentException
- if some mandatories parameters are empty or null
-
update
void update(LogbookLifeCycleParameters parameters, LifeCycleStatusCode lifeCycleStatusCode) throws LogbookClientBadRequestException, LogbookClientNotFoundException, LogbookClientServerException
Update logbook entry
To be used everywhere except very first time (when eventIdentifierProcess already used once)- Parameters:
parameters
- the entry parameterslifeCycleStatusCode
- the lifeCycle status- Throws:
LogbookClientBadRequestException
- if the argument is incorrectLogbookClientNotFoundException
- if the element was not created beforeLogbookClientServerException
- if the Server got an internal errorjava.lang.IllegalArgumentException
- if some mandatories parameters are empty or null
-
commit
void commit(LogbookLifeCycleParameters parameters) throws LogbookClientBadRequestException, LogbookClientNotFoundException, LogbookClientServerException
Commit logbook entry
To be used everywhere except very first time (when eventIdentifierProcess already used once)- Parameters:
parameters
- the entry parameters- Throws:
LogbookClientBadRequestException
- if the argument is incorrectLogbookClientNotFoundException
- if the element was not created beforeLogbookClientServerException
- if the Server got an internal errorjava.lang.IllegalArgumentException
- if some mandatories parameters are empty or null
-
rollback
void rollback(LogbookLifeCycleParameters parameters) throws LogbookClientBadRequestException, LogbookClientNotFoundException, LogbookClientServerException
Rollback logbook entry
To be used everywhere except very first time (when eventIdentifierProcess already used once)- Parameters:
parameters
- the entry parameters- Throws:
LogbookClientBadRequestException
- if the argument is incorrectLogbookClientNotFoundException
- if the element was not created beforeLogbookClientServerException
- if the Server got an internal errorjava.lang.IllegalArgumentException
- if some mandatories parameters are empty or null
-
selectUnitLifeCycleById
com.fasterxml.jackson.databind.JsonNode selectUnitLifeCycleById(java.lang.String id, com.fasterxml.jackson.databind.JsonNode queryDsl) throws LogbookClientException, InvalidParseOperationException
returns the unit life cycle- Parameters:
id
- unit life cycle idqueryDsl
- dsl query to be executed- Returns:
- the unit life cycle
- Throws:
LogbookClientException
InvalidParseOperationException
-
selectUnitLifeCycleById
com.fasterxml.jackson.databind.JsonNode selectUnitLifeCycleById(java.lang.String id, com.fasterxml.jackson.databind.JsonNode queryDsl, LifeCycleStatusCode lifeCycleStatus) throws LogbookClientException, InvalidParseOperationException
returns the unit life cycle in progress- Parameters:
id
- unit life cycle idqueryDsl
- dsl query to be executedlifeCycleStatus
- the lifecycle status- Returns:
- the unit life cycle
- Throws:
LogbookClientException
InvalidParseOperationException
-
selectUnitLifeCycle
com.fasterxml.jackson.databind.JsonNode selectUnitLifeCycle(com.fasterxml.jackson.databind.JsonNode queryDsl) throws LogbookClientException, InvalidParseOperationException
returns the unit life cycle- Parameters:
queryDsl
- dsl query containing the id- Returns:
- the unit life cycle
- Throws:
LogbookClientException
InvalidParseOperationException
-
exportRawUnitLifecyclesByLastPersistedDate
java.io.InputStream exportRawUnitLifecyclesByLastPersistedDate(java.time.LocalDateTime startDate, java.time.LocalDateTime endDate, int maxEntries) throws LogbookClientException, InvalidParseOperationException, java.io.IOException
Exports raw unit lifecycles by last persisted date range. Warning: If maxEntries limit reached, lifecycles with exact same last persisted date will also be exported. i.e. Max entries is a "soft limit" that can be exceeded if needed. e.g. Setting a 100_000 max limit, can yield 100_045 entries if last 46 lifecycles have the exact same last persistence date.- Parameters:
startDate
- the selection start dateendDate
- the selection end datemaxEntries
- max entries to export (soft limit)- Returns:
- json line stream of raw life cycles
- Throws:
LogbookClientException
InvalidParseOperationException
java.io.IOException
-
exportRawObjectGroupLifecyclesByLastPersistedDate
java.io.InputStream exportRawObjectGroupLifecyclesByLastPersistedDate(java.time.LocalDateTime startDate, java.time.LocalDateTime endDate, int maxEntries) throws LogbookClientException, InvalidParseOperationException, java.io.IOException
Exports raw object group lifecycles by last persisted date range Warning: If maxEntries limit reached, lifecycles with exact same last persisted date will also be exported. i.e. Max entries is a "soft limit" that can be exceeded if needed. e.g. Setting a 100_000 max limit, can yield a 100_045 entries if last 46 lifecycles have the exact same last persistence date.- Parameters:
startDate
- the selection start dateendDate
- the selection end datemaxEntries
- max entries to export (soft limit)- Returns:
- json line stream of raw life cycles
- Throws:
LogbookClientException
InvalidParseOperationException
java.io.IOException
-
selectObjectGroupLifeCycleById
com.fasterxml.jackson.databind.JsonNode selectObjectGroupLifeCycleById(java.lang.String id, com.fasterxml.jackson.databind.JsonNode queryDsl) throws LogbookClientException, InvalidParseOperationException
returns the object group life cycle- Parameters:
id
- the object group life cycle idqueryDsl
- dsl query to be executed- Returns:
- the object group life cycle
- Throws:
LogbookClientException
InvalidParseOperationException
-
selectObjectGroupLifeCycleById
com.fasterxml.jackson.databind.JsonNode selectObjectGroupLifeCycleById(java.lang.String id, com.fasterxml.jackson.databind.JsonNode queryDsl, LifeCycleStatusCode lifeCycleStatus) throws LogbookClientException, InvalidParseOperationException
returns the object group life cycle- Parameters:
id
- the object group life cycle idqueryDsl
- dsl query to be executedlifeCycleStatus
- the lifecycle status- Returns:
- the object group life cycle
- Throws:
LogbookClientException
InvalidParseOperationException
-
selectObjectGroupLifeCycle
com.fasterxml.jackson.databind.JsonNode selectObjectGroupLifeCycle(com.fasterxml.jackson.databind.JsonNode queryDsl) throws LogbookClientException, InvalidParseOperationException
returns the object group life cycles- Parameters:
queryDsl
- dsl query to be executed- Returns:
- the object group life cycles
- Throws:
LogbookClientException
InvalidParseOperationException
-
selectObjectGroupLifeCycle
com.fasterxml.jackson.databind.JsonNode selectObjectGroupLifeCycle(com.fasterxml.jackson.databind.JsonNode queryDsl, LifeCycleStatusCode lifeCycleStatus) throws LogbookClientException, InvalidParseOperationException
-
objectGroupLifeCyclesByOperationIterator
CloseableIterator<com.fasterxml.jackson.databind.JsonNode> objectGroupLifeCyclesByOperationIterator(java.lang.String operationId, LifeCycleStatusCode lifeCycleStatus, com.fasterxml.jackson.databind.JsonNode query) throws LogbookClientException
- Throws:
LogbookClientException
-
unitLifeCyclesByOperationIterator
CloseableIterator<com.fasterxml.jackson.databind.JsonNode> unitLifeCyclesByOperationIterator(java.lang.String operationId, LifeCycleStatusCode lifeCycleStatus, com.fasterxml.jackson.databind.JsonNode query) throws LogbookClientException
- Throws:
LogbookClientException
-
bulkCreateUnit
void bulkCreateUnit(java.lang.String objectIdentifier, java.lang.Iterable<LogbookLifeCycleParameters> queue) throws LogbookClientBadRequestException, LogbookClientAlreadyExistsException, LogbookClientServerException
Bulk Create for Unit
To be used ONLY once at top level of process startup (where objectIdentifier is set for the first time).- Parameters:
objectIdentifier
- object Identifierqueue
- queue of LogbookLifeCycleParameters to create- Throws:
LogbookClientBadRequestException
- if the argument is incorrectLogbookClientAlreadyExistsException
- if the element already existsLogbookClientServerException
- if the Server got an internal errorjava.lang.IllegalArgumentException
- if some mandatories parameters are empty or null
-
bulkUpdateUnit
void bulkUpdateUnit(java.lang.String objectIdentifier, java.lang.Iterable<? extends LogbookLifeCycleParameters> queue) throws LogbookClientNotFoundException, LogbookClientBadRequestException, LogbookClientServerException
Bulk Update for Unit
To be used everywhere except very first time (when objectIdentifier already used once)- Parameters:
objectIdentifier
- object Identifierqueue
- queue of LogbookLifeCycleParameters to update- Throws:
LogbookClientBadRequestException
- if the argument is incorrectLogbookClientNotFoundException
- if the element was not created beforeLogbookClientServerException
- if the Server got an internal errorjava.lang.IllegalArgumentException
- if some mandatories parameters are empty or null
-
bulkCreateObjectGroup
void bulkCreateObjectGroup(java.lang.String objectIdentifier, java.lang.Iterable<LogbookLifeCycleParameters> queue) throws LogbookClientBadRequestException, LogbookClientAlreadyExistsException, LogbookClientServerException
Bulk Create for ObjectGroup
To be used ONLY once at top level of process startup (where objectIdentifier is set for the first time).- Parameters:
objectIdentifier
- object Identifierqueue
- queue of LogbookLifeCycleParameters to create- Throws:
LogbookClientBadRequestException
- if the argument is incorrectLogbookClientAlreadyExistsException
- if the element already existsLogbookClientServerException
- if the Server got an internal errorjava.lang.IllegalArgumentException
- if some mandatories parameters are empty or null
-
bulkUpdateObjectGroup
void bulkUpdateObjectGroup(java.lang.String objectIdentifier, java.lang.Iterable<? extends LogbookLifeCycleParameters> queue) throws LogbookClientNotFoundException, LogbookClientBadRequestException, LogbookClientServerException
Bulk Update for ObjectGroup
To be used everywhere except very first time (when objectIdentifier already used once)- Parameters:
objectIdentifier
- object Identifierqueue
- queue of LogbookLifeCycleParameters to update- Throws:
LogbookClientBadRequestException
- if the argument is incorrectLogbookClientNotFoundException
- if the element was not created beforeLogbookClientServerException
- if the Server got an internal errorjava.lang.IllegalArgumentException
- if some mandatories parameters are empty or null
-
commitUnit
void commitUnit(java.lang.String operationId, java.lang.String unitId) throws LogbookClientBadRequestException, LogbookClientNotFoundException, LogbookClientServerException
Commit unit lifeCycle
To be used everywhere except very first time (when eventIdentifierProcess already used once)- Parameters:
operationId
- the operation idunitId
- the unit id- Throws:
LogbookClientBadRequestException
- if the argument is incorrectLogbookClientNotFoundException
- if the element was not created beforeLogbookClientServerException
- if the Server got an internal errorjava.lang.IllegalArgumentException
- if some mandatories parameters are empty or null
-
commitObjectGroup
void commitObjectGroup(java.lang.String operationId, java.lang.String objectGroupId) throws LogbookClientBadRequestException, LogbookClientNotFoundException, LogbookClientServerException
Commit objectGroup lifeCycle
To be used everywhere except very first time (when eventIdentifierProcess already used once)- Parameters:
operationId
- the operation idobjectGroupId
- the object group id- Throws:
LogbookClientBadRequestException
- if the argument is incorrectLogbookClientNotFoundException
- if the element was not created beforeLogbookClientServerException
- if the Server got an internal errorjava.lang.IllegalArgumentException
- if some mandatories parameters are empty or null
-
rollBackUnitsByOperation
void rollBackUnitsByOperation(java.lang.String operationId) throws LogbookClientNotFoundException, LogbookClientBadRequestException, LogbookClientServerException
Remove created unit lifeCycles during the given operation- Parameters:
operationId
- the operation id- Throws:
LogbookClientNotFoundException
- if the element was not created beforeLogbookClientBadRequestException
- if the argument is incorrectLogbookClientServerException
- if the server got an internal error
-
rollBackObjectGroupsByOperation
void rollBackObjectGroupsByOperation(java.lang.String operationId) throws LogbookClientNotFoundException, LogbookClientBadRequestException, LogbookClientServerException
Remove created object group lifeCycles during the given operation- Parameters:
operationId
- the operation id- Throws:
LogbookClientNotFoundException
- if the element was not created beforeLogbookClientBadRequestException
- if the argument is incorrectLogbookClientServerException
- if the server got an internal error
-
getUnitLifeCycleStatus
LifeCycleStatusCode getUnitLifeCycleStatus(java.lang.String unitId) throws LogbookClientNotFoundException, LogbookClientServerException
Gets the unit lifeCycle status (COMMITTED or IN_PROCESS)- Parameters:
unitId
- the unit id- Returns:
- the unit lifeCycle status (COMMITTED or IN_PROCESS)
- Throws:
LogbookClientNotFoundException
- if the element was not created beforeLogbookClientServerException
- if the server got an internal error
-
getObjectGroupLifeCycleStatus
LifeCycleStatusCode getObjectGroupLifeCycleStatus(java.lang.String objectGroupId) throws LogbookClientNotFoundException, LogbookClientServerException
Gets the object group lifeCycle status (COMMITTED or IN_PROCESS)- Parameters:
objectGroupId
- the object group id- Returns:
- the object group lifeCycle status (COMMITTED or IN_PROCESS)
- Throws:
LogbookClientNotFoundException
- if the element was not created beforeLogbookClientServerException
- if the server got an internal error
-
bulkObjectGroup
void bulkObjectGroup(java.lang.String eventIdProc, java.util.List<LogbookLifeCycleObjectGroupModel> logbookLifeCycleModels) throws LogbookClientAlreadyExistsException, LogbookClientBadRequestException, LogbookClientServerException
-
bulkUnit
void bulkUnit(java.lang.String eventIdProc, java.util.List<LogbookLifeCycleUnitModel> logbookLifeCycleModels) throws LogbookClientAlreadyExistsException, LogbookClientBadRequestException, LogbookClientServerException
-
getRawUnitLifeCycleById
com.fasterxml.jackson.databind.JsonNode getRawUnitLifeCycleById(java.lang.String id) throws LogbookClientException, InvalidParseOperationException
returns the raw unit life cycle- Parameters:
id
- the id to retrieve- Returns:
- the unit life cycle
- Throws:
LogbookClientException
InvalidParseOperationException
-
getRawUnitLifeCycleByIds
java.util.List<com.fasterxml.jackson.databind.JsonNode> getRawUnitLifeCycleByIds(java.util.List<java.lang.String> ids) throws LogbookClientException
returns the raw unit life cycles- Parameters:
ids
- the id to retrieve- Returns:
- the unit life cycle
- Throws:
LogbookClientException
InvalidParseOperationException
-
getRawObjectGroupLifeCycleById
com.fasterxml.jackson.databind.JsonNode getRawObjectGroupLifeCycleById(java.lang.String id) throws LogbookClientException, InvalidParseOperationException
returns the raw object group life cycle- Parameters:
id
- the id to retrieve- Returns:
- the object group life cycle
- Throws:
LogbookClientException
InvalidParseOperationException
-
getRawObjectGroupLifeCycleByIds
java.util.List<com.fasterxml.jackson.databind.JsonNode> getRawObjectGroupLifeCycleByIds(java.util.List<java.lang.String> ids) throws LogbookClientException
returns the raw object group life cycle- Parameters:
ids
- the id to retrieve- Returns:
- the object group life cycle
- Throws:
LogbookClientException
InvalidParseOperationException
-
createRawbulkObjectgrouplifecycles
void createRawbulkObjectgrouplifecycles(java.util.List<com.fasterxml.jackson.databind.JsonNode> logbookLifeCycleRaws) throws LogbookClientBadRequestException, LogbookClientServerException
Create lifecycle objectgroup- Parameters:
logbookLifeCycleRaws
- list of lifecycle objectgroup as jsons- Throws:
LogbookClientBadRequestException
- LogbookClientBadRequestExceptionLogbookClientServerException
- LogbookClientServerException
-
createRawbulkUnitlifecycles
void createRawbulkUnitlifecycles(java.util.List<com.fasterxml.jackson.databind.JsonNode> logbookLifeCycleRaws) throws LogbookClientBadRequestException, LogbookClientServerException
Create lifecycle unit- Parameters:
logbookLifeCycleRaws
- list of lifecycle unit as jsons- Throws:
LogbookClientBadRequestException
- LogbookClientBadRequestExceptionLogbookClientServerException
- LogbookClientServerException
-
deleteLifecycleUnitsBulk
void deleteLifecycleUnitsBulk(java.util.Collection<java.lang.String> listIds) throws LogbookClientBadRequestException, LogbookClientServerException
deleteLifecycleUnitsBulk- Parameters:
listIds
- unit lfc ids- Throws:
LogbookClientBadRequestException
- LogbookClientBadRequestExceptionLogbookClientServerException
- LogbookClientServerException
-
deleteLifecycleObjectGroupBulk
void deleteLifecycleObjectGroupBulk(java.util.Collection<java.lang.String> listIds) throws LogbookClientBadRequestException, LogbookClientServerException
deleteLifecycleObjectGroupBulk- Parameters:
listIds
- object group lfc ids- Throws:
LogbookClientBadRequestException
- LogbookClientBadRequestExceptionLogbookClientServerException
- LogbookClientServerException
-
bulkLifeCycleTemporary
void bulkLifeCycleTemporary(java.lang.String operationId, DistributionType type, java.util.List<LogbookLifeCycleParametersBulk> logbookLifeCycleParametersBulk) throws VitamClientInternalException
bulkLifeCycleTemporary- Parameters:
operationId
- operationIdtype
- typelogbookLifeCycleParametersBulk
- logbookLifeCycleParametersBulk- Throws:
VitamClientInternalException
- VitamClientInternalException
-
bulkLifeCycle
void bulkLifeCycle(java.lang.String operationId, DistributionType type, java.util.List<LogbookLifeCycleParametersBulk> logbookLifeCycleParametersBulk) throws VitamClientInternalException
bulkLifeCycle- Parameters:
operationId
- operationIdtype
- typelogbookLifeCycleParametersBulk
- logbookLifeCycleParametersBulk- Throws:
VitamClientInternalException
- VitamClientInternalException
-
-