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