use of org.ovirt.engine.core.common.businessentities.storage.ImageStorageDomainMapId in project ovirt-engine by oVirt.
the class RemoveImageCommand method removeImageMapping.
private void removeImageMapping() {
TransactionSupport.executeInNewTransaction(() -> {
imageStorageDomainMapDao.remove(new ImageStorageDomainMapId(getParameters().getImageId(), getParameters().getStorageDomainId()));
imageDao.updateStatusOfImagesByImageGroupId(getRelevantDiskImage().getId(), getRelevantDiskImage().getImageStatus());
return null;
});
}
Aggregations