A C D E F G I N O P R S T U V X 

A

add - Variable in class org.sakaiproject.poll.model.PollRolePerms
 
addOption(Option) - Method in class org.sakaiproject.poll.model.Poll
 
addVote(Vote) - Method in class org.sakaiproject.poll.model.Poll
Attach a vote to the list of votes for this poll

C

cleanupHtmlPtags(String) - Static method in class org.sakaiproject.poll.util.PollUtils
Attempts to remove all unnecessary P tags from html strings

D

deleteAny - Variable in class org.sakaiproject.poll.model.PollRolePerms
 
deleteOption(Option) - Method in interface org.sakaiproject.poll.logic.PollListManager
Delete an option from the database.
deleteOption(Option, boolean) - Method in interface org.sakaiproject.poll.logic.PollListManager
Delete a poll option, either "hard" or "soft".
deleteOwn - Variable in class org.sakaiproject.poll.model.PollRolePerms
 
deletePoll(Poll) - Method in interface org.sakaiproject.poll.logic.PollListManager
Delete a poll
deleteVote(Vote) - Method in interface org.sakaiproject.poll.logic.PollVoteManager
Delete the given vote

E

editAny - Variable in class org.sakaiproject.poll.model.PollRolePerms
 
editOwn - Variable in class org.sakaiproject.poll.model.PollRolePerms
 
ENDING_P_SPACE_TAGS - Static variable in class org.sakaiproject.poll.util.PollUtils
 
ENDING_P_TAG - Static variable in class org.sakaiproject.poll.util.PollUtils
 
ExternalLogic - Interface in org.sakaiproject.poll.logic
 

F

findAllPolls(String) - Method in interface org.sakaiproject.poll.logic.PollListManager
Gets all the task objects for the site
findAllPollsForUserAndSitesAndPermission(String, String[], String) - Method in interface org.sakaiproject.poll.logic.PollListManager
Get all the polls for a user in a set of sites (can be one) given the permission, will return only polls that can be voted on if the permission is PollListManager.PERMISSION_VOTE
fromXML(Element) - Static method in class org.sakaiproject.poll.model.Poll
 

G

getAllVotesForOption(Option) - Method in interface org.sakaiproject.poll.logic.PollVoteManager
Get all votes for Option
getAllVotesForPoll(Poll) - Method in interface org.sakaiproject.poll.logic.PollVoteManager
 
getCreationDate() - Method in class org.sakaiproject.poll.model.Poll
 
getCurrentLocationId() - Method in interface org.sakaiproject.poll.logic.ExternalLogic
 
getCurrentLocationReference() - Method in interface org.sakaiproject.poll.logic.ExternalLogic
 
getCurrentToolSession() - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Needed to invoke helper tools
getCurrentUserId() - Method in interface org.sakaiproject.poll.logic.ExternalLogic
 
getCurrentuserReference() - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Get the current user reference (/user/admin)
getCurrentUserVotes() - Method in class org.sakaiproject.poll.model.Poll
 
getDeleted() - Method in class org.sakaiproject.poll.model.Option
 
getDescription() - Method in class org.sakaiproject.poll.model.Poll
 
getDetails() - Method in class org.sakaiproject.poll.model.Poll
 
getDisctinctVotersForPoll(Poll) - Method in interface org.sakaiproject.poll.logic.PollVoteManager
 
getDisplayResult() - Method in class org.sakaiproject.poll.model.Poll
 
getId() - Method in class org.sakaiproject.poll.model.Option
 
getId() - Method in class org.sakaiproject.poll.model.Poll
 
getId() - Method in class org.sakaiproject.poll.model.Vote
 
getId() - Method in class org.sakaiproject.poll.model.VoteCollection
 
getIp() - Method in class org.sakaiproject.poll.model.Vote
 
getIsPublic() - Method in class org.sakaiproject.poll.model.Poll
 
getLimitVoting() - Method in class org.sakaiproject.poll.model.Poll
 
getLocalTimeZone() - Method in interface org.sakaiproject.poll.logic.ExternalLogic
get the correct Timezone for the the current user
getMaxOptions() - Method in class org.sakaiproject.poll.model.Poll
 
getMinOptions() - Method in class org.sakaiproject.poll.model.Poll
Get the minimum number of options that must be selected to vote
getOption() - Method in class org.sakaiproject.poll.model.VoteCollection
 
getOptionById(Long) - Method in interface org.sakaiproject.poll.logic.PollListManager
Get a specific option by its id
getOptionId() - Method in class org.sakaiproject.poll.model.Option
 
