com.atlassian.jira.issue.vote
Class DefaultVotedIssuesAccessor
java.lang.Object
com.atlassian.jira.issue.vote.DefaultVotedIssuesAccessor
- All Implemented Interfaces:
- VotedIssuesAccessor
public class DefaultVotedIssuesAccessor
- extends Object
- implements VotedIssuesAccessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultVotedIssuesAccessor
public DefaultVotedIssuesAccessor(@Nonnull
VoteManager voteManager,
@Nonnull
SearchProvider searchProvider,
@Nonnull
SearchProviderFactory factory)
getVotedIssueIds
public Iterable<Long> getVotedIssueIds(com.atlassian.crowd.embedded.api.User voter,
com.atlassian.crowd.embedded.api.User searcher,
VotedIssuesAccessor.Security security)
- Description copied from interface:
VotedIssuesAccessor
- Get the issues a particular user has voted for.
- Specified by:
getVotedIssueIds
in interface VotedIssuesAccessor
- 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.
isVotingEnabled
public boolean isVotingEnabled()
- Specified by:
isVotingEnabled
in interface VotedIssuesAccessor
Copyright © 2002-2013 Atlassian. All Rights Reserved.