18 package org.turro.activity;
20 import org.turro.elephant.db.WhereClause;
21 import org.turro.i18n.I_;
22 import org.turro.jpa.Dao;
23 import org.turro.path.Path;
24 import org.turro.plugin.contacts.IContact;
25 import org.turro.publication.db.PublicationPU;
26 import org.turro.publication.entity.Publication;
27 import org.turro.publication.zul.menu.PublicationMenu;
38 return "BrightSide Publications - " +
I_.
get(
"Author");
48 if(!entityPath.isRoot() &&
"contact".equals(entityPath.getRoot())) {
50 wc.
addClause(
"select distinct publication from Publication as publication");
51 wc.
addClause(
"where publication.idContact = :id");
98 if(v !=
null && !toPath.isRoot() &&
"contact".equals(toPath.getRoot())) {
void doShow(Publication v)
WhereClause getQuery(Path entityPath)
Object getReferringEntity(Publication v)
void doDelete(Publication v)
void doChangeFor(Publication v, Path toPath)
String getDescription(Publication v)
boolean getCanChangeFor(Publication v)
boolean getCanDelete(Publication v)
void onDelete(Object entity)
void onChange(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)