@RunWithCustomExecutor @Test public final void testUpdateBulkLogbookOperation() throws Exception { VitamThreadUtils.getVitamSession().setTenantId(0); final TestClass tc = new TestClass(logbookOperationsImpl); tc.updateBulkLogbookOperation(operationArray); verify(mongoDbAccess).updateBulkLogbookOperation(operationArray); }
@Override public void updateBulkLogbookOperation(LogbookOperationParameters[] operationArray) throws LogbookDatabaseException, LogbookNotFoundException { logbookOperations.updateBulkLogbookOperation(operationArray); }
LogbookOperationsDecorator implements LogbookOperations { @Override public void updateBulkLogbookOperation(LogbookOperationParameters[] operationArray) throws LogbookDatabaseException, LogbookNotFoundException { logbookOperations.updateBulkLogbookOperation(operationArray); } }
LogbookOperationsDecorator implements LogbookOperations { @Override public void updateBulkLogbookOperation(LogbookOperationParameters[] operationArray) throws LogbookDatabaseException, LogbookNotFoundException { logbookOperations.updateBulkLogbookOperation(operationArray); } LogbookOperationsDecorator(LogbookOperations logbookOperations); }
LogbookOperationsDecorator implements LogbookOperations { @Override public void updateBulkLogbookOperation(LogbookOperationParameters[] operationArray) throws LogbookDatabaseException, LogbookNotFoundException { logbookOperations.updateBulkLogbookOperation(operationArray); } LogbookOperationsDecorator(LogbookOperations logbookOperations); @Override void create(LogbookOperationParameters parameters); @Override void update(LogbookOperationParameters parameters); @Override List<LogbookOperation> select(JsonNode select); @Override List<LogbookOperation> select(JsonNode select, boolean sliced); @Override LogbookOperation getById(String IdProcess); @Override void createBulkLogbookOperation(LogbookOperationParameters[] operationArray); @Override void updateBulkLogbookOperation(LogbookOperationParameters[] operationArray); @Override MongoCursor<LogbookOperation> selectOperationsByLastPersistenceDateInterval(LocalDateTime startDate,
        LocalDateTime endDate); @Override LogbookOperation findFirstTraceabilityOperationOKAfterDate(LocalDateTime date); @Override LogbookOperation findLastTraceabilityOperationOK(); @Override IndexationResult reindex(IndexParameters indexParameters); @Override void switchIndex(String alias, String newIndexName); }
LogbookOperationsDecorator implements LogbookOperations { @Override public void updateBulkLogbookOperation(LogbookOperationParameters[] operationArray) throws LogbookDatabaseException, LogbookNotFoundException { logbookOperations.updateBulkLogbookOperation(operationArray); } LogbookOperationsDecorator(LogbookOperations logbookOperations); @Override void create(LogbookOperationParameters parameters); @Override void update(LogbookOperationParameters parameters); @Override List<LogbookOperation> select(JsonNode select); @Override List<LogbookOperation> select(JsonNode select, boolean sliced); @Override LogbookOperation getById(String IdProcess); @Override void createBulkLogbookOperation(LogbookOperationParameters[] operationArray); @Override void updateBulkLogbookOperation(LogbookOperationParameters[] operationArray); @Override MongoCursor<LogbookOperation> selectOperationsByLastPersistenceDateInterval(LocalDateTime startDate,
        LocalDateTime endDate); @Override LogbookOperation findFirstTraceabilityOperationOKAfterDate(LocalDateTime date); @Override LogbookOperation findLastTraceabilityOperationOK(); @Override IndexationResult reindex(IndexParameters indexParameters); @Override void switchIndex(String alias, String newIndexName);  }