- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 37 of file DossierEdit.java.
◆ DossierEdit() [1/2]
org.turro.dossier.zul.dossier.DossierEdit.DossierEdit |
( |
| ) |
throws InterruptedException |
◆ DossierEdit() [2/2]
org.turro.dossier.zul.dossier.DossierEdit.DossierEdit |
( |
String |
title, |
|
|
String |
border, |
|
|
boolean |
closable |
|
) |
| throws InterruptedException |
◆ applyChanges()
Dossier org.turro.dossier.zul.dossier.DossierEdit.applyChanges |
( |
Dossier |
dossier | ) |
|
Definition at line 53 of file DossierEdit.java.
54 if(dossier.getId() ==
null && dossier.getParticipants().isEmpty()) {
55 DossierWrapper dw =
new DossierWrapper(dossier);
56 if(!dw.isOwner() && !dw.isAssistant()) {
57 dossier.addOwner(Authentication.getIContact());
61 Participant s =
new Participant();
62 s.setCreation(
new Date());
63 s.setIdContact(subject.
getId());
65 s.setRole(ParticipantRole.PARTICIPANT_SUBJECT);
66 s.setDossier(dossier);
67 dossier.getParticipants().add(s);
69 Iterator<DossierVersion> it = dossier.getVersions().iterator();
71 DossierVersion or = it.next();
77 dossier =
new DossierWrapper(dossier).save();
78 SystemLogger.getInstance().doLog(SystemLogType.LOG_INFO, dossier,
"saved",
79 dossier.getFullDescription());
◆ setSubject()
void org.turro.dossier.zul.dossier.DossierEdit.setSubject |
( |
Contact |
newValue | ) |
|
The documentation for this class was generated from the following file: