コード例 #1
0
 /**
  * Get format of estimate point
  *
  * @return '1' for DT format and '2' for only number format
  */
 public String getPointEstimateFormat() {
   try {
     Long issueId = (Long) JSFUtils.resolveExpression("#{issue.issueId}");
     Issue issue = issueService.findIssueById(issueId);
     this.pointEstimateFormat = pointRemainService.getPointEstimateByFormat(issue);
     return this.pointEstimateFormat;
   } catch (Exception e) {
     return null;
   }
 }
コード例 #2
0
 public String getRemainPointByFormat() {
   Issue issueTemp = (Issue) JSFUtils.resolveExpression("#{issue}");
   return this.issueService.getPointByFormat(issueTemp.getRemain(), issueTemp.getPointFormat());
 }