Search in sources :

Example 1 with StorageConnectionValidator

use of org.ovirt.engine.core.bll.validator.storage.StorageConnectionValidator in project ovirt-engine by oVirt.

the class DetachStorageConnectionFromStorageDomainCommand method createStorageConnectionValidator.

protected StorageConnectionValidator createStorageConnectionValidator() {
    String connectionId = getParameters().getStorageConnectionId();
    StorageServerConnections connection = storageServerConnectionDao.get(connectionId);
    return new StorageConnectionValidator(connection);
}
Also used : StorageServerConnections(org.ovirt.engine.core.common.businessentities.StorageServerConnections) StorageConnectionValidator(org.ovirt.engine.core.bll.validator.storage.StorageConnectionValidator)

Example 2 with StorageConnectionValidator

use of org.ovirt.engine.core.bll.validator.storage.StorageConnectionValidator in project ovirt-engine by oVirt.

the class AttachStorageConnectionToStorageDomainCommand method createStorageConnectionValidator.

protected StorageConnectionValidator createStorageConnectionValidator() {
    String connectionId = getParameters().getStorageConnectionId();
    StorageServerConnections connection = storageServerConnectionDao.get(connectionId);
    return new StorageConnectionValidator(connection);
}
Also used : StorageServerConnections(org.ovirt.engine.core.common.businessentities.StorageServerConnections) StorageConnectionValidator(org.ovirt.engine.core.bll.validator.storage.StorageConnectionValidator)

Aggregations

StorageConnectionValidator (org.ovirt.engine.core.bll.validator.storage.StorageConnectionValidator)2 StorageServerConnections (org.ovirt.engine.core.common.businessentities.StorageServerConnections)2