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

import org.ovirt.engine.core.bll.*;
import org.ovirt.engine.core.common.queries.*;
import org.ovirt.engine.core.dal.dbbroker.*;

public class GetStorageDomainsByStoragePoolIdQuery<P extends StoragePoolQueryParametersBase>
        extends QueriesCommandBase<P> {
    public GetStorageDomainsByStoragePoolIdQuery(P parameters) {
        super(parameters);
    }

    @Override
    protected void executeQueryCommand() {
        getQueryReturnValue().setReturnValue(DbFacade.getInstance().
                getStorageDomainDAO().getAllForStoragePool(getParameters().getStoragePoolId()));
    }
}

@@ -70,17 +70,34 @@
 ore.bll.
-*
+QueriesCommandBase
 ;%0Aimport
@@ -134,17 +134,46 @@
 queries.
-*
+StoragePoolQueryParametersBase
 ;%0Aimport
@@ -212,9 +212,16 @@
 ker.
-*
+DbFacade
 ;%0A%0Ap

Clean GetStorageDomainsByStoragePoolIdQuery