package org.ovirt.engine.core.bll.storage.disk.cinder; import javax.inject.Inject; import org.ovirt.engine.core.bll.QueriesCommandBase; import org.ovirt.engine.core.common.queries.IdQueryParameters; import org.ovirt.engine.core.dao.LibvirtSecretDao; public class GetAllLibvirtSecretsByProviderIdQuery<P extends IdQueryParameters> extends QueriesCommandBase<P> { @Inject private LibvirtSecretDao libvirtSecretDao; public GetAllLibvirtSecretsByProviderIdQuery(P parameters) { super(parameters); } @Override protected void executeQueryCommand() { setReturnValue(libvirtSecretDao.getAllByProviderId(getParameters().getId())); } }