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
 java.lang.Iterable<java.lang.Long> getVotedIssueIds(com.opensymphony.user.User voter, com.opensymphony.user.User searcher, VotedIssuesAccessor.Security security)
          Get the issues a particular user has voted for.
 boolean isVotingEnabled()
           
 

Method Detail

isVotingEnabled

boolean isVotingEnabled()

getVotedIssueIds

@NotNull
java.lang.Iterable<java.lang.Long> getVotedIssueIds(@NotNull
                                                            com.opensymphony.user.User voter,
                                                            @NotNull
                                                            com.opensymphony.user.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-2011 Atlassian. All Rights Reserved.