package org.ovirt.engine.core.bll;

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

public class GetTagsByUserIdQuery<P extends GetTagsByUserIdParameters> extends
        QueriesCommandBase<P> {
    public GetTagsByUserIdQuery(P parameters) {
        super(parameters);
    }

    @Override
    protected void executeQueryCommand() {
        VdcQueryParametersBase tempVar = getParameters();
        getQueryReturnValue().setReturnValue(
                DbFacade.getInstance().getTagDAO()
                        .getAllForUsers((getParameters().getUserId())));
    }
}
