18 package org.turro.erp.aptitude;
20 import java.util.LinkedList;
21 import java.util.List;
22 import javax.persistence.EntityManager;
23 import javax.persistence.Query;
24 import org.turro.elephant.db.SQLHelper;
25 import org.turro.elephant.db.WhereClause;
26 import org.turro.erp.db.ErpPU;
27 import org.turro.erp.entity.Aptitude;
28 import org.turro.zkoss.input.GenericCombobox;
37 public void populateList(String value, LinkedList list,
int nRows) {
43 Query q = em.createQuery(
44 "select apt from Aptitude apt " +
49 q.setMaxResults(nRows);
51 List<Aptitude> l = q.getResultList();
static WhereClause getWhereClause(String[] fields, String value)
void setNamedParameters(Query q)
void populateList(String value, LinkedList list, int nRows)
String getTextFromObject(Aptitude value)
EntityManager getEntityManager()