getOptionsForPoll(Long) - Method in interface org.sakaiproject.poll.logic.PollListManager
Get all options for a specific poll
getOptionsForPoll(Poll) - Method in interface org.sakaiproject.poll.logic.PollListManager
Get all options for a specific poll
getOptionsSelected() - Method in class org.sakaiproject.poll.model.VoteCollection
 
getOptionText() - Method in class org.sakaiproject.poll.model.Option
 
getOwner() - Method in class org.sakaiproject.poll.model.Poll
 
getPermissionKeys() - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Get a list of the permission keys for the tool
getPoll(String) - Method in interface org.sakaiproject.poll.logic.PollListManager
get a poll by its Entity Reference
getPollById(Long) - Method in interface org.sakaiproject.poll.logic.PollListManager
Retrieve a specific poll
getPollById(Long, boolean) - Method in interface org.sakaiproject.poll.logic.PollListManager
Retrieve a specific poll
getPollId() - Method in class org.sakaiproject.poll.model.Option
 
getPollId() - Method in class org.sakaiproject.poll.model.Poll
Get the id of the poll
getPollId() - Method in class org.sakaiproject.poll.model.Vote
 
getPollId() - Method in class org.sakaiproject.poll.model.VoteCollection
 
getPollOption() - Method in class org.sakaiproject.poll.model.Vote
 
getPollOptions() - Method in class org.sakaiproject.poll.model.Poll
 
getPollText() - Method in class org.sakaiproject.poll.model.Poll
 
getPollWithVotes(Long) - Method in interface org.sakaiproject.poll.logic.PollListManager
Get a specific poll with all its votes
getProperties() - Method in class org.sakaiproject.poll.model.Poll
 
getReference() - Method in class org.sakaiproject.poll.model.Poll
 
getReference(String) - Method in class org.sakaiproject.poll.model.Poll
 
getRoleIdsInRealm(String) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Get a list of RoleIds in a the given realms
getRoles(String) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Get the Roles in a site
getSiteId() - Method in class org.sakaiproject.poll.model.Poll
 
getSiteRefFromId(String) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Get a site reference "/site/ABCD from its id (ABCD)
getSitesForUser(String, String) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Get the sites users is a member of
getSiteTile(String) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
 
getStatus() - Method in class org.sakaiproject.poll.model.Option
 
getSubmissionId() - Method in class org.sakaiproject.poll.model.Vote
 
getSubmissionStatus() - Method in class org.sakaiproject.poll.model.VoteCollection
 
getText() - Method in class org.sakaiproject.poll.model.Option
 
getText() - Method in class org.sakaiproject.poll.model.Poll
 
getUrl() - Method in class org.sakaiproject.poll.model.Poll
 
getUrl(String) - Method in class org.sakaiproject.poll.model.Poll
 
getUserEidFromId(String) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Given a userId, return the associated userEid
getUserId() - Method in class org.sakaiproject.poll.model.Vote
 
getUUId() - Method in class org.sakaiproject.poll.model.Option
 
getVisibleOptionsForPoll(Long) - Method in interface org.sakaiproject.poll.logic.PollListManager
Get options for the given poll that are not flagged as deleted.
getVoteById(Long) - Method in interface org.sakaiproject.poll.logic.PollVoteManager
Get a vote by id
getVoteClose() - Method in class org.sakaiproject.poll.model.Poll
 
getVoteCloseStr() - Method in class org.sakaiproject.poll.model.Poll
 
getVoteDate() - Method in class org.sakaiproject.poll.model.Vote
 
getVoteOpen() - Method in class org.sakaiproject.poll.model.Poll
 
getVoteOpenStr() - Method in class org.sakaiproject.poll.model.Poll
 
getVotes() - Method in class org.sakaiproject.poll.model.Poll
 
getVotes() - Method in class org.sakaiproject.poll.model.VoteCollection
 
getVotesForUser(String, Long[]) - Method in interface org.sakaiproject.poll.logic.PollVoteManager
Get all the votes for a specific user in a poll or polls (or all polls)

I

isAllowedInLocation(String, String) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
is the current user allowed to perform the action in the current location?
isAllowedInLocation(String, String, String) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
is the current user allowed to perform the action in the current location?
isAllowedViewResults(Poll, String) - Method in interface org.sakaiproject.poll.logic.PollListManager
Can the this user view the results for this poll?
isCurrentUserVoted() - Method in class org.sakaiproject.poll.model.Poll
 
isMobileBrowser() - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Is the current user using a mobile browser?
isPollPublic(Poll) - Method in interface org.sakaiproject.poll.logic.PollListManager
Is this poll public?
isResultsChartEnabled() - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Are charts enabled on the results page?
isRoleAllowedInRealm(String, String, String) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
is the role allowed to perform the function in the given realm?
isShowPublicAccess() - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Are the public access options available to the Instructor?
isUserAdmin(String) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Check if this user has super admin access
isUserAdmin() - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Check if the current user has super admin access
isUserAllowedVote(String, Long, boolean) - Method in interface org.sakaiproject.poll.logic.PollVoteManager
Check if the given user can vote in the supplied poll, also checks if the user has already voted, if so this will return false
isValidEmail(String) - Static method in class org.sakaiproject.poll.util.PollUtils
 

