A B C F G I M N O S V Z 

A

AbstractVoteCounting<S extends VoteCountingStrategy> - Class in org.chorem.pollen.votecounting
Base abstract implementation of a VoteCounting.
AbstractVoteCounting(int, Class<S>, String, String, String) - Constructor for class org.chorem.pollen.votecounting.AbstractVoteCounting
 
AbstractVoteCountingStrategy - Class in org.chorem.pollen.votecounting
Base abstract implementation of a VoteCountingStrategy.
AbstractVoteCountingStrategy() - Constructor for class org.chorem.pollen.votecounting.AbstractVoteCountingStrategy
 
addScoreValue(double) - Method in class org.chorem.pollen.votecounting.model.ChoiceScore
 
addVoteForChoice(VoteForChoice) - Method in class org.chorem.pollen.votecounting.model.GroupOfVoter
 
addVoteForChoice(String, Double) - Method in class org.chorem.pollen.votecounting.model.GroupOfVoterBuilder
 
addVoteForChoice(VoteForChoice) - Method in class org.chorem.pollen.votecounting.model.SimpleVoter
 
addVoteForChoice(String, Double) - Method in class org.chorem.pollen.votecounting.model.SimpleVoterBuilder
 
addVoteForChoice(VoteForChoice) - Method in interface org.chorem.pollen.votecounting.model.Voter
Register a new vote value for this voter.
addVoteForChoice(String, Double) - Method in interface org.chorem.pollen.votecounting.model.VoterBuilder
 
addVoter(Voter) - Method in class org.chorem.pollen.votecounting.model.GroupOfVoter
 
apply(ChoiceIdAble) - Method in class org.chorem.pollen.votecounting.model.ChoiceIdAble.ChoiceIdAbleById
 

B

buildVoterSortedChoices(Set<Voter>) - Method in class org.chorem.pollen.votecounting.AbstractVoteCountingStrategy
 

C

ChoiceIdAble - Interface in org.chorem.pollen.votecounting.model
To mark any object that identify a choice via the ChoiceIdAble.getChoiceId() method.
ChoiceIdAble.ChoiceIdAbleById - Class in org.chorem.pollen.votecounting.model
 
ChoiceIdAble.ChoiceIdAbleById() - Constructor for class org.chorem.pollen.votecounting.model.ChoiceIdAble.ChoiceIdAbleById
 
ChoiceScore - Class in org.chorem.pollen.votecounting.model
Score for a given choice.
ChoiceScore() - Constructor for class org.chorem.pollen.votecounting.model.ChoiceScore
 
ChoiceToVoteRenderType - Enum in org.chorem.pollen.votecounting.model
To define how to render a vote.
compareTo(ChoiceScore) - Method in class org.chorem.pollen.votecounting.model.ChoiceScore
 

F

flush() - Method in class org.chorem.pollen.votecounting.model.GroupOfVoterBuilder
 
flush() - Method in class org.chorem.pollen.votecounting.model.SimpleVoterBuilder
 
flush() - Method in interface org.chorem.pollen.votecounting.model.VoterBuilder
 
flushVoter() - Method in class org.chorem.pollen.votecounting.model.GroupOfVoterBuilder
 

G

getAllChoiceIds(Set<Voter>) - Method in class org.chorem.pollen.votecounting.AbstractVoteCountingStrategy
 
getChoiceId() - Method in interface org.chorem.pollen.votecounting.model.ChoiceIdAble
 
getChoiceId() - Method in class org.chorem.pollen.votecounting.model.ChoiceScore
 
getChoiceId() - Method in class org.chorem.pollen.votecounting.model.VoteForChoice
 
getDisplayVoteValue(Integer) - Method in interface org.chorem.pollen.votecounting.VoteCounting
Get the value to display for a given vote value in the vote page.
getGroupIds() - Method in class org.chorem.pollen.votecounting.model.GroupVoteCountingResult
 
getGroupResult(String) - Method in class org.chorem.pollen.votecounting.model.GroupVoteCountingResult
 
getHelp(Locale) - Method in class org.chorem.pollen.votecounting.AbstractVoteCounting
 
getHelp(Locale) - Method in interface org.chorem.pollen.votecounting.VoteCounting
Get the vote counting strategy help to display in UI.
getId() - Method in class org.chorem.pollen.votecounting.AbstractVoteCounting
 
getId() - Method in interface org.chorem.pollen.votecounting.VoteCounting
Obtains the unique id of this strategy.
getMainResult() - Method in class org.chorem.pollen.votecounting.model.GroupVoteCountingResult
 
getName(Locale) - Method in class org.chorem.pollen.votecounting.AbstractVoteCounting
 
getName(Locale) - Method in interface org.chorem.pollen.votecounting.VoteCounting
Get the vote counting strategy name to display in UI.
getResult() - Method in class org.chorem.pollen.votecounting.model.GroupOfVoter
 
getRoot() - Method in class org.chorem.pollen.votecounting.model.GroupOfVoterBuilder
 
getScore(String) - Method in class org.chorem.pollen.votecounting.model.VoteCountingResult
 
getScoreOrder() - Method in class org.chorem.pollen.votecounting.model.ChoiceScore
 
getScores() - Method in class org.chorem.pollen.votecounting.model.VoteCountingResult
 
getScoresByRank() - Method in class org.chorem.pollen.votecounting.model.VoteCountingResult
 
getScoreValue() - Method in class org.chorem.pollen.votecounting.model.ChoiceScore
 
getShortHelp(Locale) - Method in class org.chorem.pollen.votecounting.AbstractVoteCounting
 
getShortHelp(Locale) - Method in interface org.chorem.pollen.votecounting.VoteCounting
Get the vote counting short help to display in UI.
getTopRanking() - Method in class org.chorem.pollen.votecounting.model.VoteCountingResult
 
getTotalVoteValueNotValidMessage(Locale) - Method in interface org.chorem.pollen.votecounting.VoteCounting
If the total values of a vote is not valid, gets the localized error message.
getVoteCounting(int) - Method in class org.chorem.pollen.votecounting.VoteCountingFactory
 
getVoteForChoices() - Method in class org.chorem.pollen.votecounting.model.GroupOfVoter
 
getVoteForChoices() - Method in class org.chorem.pollen.votecounting.model.SimpleVoter
 
getVoteForChoices() - Method in interface org.chorem.pollen.votecounting.model.Voter
Gets all the vote for choices registred for this voter.
getVoterId() - Method in class org.chorem.pollen.votecounting.model.GroupOfVoter
 
getVoterId() - Method in class org.chorem.pollen.votecounting.model.SimpleVoter
 
getVoterId() - Method in interface org.chorem.pollen.votecounting.model.Voter
Gets the voter unique id.
getVoters() - Method in class org.chorem.pollen.votecounting.model.GroupOfVoter
 
getVoters() - Method in class org.chorem.pollen.votecounting.model.GroupOfVoterBuilder
 
getVoters() - Method in class org.chorem.pollen.votecounting.model.SimpleVoterBuilder
 
getVoters() - Method in interface org.chorem.pollen.votecounting.model.VoterBuilder
 
getVoteValue() - Method in class org.chorem.pollen.votecounting.model.VoteForChoice
 
getVoteValueEditorType() - Method in interface org.chorem.pollen.votecounting.VoteCounting
Gets the type of editor used to render a vote value.
getVoteValueNotValidMessage(Locale, String, String) - Method in interface org.chorem.pollen.votecounting.VoteCounting
If a vote value is not valid, gets the localized message of the error.
getWeight() - Method in class org.chorem.pollen.votecounting.model.GroupOfVoter
 
getWeight() - Method in class org.chorem.pollen.votecounting.model.SimpleVoter
 
getWeight() - Method in interface org.chorem.pollen.votecounting.model.Voter
Gets the weight of the voter.
GroupOfVoter - Class in org.chorem.pollen.votecounting.model
Group of voters.
GroupOfVoter() - Constructor for class org.chorem.pollen.votecounting.model.GroupOfVoter
 
GroupOfVoterBuilder - Class in org.chorem.pollen.votecounting.model
GroupOfVoter builder.
GroupOfVoterBuilder() - Constructor for class org.chorem.pollen.votecounting.model.GroupOfVoterBuilder
 
groups - Variable in class org.chorem.pollen.votecounting.model.GroupVoteCountingResult
 
GroupVoteCountingResult - Class in org.chorem.pollen.votecounting.model
TODO
GroupVoteCountingResult() - Constructor for class org.chorem.pollen.votecounting.model.GroupVoteCountingResult
 

I

