com.atlassian.jira.issue.watchers
Interface WatchedIssuesAccessor
- All Known Implementing Classes:
- DefaultWatchedIssuesAccessor
public interface WatchedIssuesAccessor
Get all issue ids someone is watching.
- Since:
- v4.1
isWatchingEnabled
boolean isWatchingEnabled()
getWatchedIssueIds
@NotNull
Iterable<Long> getWatchedIssueIds(@NotNull
com.atlassian.crowd.embedded.api.User watcher,
@NotNull
com.atlassian.crowd.embedded.api.User searcher,
@NotNull
WatchedIssuesAccessor.Security security)
- Get the issues a particular user is watching.
- Parameters:
watcher
- the user whose watches we are searching for.searcher
- the user who is searching for the watched issues.security
- whether to respect or override security.
- Returns:
- the ids of the found issues.
Copyright © 2002-2012 Atlassian. All Rights Reserved.