18 package org.turro.activity;
20 import org.turro.elephant.db.WhereClause;
21 import org.turro.financials.db.FinancialsPU;
22 import org.turro.financials.entity.Company;
23 import org.turro.i18n.I_;
24 import org.turro.jpa.Dao;
25 import org.turro.path.Path;
26 import org.turro.plugin.contacts.IContact;
37 return "BrightSide Business - " +
I_.
get(
"Company");
47 if(!entityPath.isRoot() &&
"contact".equals(entityPath.getRoot())) {
49 wc.
addClause(
"select distinct company from Company as company");
50 wc.
addClause(
"where company.idContact = :id");
74 throw new UnsupportedOperationException(
"Not supported yet.");
82 "update Company set name = ? " +
83 "where idContact = ?",
void onChange(Object entity)
boolean getCanChangeFor(Company v)
void doChangeFor(Company v, Path toPath)
String getDescription(Company v)
boolean getCanDelete(Company v)
Object getReferringEntity(Company v)
WhereClause getQuery(Path entityPath)
void onDelete(Object entity)
void addClause(String clause)
void addNamedValue(String name, Object value)
static String get(String msg)
void deleteObject(Object obj)
int executeUpdate(String query)