com.atlassian.jira.issue.watchers
Class DefaultWatchedIssuesAccessor
java.lang.Object
com.atlassian.jira.issue.watchers.DefaultWatchedIssuesAccessor
- All Implemented Interfaces:
- WatchedIssuesAccessor
public class DefaultWatchedIssuesAccessor
- extends Object
- implements WatchedIssuesAccessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultWatchedIssuesAccessor
public DefaultWatchedIssuesAccessor(@NotNull
WatcherManager watcherManager,
@NotNull
SearchProvider searchProvider,
@NotNull
SearchProviderFactory factory)
getWatchedIssueIds
public Iterable<Long> getWatchedIssueIds(com.atlassian.crowd.embedded.api.User watcher,
com.atlassian.crowd.embedded.api.User searcher,
WatchedIssuesAccessor.Security security)
- Description copied from interface:
WatchedIssuesAccessor
- Get the issues a particular user is watching.
- Specified by:
getWatchedIssueIds
in interface WatchedIssuesAccessor
- 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.
getWatchedIssueIds
public Iterable<Long> getWatchedIssueIds(User watcher,
User searcher,
WatchedIssuesAccessor.Security security)
- Description copied from interface:
WatchedIssuesAccessor
- Get the issues a particular user is watching.
- Specified by:
getWatchedIssueIds
in interface WatchedIssuesAccessor
- 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.
isWatchingEnabled
public boolean isWatchingEnabled()
- Specified by:
isWatchingEnabled
in interface WatchedIssuesAccessor
Copyright © 2002-2011 Atlassian. All Rights Reserved.