lumis.service.vote
Class VoteDaoJdbc
java.lang.Object
lumis.service.vote.VoteDaoJdbc
public class VoteDaoJdbc
- extends Object
JDBC-based DAO for accessing vote related data.
- Since:
- 4.0.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VoteDaoJdbc
public VoteDaoJdbc()
getVoteQuestion
public VoteQuestionConfig getVoteQuestion(String voteQuestionId,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
registerVote
public String registerVote(String voteQuestionId,
String userId,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
getVoteOptions
public List<VoteOptionConfig> getVoteOptions(String voteQuestionId,
ITransaction transaction)
throws PortalException
- Returns the options for a vote question.
- Parameters:
voteQuestionId
- the vote question's id.transaction
- the transaction for persistence access.
- Returns:
- a list with the question's options.
- Throws:
PortalException
- Since:
- 4.0.10
registerVoteOption
public void registerVoteOption(String optionId,
String voteLogId,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
getVoteLogDate
public Date getVoteLogDate(String questionId,
String userId,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.