18 package org.turro.publication.util;
20 import org.turro.activity.JpaParticipationCatcher;
21 import org.turro.elephant.db.WhereClause;
22 import org.turro.i18n.I_;
23 import org.turro.jpa.Dao;
24 import org.turro.path.Path;
25 import org.turro.plugin.contacts.IContact;
26 import org.turro.publication.db.PublicationPU;
27 import org.turro.publication.entity.PublicationSubscription;
40 return "BrightSide Publications - " +
I_.
get(
"Subscriptions");
50 if(!entityPath.isRoot() &&
"contact".equals(entityPath.getRoot())) {
52 wc.
addClause(
"select distinct subscription from PublicationSubscription as subscription");
53 wc.
addClause(
"where subscription.idContact = :id");
77 throw new UnsupportedOperationException(
"Not supported yet.");
void addClause(String clause)
void addNamedValue(String name, Object value)
static String get(String msg)
void deleteObject(Object obj)
PublicationCategory getPublicationCategory()
void doDelete(PublicationSubscription v)
String getDescription(PublicationSubscription v)
WhereClause getQuery(Path entityPath)
void doChangeFor(PublicationSubscription v, Path toPath)
void onChange(Object entity)
boolean getCanChangeFor(PublicationSubscription v)
boolean getCanDelete(PublicationSubscription v)
void doShow(PublicationSubscription v)
Object getReferringEntity(PublicationSubscription v)
void onDelete(Object entity)