Interface WatchedIssuesAccessor

All Known Implementing Classes:
DefaultWatchedIssuesAccessor

public interface WatchedIssuesAccessor
Get all issue ids someone is watching.
Since:
v4.1
  • Method Details

    • isWatchingEnabled

      boolean isWatchingEnabled()
    • getWatchedIssueIds

      @Nonnull Iterable<Long> getWatchedIssueIds(@Nonnull ApplicationUser watcher, @Nonnull ApplicationUser searcher, @Nonnull 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.