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

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portlet.polls.service.base.PollsVoteServiceBaseImpl
          extended by com.liferay.portlet.polls.service.impl.PollsVoteServiceImpl
All Implemented Interfaces:
com.liferay.portlet.polls.service.PollsVoteService

public class PollsVoteServiceImpl
extends PollsVoteServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.polls.service.base.PollsVoteServiceBaseImpl
counterLocalService, counterService, pollsChoiceFinder, pollsChoiceLocalService, pollsChoicePersistence, pollsQuestionLocalService, pollsQuestionPersistence, pollsQuestionService, pollsVoteLocalService, pollsVotePersistence, pollsVoteService
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
PollsVoteServiceImpl()
           
 
Method Summary
 com.liferay.portlet.polls.model.PollsVote addVote(long questionId, long choiceId)
           
 
Methods inherited from class com.liferay.portlet.polls.service.base.PollsVoteServiceBaseImpl
getCounterLocalService, getCounterService, getPollsChoiceFinder, getPollsChoiceLocalService, getPollsChoicePersistence, getPollsQuestionLocalService, getPollsQuestionPersistence, getPollsQuestionService, getPollsVoteLocalService, getPollsVotePersistence, getPollsVoteService, setCounterLocalService, setCounterService, setPollsChoiceFinder, setPollsChoiceLocalService, setPollsChoicePersistence, setPollsQuestionLocalService, setPollsQuestionPersistence, setPollsQuestionService, setPollsVoteLocalService, setPollsVotePersistence, setPollsVoteService
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollsVoteServiceImpl

public PollsVoteServiceImpl()
Method Detail

addVote

public com.liferay.portlet.polls.model.PollsVote addVote(long questionId,
                                                         long choiceId)
                                                  throws com.liferay.portal.PortalException,
                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException