18 package org.turro.activity;
20 import org.turro.dossier.db.DossierPU;
21 import org.turro.dossier.entity.Issue;
22 import org.turro.dossier.entity.IssueParticipant;
23 import org.turro.dossier.entity.IssueParticipantRole;
24 import org.turro.dossier.zul.menu.DossierMenu;
25 import org.turro.elephant.db.WhereClause;
26 import org.turro.i18n.I_;
27 import org.turro.jpa.Dao;
28 import org.turro.path.Path;
29 import org.turro.plugin.contacts.IContact;
30 import org.turro.util.Chars;
41 return "BrightSide Dossiers - " +
I_.
get(
"Issue");
51 if(!entityPath.isRoot() &&
"contact".equals(entityPath.getRoot())) {
53 wc.
addClause(
"select distinct iparticipant from IssueParticipant as iparticipant");
54 wc.
addClause(
"where iparticipant.idContact = :id");
88 "update IssueParticipant set name = ? " +
89 "where idContact = ?",
106 if(v !=
null && !toPath.isRoot() &&
"contact".
equals(toPath.getRoot())) {
Object getReferringEntity(IssueParticipant v)
void doShow(IssueParticipant v)
String getDescription(IssueParticipant v)
void doChangeFor(IssueParticipant v, Path toPath)
WhereClause getQuery(Path entityPath)
void onChange(Object entity)
void onDelete(Object entity)
boolean getCanChangeFor(IssueParticipant v)
void doDelete(IssueParticipant v)
boolean getCanDelete(IssueParticipant v)
boolean equals(Object obj)
IssueParticipantRole getRole()
Set< IssueParticipant > getParticipants()
void addClause(String clause)
void addNamedValue(String name, Object value)
static String byKey(String key)
static String get(String msg)
int executeUpdate(String query)