public interface LogbookOperationsClient extends BasicClient
STATUS_URL| Modifier and Type | Method and Description |
|---|---|
void |
bulkCreate(String eventIdProc,
Iterable<LogbookOperationParameters> queue)
Bulk Create
To be used ONLY once at top level of process startup (where eventIdentifierProcess is set for the first time). |
void |
bulkUpdate(String eventIdProc,
Iterable<LogbookOperationParameters> queue)
Bulk Update
To be used everywhere except very first time (when eventIdentifierProcess already used once) |
javax.ws.rs.core.Response |
checkLogbookCoherence()
checkLogbookCoherence
|
void |
commitCreateDelegate(String eventIdProc)
Finalize logbook entry using delegation
To be used ONLY once at top level of process startup (where eventIdentifierProcess is set for the first time). |
void |
commitUpdateDelegate(String eventIdProc)
Finalize logbook entry using delegation
To be used everywhere except very first time (when eventIdentifierProcess already used once) |
void |
create(LogbookOperationParameters parameters)
Create logbook entry
To be used ONLY once at top level of process startup (where eventIdentifierProcess is set for the first time). |
void |
createDelegate(LogbookOperationParameters parameters)
Create logbook entry using delegation
To be used ONLY once at top level of process startup (where eventIdentifierProcess is set for the first time). |
com.fasterxml.jackson.databind.JsonNode |
reindex(IndexParameters indexParam)
Reindex a collection with parameters
|
com.fasterxml.jackson.databind.JsonNode |
selectOperation(com.fasterxml.jackson.databind.JsonNode select) |
com.fasterxml.jackson.databind.JsonNode |
selectOperationById(String id,
com.fasterxml.jackson.databind.JsonNode queryDsl) |
com.fasterxml.jackson.databind.JsonNode |
switchIndexes(SwitchIndexParameters switchIndexParam)
Switch indexes
|
RequestResponseOK |
traceability()
Call traceability logbook operation
|
void |
traceabilityAudit(int tenant,
AuditLogbookOptions options) |
RequestResponseOK |
traceabilityLFC()
Call traceability logbook lifecycles
|
void |
update(LogbookOperationParameters parameters)
Update logbook entry
To be used everywhere except very first time (when eventIdentifierProcess already used once) |
void |
updateDelegate(LogbookOperationParameters parameters)
Update logbook entry using delegation
To be used everywhere except very first time (when eventIdentifierProcess already used once) |
checkStatus, checkStatus, close, consumeAnyEntityAndClose, getResourcePath, getServiceUrlvoid create(LogbookOperationParameters parameters) throws LogbookClientBadRequestException, LogbookClientAlreadyExistsException, LogbookClientServerException
parameters - the entry parametersLogbookClientBadRequestException - if the argument is incorrectLogbookClientAlreadyExistsException - if the element already existsLogbookClientServerException - if the Server got an internal errorIllegalArgumentException - if some mandatories parameters are empty or nullLogbookClientException - if client received an error from servervoid update(LogbookOperationParameters parameters) throws LogbookClientBadRequestException, LogbookClientNotFoundException, LogbookClientServerException
parameters - the entry parametersLogbookClientBadRequestException - if the argument is incorrectLogbookClientNotFoundException - if the element was not created beforeLogbookClientServerException - if the Server got an internal errorIllegalArgumentException - if some mandatories parameters are empty or nullcom.fasterxml.jackson.databind.JsonNode selectOperation(com.fasterxml.jackson.databind.JsonNode select)
throws LogbookClientException,
InvalidParseOperationException
select - LogbookClientExceptionInvalidParseOperationExceptioncom.fasterxml.jackson.databind.JsonNode selectOperationById(String id, com.fasterxml.jackson.databind.JsonNode queryDsl) throws LogbookClientException, InvalidParseOperationException
id - queryDsl - LogbookClientExceptionInvalidParseOperationExceptionvoid createDelegate(LogbookOperationParameters parameters) throws LogbookClientAlreadyExistsException
parameters - the entry parameters (can be reused and modified after without impacting the one created)LogbookClientAlreadyExistsException - if the element already existsIllegalArgumentException - if some mandatories parameters are empty or nullvoid updateDelegate(LogbookOperationParameters parameters) throws LogbookClientNotFoundException
parameters - the entry parameters (can be reused and modified after without impacting the one updated)LogbookClientNotFoundException - if the element does not yet exists (createDeletage not called before)IllegalArgumentException - if some mandatories parameters are empty or nullvoid bulkCreate(String eventIdProc, Iterable<LogbookOperationParameters> queue) throws LogbookClientBadRequestException, LogbookClientAlreadyExistsException, LogbookClientServerException
eventIdProc - event Process Identifierqueue - queue of LogbookOperationParameters to createLogbookClientBadRequestException - if the argument is incorrectLogbookClientAlreadyExistsException - if the element already existsLogbookClientServerException - if the Server got an internal errorIllegalArgumentException - if some mandatories parameters are empty or nullvoid bulkUpdate(String eventIdProc, Iterable<LogbookOperationParameters> queue) throws LogbookClientNotFoundException, LogbookClientBadRequestException, LogbookClientServerException
eventIdProc - event Process Identifierqueue - queue of LogbookOperationParameters to updateLogbookClientBadRequestException - if the argument is incorrectLogbookClientNotFoundException - if the element was not created beforeLogbookClientServerException - if the Server got an internal errorIllegalArgumentException - if some mandatories parameters are empty or nullvoid commitCreateDelegate(String eventIdProc) throws LogbookClientBadRequestException, LogbookClientAlreadyExistsException, LogbookClientServerException
eventIdProc - event Process IdentifierLogbookClientBadRequestException - if the argument is incorrectLogbookClientAlreadyExistsException - if the element already existsLogbookClientServerException - if the Server got an internal errorIllegalArgumentException - if some mandatories parameters are empty or nullvoid commitUpdateDelegate(String eventIdProc) throws LogbookClientBadRequestException, LogbookClientNotFoundException, LogbookClientServerException
eventIdProc - event Process IdentifierLogbookClientBadRequestException - if the argument is incorrectLogbookClientNotFoundException - if the element was not created beforeLogbookClientServerException - if the Server got an internal errorIllegalArgumentException - if some mandatories parameters are empty or nullRequestResponseOK traceability() throws LogbookClientServerException, InvalidParseOperationException
LogbookClientServerExceptionInvalidParseOperationExceptionRequestResponseOK traceabilityLFC() throws LogbookClientServerException, InvalidParseOperationException
LogbookClientServerExceptionInvalidParseOperationExceptioncom.fasterxml.jackson.databind.JsonNode reindex(IndexParameters indexParam) throws InvalidParseOperationException, LogbookClientServerException
indexParam - reindexation parametersLogbookClientServerExceptionInvalidParseOperationExceptioncom.fasterxml.jackson.databind.JsonNode switchIndexes(SwitchIndexParameters switchIndexParam) throws InvalidParseOperationException, LogbookClientServerException
switchIndexParam - switch index parametersLogbookClientServerExceptionInvalidParseOperationExceptionvoid traceabilityAudit(int tenant,
AuditLogbookOptions options)
throws LogbookClientServerException
LogbookClientServerExceptionjavax.ws.rs.core.Response checkLogbookCoherence()
throws VitamException
VitamExceptionCopyright © 2018 Vitam. All rights reserved.