◆ afterSave()
void org.turro.dossier.zul.issue.IssueComposer.afterSave |
( |
| ) |
|
◆ getAttributeName()
String org.turro.dossier.zul.issue.IssueComposer.getAttributeName |
( |
| ) |
|
|
protected |
◆ getEntityInstance()
Issue org.turro.dossier.zul.issue.IssueComposer.getEntityInstance |
( |
Long |
id | ) |
|
|
protected |
Definition at line 76 of file IssueComposer.java.
79 Long dossierId = (Long) Executions.getCurrent().getDesktop().getAttribute(
"dossierId");
80 if(dossierId !=
null && dossierId > 0) {
81 entity.setDossier(
new DossierPU().find(Dossier.class, dossierId));
83 entity.setType(IssueType.TYPE_TASK);
84 entity.setStatus(IssueStatus.STATUS_NEW);
85 entity.setPriority(IssuePriority.PRIORITY_HAS_WORKAROUND);
86 entity.setResolution(IssueResolution.RESOLUTION_FIXED);
87 entity.setIssueDate(
new java.util.Date());
88 entity.setPublishable(
true);
90 entity =
new DossierPU().find(Issue.class,
id);
◆ getWrapperInstance()
DaoEntity org.turro.dossier.zul.issue.IssueComposer.getWrapperInstance |
( |
Component |
comp | ) |
|
|
protected |
◆ inDeleteRole()
boolean org.turro.dossier.zul.issue.IssueComposer.inDeleteRole |
( |
| ) |
|
|
protected |
◆ inSaveRole()
boolean org.turro.dossier.zul.issue.IssueComposer.inSaveRole |
( |
| ) |
|
|
protected |
◆ onAddInfo()
void org.turro.dossier.zul.issue.IssueComposer.onAddInfo |
( |
| ) |
|
Definition at line 47 of file IssueComposer.java.
48 DossierMenu.addInformation(
entity,
new Command() {
50 public Object execute(Context context) {
51 Framework.getCurrent().closeSelected();
52 DossierMenu.showIssue(
entity.getId());
◆ onAddSub()
void org.turro.dossier.zul.issue.IssueComposer.onAddSub |
( |
| ) |
|
Definition at line 59 of file IssueComposer.java.
60 DossierMenu.addSubtask(
entity,
new Command() {
62 public Object execute(Context context) {
63 Framework.getCurrent().closeSelected();
64 DossierMenu.showIssue(
entity.getId());
◆ shouldBeSaved()
boolean org.turro.dossier.zul.issue.IssueComposer.shouldBeSaved |
( |
| ) |
|
|
protected |
The documentation for this class was generated from the following file: