A C D E F G I N O P R S T U V X
All Classes All Packages
All Classes All Packages
All Classes All Packages
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
- convertFormattedTextToPlaintext(String) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
D
- deleteAll(List<Vote>) - Method in interface org.sakaiproject.poll.logic.PollVoteManager
-
Delete the given votes
- 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
- 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
- getCurrentToolURL() - Method in interface org.sakaiproject.poll.logic.ExternalLogic
- 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)
- getDetails() - Method in class org.sakaiproject.poll.model.Poll
- getDisctinctVotersForPoll(Poll) - Method in interface org.sakaiproject.poll.logic.PollVoteManager
- getId() - Method in class org.sakaiproject.poll.model.Option
- getId() - 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
- getNumberUsersCanVote() - Method in interface org.sakaiproject.poll.logic.ExternalLogic
-
Get the total number of users that have permission for voting
- getOptionById(Long) - Method in interface org.sakaiproject.poll.logic.PollListManager
-
Get a specific option by its id
- 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
- 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
- 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
- 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
- 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
- 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
- getVoteCloseStr() - Method in class org.sakaiproject.poll.model.Poll
- getVoteOpenStr() - Method in class org.sakaiproject.poll.model.Poll
- 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?
- 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() - Method in interface org.sakaiproject.poll.logic.ExternalLogic
-
Check if the current user has super admin access
- isUserAdmin(String) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
-
Check if this 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
- 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
- processFormattedText(String, StringBuilder) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
- processFormattedText(String, StringBuilder, boolean, boolean) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
R
- REF_POLL_TYPE - Static variable in interface org.sakaiproject.poll.logic.PollListManager
- registerFunction(String, boolean) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
-
Register a function with the Sakai Function manager
- registerStatement(String, boolean, String) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
-
Register a statement with the system LearningResourceStoreService
- registerStatement(String, Vote) - 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
- setDetails(String) - Method in class org.sakaiproject.poll.model.Poll
- setId(Long) - Method in class org.sakaiproject.poll.model.Option
- setToolPermissions(Map<String, PollRolePerms>, String) - Method in interface org.sakaiproject.poll.logic.ExternalLogic
-
Set the tool permissions for the given location
- setVoteCloseStr(String) - Method in class org.sakaiproject.poll.model.Poll
- setVoteOpenStr(String) - Method in class org.sakaiproject.poll.model.Poll
- 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
- userCanDeletePoll(Poll) - Method in interface org.sakaiproject.poll.logic.PollListManager
-
Is user allowed to delete the votes on a poll?
- userHasVoted(Long) - Method in interface org.sakaiproject.poll.logic.PollVoteManager
-
Assumes current user
- userHasVoted(Long, String) - Method in interface org.sakaiproject.poll.logic.PollVoteManager
- 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
All Classes All Packages