N

notifyDeletedOption(List<String>, String, String) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Notify a list of users that an option they voted for in a poll has been deleted.

O

Option - Class in org.sakaiproject.poll.model
 
Option() - Constructor for class org.sakaiproject.poll.model.Option
 
Option(Long) - Constructor for class org.sakaiproject.poll.model.Option
 
option - Variable in class org.sakaiproject.poll.model.VoteCollection
 
optionsSelected - Variable in class org.sakaiproject.poll.model.VoteCollection
 
optionToXml(Option, Document, Stack<Element>) - Static method in class org.sakaiproject.poll.util.PollUtil
 
org.sakaiproject.poll.logic - package org.sakaiproject.poll.logic
 
org.sakaiproject.poll.model - package org.sakaiproject.poll.model
 
org.sakaiproject.poll.util - package org.sakaiproject.poll.util
 

P

PERMISSION_ADD - Static variable in interface org.sakaiproject.poll.logic.PollListManager
 
PERMISSION_DELETE_ANY - Static variable in interface org.sakaiproject.poll.logic.PollListManager
 
PERMISSION_DELETE_OWN - Static variable in interface org.sakaiproject.poll.logic.PollListManager
 
PERMISSION_EDIT_ANY - Static variable in interface org.sakaiproject.poll.logic.PollListManager
 
PERMISSION_EDIT_OWN - Static variable in interface org.sakaiproject.poll.logic.PollListManager
 
PERMISSION_VOTE - Static variable in interface org.sakaiproject.poll.logic.PollListManager
 
Poll - Class in org.sakaiproject.poll.model
 
Poll() - Constructor for class org.sakaiproject.poll.model.Poll
 
pollIsVotable(Poll) - Method in interface org.sakaiproject.poll.logic.PollVoteManager
Is the current user able to vote on this poll?
PollListManager - Interface in org.sakaiproject.poll.logic
This is the interface for the Manager for our poll tool, it handles the data access functionality of the tool, we currently have 2 implementations (memory and hibernate)
PollRolePerms - Class in org.sakaiproject.poll.model
 
PollRolePerms(String) - Constructor for class org.sakaiproject.poll.model.PollRolePerms
 
PollRolePerms(String, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) - Constructor for class org.sakaiproject.poll.model.PollRolePerms
 
PollRolePerms(String, boolean, boolean, boolean, boolean, boolean, boolean) - Constructor for class org.sakaiproject.poll.model.PollRolePerms
 
PollUtil - Class in org.sakaiproject.poll.util
 
PollUtil() - Constructor for class org.sakaiproject.poll.util.PollUtil
 
PollUtils - Class in org.sakaiproject.poll.util
 
PollUtils() - Constructor for class org.sakaiproject.poll.util.PollUtils
 
PollVoteManager - Interface in org.sakaiproject.poll.logic
 
postEvent(String, String, boolean) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Post a new event to the event tracking service

R

REF_POLL_TYPE - Static variable in interface org.sakaiproject.poll.logic.PollListManager
 
registerFunction(String) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Register a function with the Sakai Function manager
registerStatement(String, Vote) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Register a statement with the system LearningResourceStoreService
registerStatement(String, boolean) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Register a statement with the system LearningResourceStoreService
rolename - Variable in class org.sakaiproject.poll.model.PollRolePerms
 

S

saveOption(Option) - Method in interface org.sakaiproject.poll.logic.PollListManager
Save an individual option
savePoll(Poll) - Method in interface org.sakaiproject.poll.logic.PollListManager
Save a poll
saveVote(Vote) - Method in interface org.sakaiproject.poll.logic.PollVoteManager
 
saveVoteList(List<Vote>) - Method in interface org.sakaiproject.poll.logic.PollVoteManager
Save a vote collection - a users collection of votes for a specific poll
setCreationDate(Date) - Method in class org.sakaiproject.poll.model.Poll
 
setCurrentUserVoted(boolean) - Method in class org.sakaiproject.poll.model.Poll
 
setCurrentUserVotes(List<Vote>) - Method in class org.sakaiproject.poll.model.Poll
 
setDeleted(Boolean) - Method in class org.sakaiproject.poll.model.Option
 
setDescription(String) - Method in class org.sakaiproject.poll.model.Poll
 
setDetails(String) - Method in class org.sakaiproject.poll.model.Poll
 
