|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.topia.persistence.TopiaEntityAbstract
org.chorem.pollen.business.persistence.PollAbstract
org.chorem.pollen.business.persistence.PollImpl
public class PollImpl
| Field Summary |
|---|
| Fields inherited from class org.chorem.pollen.business.persistence.PollAbstract |
|---|
anonymous, anonymousVoteAllowed, beginChoiceDate, beginDate, choice, choiceAddAllowed, choiceType, closed, comment, continuousResults, creator, description, endChoiceDate, endDate, maxChoiceNb, pollId, pollType, preventRule, publicResults, result, resultUptodate, title, vote, voteCountingType, votingList |
| Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
|---|
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables |
| Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity |
|---|
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION |
| Constructor Summary | |
|---|---|
PollImpl()
|
|
| Method Summary | |
|---|---|
String |
getAdminId()
|
List<Choice> |
getChoice()
|
List<Comment> |
getComment()
|
PersonToList |
getPersonToListByVote(Vote vote)
|
List<PollAccount> |
getPollAccounts(boolean withNoVote)
|
List<PreventRule> |
getPreventRule()
|
PreventRule |
getPreventRuleByScope(String scope)
|
List<Result> |
getResult()
|
List<Vote> |
getVote()
|
Vote |
getVoteByPollAccount(PollAccount account)
|
String |
getVoteId(PollAccount account)
|
List<VotingList> |
getVotingList()
|
boolean |
isAddChoiceFinished(Date currentDate)
|
boolean |
isAddChoiceRunning(Date currentDate)
|
boolean |
isAddChoiceStarted(Date currentDate)
|
boolean |
isFinished(Date currentDate)
|
boolean |
isRunning(Date currentDate)
|
boolean |
isStarted(Date currentDate)
|
| Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
|---|
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getReadPropertyChangeSupport, getReadVetoableChangeSupport, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, getWritePropertyChangeSupport, getWriteVetoableChangeSupport, hashCode, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaContext, setTopiaCreateDate, setTopiaId, setTopiaVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity |
|---|
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion |
| Constructor Detail |
|---|
public PollImpl()
| Method Detail |
|---|
public List<Vote> getVote()
getVote in interface PollgetVote in class PollAbstractpublic List<Choice> getChoice()
getChoice in interface PollgetChoice in class PollAbstractpublic List<Result> getResult()
getResult in interface PollgetResult in class PollAbstractpublic List<Comment> getComment()
getComment in interface PollgetComment in class PollAbstractpublic List<PreventRule> getPreventRule()
getPreventRule in interface PollgetPreventRule in class PollAbstractpublic List<VotingList> getVotingList()
getVotingList in interface PollgetVotingList in class PollAbstractpublic Vote getVoteByPollAccount(PollAccount account)
public String getAdminId()
public String getVoteId(PollAccount account)
public boolean isStarted(Date currentDate)
public boolean isRunning(Date currentDate)
public boolean isFinished(Date currentDate)
public boolean isAddChoiceStarted(Date currentDate)
public boolean isAddChoiceRunning(Date currentDate)
public boolean isAddChoiceFinished(Date currentDate)
public PreventRule getPreventRuleByScope(String scope)
public PersonToList getPersonToListByVote(Vote vote)
public List<PollAccount> getPollAccounts(boolean withNoVote)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||