public final class PollHome
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PollHome.OptionResult |
class |
PollHome.Poll |
Modifier and Type | Method and Description |
---|---|
static PollHome |
forChain(ChildChain childChain) |
DbIterator<PollHome.Poll> |
getActivePolls(int from,
int to) |
DbIterator<PollHome.Poll> |
getAllPolls(int from,
int to) |
int |
getCount() |
PollHome.Poll |
getPoll(long id) |
DbIterator<PollHome.Poll> |
getPollsByAccount(long accountId,
boolean includeFinished,
boolean finishedOnly,
int from,
int to) |
DbIterator<PollHome.Poll> |
getPollsFinishingAt(int height) |
DbIterator<PollHome.Poll> |
getPollsFinishingAtOrBefore(int height,
int from,
int to) |
DbIterator<PollHome.Poll> |
getPollsFinishingBetween(int minHeight,
int height,
int from,
int to) |
DbIterator<PollHome.Poll> |
searchPolls(java.lang.String query,
boolean includeFinished,
int from,
int to) |
public static PollHome forChain(ChildChain childChain)
public PollHome.Poll getPoll(long id)
public DbIterator<PollHome.Poll> getPollsFinishingAtOrBefore(int height, int from, int to)
public DbIterator<PollHome.Poll> getPollsFinishingBetween(int minHeight, int height, int from, int to)
public DbIterator<PollHome.Poll> getAllPolls(int from, int to)
public DbIterator<PollHome.Poll> getActivePolls(int from, int to)
public DbIterator<PollHome.Poll> getPollsByAccount(long accountId, boolean includeFinished, boolean finishedOnly, int from, int to)
public DbIterator<PollHome.Poll> getPollsFinishingAt(int height)
public DbIterator<PollHome.Poll> searchPolls(java.lang.String query, boolean includeFinished, int from, int to)
public int getCount()