◆ afterSave()
void org.turro.dossier.zul.dossier.DossierComposer.afterSave |
( |
| ) |
|
◆ beforeSave()
boolean org.turro.dossier.zul.dossier.DossierComposer.beforeSave |
( |
| ) |
|
|
protected |
Reimplemented from org.turro.jpa.composer.EntityComposer< E, ID >.
Definition at line 162 of file DossierComposer.java.
164 if(oldPhase !=
entity.getProject().getPhase()) {
165 entity.getProject().setChangePhase(
new Date());
166 new ChangePhaseNotification(
entity).sendNotification();
168 for(Participant participant :
entity.getParticipants()) {
169 if(!participant.isEmpty() && !Strings.isBlank(participant.getDiscriminator()) &&
170 (participant.getId() ==
null || participant.getId() == 0L)) {
171 new NewParticipantNotification(
entity, participant).sendNotification();
175 return super.beforeSave();
◆ doFinally()
void org.turro.dossier.zul.dossier.DossierComposer.doFinally |
( |
| ) |
throws Exception |
◆ getAttributeName()
String org.turro.dossier.zul.dossier.DossierComposer.getAttributeName |
( |
| ) |
|
|
protected |
◆ getEntityInstance()
Dossier org.turro.dossier.zul.dossier.DossierComposer.getEntityInstance |
( |
Long |
id | ) |
|
|
protected |
◆ getWrapperInstance()
DaoEntity org.turro.dossier.zul.dossier.DossierComposer.getWrapperInstance |
( |
Component |
comp | ) |
|
|
protected |
◆ inDeleteRole()
boolean org.turro.dossier.zul.dossier.DossierComposer.inDeleteRole |
( |
| ) |
|
|
protected |
◆ inSaveRole()
boolean org.turro.dossier.zul.dossier.DossierComposer.inSaveRole |
( |
| ) |
|
|
protected |
◆ onAddIssue()
void org.turro.dossier.zul.dossier.DossierComposer.onAddIssue |
( |
| ) |
|
Definition at line 65 of file DossierComposer.java.
66 DossierMenu.addDossierInformation(
entity,
new Command() {
68 public Object execute(Context context) {
69 Framework.getCurrent().closeSelected();
70 DossierMenu.showDossier(
entity.getId());
◆ onAllParticipants()
void org.turro.dossier.zul.dossier.DossierComposer.onAllParticipants |
( |
| ) |
|
Definition at line 126 of file DossierComposer.java.
127 ParticipantGrid pg =
new ParticipantGrid();
128 pg.setAddToolbar(
false);
129 entity.resetParticipants();
131 SelectionDialog.showComponent(getPage(),
132 I_.get(
"All participants"),
133 pg,
"90%",
"90%",
null);
◆ onSelectDescriptor()
final void org.turro.dossier.zul.dossier.DossierComposer.onSelectDescriptor |
( |
Event |
event | ) |
|
Definition at line 77 of file DossierComposer.java.
78 if(
entity.getId() !=
null &&
entity.getId() > 0 && descriptors !=
null) {
80 DescriptorValue dv = lastDD.
getValue();
82 dv =
new DescriptorValue();
84 entity.getDescriptors().add(dv);
95 DescriptorValue dv = dd.getValue();
void setValue(DescriptorValue descriptorValue)
DescriptorValue getValue()
void setReadonly(boolean value)
void setImageFolder(String folder)
void setValue(String value)
void setFileFolder(String folder)
◆ onWikiChange()
void org.turro.dossier.zul.dossier.DossierComposer.onWikiChange |
( |
| ) |
|
Definition at line 112 of file DossierComposer.java.
114 DescriptorValue dv = dd.getValue();
116 dv =
new DescriptorValue();
118 entity.getDescriptors().add(dv);
◆ shouldBeSaved()
boolean org.turro.dossier.zul.dossier.DossierComposer.shouldBeSaved |
( |
| ) |
|
|
protected |
The documentation for this class was generated from the following file: