示例#1
0
 public boolean isIssue(Issue issue) {
   Issue foundIssue = getIssue(issue.getId());
   return (foundIssue != null);
 }
示例#2
0
 public int getIssueId(String key) {
   Issue foundIssue = getIssue(key);
   return foundIssue.getId();
 }
示例#3
0
 public void setIssueKey(int issue_id, String key) {
   Issue foundIssue = getIssue(issue_id);
   foundIssue.setIssue_key(key);
   persist(foundIssue);
 }
示例#4
0
 public void setIssueStatus(int issue_id, String status) {
   Issue foundIssue = getIssue(issue_id);
   foundIssue.setStatus(status);
   persist(foundIssue);
 }
示例#5
0
 public void setNewIssue(String key, String status) {
   Issue issue = new Issue();
   issue.setIssue_key(key);
   issue.setStatus(status);
   persist(issue);
 }