setDisplayResult(String) - Method in class org.sakaiproject.poll.model.Poll
Set when to display the results
setId(Long) - Method in class org.sakaiproject.poll.model.Option
 
setId(String) - Method in class org.sakaiproject.poll.model.Poll
 
setId(Long) - Method in class org.sakaiproject.poll.model.Vote
 
setId(String) - Method in class org.sakaiproject.poll.model.VoteCollection
 
setIp(String) - Method in class org.sakaiproject.poll.model.Vote
 
setIsPublic(boolean) - Method in class org.sakaiproject.poll.model.Poll
 
setLimitVoting(boolean) - Method in class org.sakaiproject.poll.model.Poll
 
setMaxOptions(int) - Method in class org.sakaiproject.poll.model.Poll
 
setMinOptions(int) - Method in class org.sakaiproject.poll.model.Poll
 
setOption(String) - Method in class org.sakaiproject.poll.model.VoteCollection
 
setOptionId(Long) - Method in class org.sakaiproject.poll.model.Option
 
setOptions(List<Option>) - Method in class org.sakaiproject.poll.model.Poll
 
setOptionsSelected(String[]) - Method in class org.sakaiproject.poll.model.VoteCollection
 
setOptionText(String) - Method in class org.sakaiproject.poll.model.Option
 
setOwner(String) - Method in class org.sakaiproject.poll.model.Poll
 
setPollId(Long) - Method in class org.sakaiproject.poll.model.Option
 
setPollId(Long) - Method in class org.sakaiproject.poll.model.Poll
 
setPollId(Long) - Method in class org.sakaiproject.poll.model.Vote
 
setPollId(Long) - Method in class org.sakaiproject.poll.model.VoteCollection
 
setPollOption(Long) - Method in class org.sakaiproject.poll.model.Vote
 
setPollText(String) - Method in class org.sakaiproject.poll.model.Poll
 
setSiteId(String) - Method in class org.sakaiproject.poll.model.Poll
 
setStatus(String) - Method in class org.sakaiproject.poll.model.Option
 
setSubmissionId(String) - Method in class org.sakaiproject.poll.model.Vote
 
setSubmissionStatus(String) - Method in class org.sakaiproject.poll.model.VoteCollection
 
setText(String) - Method in class org.sakaiproject.poll.model.Option
 
setText(String) - Method in class org.sakaiproject.poll.model.Poll
 
setToolPermissions(Map<String, PollRolePerms>, String) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
Set the tool permissions for the given location
setUserId(String) - Method in class org.sakaiproject.poll.model.Vote
 
setUUId(String) - Method in class org.sakaiproject.poll.model.Option
 
setVoteClose(Date) - Method in class org.sakaiproject.poll.model.Poll
 
setVoteCloseStr(String) - Method in class org.sakaiproject.poll.model.Poll
 
setVoteDate(Date) - Method in class org.sakaiproject.poll.model.Vote
 
setVoteOpen(Date) - Method in class org.sakaiproject.poll.model.Poll
 
setVoteOpenStr(String) - Method in class org.sakaiproject.poll.model.Poll
 
setVotes(List<Vote>) - Method in class org.sakaiproject.poll.model.Poll
Set the votes list for this poll
setVotes(List<Vote>) - Method in class org.sakaiproject.poll.model.VoteCollection
 
STARTING_P_TAG - Static variable in class org.sakaiproject.poll.util.PollUtils
 

T

toString() - Method in class org.sakaiproject.poll.model.Poll
 
toString() - Method in class org.sakaiproject.poll.model.Vote
 
toXml(Document, Stack) - Method in class org.sakaiproject.poll.model.Poll
 

U

userHasVoted(Long, String) - Method in interface org.sakaiproject.poll.logic.PollVoteManager
 
userHasVoted(Long) - Method in interface org.sakaiproject.poll.logic.PollVoteManager
Assumes current user
userIsViewingAsRole() - Method in interface org.sakaiproject.poll.logic.ExternalLogic
is the user using the "view as ..." feature

V

vote - Variable in class org.sakaiproject.poll.model.PollRolePerms
 
Vote - Class in org.sakaiproject.poll.model
 
Vote() - Constructor for class org.sakaiproject.poll.model.Vote
 
Vote(Poll, Option, String) - Constructor for class org.sakaiproject.poll.model.Vote
 
VoteCollection - Class in org.sakaiproject.poll.model
 
VoteCollection() - Constructor for class org.sakaiproject.poll.model.VoteCollection
 

X

xmlToOption(Element) - Static method in class org.sakaiproject.poll.util.PollUtil
 
A C D E F G I N O P R S T U V X 

Copyright © 2003-2015 Sakai Project. All Rights Reserved.