19 package org.turro.crm.zul.vendor;
21 import java.util.Collection;
22 import java.util.List;
23 import org.turro.crm.db.CrmPU;
24 import org.turro.crm.entity.Vendor;
25 import org.turro.elephant.db.WhereClause;
26 import org.turro.jpa.Dao;
27 import org.turro.plugin.filter.IFilterValue;
38 public Collection<Vendor>
getVendors(List<IFilterValue> values) {
41 return dao.getResultList(wc);
44 private WhereClause createCriteria(List<IFilterValue> values) {
46 wc.
addClause(
"select distinct ven from Vendor as ven");
Collection< Vendor > getVendors(List< IFilterValue > values)
void addClause(String clause)