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