BrightSide Workbench Full Report + Source Code
org.turro.dossier.model.IssueInfoVM Class Reference

Public Member Functions

void init (@ExecutionArgParam("issue") Issue issue)
 
void showDossier ()
 
void showIssue ()
 
void showSubtasks ()
 
void newSubtask ()
 
void newRelation ()
 
void addInformation ()
 
void showAttachments ()
 
Issue getIssue ()
 
double percentDone ()
 
boolean hasPercent ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 36 of file IssueInfoVM.java.

Member Function Documentation

◆ addInformation()

void org.turro.dossier.model.IssueInfoVM.addInformation ( )

Definition at line 73 of file IssueInfoVM.java.

73  {
74  DossierMenu.addInformation(issue, null);
75  }
Here is the call graph for this function:

◆ getIssue()

Issue org.turro.dossier.model.IssueInfoVM.getIssue ( )

Definition at line 82 of file IssueInfoVM.java.

82  {
83  return issue;
84  }

◆ hasPercent()

boolean org.turro.dossier.model.IssueInfoVM.hasPercent ( )

Definition at line 95 of file IssueInfoVM.java.

95  {
96  return percentDone() > 0;
97  }
Here is the call graph for this function:

◆ init()

void org.turro.dossier.model.IssueInfoVM.init ( @ExecutionArgParam("issue") Issue  issue)

Definition at line 41 of file IssueInfoVM.java.

41  {
42  this.issue = issue;
43  }

◆ newRelation()

void org.turro.dossier.model.IssueInfoVM.newRelation ( )

Definition at line 68 of file IssueInfoVM.java.

68  {
69  DossierMenu.addRelation(issue, null);
70  }
Here is the call graph for this function:

◆ newSubtask()

void org.turro.dossier.model.IssueInfoVM.newSubtask ( )

Definition at line 63 of file IssueInfoVM.java.

63  {
64  DossierMenu.addSubtask(issue, null);
65  }
Here is the call graph for this function:

◆ percentDone()

double org.turro.dossier.model.IssueInfoVM.percentDone ( )

Definition at line 88 of file IssueInfoVM.java.

88  {
89  if(pcdone == -1) {
90  pcdone = Tasks.from(issue, false, false).getPercentTasksDone();
91  }
92  return pcdone;
93  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ showAttachments()

void org.turro.dossier.model.IssueInfoVM.showAttachments ( )

Definition at line 78 of file IssueInfoVM.java.

78  {
79  AttachmentControl.showFor(issue, null);
80  }
Here is the call graph for this function:

◆ showDossier()

void org.turro.dossier.model.IssueInfoVM.showDossier ( )

Definition at line 46 of file IssueInfoVM.java.

46  {
47  DossierMenu.showDossier(issue.getDossier().getId());
48  }
Here is the call graph for this function:

◆ showIssue()

void org.turro.dossier.model.IssueInfoVM.showIssue ( )

Definition at line 51 of file IssueInfoVM.java.

51  {
52  DossierMenu.showIssue(issue.getId());
53  }
Here is the call graph for this function:

◆ showSubtasks()

void org.turro.dossier.model.IssueInfoVM.showSubtasks ( )

Definition at line 56 of file IssueInfoVM.java.

56  {
57  Windows.title(I_.get("Subtasks"))
58  .addComponent("/issue/subtaskView.zul", Map.of("issue", issue))
59  .width("70%").height("50%").closeable().show();
60  }
Here is the call graph for this function:

The documentation for this class was generated from the following file: