| Package | Description |
|---|---|
| org.sakaiproject.poll.logic | |
| org.sakaiproject.poll.model | |
| org.sakaiproject.poll.util |
| Modifier and Type | Method and Description |
|---|---|
Option |
PollListManager.getOptionById(Long optionId)
Get a specific option by its id
|
| Modifier and Type | Method and Description |
|---|---|
List<Option> |
PollListManager.getOptionsForPoll(Long pollId)
Get all options for a specific poll
|
List<Option> |
PollListManager.getOptionsForPoll(Poll poll)
Get all options for a specific poll
|
List<Option> |
PollListManager.getVisibleOptionsForPoll(Long pollId)
Get options for the given poll that are not flagged as deleted.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PollListManager.deleteOption(Option option)
Delete an option from the database.
|
void |
PollListManager.deleteOption(Option option,
boolean soft)
Delete a poll option, either "hard" or "soft".
|
List<Vote> |
PollVoteManager.getAllVotesForOption(Option option)
Get all votes for Option
|
boolean |
PollListManager.saveOption(Option t)
Save an individual option
|
| Modifier and Type | Method and Description |
|---|---|
List<Option> |
Poll.getPollOptions() |
| Modifier and Type | Method and Description |
|---|---|
void |
Poll.addOption(Option option) |
| Modifier and Type | Method and Description |
|---|---|
void |
Poll.setOptions(List<Option> value) |
| Constructor and Description |
|---|
Vote(Poll poll,
Option option,
String subId) |
| Modifier and Type | Method and Description |
|---|---|
static Option |
PollUtil.xmlToOption(Element element) |
| Modifier and Type | Method and Description |
|---|---|
static Element |
PollUtil.optionToXml(Option option,
Document doc,
Stack<Element> stack) |
Copyright © 2003–2018 Sakai Project. All rights reserved.