use of org.ovirt.engine.core.common.businessentities.StoragePoolIsoMapId in project ovirt-engine by oVirt.
the class RemoveStorageDomainCommand method isDomainAttached.
protected boolean isDomainAttached(StorageDomain storageDomain) {
if (storageDomain.getStoragePoolId() == null) {
return false;
}
Guid storageDomainId = storageDomain.getId();
Guid storagePoolId = storageDomain.getStoragePoolId();
return storagePoolIsoMapDao.get(new StoragePoolIsoMapId(storageDomainId, storagePoolId)) != null;
}
Aggregations