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
java.lang.Iterable<java.lang.Long> getWatchedIssueIds(@NotNull
com.opensymphony.user.User watcher,
@NotNull
com.opensymphony.user.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-2011 Atlassian. All Rights Reserved.