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() ));
    }
}

package org.ovirt.engine.core.bll;

import org.ovirt.engine.core.bll.context.EngineContext;
import org.ovirt.engine.core.common.queries.IdQueryParameters;

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

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

    public GetDiskByDiskIdQuery(P parameters, EngineContext context) {
        super(parameters, context);
    }

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

add missing constructor in GetDiskByDiskIdQuery