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