|
||||||||||
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)
Convenience function that simply returns the User objects. |
|
|
getDetails(Locale displayLocale,
Issue issue,
Function<User,T> transformer)
Return an Iterable of all voters for the supplied issue. |
|
boolean |
isVotingEnabled()
|
Method Detail |
---|
boolean isVotingEnabled()
@NotNull Iterable<User> getDetails(@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)
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 |