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:
- PollsVoteLocalService
public class PollsVoteLocalServiceImpl
- extends PollsVoteLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.polls.service.base.PollsVoteLocalServiceBaseImpl |
counterLocalService, pollsChoiceFinder, pollsChoiceLocalService, pollsChoicePersistence, pollsQuestionLocalService, pollsQuestionPersistence, pollsQuestionService, pollsVoteLocalService, pollsVotePersistence, pollsVoteService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService |
Methods inherited from class com.liferay.portlet.polls.service.base.PollsVoteLocalServiceBaseImpl |
addPollsVote, createPollsVote, deletePollsVote, deletePollsVote, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getCounterLocalService, getPollsChoiceFinder, getPollsChoiceLocalService, getPollsChoicePersistence, getPollsQuestionLocalService, getPollsQuestionPersistence, getPollsQuestionService, getPollsVote, getPollsVoteLocalService, getPollsVotePersistence, getPollsVotes, getPollsVotesCount, getPollsVoteService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, setPollsChoiceFinder, setPollsChoiceLocalService, setPollsChoicePersistence, setPollsQuestionLocalService, setPollsQuestionPersistence, setPollsQuestionService, setPollsVoteLocalService, setPollsVotePersistence, setPollsVoteService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updatePollsVote, updatePollsVote |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollsVoteLocalServiceImpl
public PollsVoteLocalServiceImpl()
addVote
public PollsVote addVote(long userId,
long questionId,
long choiceId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getChoiceVotes
public List<PollsVote> getChoiceVotes(long choiceId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getChoiceVotesCount
public int getChoiceVotesCount(long choiceId)
throws SystemException
- Throws:
SystemException
getQuestionVotes
public List<PollsVote> getQuestionVotes(long questionId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getQuestionVotesCount
public int getQuestionVotesCount(long questionId)
throws SystemException
- Throws:
SystemException
getVote
public PollsVote getVote(long questionId,
long userId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException