@Test @RunWithCustomExecutor public void deleteObjects() throws Exception { instance.deleteObjects(ImmutableMap.of("id1", VitamConfiguration.getDefaultStrategy(), "id2", VitamConfiguration.getDefaultStrategy(), "id3", VitamConfiguration.getDefaultStrategy())); verify(storageClient).delete(VitamConfiguration.getDefaultStrategy(), DataCategory.OBJECT, "id1"); verify(storageClient).delete(VitamConfiguration.getDefaultStrategy(), DataCategory.OBJECT, "id2"); verify(storageClient).delete(VitamConfiguration.getDefaultStrategy(), DataCategory.OBJECT, "id3"); }
public void deleteObjects(Map<String,String> objectsGuidsWithStrategies) throws StorageServerClientException { storageDelete(objectsGuidsWithStrategies, DataCategory.OBJECT, Strings.EMPTY); }
PurgeDeleteService { public void deleteObjects(Map<String,String> objectsGuidsWithStrategies) throws StorageServerClientException { storageDelete(objectsGuidsWithStrategies, DataCategory.OBJECT, Strings.EMPTY); } }
PurgeDeleteService { public void deleteObjects(Map<String,String> objectsGuidsWithStrategies) throws StorageServerClientException { storageDelete(objectsGuidsWithStrategies, DataCategory.OBJECT, Strings.EMPTY); } @VisibleForTesting  PurgeDeleteService(StorageClientFactory storageClientFactory,
        MetaDataClientFactory metaDataClientFactory,
        LogbookLifeCyclesClientFactory logbookLifeCyclesClientFactory);  PurgeDeleteService(); }
PurgeDeleteService { public void deleteObjects(Map<String,String> objectsGuidsWithStrategies) throws StorageServerClientException { storageDelete(objectsGuidsWithStrategies, DataCategory.OBJECT, Strings.EMPTY); } @VisibleForTesting  PurgeDeleteService(StorageClientFactory storageClientFactory,
        MetaDataClientFactory metaDataClientFactory,
        LogbookLifeCyclesClientFactory logbookLifeCyclesClientFactory);  PurgeDeleteService(); void deleteObjects(Map<String,String> objectsGuidsWithStrategies); void deleteObjectGroups(Map<String,String> objectGroupsGuidsWithStrategies); void deleteUnits(Map<String,String> unitsGuidsWithStrategies); void detachObjectGroupFromDeleteParentUnits(String objectGroupId,
        Set<String> parentUnitsToRemove); }
PurgeDeleteService { public void deleteObjects(Map<String,String> objectsGuidsWithStrategies) throws StorageServerClientException { storageDelete(objectsGuidsWithStrategies, DataCategory.OBJECT, Strings.EMPTY); } @VisibleForTesting  PurgeDeleteService(StorageClientFactory storageClientFactory,
        MetaDataClientFactory metaDataClientFactory,
        LogbookLifeCyclesClientFactory logbookLifeCyclesClientFactory);  PurgeDeleteService(); void deleteObjects(Map<String,String> objectsGuidsWithStrategies); void deleteObjectGroups(Map<String,String> objectGroupsGuidsWithStrategies); void deleteUnits(Map<String,String> unitsGuidsWithStrategies); void detachObjectGroupFromDeleteParentUnits(String objectGroupId,
        Set<String> parentUnitsToRemove);  }