package org.ovirt.engine.core.bll;

import org.ovirt.engine.core.common.queries.IdQueryParameters;

public class GetDiskByDiskIdQuery <P extends IdQueryParameters> extends QueriesCommandBase<P> {

    public GetDiskByDiskIdQuery(P parameters) {
        super(parameters);
    }

    @Override
    protected void executeQueryCommand() {
        getQueryReturnValue().setReturnValue(getDbFacade().getDiskDao().get(getParameters().getId(), getUserID(), getParameters().isFiltered() ));
    }
}

@@ -29,16 +29,72 @@
 e.bll;%0A%0A
+import org.ovirt.engine.core.bll.context.EngineContext;%0A
 import o
@@ -328,16 +328,130 @@
 %0A    %7D%0A%0A
+    public GetDiskByDiskIdQuery(P parameters, EngineContext context) %7B%0A        super(parameters, context);%0A    %7D%0A%0A
     @Ove

add missing constructor in GetDiskByDiskIdQuery