18 package org.turro.activity;
20 import org.turro.contacts.Acceptance;
21 import org.turro.contacts.db.ContactsPU;
22 import org.turro.contacts.zul.menu.ContactMenu;
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(
"Acceptance");
48 if(!entityPath.isRoot() &&
"contact".equals(entityPath.getRoot())) {
50 wc.
addClause(
"select distinct a from Acceptance as a");
51 wc.
addClause(
"where a.contact.id = :idc");
53 wc.
addClause(
"or a.petitioner.id = :idp");
String getDescription(Acceptance v)
void onDelete(Object entity)
void doDelete(Acceptance v)
WhereClause getQuery(Path entityPath)
boolean getCanChangeFor(Acceptance v)
void doChangeFor(Acceptance v, Path toPath)
void doShow(Acceptance v)
Object getReferringEntity(Acceptance v)
void onChange(Object entity)
boolean getCanDelete(Acceptance 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)