◆ IssueRelation()
◆ canDelete()
boolean org.turro.dossier.zul.relation.IssueRelation.canDelete |
( |
| ) |
|
◆ canEdit()
boolean org.turro.dossier.zul.relation.IssueRelation.canEdit |
( |
| ) |
|
◆ doAddRelation()
void org.turro.dossier.zul.relation.IssueRelation.doAddRelation |
( |
final Changes |
changes | ) |
throws InterruptedException |
Definition at line 99 of file IssueRelation.java.
100 final IssuePredecessor ip =
new IssuePredecessor();
102 ip.setType(IssuePredecessorType.START_WHEN_ENDS);
103 getDesktop().setAttribute(
"predecessor", ip);
105 Modal.doModal(
"/WEB-INF/_zul/issue/relation.zul",
new Command() {
107 public Object execute(Context context) {
108 if(checkRelation(ip)) {
109 predecessor =
new DossierPU().saveObject(ip);
111 if(changes !=
null) {
112 ChangeCategory cc =
new ChangeCategory(3, I_.get(
"Relations"));
113 changes.addChange(
new UniqueString(cc,
"",
"+" +
getPredecessor().getFullDescription()));
IssuePredecessor getPredecessor()
◆ doDeleteRelation()
void org.turro.dossier.zul.relation.IssueRelation.doDeleteRelation |
( |
| ) |
throws InterruptedException |
Definition at line 139 of file IssueRelation.java.
140 Messages.confirmDeletion().show(() -> {
141 new DossierPU().deleteObject(predecessor);
◆ doEditRelation()
void org.turro.dossier.zul.relation.IssueRelation.doEditRelation |
( |
final Changes |
changes | ) |
throws InterruptedException |
Definition at line 121 of file IssueRelation.java.
122 getDesktop().setAttribute(
"predecessor", predecessor);
123 Modal.doModal(
"/WEB-INF/_zul/issue/relation.zul",
new Command() {
125 public Object execute(Context context) {
126 if(checkRelation(predecessor)) {
127 predecessor =
new DossierPU().saveObject(predecessor);
129 if(changes !=
null) {
130 ChangeCategory cc =
new ChangeCategory(3, I_.get(
"Relations"));
131 changes.addChange(
new UniqueString(cc,
"",
getPredecessor().getFullDescription()));
◆ getIssue()
Issue org.turro.dossier.zul.relation.IssueRelation.getIssue |
( |
| ) |
|
◆ getPredecessor()
IssuePredecessor org.turro.dossier.zul.relation.IssueRelation.getPredecessor |
( |
| ) |
|
◆ getRelatedChildren()
List<IssueRelation> org.turro.dossier.zul.relation.IssueRelation.getRelatedChildren |
( |
| ) |
|
Definition at line 72 of file IssueRelation.java.
73 return CollectionUtil.from(children.getChildren()).<List<IssueRelation>>cast();
◆ getRelatedParent()
IssueRelation org.turro.dossier.zul.relation.IssueRelation.getRelatedParent |
( |
| ) |
|
Definition at line 76 of file IssueRelation.java.
77 Component comp = getParent().getParent();
IssueRelation(IssuePredecessor predecessor, Issue issue)
◆ reloadParent()
void org.turro.dossier.zul.relation.IssueRelation.reloadParent |
( |
| ) |
|
◆ reloadRelated()
void org.turro.dossier.zul.relation.IssueRelation.reloadRelated |
( |
| ) |
|
◆ reloadTree()
void org.turro.dossier.zul.relation.IssueRelation.reloadTree |
( |
| ) |
|
The documentation for this class was generated from the following file: