19 package org.turro.activity;
21 import org.turro.contacts.InTouch;
22 import org.turro.contacts.db.ContactsPU;
23 import org.turro.elephant.db.WhereClause;
24 import org.turro.entities.Entities;
25 import org.turro.i18n.I_;
26 import org.turro.jpa.Dao;
27 import org.turro.path.Path;
38 return "BrightSide Contacts - " +
I_.
get(
"In touch");
48 if(!entityPath.isRoot() &&
"contact".equals(entityPath.getRoot())) {
50 wc.
addClause(
"select distinct a from InTouch as a");
51 wc.
addClause(
"where a.contact.id = :idc");
53 wc.
addClause(
"or a.address.contact.id = :idp");
void doChangeFor(InTouch v, Path toPath)
void onChange(Object entity)
Object getReferringEntity(InTouch v)
String getDescription(InTouch v)
WhereClause getQuery(Path entityPath)
boolean getCanChangeFor(InTouch v)
void onDelete(Object entity)
boolean getCanDelete(InTouch v)
void addClause(String clause)
void addNamedValue(String name, Object value)
static IElephantEntity getController(String path)
static String get(String msg)
void deleteObject(Object obj)