| org.sakaiproject.poll.logic.PollListManager
All known Subclasses: org.sakaiproject.poll.dao.impl.PollListManagerDaoImpl,
PollListManager | public interface PollListManager extends EntityProducer(Code) | | 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)
author: DH |
PERMISSION_ADD | final public static String PERMISSION_ADD(Code) | | |
PERMISSION_DELETE_ANY | final public static String PERMISSION_DELETE_ANY(Code) | | |
PERMISSION_DELETE_OWN | final public static String PERMISSION_DELETE_OWN(Code) | | |
PERMISSION_EDIT_ANY | final public static String PERMISSION_EDIT_ANY(Code) | | |
PERMISSION_EDIT_OWN | final public static String PERMISSION_EDIT_OWN(Code) | | |
PERMISSION_VOTE | final public static String PERMISSION_VOTE(Code) | | |
deletePoll | public boolean deletePoll(Poll t) throws PermissionException(Code) | | Delete a poll
Parameters: t - - the poll object to remove - true for success, false if failure |
findAllPolls | public List findAllPolls(String siteId)(Code) | | Gets all the task objects for the site
Parameters: siteId - - the siteId of the site - a collection of task objects (empty collection if none found) |
getOptionById | public Option getOptionById(Long optionId)(Code) | | Get a specific option by its id
|
getPollById | public Poll getPollById(Long pollId)(Code) | | Retrieve a specific poll
Parameters: pollId - a single poll object |
getPollWithVotes | public Poll getPollWithVotes(Long pollId)(Code) | | Get a specific poll with all its votes
Parameters: pollId - a poll object |
savePoll | public boolean savePoll(Poll t)(Code) | | Save a poll
Parameters: t - - the poll object to save - true for success, false if failure |
|
|