- getPollItems
Get the list of poll options.
- setTopic
Get the topic that contains this poll.
- addPollOptions
Add the poll options to this poll.
- getEndingDate
Get the poll ending date.
- getId
- getTitle
Get the poll title.
- getTotalVotesCount
Counts the total count of votes in the poll.
- isActive
Evaluates the current activity of poll.
- isHasPoll
Determines a existence the poll in the topic.
- parseItems
Prepare poll items list from string. Removes empty lines from.
- setEndingDate
Set the poll ending date.
- setPollItems
Set the list of poll options.