This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 252353 - Need an API to disable query auto refresh
Summary: Need an API to disable query auto refresh
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Issuetracking Framework (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords: API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2015-05-12 05:32 UTC by jijwang
Modified: 2015-05-21 03:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
suggested change (2.69 KB, patch)
2015-05-12 08:22 UTC, Tomas Stupka
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jijwang 2015-05-12 05:32:54 UTC
Currently saved query has auto refresh turned on. User can only turn off them manually. Need a public API to do that. There is DashboardUtils.setQueryAutoRefresh(QueryImpl, boolean) API to change the setting but it is not exposed.
Actually if org.netbeans.modules.bugtracking.tasks.actions.Actions can be exposed, application writer can clone setQueryAutoRefresh code to achieve the same goal following the same key convention in DashboardUtils.getQueryRefreshKey()
Comment 1 Tomas Stupka 2015-05-12 08:22:56 UTC
Created attachment 153615 [details]
suggested change
Comment 2 Tomas Stupka 2015-05-18 09:02:58 UTC
in case nobody objects i'll integrate tomorrow
Comment 3 Tomas Stupka 2015-05-20 17:02:46 UTC
fixed in jet-main #769b292e0e98
Comment 4 Quality Engineering 2015-05-21 03:17:04 UTC
Integrated into 'main-silver', will be available in build *201505210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/769b292e0e98
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #252353 - Need an API to disable query auto refresh