public void updateModelWithSavedFilter(JiraIssueListModel model, JiraServer server, JiraSavedFilter filter) { lock (this) { List<JiraIssue> issues = facade.getSavedFilterIssues(server, filter, model.Issues.Count, GlobalSettings.JiraIssuesBatch); model.addIssues(issues); } }
public void rebuildModelWithSavedFilter(JiraIssueListModel model, JiraServer server, JiraSavedFilter filter) { lock (this) { List<JiraIssue> issues = facade.getSavedFilterIssues(server, filter, 0, GlobalSettings.JiraIssuesBatch); model.clear(false); model.addIssues(issues); } }
public List<JiraIssue> getSavedFilterIssues(JiraServer server, JiraSavedFilter filter, int start, int count) { RssClient rss = new RssClient(server); return rss.getSavedFilterIssues(filter.Id, "priority", "DESC", start, count); }
public JiraSavedFilterTreeNode(JiraServer server, JiraSavedFilter filter, int imageIdx) : base(filter.Name, imageIdx) { this.server = server; Filter = filter; }
public List <JiraIssue> getSavedFilterIssues(JiraServer server, JiraSavedFilter filter, int start, int count) { RssClient rss = new RssClient(server); return(rss.getSavedFilterIssues(filter.Id, "priority", "DESC", start, count)); }