package org.ovirt.engine.core.bll.storage;

import org.ovirt.engine.core.bll.QueriesCommandBase;
import org.ovirt.engine.core.common.queries.StorageDomainQueryParametersBase;
import org.ovirt.engine.core.dal.dbbroker.DbFacade;

public class GetStorageDomainByIdQuery<P extends StorageDomainQueryParametersBase> extends QueriesCommandBase<P> {
    public GetStorageDomainByIdQuery(P parameters) {
        super(parameters);
    }

    @Override
    protected void executeQueryCommand() {
        getQueryReturnValue().setReturnValue(
                DbFacade.getInstance().getStorageDomainDAO().get(getParameters().getStorageDomainId(),
                        getUserID(),
                        getParameters().isFiltered()));
    }
}

@@ -171,60 +171,8 @@
 ase;
-%0Aimport org.ovirt.engine.core.dal.dbbroker.DbFacade;
 %0A%0Apu
@@ -494,16 +494,19 @@
     
+get
 DbFacade
 .get
@@ -505,20 +505,8 @@
 cade
-.getInstance
 ().g

Clean GetStorageDomainByIdQuery