public class PollsVoteLocalServiceImpl extends PollsVoteLocalServiceBaseImpl
counterLocalService, persistedModelLocalServiceRegistry, pollsChoiceLocalService, pollsChoicePersistence, pollsChoiceService, pollsQuestionLocalService, pollsQuestionPersistence, pollsQuestionService, pollsVoteLocalService, pollsVotePersistence, pollsVoteService, resourceLocalService, userFinder, userLocalService, userPersistence, userService| Constructor and Description |
|---|
PollsVoteLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portlet.polls.model.PollsVote |
addVote(long userId,
long questionId,
long choiceId,
com.liferay.portal.service.ServiceContext serviceContext) |
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) |
addPollsVote, afterPropertiesSet, createPollsVote, deletePollsVote, deletePollsVote, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchPollsVote, fetchPollsVoteByUuidAndCompanyId, fetchPollsVoteByUuidAndGroupId, getBeanIdentifier, getCounterLocalService, getModelClass, getModelClassName, getPersistedModel, getPollsChoiceLocalService, getPollsChoicePersistence, getPollsChoiceService, getPollsQuestionLocalService, getPollsQuestionPersistence, getPollsQuestionService, getPollsVote, getPollsVoteByUuidAndCompanyId, getPollsVoteByUuidAndGroupId, getPollsVoteLocalService, getPollsVotePersistence, getPollsVotes, getPollsVotesCount, getPollsVoteService, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setPollsChoiceLocalService, setPollsChoicePersistence, setPollsChoiceService, setPollsQuestionLocalService, setPollsQuestionPersistence, setPollsQuestionService, setPollsVoteLocalService, setPollsVotePersistence, setPollsVoteService, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updatePollsVotepublic com.liferay.portlet.polls.model.PollsVote addVote(long userId,
long questionId,
long choiceId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.polls.model.PollsVote> getChoiceVotes(long choiceId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getChoiceVotesCount(long choiceId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.polls.model.PollsVote> getQuestionVotes(long questionId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getQuestionVotesCount(long questionId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.polls.model.PollsVote getVote(long questionId,
long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException