1 package org.turro.crm.zul.vendor;
3 import java.util.LinkedList;
4 import org.turro.auth.Authentication;
5 import org.turro.crm.db.CrmPU;
6 import org.turro.crm.entity.Vendor;
7 import org.turro.elephant.db.WhereClause;
8 import org.turro.jpa.Dao;
9 import org.turro.zkoss.input.GenericCombobox;
21 wc.
addClause(
"select vendor from Vendor as vendor");
22 wc.
addClause(
"where vendor.idContact = :id");
29 public void populateList(String value, LinkedList list,
int nRows) {
32 wc.
addClause(
"select vendor from Vendor as vendor");
36 list.addAll(dao.getResultList(wc, nRows));
static IContact getIContact()
void populateList(String value, LinkedList list, int nRows)
void setSelectSelf(boolean selectSelf)
String getTextFromObject(Vendor value)
void addClause(String clause)
void addLikeFields(String[] fields, String value)
void addNamedValue(String name, Object value)
Object getSingleResultOrNull(SqlClause sc)