public class DefaultWatchedIssuesAccessor extends Object implements WatchedIssuesAccessor
WatchedIssuesAccessor.Security
Constructor and Description |
---|
DefaultWatchedIssuesAccessor(WatcherManager watcherManager,
SearchProvider searchProvider,
SearchProviderFactory factory) |
Modifier and Type | Method and Description |
---|---|
Iterable<Long> |
getWatchedIssueIds(ApplicationUser watcher,
ApplicationUser searcher,
WatchedIssuesAccessor.Security security)
Get the issues a particular user is watching.
|
boolean |
isWatchingEnabled() |
public DefaultWatchedIssuesAccessor(@Nonnull WatcherManager watcherManager, @Nonnull SearchProvider searchProvider, @Nonnull SearchProviderFactory factory)
public Iterable<Long> getWatchedIssueIds(ApplicationUser watcher, ApplicationUser searcher, WatchedIssuesAccessor.Security security)
WatchedIssuesAccessor
getWatchedIssueIds
in interface WatchedIssuesAccessor
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.public boolean isWatchingEnabled()
isWatchingEnabled
in interface WatchedIssuesAccessor
Copyright © 2002-2015 Atlassian. All Rights Reserved.