◆ SelectByChart()
org.turro.dossier.zul.issue.SelectByChart.SelectByChart |
( |
String |
participant, |
|
|
int |
type, |
|
|
Area |
area |
|
) |
| |
◆ getResults()
Definition at line 44 of file SelectByChart.java.
47 String statusName = (String) area.getAttribute(
"category");
48 for(IssueStatus is : IssueStatus.values()) {
49 if(I_.byKey(is.toString()).equals(statusName)) {
51 results.setStatus(EnumSet.of(is));
52 if(participant !=
null) results.setByParticipantId(participant);
56 }
else if(type == 2) {
58 String resolutionName = (String) area.getAttribute(
"category");
59 for(IssueResolution is : IssueResolution.values()) {
60 if(I_.byKey(is.toString()).equals(resolutionName)) {
62 results.setStatus(EnumSet.of(IssueStatus.STATUS_RESOLVED,
63 IssueStatus.STATUS_VERIFIED, IssueStatus.STATUS_CLOSED));
64 results.setResolutions(EnumSet.of(is));
65 if(participant !=
null) results.setByParticipantId(participant);
69 }
else if(type == 3) {
71 String typeName = (String) area.getAttribute(
"category");
72 for(IssueType is : IssueType.values()) {
73 if(I_.byKey(is.toString()).equals(typeName)) {
75 results.setTypes(EnumSet.of(is));
76 if(participant !=
null) results.setByParticipantId(participant);
The documentation for this class was generated from the following file: