public override List <JiraIssue> getSavedFilterIssues(JiraServer server, JiraSavedFilter filter, int start, int count) { using (var rss = new RssClient(server)) { return(setSessionCookieAndWrapExceptions( server, rss, () => rss.getSavedFilterIssues(filter.Id, "priority", "DESC", start, count))); } }
public JiraSavedFilterTreeNode(JiraServer server, JiraSavedFilter filter, int imageIdx, ContextMenuStrip menu) : base(filter.Name, imageIdx) { this.server = server; Filter = filter; Tag = filter.Name; ContextMenuStrip = menu; }
public SavedFilterContextMenu(JiraSavedFilter filter) { this.filter = filter; if (filter.ViewUrl != null) { Items.Add(new ToolStripMenuItem("View Filter in Browser", Resources.view_in_browser, new EventHandler(browseFilter))); } }
public abstract List <JiraIssue> getSavedFilterIssues(JiraServer server, JiraSavedFilter filter, int start, int count);
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 override List<JiraIssue> getSavedFilterIssues(JiraServer server, JiraSavedFilter filter, int start, int count) { return delegated(server, delegate { return restFacade.getSavedFilterIssues(server, filter, start, count); }, delegate { return classicFacade.getSavedFilterIssues(server, filter, start, count); }); }
public override List <JiraIssue> getSavedFilterIssues(JiraServer server, JiraSavedFilter filter, int start, int count) { using (var rest = new RestClient(server)) { return(rest.getSavedFilterIssues(filter, "priority", "desc", start, count)); } }
public JiraSavedFilterTreeNode(JiraServer server, JiraSavedFilter filter, int imageIdx) : base(filter.Name, imageIdx) { this.server = server; Filter = filter; }