@Test public void traceabilityLfcObjectGroup() throws Exception { VitamThreadUtils.getVitamSession().setTenantId(0); when(mock.post()) .thenReturn(Response.status(Status.OK).entity( new RequestResponseOK<String>().addResult("guid1")).build()); client.traceabilityLfcObjectGroup(); }
@Override public RequestResponseOK traceabilityLfcObjectGroup() throws LogbookClientServerException, InvalidParseOperationException { return traceabilityLFC("/lifecycles/objectgroups/traceability"); }
LogbookOperationsClientRest extends DefaultClient implements LogbookOperationsClient { @Override public RequestResponseOK traceabilityLfcObjectGroup() throws LogbookClientServerException, InvalidParseOperationException { return traceabilityLFC("/lifecycles/objectgroups/traceability"); } }
LogbookOperationsClientRest extends DefaultClient implements LogbookOperationsClient { @Override public RequestResponseOK traceabilityLfcObjectGroup() throws LogbookClientServerException, InvalidParseOperationException { return traceabilityLFC("/lifecycles/objectgroups/traceability"); } LogbookOperationsClientRest(LogbookOperationsClientFactory factory); }
LogbookOperationsClientRest extends DefaultClient implements LogbookOperationsClient { @Override public RequestResponseOK traceabilityLfcObjectGroup() throws LogbookClientServerException, InvalidParseOperationException { return traceabilityLFC("/lifecycles/objectgroups/traceability"); } LogbookOperationsClientRest(LogbookOperationsClientFactory factory); @Override void create(LogbookOperationParameters parameters); @Override void update(LogbookOperationParameters parameters); @Override JsonNode selectOperation(JsonNode select); @Override JsonNode selectOperationSliced(JsonNode select); @Override JsonNode selectOperationById(String processId); @Override void createDelegate(LogbookOperationParameters parameters); @Override void updateDelegate(LogbookOperationParameters parameters); @Override void bulkCreate(String eventIdProc, Iterable<LogbookOperationParameters> queue); @Override void commitCreateDelegate(String eventIdProc); @Override void bulkUpdate(String eventIdProc, Iterable<LogbookOperationParameters> queue); @Override void commitUpdateDelegate(String eventIdProc); @Override RequestResponseOK traceability(); @Override RequestResponseOK traceabilityLfcUnit(); @Override RequestResponseOK traceabilityLfcObjectGroup(); @Override LifecycleTraceabilityStatus checkLifecycleTraceabilityWorkflowStatus(String operationId); @Override JsonNode reindex(IndexParameters indexParam); @Override JsonNode switchIndexes(SwitchIndexParameters switchIndexParam); @Override void traceabilityAudit(int tenant, AuditLogbookOptions options); @Override LogbookCheckResult checkLogbookCoherence(); @Override void close(); }
LogbookOperationsClientRest extends DefaultClient implements LogbookOperationsClient { @Override public RequestResponseOK traceabilityLfcObjectGroup() throws LogbookClientServerException, InvalidParseOperationException { return traceabilityLFC("/lifecycles/objectgroups/traceability"); } LogbookOperationsClientRest(LogbookOperationsClientFactory factory); @Override void create(LogbookOperationParameters parameters); @Override void update(LogbookOperationParameters parameters); @Override JsonNode selectOperation(JsonNode select); @Override JsonNode selectOperationSliced(JsonNode select); @Override JsonNode selectOperationById(String processId); @Override void createDelegate(LogbookOperationParameters parameters); @Override void updateDelegate(LogbookOperationParameters parameters); @Override void bulkCreate(String eventIdProc, Iterable<LogbookOperationParameters> queue); @Override void commitCreateDelegate(String eventIdProc); @Override void bulkUpdate(String eventIdProc, Iterable<LogbookOperationParameters> queue); @Override void commitUpdateDelegate(String eventIdProc); @Override RequestResponseOK traceability(); @Override RequestResponseOK traceabilityLfcUnit(); @Override RequestResponseOK traceabilityLfcObjectGroup(); @Override LifecycleTraceabilityStatus checkLifecycleTraceabilityWorkflowStatus(String operationId); @Override JsonNode reindex(IndexParameters indexParam); @Override JsonNode switchIndexes(SwitchIndexParameters switchIndexParam); @Override void traceabilityAudit(int tenant, AuditLogbookOptions options); @Override LogbookCheckResult checkLogbookCoherence(); @Override void close();  }