| Package | Description |
|---|---|
| org.sakaiproject.poll.logic | |
| org.sakaiproject.poll.model |
| Modifier and Type | Method and Description |
|---|---|
Vote |
PollVoteManager.getVoteById(Long voteId)
Get a vote by id
|
| Modifier and Type | Method and Description |
|---|---|
List<Vote> |
PollVoteManager.getAllVotesForOption(Option option)
Get all votes for Option
|
List<Vote> |
PollVoteManager.getAllVotesForPoll(Poll poll) |
Map<Long,List<Vote>> |
PollVoteManager.getVotesForUser(String userId,
Long[] pollIds)
Get all the votes for a specific user in a poll or polls (or all polls)
|
| Modifier and Type | Method and Description |
|---|---|
void |
PollVoteManager.deleteVote(Vote vote)
Delete the given vote
|
void |
ExternalLogic.registerStatement(String pollText,
Vote vote)
Register a statement with the system LearningResourceStoreService
|
boolean |
PollVoteManager.saveVote(Vote vote) |
| Modifier and Type | Method and Description |
|---|---|
void |
PollVoteManager.saveVoteList(List<Vote> voteCollection)
Save a vote collection - a users collection of votes for a specific poll
|
| Modifier and Type | Method and Description |
|---|---|
List<Vote> |
Poll.getCurrentUserVotes() |
List<Vote> |
Poll.getVotes() |
List<Vote> |
VoteCollection.getVotes() |
| Modifier and Type | Method and Description |
|---|---|
void |
Poll.addVote(Vote vote)
Attach a vote to the list of votes for this poll
|
| Modifier and Type | Method and Description |
|---|---|
void |
Poll.setCurrentUserVotes(List<Vote> currentUserVotes) |
void |
Poll.setVotes(List<Vote> value)
Set the votes list for this poll
|
void |
VoteCollection.setVotes(List<Vote> rvotes) |
Copyright © 2003-2015 Sakai Project. All Rights Reserved.