class PurgeDeleteService {

    public void deleteUnits(Map<String,String> unitsGuidsWithStrategies)
        throws MetaDataExecutionException,
        MetaDataClientServerException, StorageServerClientException, LogbookClientBadRequestException,
        LogbookClientServerException {

        try (LogbookLifeCyclesClient logbookLifeCyclesClient = logbookLifeCyclesClientFactory.getClient()) {
            logbookLifeCyclesClient.deleteLifecycleUnitsBulk(unitsGuidsWithStrategies.keySet());
        }

        try (MetaDataClient metaDataClient = metaDataClientFactory.getClient()) {
            metaDataClient.deleteUnitsBulk(unitsGuidsWithStrategies.keySet());
        }

        storageDelete(unitsGuidsWithStrategies, DataCategory.UNIT, ".json");
    }

    @VisibleForTesting  PurgeDeleteService(StorageClientFactory storageClientFactory,
        MetaDataClientFactory metaDataClientFactory,
        LogbookLifeCyclesClientFactory logbookLifeCyclesClientFactory);
    public  PurgeDeleteService();

}