com.atlassian.jira.issue.vote
Interface VotedIssuesAccessor

All Known Implementing Classes:
DefaultVotedIssuesAccessor

public interface VotedIssuesAccessor

Get all issue ids someone voted for.

Since:
v4.1

Nested Class Summary
static class VotedIssuesAccessor.Security
           
 
Method Summary
 Iterable<Long> getVotedIssueIds(com.atlassian.crowd.embedded.api.User voter, com.atlassian.crowd.embedded.api.User searcher, VotedIssuesAccessor.Security security)
          Get the issues a particular user has voted for.
 boolean isVotingEnabled()
           
 

Method Detail

isVotingEnabled

boolean isVotingEnabled()

getVotedIssueIds

@NotNull
Iterable<Long> getVotedIssueIds(@NotNull
                                        com.atlassian.crowd.embedded.api.User voter,
                                        @NotNull
                                        com.atlassian.crowd.embedded.api.User searcher,
                                        @NotNull
                                        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.


Copyright © 2002-2012 Atlassian. All Rights Reserved.