View Javadoc
1   package org.itracker.web.ptos;
2   
3   import org.itracker.model.Issue;
4   import org.itracker.model.User;
5   
6   import java.util.List;
7   
8   
9   public class IssuePTO {
10  
11      private Issue issue;
12      private boolean userCanEdit;
13      private boolean userCanViewIssue;
14      private boolean userHasIssueNotification;
15      private boolean userHasPermission_PERMISSION_ASSIGN_SELF;
16      private boolean userHasPermission_PERMISSION_ASSIGN_OTHERS;
17      private boolean unassigned;
18      private String severityLocalizedString;
19      private String statusLocalizedString;
20      private String componentsSize;
21      private List<User> possibleOwners;
22  
23      public IssuePTO(Issue issue) {
24          this.issue = issue;
25      }
26  
27      public Issue getIssue() {
28          return issue;
29      }
30  
31      public void setIssue(Issue issue) {
32          this.issue = issue;
33      }
34  
35      public String getSeverityLocalizedString() {
36          return severityLocalizedString;
37      }
38  
39      public void setSeverityLocalizedString(String severityLocalizedString) {
40          this.severityLocalizedString = severityLocalizedString;
41      }
42  
43      public String getStatusLocalizedString() {
44          return statusLocalizedString;
45      }
46  
47      public void setStatusLocalizedString(String statusLocalizedString) {
48          this.statusLocalizedString = statusLocalizedString;
49      }
50  
51      public boolean isUserCanEdit() {
52          return userCanEdit;
53      }
54  
55      public void setUserCanEdit(boolean userCanEdit) {
56          this.userCanEdit = userCanEdit;
57      }
58  
59      public boolean isUserCanViewIssue() {
60          return userCanViewIssue;
61      }
62  
63      public void setUserCanViewIssue(boolean userCanViewIssue) {
64          this.userCanViewIssue = userCanViewIssue;
65      }
66  
67      public boolean isUserHasIssueNotification() {
68          return userHasIssueNotification;
69      }
70  
71      public void setUserHasIssueNotification(boolean userHasIssueNotification) {
72          this.userHasIssueNotification = userHasIssueNotification;
73      }
74  
75      public String getComponentsSize() {
76          return componentsSize;
77      }
78  
79      public void setComponentsSize(String componentsSize) {
80          this.componentsSize = componentsSize;
81      }
82  
83      public boolean isUnassigned() {
84          return unassigned;
85      }
86  
87      public void setUnassigned(boolean unassigned) {
88          this.unassigned = unassigned;
89      }
90  
91      public boolean getUserHasPermission_PERMISSION_ASSIGN_SELF() {
92          return userHasPermission_PERMISSION_ASSIGN_SELF;
93      }
94  
95      public void setUserHasPermission_PERMISSION_ASSIGN_SELF(boolean userHasPermission) {
96          this.userHasPermission_PERMISSION_ASSIGN_SELF = userHasPermission;
97      }
98  
99      public boolean getUserHasPermission_PERMISSION_ASSIGN_OTHERS() {
100         return userHasPermission_PERMISSION_ASSIGN_OTHERS;
101     }
102 
103     public void setUserHasPermission_PERMISSION_ASSIGN_OTHERS(
104             boolean userHasPermission_PERMISSION_ASSIGN_OTHERS) {
105         this.userHasPermission_PERMISSION_ASSIGN_OTHERS = userHasPermission_PERMISSION_ASSIGN_OTHERS;
106     }
107 
108     public void setPossibleOwners(List<User> users) {
109         this.possibleOwners = users;
110     }
111 
112     public List<User> getPossibleOwners() {
113         return possibleOwners;
114     }
115 
116 }