com.liferay.portlet.polls.service
Class PollsVoteLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.polls.service.PollsVoteLocalServiceWrapper
All Implemented Interfaces:
PollsVoteLocalService

public class PollsVoteLocalServiceWrapper
extends java.lang.Object
implements PollsVoteLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for PollsVoteLocalService.

Author:
Brian Wing Shun Chan
See Also:
PollsVoteLocalService
Generated:

Constructor Summary
PollsVoteLocalServiceWrapper(PollsVoteLocalService pollsVoteLocalService)
           
 
Method Summary
 PollsVote addPollsVote(PollsVote pollsVote)
           
 PollsVote addVote(long userId, long questionId, long choiceId)
          Deprecated.  
 PollsVote addVote(long userId, long questionId, long choiceId, ServiceContext serviceContext)
           
 PollsVote createPollsVote(long voteId)
           
 void deletePollsVote(long voteId)
           
 void deletePollsVote(PollsVote pollsVote)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<PollsVote> getChoiceVotes(long choiceId, int start, int end)
           
 int getChoiceVotesCount(long choiceId)
           
 PollsVote getPollsVote(long voteId)
           
 java.util.List<PollsVote> getPollsVotes(int start, int end)
           
 int getPollsVotesCount()
           
 java.util.List<PollsVote> getQuestionVotes(long questionId, int start, int end)
           
 int getQuestionVotesCount(long questionId)
           
 PollsVote getVote(long questionId, long userId)
           
 PollsVoteLocalService getWrappedPollsVoteLocalService()
           
 PollsVote updatePollsVote(PollsVote pollsVote)
           
 PollsVote updatePollsVote(PollsVote pollsVote, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollsVoteLocalServiceWrapper

public PollsVoteLocalServiceWrapper(PollsVoteLocalService pollsVoteLocalService)
Method Detail

addPollsVote

public PollsVote addPollsVote(PollsVote pollsVote)
                       throws com.liferay.portal.SystemException
Specified by:
addPollsVote in interface PollsVoteLocalService
Throws:
com.liferay.portal.SystemException

createPollsVote

public PollsVote createPollsVote(long voteId)
Specified by:
createPollsVote in interface PollsVoteLocalService

deletePollsVote

public void deletePollsVote(long voteId)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Specified by:
deletePollsVote in interface PollsVoteLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deletePollsVote

public void deletePollsVote(PollsVote pollsVote)
                     throws com.liferay.portal.SystemException
Specified by:
deletePollsVote in interface PollsVoteLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface PollsVoteLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface PollsVoteLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface PollsVoteLocalService
Throws:
com.liferay.portal.SystemException

dynamicQueryCount

public int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                      throws com.liferay.portal.SystemException
Specified by:
dynamicQueryCount in interface PollsVoteLocalService
Throws:
com.liferay.portal.SystemException

getPollsVote

public PollsVote getPollsVote(long voteId)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Specified by:
getPollsVote in interface PollsVoteLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPollsVotes

public java.util.List<PollsVote> getPollsVotes(int start,
                                               int end)
                                        throws com.liferay.portal.SystemException
Specified by:
getPollsVotes in interface PollsVoteLocalService
Throws:
com.liferay.portal.SystemException

getPollsVotesCount

public int getPollsVotesCount()
                       throws com.liferay.portal.SystemException
Specified by:
getPollsVotesCount in interface PollsVoteLocalService
Throws:
com.liferay.portal.SystemException

updatePollsVote

public PollsVote updatePollsVote(PollsVote pollsVote)
                          throws com.liferay.portal.SystemException
Specified by:
updatePollsVote in interface PollsVoteLocalService
Throws:
com.liferay.portal.SystemException

updatePollsVote

public PollsVote updatePollsVote(PollsVote pollsVote,
                                 boolean merge)
                          throws com.liferay.portal.SystemException
Specified by:
updatePollsVote in interface PollsVoteLocalService
Throws:
com.liferay.portal.SystemException

addVote

public PollsVote addVote(long userId,
                         long questionId,
                         long choiceId)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Deprecated. 

Specified by:
addVote in interface PollsVoteLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addVote

public PollsVote addVote(long userId,
                         long questionId,
                         long choiceId,
                         ServiceContext serviceContext)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Specified by:
addVote in interface PollsVoteLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getChoiceVotes

public java.util.List<PollsVote> getChoiceVotes(long choiceId,
                                                int start,
                                                int end)
                                         throws com.liferay.portal.SystemException
Specified by:
getChoiceVotes in interface PollsVoteLocalService
Throws:
com.liferay.portal.SystemException

getChoiceVotesCount

public int getChoiceVotesCount(long choiceId)
                        throws com.liferay.portal.SystemException
Specified by:
getChoiceVotesCount in interface PollsVoteLocalService
Throws:
com.liferay.portal.SystemException

getQuestionVotes

public java.util.List<PollsVote> getQuestionVotes(long questionId,
                                                  int start,
                                                  int end)
                                           throws com.liferay.portal.SystemException
Specified by:
getQuestionVotes in interface PollsVoteLocalService
Throws:
com.liferay.portal.SystemException

getQuestionVotesCount

public int getQuestionVotesCount(long questionId)
                          throws com.liferay.portal.SystemException
Specified by:
getQuestionVotesCount in interface PollsVoteLocalService
Throws:
com.liferay.portal.SystemException

getVote

public PollsVote getVote(long questionId,
                         long userId)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Specified by:
getVote in interface PollsVoteLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getWrappedPollsVoteLocalService

public PollsVoteLocalService getWrappedPollsVoteLocalService()