19 package org.turro.activity;
21 import org.turro.action.queue.NotificationCategory;
22 import org.turro.action.queue.Notifications;
23 import org.turro.elephant.db.ElephantPU;
24 import org.turro.elephant.db.WhereClause;
25 import org.turro.elephant.entities.db.QueueOptions;
26 import org.turro.i18n.I_;
27 import org.turro.jpa.Dao;
28 import org.turro.mail.queue.QueueManager;
29 import org.turro.path.Path;
40 return "Elephant Mail";
50 if(!entityPath.isRoot() &&
"contact".equals(entityPath.getRoot())) {
52 wc.
addClause(
"select distinct opt from QueueOptions as opt");
53 wc.
addClause(
"where opt.idContact = :id");
100 if(v !=
null && !toPath.isRoot() &&
"contact".equals(toPath.getRoot())) {
static NotificationCategory getCategory(String id)
void doDelete(QueueOptions v)
boolean getCanChangeFor(QueueOptions v)
WhereClause getQuery(Path entityPath)
void onChange(Object entity)
void onDelete(Object entity)
void doChangeFor(QueueOptions v, Path toPath)
Object getReferringEntity(QueueOptions v)
void doShow(QueueOptions v)
boolean getCanDelete(QueueOptions v)
String getDescription(QueueOptions v)
void addClause(String clause)
void addNamedValue(String name, Object value)
static String byKey(String key)
static String get(String msg)
void deleteObject(Object obj)
int executeUpdate(String query)
void removeContactMails(String idContact)