i18nHelp - Variable in class org.chorem.pollen.votecounting.AbstractVoteCounting
I18n Key for help of this vote counting type.
i18nName - Variable in class org.chorem.pollen.votecounting.AbstractVoteCounting
I18n key for name of this vote counting type.
i18nShortHelp - Variable in class org.chorem.pollen.votecounting.AbstractVoteCounting
I18n Key for short help of this vote counting type.
id - Variable in class org.chorem.pollen.votecounting.AbstractVoteCounting
Unique id of the vote counting type.
isChoiceInVote(Integer) - Method in interface org.chorem.pollen.votecounting.VoteCounting
Test if the given value is a vote value (says users has filled it).
isTotalVoteValueValid(int) - Method in interface org.chorem.pollen.votecounting.VoteCounting
Tests if the total values of a vote is valid.
isVoteValueNull(Integer) - Method in interface org.chorem.pollen.votecounting.VoteCounting
Tests if a given vote value is null or not.
isVoteValueValid(Integer) - Method in interface org.chorem.pollen.votecounting.VoteCounting
Tests if the given vote value is valid.
iterator() - Method in class org.chorem.pollen.votecounting.model.GroupOfVoter
 
iterator() - Method in class org.chorem.pollen.votecounting.VoteCountingFactory
 

M

MIN_VALUE - Static variable in class org.chorem.pollen.votecounting.model.ChoiceScore
 

N

newEmptyChoiceScoreMap(Set<Voter>) - Method in class org.chorem.pollen.votecounting.AbstractVoteCountingStrategy
 
newGroupVoter(String, double) - Method in class org.chorem.pollen.votecounting.model.GroupOfVoterBuilder
 
newResult(GroupOfVoter, Set<GroupOfVoter>) - Static method in class org.chorem.pollen.votecounting.model.GroupVoteCountingResult
 
newResult(List<ChoiceScore>) - Static method in class org.chorem.pollen.votecounting.model.VoteCountingResult
 
newScore(String, BigDecimal) - Static method in class org.chorem.pollen.votecounting.model.ChoiceScore
 
newStrategy() - Method in class org.chorem.pollen.votecounting.AbstractVoteCounting
 
newStrategy() - Method in interface org.chorem.pollen.votecounting.VoteCounting
Obtains a fresh instance of a vote coutning strategy.
newVote(String, Double) - Static method in class org.chorem.pollen.votecounting.model.VoteForChoice
 
newVoter(String, double, Set<Voter>) - Static method in class org.chorem.pollen.votecounting.model.GroupOfVoter
 
newVoter(String, double) - Method in class org.chorem.pollen.votecounting.model.GroupOfVoterBuilder
 
newVoter(String, double, Set<VoteForChoice>) - Static method in class org.chorem.pollen.votecounting.model.SimpleVoter
 
newVoter(String, double) - Method in class org.chorem.pollen.votecounting.model.SimpleVoterBuilder
 
newVoter(String, double) - Method in interface org.chorem.pollen.votecounting.model.VoterBuilder
 

O

orderByValues(Collection<ChoiceScore>) - Method in class org.chorem.pollen.votecounting.AbstractVoteCountingStrategy
 
org.chorem.pollen.votecounting - package org.chorem.pollen.votecounting
 
org.chorem.pollen.votecounting.model - package org.chorem.pollen.votecounting.model
 

S

SCORE_BY_ORDER - Static variable in class org.chorem.pollen.votecounting.model.ChoiceScore
 
SCORE_BY_VALUE - Static variable in class org.chorem.pollen.votecounting.model.ChoiceScore
 
setChoiceId(String) - Method in class org.chorem.pollen.votecounting.model.ChoiceScore
 
setChoiceId(String) - Method in class org.chorem.pollen.votecounting.model.VoteForChoice
 
setGroups(Set<GroupOfVoter>) - Method in class org.chorem.pollen.votecounting.model.GroupVoteCountingResult
 
setResult(VoteCountingResult) - Method in class org.chorem.pollen.votecounting.model.GroupOfVoter
 
setScoreOrder(int) - Method in class org.chorem.pollen.votecounting.model.ChoiceScore
 
setScores(List<ChoiceScore>) - Method in class org.chorem.pollen.votecounting.model.VoteCountingResult
 
setScoreValue(BigDecimal) - Method in class org.chorem.pollen.votecounting.model.ChoiceScore
 
setVoter(GroupOfVoter) - Method in class org.chorem.pollen.votecounting.model.GroupVoteCountingResult
 
setVoterId(String) - Method in class org.chorem.pollen.votecounting.model.GroupOfVoter
 
setVoterId(String) - Method in class org.chorem.pollen.votecounting.model.SimpleVoter
 
setVoterId(String) - Method in interface org.chorem.pollen.votecounting.model.Voter
Sets the voter id.
setVoters(Set<Voter>) - Method in class org.chorem.pollen.votecounting.model.GroupOfVoter
 
setVoteValue(Double) - Method in class org.chorem.pollen.votecounting.model.VoteForChoice
 
setWeight(double) - Method in class org.chorem.pollen.votecounting.model.GroupOfVoter
 
setWeight(double) - Method in class org.chorem.pollen.votecounting.model.SimpleVoter
 
setWeight(double) - Method in interface org.chorem.pollen.votecounting.model.Voter
Sets the voter weight.
SimpleVoter - Class in org.chorem.pollen.votecounting.model
Physical voter.
SimpleVoter() - Constructor for class org.chorem.pollen.votecounting.model.SimpleVoter
 
SimpleVoterBuilder - Class in org.chorem.pollen.votecounting.model
SimpleVoter builder.
SimpleVoterBuilder() - Constructor for class org.chorem.pollen.votecounting.model.SimpleVoterBuilder
 
sortVoteForChoices(Set<VoteForChoice>) - Method in class org.chorem.pollen.votecounting.AbstractVoteCountingStrategy
 
strategyType - Variable in class org.chorem.pollen.votecounting.AbstractVoteCounting
Type of strategy used to vote count.

V

valueOf(String) - Static method in enum org.chorem.pollen.votecounting.model.ChoiceToVoteRenderType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.chorem.pollen.votecounting.model.ChoiceToVoteRenderType
Returns an array containing the constants of this enum type, in the order they are declared.
votecount(GroupOfVoter) - Method in class org.chorem.pollen.votecounting.AbstractVoteCountingStrategy
 
voteCount(GroupOfVoter, Set<GroupOfVoter>) - Method in class org.chorem.pollen.votecounting.AbstractVoteCountingStrategy
 
votecount(GroupOfVoter) - Method in interface org.chorem.pollen.votecounting.VoteCountingStrategy
Vote count for the given group of voters and return the result of it.
votecount(Set<Voter>) - Method in interface org.chorem.pollen.votecounting.VoteCountingStrategy
Vote count for the given voter and return the result of it.
VoteCounting<S extends VoteCountingStrategy> - Interface in org.chorem.pollen.votecounting
Contract of a vote counting.
VoteCountingFactory - Class in org.chorem.pollen.votecounting
Factory of VoteCounting.
VoteCountingFactory() - Constructor for class org.chorem.pollen.votecounting.VoteCountingFactory
 
VoteCountingNotFound - Exception in org.chorem.pollen.votecounting
Exception when a vote counting could not be found.
VoteCountingNotFound(String) - Constructor for exception org.chorem.pollen.votecounting.VoteCountingNotFound
 
VoteCountingNotFound(String, Throwable) - Constructor for exception org.chorem.pollen.votecounting.VoteCountingNotFound
 
VoteCountingResult - Class in org.chorem.pollen.votecounting.model
Contains results for a vote.
VoteCountingResult() - Constructor for class org.chorem.pollen.votecounting.model.VoteCountingResult
 
VoteCountingStrategy - Interface in org.chorem.pollen.votecounting
Strategy of a vote counting.
VoteForChoice - Class in org.chorem.pollen.votecounting.model
A vote for a choice.
VoteForChoice() - Constructor for class org.chorem.pollen.votecounting.model.VoteForChoice
 
voter - Variable in class org.chorem.pollen.votecounting.model.GroupVoteCountingResult
 
Voter - Interface in org.chorem.pollen.votecounting.model
A voter (can be a physical voter or a group of voters).
VoterBuilder - Interface in org.chorem.pollen.votecounting.model
To build some Voter.
voteValueComparator - Variable in class org.chorem.pollen.votecounting.AbstractVoteCountingStrategy
 

Z

ZERO_D - Static variable in class org.chorem.pollen.votecounting.AbstractVoteCountingStrategy
 
A B C F G I M N O S V Z 

Copyright © 2009–2014 CodeLutin. All rights reserved.