public interface

VotedIssuesAccessor

com.atlassian.jira.issue.vote.VotedIssuesAccessor
Known Indirect Subclasses

Class Overview

Get all issue ids someone voted for.

Summary

Nested Classes
enum VotedIssuesAccessor.Security  
Public Methods
@Nonnull Iterable<Long> getVotedIssueIds(ApplicationUser voter, ApplicationUser searcher, VotedIssuesAccessor.Security security)
Get the issues a particular user has voted for.
boolean isVotingEnabled()

Public Methods

@Nonnull public Iterable<Long> getVotedIssueIds (ApplicationUser voter, ApplicationUser searcher, VotedIssuesAccessor.Security security)

Get the issues a particular user has voted for.

Parameters
voter the user whose votes we are searching for.
searcher the user who is searching for the voted issues.
security whether to respect or override security.
Returns
  • the ids of the found issues.

public boolean isVotingEnabled ()