19 package org.turro.activity;
21 import org.amic.util.date.DateFormats;
22 import org.turro.elephant.context.Application;
23 import org.turro.elephant.db.ElephantPU;
24 import org.turro.elephant.db.WhereClause;
25 import org.turro.elephant.entities.db.Sendable;
26 import org.turro.jpa.Dao;
27 import org.turro.path.Path;
47 if(!entityPath.isRoot() &&
"contact".equals(entityPath.getRoot())) {
49 wc.
addClause(
"select distinct s from Sendable as s");
50 wc.
addClause(
"where s.entityPath = :path");
94 if(v !=
null && !toPath.isRoot()) {
Object getReferringEntity(Sendable v)
void doChangeFor(Sendable v, Path toPath)
String getDescription(Sendable v)
void doDelete(Sendable v)
boolean getCanDelete(Sendable v)
boolean getCanChangeFor(Sendable v)
WhereClause getQuery(Path entityPath)
void onChange(Object entity)
void onDelete(Object entity)
static Locale getUsedLocale()
void addClause(String clause)
void addNamedValue(String name, Object value)
void deleteObject(Object obj)
int executeUpdate(String query)