com.liferay.portlet.polls.service.impl
Class PollsVoteLocalServiceImpl
java.lang.Object
com.liferay.portlet.polls.service.base.PollsVoteLocalServiceBaseImpl
com.liferay.portlet.polls.service.impl.PollsVoteLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.polls.service.PollsVoteLocalService
public class PollsVoteLocalServiceImpl
- extends PollsVoteLocalServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class com.liferay.portlet.polls.service.base.PollsVoteLocalServiceBaseImpl |
counterLocalService, counterService, pollsChoiceFinder, pollsChoiceLocalService, pollsChoicePersistence, pollsQuestionLocalService, pollsQuestionPersistence, pollsQuestionService, pollsVoteLocalService, pollsVotePersistence, pollsVoteService |
Method Summary |
com.liferay.portlet.polls.model.PollsVote |
addVote(long userId,
long questionId,
long choiceId)
|
java.util.List<com.liferay.portlet.polls.model.PollsVote> |
getChoiceVotes(long choiceId,
int start,
int end)
|
int |
getChoiceVotesCount(long choiceId)
|
java.util.List<com.liferay.portlet.polls.model.PollsVote> |
getQuestionVotes(long questionId,
int start,
int end)
|
int |
getQuestionVotesCount(long questionId)
|
com.liferay.portlet.polls.model.PollsVote |
getVote(long questionId,
long userId)
|
Methods inherited from class com.liferay.portlet.polls.service.base.PollsVoteLocalServiceBaseImpl |
addPollsVote, createPollsVote, deletePollsVote, deletePollsVote, dynamicQuery, dynamicQuery, getCounterLocalService, getCounterService, getPollsChoiceFinder, getPollsChoiceLocalService, getPollsChoicePersistence, getPollsQuestionLocalService, getPollsQuestionPersistence, getPollsQuestionService, getPollsVote, getPollsVoteLocalService, getPollsVotePersistence, getPollsVotes, getPollsVotesCount, getPollsVoteService, setCounterLocalService, setCounterService, setPollsChoiceFinder, setPollsChoiceLocalService, setPollsChoicePersistence, setPollsQuestionLocalService, setPollsQuestionPersistence, setPollsQuestionService, setPollsVoteLocalService, setPollsVotePersistence, setPollsVoteService, updatePollsVote |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollsVoteLocalServiceImpl
public PollsVoteLocalServiceImpl()
addVote
public com.liferay.portlet.polls.model.PollsVote addVote(long userId,
long questionId,
long choiceId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getChoiceVotes
public java.util.List<com.liferay.portlet.polls.model.PollsVote> getChoiceVotes(long choiceId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getChoiceVotesCount
public int getChoiceVotesCount(long choiceId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getVote
public com.liferay.portlet.polls.model.PollsVote getVote(long questionId,
long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getQuestionVotes
public java.util.List<com.liferay.portlet.polls.model.PollsVote> getQuestionVotes(long questionId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getQuestionVotesCount
public int getQuestionVotesCount(long questionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException