com.liferay.portlet.polls.service.impl
Class PollsVoteLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.polls.service.base.PollsVoteLocalServiceBaseImpl
com.liferay.portlet.polls.service.impl.PollsVoteLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseLocalService, PersistedModelLocalService, PollsVoteLocalService
public class PollsVoteLocalServiceImpl
- extends PollsVoteLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.polls.service.base.PollsVoteLocalServiceBaseImpl |
counterLocalService, persistedModelLocalServiceRegistry, pollsChoiceFinder, pollsChoiceLocalService, pollsChoicePersistence, pollsChoiceService, 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, afterPropertiesSet, createPollsVote, deletePollsVote, deletePollsVote, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchPollsVote, getBeanIdentifier, getCounterLocalService, getModelClass, getModelClassName, getPersistedModel, getPollsChoiceFinder, getPollsChoiceLocalService, getPollsChoicePersistence, getPollsChoiceService, getPollsQuestionLocalService, getPollsQuestionPersistence, getPollsQuestionService, getPollsVote, getPollsVoteLocalService, getPollsVotePersistence, getPollsVotes, getPollsVotesCount, getPollsVoteService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setPollsChoiceFinder, setPollsChoiceLocalService, setPollsChoicePersistence, setPollsChoiceService, 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