Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.polls.service.base.PollsVoteLocalServiceBaseImpl
          extended by com.liferay.portlet.polls.service.impl.PollsVoteLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, PollsVoteLocalService

public class PollsVoteLocalServiceImpl
extends PollsVoteLocalServiceBaseImpl


Field Summary
 
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
 
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, 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 com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
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.1.2-ce-ga3