19 package org.turro.occurrence;
21 import java.util.List;
22 import org.turro.contacts.BusinessRelation;
23 import org.turro.contacts.db.ContactsPU;
24 import org.turro.elephant.db.WhereClause;
25 import org.turro.i18n.I_;
26 import org.turro.jpa.Dao;
27 import org.turro.jpa.DaoTransaction;
37 return I_.
get(
"Relations");
43 wc.
addClause(
"select distinct t.description from BusinessRelation t");
46 return getDao().getResultList(String.class, wc);
53 e.setDescription(
null);
54 transaction.saveObject(e);
62 wc.
addClause(
"select t from BusinessRelation t");
63 wc.
addClause(
"where t.description = :value");
void setPrefix(String prefix)
void addClause(String clause)
void addLikeFields(String[] fields, String value)
void addNamedValue(String name, Object value)
static String get(String msg)
List< BusinessRelation > getOccurrences(String value)
String getValue(BusinessRelation value)
List< String > getPossibles(String value)
void setValue(BusinessRelation value, String newValue)