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