| java.lang.Object net.jforum.dao.generic.AutoKeys net.jforum.dao.generic.GenericPollDAO
GenericPollDAO | public class GenericPollDAO extends AutoKeys implements PollDAO(Code) | | author: David Almilli version: $Id: GenericPollDAO.java,v 1.9 2007/08/01 22:30:03 rafaelsteil Exp $ |
addNewPoll | protected void addNewPoll(Poll poll)(Code) | | |
addNewPollOptions | protected void addNewPollOptions(int pollId, List options)(Code) | | |
deleteAllPollOptions | protected void deleteAllPollOptions(int pollId)(Code) | | |
deletePoll | protected void deletePoll(int pollId)(Code) | | |
deletePollVotes | protected void deletePollVotes(int pollId)(Code) | | |
hasUserVotedOnPoll | public boolean hasUserVotedOnPoll(int pollId, String ipAddress)(Code) | | Tells if the anonymous user has already voted on the given poll from the given IP
Parameters: pollId - the poll id that is being checked Parameters: ipAddress - the IP address of the anonymoususer to check the vote for true if the user has already voted on the given poll |
|
|