19 package org.turro.contacts.filter;
21 import java.util.Collection;
22 import java.util.List;
23 import org.turro.contacts.Contact;
24 import org.turro.contacts.db.ContactsPU;
25 import org.turro.elephant.context.Application;
26 import org.turro.elephant.db.WhereClause;
27 import org.turro.jpa.Dao;
28 import org.turro.plugin.filter.IFilterValue;
29 import org.turro.zkoss.filter.Filter;
44 return dao.getResultList(wc, 300);
47 private WhereClause createCriteria(List<IFilterValue> values) {
49 wc.
addClause(
"select distinct con from Contact as con");
55 for(IFilterValue v : values) {
boolean isInRole(String role)
static Application getApplication()
void addClause(String clause)