◆ getData()
DossierData org.turro.dossier.dw.DossierDWReport.getData |
( |
| ) |
|
◆ getDaySpanAverage()
Double org.turro.dossier.dw.DossierDWReport.getDaySpanAverage |
( |
| ) |
|
Definition at line 250 of file DossierDWReport.java.
251 double issues = 0, days = 0;
252 for(DossierReportItem dri : getItems()) {
253 if(dri.status.isFinished() && dri.startDate !=
null &&
254 dri.solvedDate !=
null && dri.startDate.before(dri.solvedDate)) {
256 days = (dri.solvedDate.getTime() - dri.startDate.getTime()) / (24 * 60 * 60 * 1000);
259 return new Round(issues > 0 ? days / issues : 0).decimals(2).value();
◆ getEfectivity()
Double org.turro.dossier.dw.DossierDWReport.getEfectivity |
( |
| ) |
|
◆ getIssueCount()
double org.turro.dossier.dw.DossierDWReport.getIssueCount |
( |
| ) |
|
◆ getIssueCountByResolution()
double org.turro.dossier.dw.DossierDWReport.getIssueCountByResolution |
( |
IssueResolution |
resolution | ) |
|
Definition at line 127 of file DossierDWReport.java.
129 for(DossierReportItem dri : getItems()) {
130 if(dri.status.isFinished() && dri.resolution.equals(resolution)) {
◆ getIssueCountByStatus()
double org.turro.dossier.dw.DossierDWReport.getIssueCountByStatus |
( |
IssueStatus |
status | ) |
|
Definition at line 117 of file DossierDWReport.java.
119 for(DossierReportItem dri : getItems()) {
120 if(dri.status.equals(status)) {
◆ getIssueCountByType()
double org.turro.dossier.dw.DossierDWReport.getIssueCountByType |
( |
IssueType |
type | ) |
|
Definition at line 107 of file DossierDWReport.java.
109 for(DossierReportItem dri : getItems()) {
110 if(dri.type.equals(type)) {
◆ getIssuesByResolution()
Map<IssueResolution, Double> org.turro.dossier.dw.DossierDWReport.getIssuesByResolution |
( |
| ) |
|
Definition at line 236 of file DossierDWReport.java.
237 Map resolution =
new EnumMap<>(IssueResolution.class);
238 for(IssueResolution is : IssueResolution.values()) {
240 if(d > 0.0) resolution.put(is, d);
double getIssueCountByResolution(IssueResolution resolution)
◆ getIssuesByStatus()
Map<IssueStatus, Double> org.turro.dossier.dw.DossierDWReport.getIssuesByStatus |
( |
| ) |
|
Definition at line 227 of file DossierDWReport.java.
228 Map status =
new EnumMap<>(IssueStatus.class);
229 for(IssueStatus is : IssueStatus.values()) {
231 if(d > 0.0) status.put(is, d);
double getIssueCountByStatus(IssueStatus status)
◆ getIssuesByType()
Map<IssueType, Double> org.turro.dossier.dw.DossierDWReport.getIssuesByType |
( |
| ) |
|
Definition at line 218 of file DossierDWReport.java.
219 Map type =
new EnumMap<>(IssueType.class);
220 for(IssueType is : IssueType.values()) {
222 if(d > 0.0) type.put(is, d);
double getIssueCountByType(IssueType type)
◆ getIssuesPathByResolution()
Collection<String> org.turro.dossier.dw.DossierDWReport.getIssuesPathByResolution |
( |
String |
resolution | ) |
|
Definition at line 207 of file DossierDWReport.java.
208 ArrayList<String> list =
new ArrayList<>();
209 for(DossierReportItem dri : getItems()) {
210 if(I_.byKey(dri.resolution.toString()).equals(resolution)) {
211 list.add(
"/issue/" + dri.issueId);
◆ getIssuesPathByStatus()
Collection<String> org.turro.dossier.dw.DossierDWReport.getIssuesPathByStatus |
( |
String |
status | ) |
|
Definition at line 197 of file DossierDWReport.java.
198 ArrayList<String> list =
new ArrayList<>();
199 for(DossierReportItem dri : getItems()) {
200 if(I_.byKey(dri.status.toString()).equals(status)) {
201 list.add(
"/issue/" + dri.issueId);
◆ getIssuesPathByType()
Collection<String> org.turro.dossier.dw.DossierDWReport.getIssuesPathByType |
( |
String |
type | ) |
|
Definition at line 187 of file DossierDWReport.java.
188 ArrayList<String> list =
new ArrayList<>();
189 for(DossierReportItem dri : getItems()) {
190 if(I_.byKey(dri.type.toString()).equals(type)) {
191 list.add(
"/issue/" + dri.issueId);
◆ getNegativelySolved()
double org.turro.dossier.dw.DossierDWReport.getNegativelySolved |
( |
| ) |
|
Definition at line 147 of file DossierDWReport.java.
149 for(DossierReportItem dri : getItems()) {
150 if(dri.status.isFinished() && !(dri.resolution.isSolved()) && !(dri.resolution.isRejected())) {
◆ getOnWork()
double org.turro.dossier.dw.DossierDWReport.getOnWork |
( |
| ) |
|
Definition at line 167 of file DossierDWReport.java.
169 for(DossierReportItem dri : getItems()) {
170 if(dri.status.isWorking()) {
◆ getPositivelySolved()
double org.turro.dossier.dw.DossierDWReport.getPositivelySolved |
( |
| ) |
|
Definition at line 137 of file DossierDWReport.java.
139 for(DossierReportItem dri : getItems()) {
140 if(dri.status.isFinished() && dri.resolution.isSolved()) {
◆ getPrevision()
DossierValues org.turro.dossier.dw.DossierDWReport.getPrevision |
( |
| ) |
|
Definition at line 79 of file DossierDWReport.java.
80 if(prevision ==
null) {
81 prevision =
new DossierValues();
82 for(DossierReportItem dri : getItems()) {
83 prevision.
expenses += dri.prevision.expenses;
84 prevision.hours += dri.prevision.hours;
85 prevision.price += dri.prevision.price;
◆ getReality()
DossierValues org.turro.dossier.dw.DossierDWReport.getReality |
( |
| ) |
|
Definition at line 91 of file DossierDWReport.java.
93 reality =
new DossierValues();
94 for(DossierReportItem dri : getItems()) {
95 reality.
expenses += dri.reality.expenses;
96 reality.hours += dri.reality.hours;
97 reality.price += dri.reality.price;
◆ getSolved()
double org.turro.dossier.dw.DossierDWReport.getSolved |
( |
| ) |
|
Definition at line 157 of file DossierDWReport.java.
159 for(DossierReportItem dri : getItems()) {
160 if(dri.status.isFinished()) {
◆ getStandBy()
double org.turro.dossier.dw.DossierDWReport.getStandBy |
( |
| ) |
|
Definition at line 177 of file DossierDWReport.java.
179 for(DossierReportItem dri : getItems()) {
180 if(dri.status.isStandBy()) {
◆ setReportValues() [1/3]
void org.turro.dossier.dw.DossierDWReport.setReportValues |
( |
Dossier |
dossier | ) |
|
◆ setReportValues() [2/3]
Definition at line 66 of file DossierDWReport.java.
67 this.participantId = participantId;
69 this.dossierIds = dossierIds;
◆ setReportValues() [3/3]
void org.turro.dossier.dw.DossierDWReport.setReportValues |
( |
String |
participantId, |
|
|
IssueParticipantRole |
role, |
|
|
Long |
dossierId |
|
) |
| |
Definition at line 60 of file DossierDWReport.java.
61 ArrayList al =
new ArrayList();
62 al.add(
new DossierIds(dossierId, 0L,
null));
The documentation for this class was generated from the following file: