|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IssueVoterAccessor
Get all voters for an issue.
Method Summary | ||
---|---|---|
Iterable<User> |
getDetails(Locale displayLocale,
Issue issue)
Deprecated. Use getVoters(java.util.Locale, com.atlassian.jira.issue.Issue) . Since 4.3 |
|
|
getDetails(Locale displayLocale,
Issue issue,
Function<User,T> transformer)
Deprecated. Use getVoters(java.util.Locale, com.atlassian.jira.issue.Issue) . Since 4.3 |
|
Iterable<String> |
getVoterNames(Issue issue)
Convenience function that simply returns the User names. |
|
Iterable<com.atlassian.crowd.embedded.api.User> |
getVoters(Locale displayLocale,
Issue issue)
Convenience function that simply returns the User objects. |
|
boolean |
isVotingEnabled()
|
Method Detail |
---|
boolean isVotingEnabled()
@NotNull Iterable<String> getVoterNames(@NotNull Issue issue)
issue
- the issue to get the voters for
@NotNull Iterable<User> getDetails(@NotNull Locale displayLocale, @NotNull Issue issue)
getVoters(java.util.Locale, com.atlassian.jira.issue.Issue)
. Since 4.3
displayLocale
- for sorting.issue
- the issue to get the voters for
@NotNull Iterable<com.atlassian.crowd.embedded.api.User> getVoters(@NotNull Locale displayLocale, @NotNull Issue issue)
displayLocale
- for sorting.issue
- the issue to get the voters for
@NotNull <T> Iterable<T> getDetails(@NotNull Locale displayLocale, @NotNull Issue issue, @NotNull Function<User,T> transformer)
getVoters(java.util.Locale, com.atlassian.jira.issue.Issue)
. Since 4.3
T
- the type of element in the returned iterable.displayLocale
- for sorting.issue
- the issue to get the voters fortransformer
- to get the required details from the User
objects.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |