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

A

AbstractVoteCountingStrategy - Class in org.chorem.pollen.votecounting.strategy
Base abstract implementation of a VoteCountingStrategy.
AbstractVoteCountingStrategy() - Constructor for class org.chorem.pollen.votecounting.strategy.AbstractVoteCountingStrategy
 
AbstractVoteCountingStrategy.VoteForChoiceComparator - Class in org.chorem.pollen.votecounting.strategy
 
AbstractVoteCountingStrategy.VoteForChoiceComparator() - Constructor for class org.chorem.pollen.votecounting.strategy.AbstractVoteCountingStrategy.VoteForChoiceComparator
 
addScoreValue(double) - Method in class org.chorem.pollen.votecounting.model.ChoiceScore
 
addVoteForChoice(VoteForChoice) - Method in class org.chorem.pollen.votecounting.model.GroupOfVoter
 
addVoteForChoice(VoteForChoice) - Method in class org.chorem.pollen.votecounting.model.SimpleVoter
 
addVoteForChoice(VoteForChoice) - Method in interface org.chorem.pollen.votecounting.model.Voter
Register a new vote value for this voter.
addVoteForChoice(String, Double) - Method in class org.chorem.pollen.votecounting.model.VoterBuilder
 
apply(ChoiceIdAble) - Method in class org.chorem.pollen.votecounting.model.ChoiceIdAble.ChoiceIdAbleById
 

B

buildVoterSortedChoices(Set<Voter>) - Method in class org.chorem.pollen.votecounting.strategy.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
ChoiceScore 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.
compare(VoteForChoice, VoteForChoice) - Method in class org.chorem.pollen.votecounting.strategy.AbstractVoteCountingStrategy.VoteForChoiceComparator
 
compareTo(ChoiceScore) - Method in class org.chorem.pollen.votecounting.model.ChoiceScore
 

F

flushVoter() - Method in class org.chorem.pollen.votecounting.model.VoterBuilder
 

G

getAllChoiceIds(Set<Voter>) - Method in class org.chorem.pollen.votecounting.strategy.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
 
getDirectWinners(Collection<List<Set<String>>>) - Method in class org.chorem.pollen.votecounting.strategy.AbstractVoteCountingStrategy
 
getDisplayVoteValue(Integer) - Method in interface org.chorem.pollen.votecounting.strategy.VoteCountingStrategy
Get the value to display for a given vote value in the vote page.
getGroupResults() - Method in class org.chorem.pollen.votecounting.model.GroupVoteCountingResult
 
getI18nHelp() - Method in interface org.chorem.pollen.votecounting.strategy.VoteCountingStrategy
Obtains the i18n help of this strategy.
getI18nName() - Method in interface org.chorem.pollen.votecounting.strategy.VoteCountingStrategy
Obtains the i18n name of this strategy.
getId() - Method in interface org.chorem.pollen.votecounting.strategy.VoteCountingStrategy
Obtains the unique id of this strategy.
getMainResult() - Method in class org.chorem.pollen.votecounting.model.GroupVoteCountingResult
 
getResult() - Method in class org.chorem.pollen.votecounting.model.GroupOfVoter
 
getScores() - Method in class org.chorem.pollen.votecounting.model.VoteCountingResult
 
getScoreValue() - Method in class org.chorem.pollen.votecounting.model.ChoiceScore
 
getStrategy(int) - Method in class org.chorem.pollen.votecounting.strategy.VoteCountingStrategyProvider
 
getStrategyHelp(Locale) - Method in class org.chorem.pollen.votecounting.strategy.AbstractVoteCountingStrategy
 
getStrategyHelp(Locale) - Method in interface org.chorem.pollen.votecounting.strategy.VoteCountingStrategy
Get the vote counting strategy help to display in UI.
getStrategyIds() - Method in class org.chorem.pollen.votecounting.strategy.VoteCountingStrategyProvider
 
getStrategyName(Locale) - Method in class org.chorem.pollen.votecounting.strategy.AbstractVoteCountingStrategy
 
getStrategyName(Locale) - Method in interface org.chorem.pollen.votecounting.strategy.VoteCountingStrategy
Get the vote counting strategy name to display in UI.
getTotalVoteValueNotValidMessage(Locale) - Method in interface org.chorem.pollen.votecounting.strategy.VoteCountingStrategy
If the total values of a vote is not valid, gets the localized error message.
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.VoterBuilder
 
getVoteValue() - Method in class org.chorem.pollen.votecounting.model.VoteForChoice
 
getVoteValueEditorType() - Method in interface org.chorem.pollen.votecounting.strategy.VoteCountingStrategy
Gets the type of editor used to render a vote value.
getVoteValueNotValidMessage(Locale) - Method in interface org.chorem.pollen.votecounting.strategy.VoteCountingStrategy
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
 
groupResults - 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

isChoiceInVote(Integer) - Method in interface org.chorem.pollen.votecounting.strategy.VoteCountingStrategy
Test if the given value is a vote value (says users has filled it).
isDisplayResultsByChoice() - Method in interface org.chorem.pollen.votecounting.strategy.VoteCountingStrategy
Deprecated.
since 1.5 (result will be offered by the strategy it-self).
isTotalVoteValueValid(int) - Method in interface org.chorem.pollen.votecounting.strategy.VoteCountingStrategy
Tests if the total values of a vote is valid.
isVoteValueNull(Integer) - Method in interface org.chorem.pollen.votecounting.strategy.VoteCountingStrategy
Tests if a given vote value is null or not.
isVoteValueValid(Integer) - Method in interface org.chorem.pollen.votecounting.strategy.VoteCountingStrategy
Tests if the given vote value is valid.

L

load() - Method in class org.chorem.pollen.votecounting.strategy.VoteCountingStrategyProvider
 

M

mainResult - Variable in class org.chorem.pollen.votecounting.model.GroupVoteCountingResult
 

N

newResult(VoteCountingResult, Map<GroupOfVoter, VoteCountingResult>) - 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
 
newVote(String, Double) - Static method in class org.chorem.pollen.votecounting.model.VoteForChoice
 
newVoter(String, double, Set<VoteForChoice>, Set<Voter>) - Static method in class org.chorem.pollen.votecounting.model.GroupOfVoter
 
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.VoterBuilder
 

O

org.chorem.pollen.votecounting.model - package org.chorem.pollen.votecounting.model
 
org.chorem.pollen.votecounting.strategy - package org.chorem.pollen.votecounting.strategy
 

R

resultToList(Map<String, ChoiceScore>) - Method in class org.chorem.pollen.votecounting.strategy.AbstractVoteCountingStrategy
 

S

setChoiceId(String) - Method in class org.chorem.pollen.votecounting.model.ChoiceScore
 
setChoiceId(String) - Method in class org.chorem.pollen.votecounting.model.VoteForChoice
 
setGroupResults(Map<GroupOfVoter, VoteCountingResult>) - Method in class org.chorem.pollen.votecounting.model.GroupVoteCountingResult
 
setMainResult(VoteCountingResult) - Method in class org.chorem.pollen.votecounting.model.GroupVoteCountingResult
 
setResult(VoteCountingResult) - Method in class org.chorem.pollen.votecounting.model.GroupOfVoter
 
setScores(List<ChoiceScore>) - Method in class org.chorem.pollen.votecounting.model.VoteCountingResult
 
setScoreValue(BigDecimal) - Method in class org.chorem.pollen.votecounting.model.ChoiceScore
 
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
 
sortVoteForChoices(Set<VoteForChoice>, Comparator<VoteForChoice>) - Method in class org.chorem.pollen.votecounting.strategy.AbstractVoteCountingStrategy
 

T

toChoiceScore(Map<String, ChoiceScore>) - Method in class org.chorem.pollen.votecounting.strategy.AbstractVoteCountingStrategy
 

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(Set<Voter>) - Method in interface org.chorem.pollen.votecounting.strategy.VoteCountingStrategy
Vote count for the given voter and return the result of it.
VoteCountigStrategyNotFound - Exception in org.chorem.pollen.votecounting.strategy
Exception when a vote counting could not be found.
VoteCountigStrategyNotFound(String) - Constructor for exception org.chorem.pollen.votecounting.strategy.VoteCountigStrategyNotFound
 
VoteCountigStrategyNotFound(String, Throwable) - Constructor for exception org.chorem.pollen.votecounting.strategy.VoteCountigStrategyNotFound
 
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
Contract of a vote counting method.
VoteCountingStrategyProvider - Class in org.chorem.pollen.votecounting.strategy
VoteCountingStrategyProvider() - Constructor for class org.chorem.pollen.votecounting.strategy.VoteCountingStrategyProvider
 
VoteForChoice - Class in org.chorem.pollen.votecounting.model
A vote for a choice.
VoteForChoice() - Constructor for class org.chorem.pollen.votecounting.model.VoteForChoice
 
Voter - Interface in org.chorem.pollen.votecounting.model
A voter (can be a physical voter or a group of voters).
VoterBuilder - Class in org.chorem.pollen.votecounting.model
To build some Voter.
VoterBuilder() - Constructor for class org.chorem.pollen.votecounting.model.VoterBuilder
 
votersToResult(Set<Voter>) - Method in class org.chorem.pollen.votecounting.strategy.AbstractVoteCountingStrategy
 

Z

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

Copyright © 2009-2012 CodeLutin. All Rights Reserved.