19 package org.turro.activity;
21 import org.turro.contacts.ContactService;
22 import org.turro.contacts.db.ContactsPU;
23 import org.turro.elephant.db.WhereClause;
24 import org.turro.i18n.I_;
25 import org.turro.jpa.Dao;
26 import org.turro.path.Path;
37 return "BrightSide Contacts - " +
I_.
get(
"Service");
47 if(!entityPath.isRoot() &&
"contact".equals(entityPath.getRoot())) {
49 wc.
addClause(
"select distinct a from ContactService as a");
50 wc.
addClause(
"where a.responsible.id = :idc");
void doChangeFor(ContactService v, Path toPath)
WhereClause getQuery(Path entityPath)
void doDelete(ContactService v)
boolean getCanChangeFor(ContactService v)
boolean getCanDelete(ContactService v)
void doShow(ContactService v)
void onChange(Object entity)
String getDescription(ContactService v)
void onDelete(Object entity)
Object getReferringEntity(ContactService v)
void addClause(String clause)
void addNamedValue(String name, Object value)
static String get(String msg)
void deleteObject(Object obj)