Package nxt.voting
Class PollHome
java.lang.Object
nxt.voting.PollHome
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classfinal class -
Method Summary
Modifier and TypeMethodDescriptionstatic PollHomeforChain(ChildChain childChain) getActivePolls(int from, int to) getAllPolls(int from, int to) intgetCount()getPoll(long id) getPollsByAccount(long accountId, boolean includeFinished, boolean finishedOnly, int from, int to) getPollsFinishingAt(int height) getPollsFinishingAtOrBefore(int height, int from, int to) getPollsFinishingBetween(int minHeight, int height, int from, int to) searchPolls(String query, boolean includeFinished, int from, int to)
-
Method Details
-
forChain
-
getPoll
-
getPollsFinishingAtOrBefore
-
getPollsFinishingBetween
public DbIterator<PollHome.Poll> getPollsFinishingBetween(int minHeight, int height, int from, int to) -
getAllPolls
-
getActivePolls
-
getPollsByAccount
public DbIterator<PollHome.Poll> getPollsByAccount(long accountId, boolean includeFinished, boolean finishedOnly, int from, int to) -
getPollsFinishingAt
-
searchPolls
public DbIterator<PollHome.Poll> searchPolls(String query, boolean includeFinished, int from, int to) -
getCount
public int getCount()
-