Liferay 6.0.5

com.liferay.portlet.polls.service.impl
Class PollsVoteLocalServiceImpl

java.lang.Object
  extended by com.liferay.portlet.polls.service.base.PollsVoteLocalServiceBaseImpl
      extended by com.liferay.portlet.polls.service.impl.PollsVoteLocalServiceImpl
All Implemented Interfaces:
PollsVoteLocalService

public class PollsVoteLocalServiceImpl
extends PollsVoteLocalServiceBaseImpl


Field Summary
 
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
 
Constructor Summary
PollsVoteLocalServiceImpl()
           
 
Method Summary
 PollsVote addVote(long userId, long questionId, long choiceId, ServiceContext serviceContext)
           
 List<PollsVote> getChoiceVotes(long choiceId, int start, int end)
           
 int getChoiceVotesCount(long choiceId)
           
 List<PollsVote> getQuestionVotes(long questionId, int start, int end)
           
 int getQuestionVotesCount(long questionId)
           
 PollsVote getVote(long questionId, long userId)
           
 
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
 

Constructor Detail

PollsVoteLocalServiceImpl

public PollsVoteLocalServiceImpl()
Method Detail

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

Liferay 6.0.5