19 package org.turro.activity;
21 import org.turro.contacts.VoteIt;
22 import org.turro.contacts.db.ContactsPU;
23 import org.turro.elephant.db.WhereClause;
24 import org.turro.entities.Entities;
25 import org.turro.jpa.Dao;
26 import org.turro.path.Path;
37 return "BrightSide Contacts - VoteIt";
48 wc.
addClause(
"select distinct a from VoteIt as a");
49 wc.
addClause(
"where (a.creator.id = :idc or a.path = :path)");
Object getReferringEntity(VoteIt v)
void onChange(Object entity)
WhereClause getQuery(Path entityPath)
void doChangeFor(VoteIt v, Path toPath)
boolean getCanDelete(VoteIt v)
boolean getCanChangeFor(VoteIt v)
String getDescription(VoteIt v)
void onDelete(Object entity)
void addClause(String clause)
void addNamedValue(String name, Object value)
static IElephantEntity getController(String path)
void deleteObject(Object obj)