com.liferay.portlet.polls.service
Class PollsVoteLocalServiceWrapper
java.lang.Object
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:
Method Summary |
PollsVote |
addPollsVote(PollsVote pollsVote)
|
PollsVote |
addVote(long userId,
long questionId,
long choiceId)
|
PollsVote |
createPollsVote(long voteId)
|
void |
deletePollsVote(long voteId)
|
void |
deletePollsVote(PollsVote pollsVote)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
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 |
PollsVoteLocalServiceWrapper
public PollsVoteLocalServiceWrapper(PollsVoteLocalService pollsVoteLocalService)
addPollsVote
public PollsVote addPollsVote(PollsVote pollsVote)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
addPollsVote
in interface PollsVoteLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
createPollsVote
public PollsVote createPollsVote(long voteId)
- Specified by:
createPollsVote
in interface PollsVoteLocalService
deletePollsVote
public void deletePollsVote(long voteId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
deletePollsVote
in interface PollsVoteLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deletePollsVote
public void deletePollsVote(PollsVote pollsVote)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
deletePollsVote
in interface PollsVoteLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
dynamicQuery
in interface PollsVoteLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
dynamicQuery
in interface PollsVoteLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getPollsVote
public PollsVote getPollsVote(long voteId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getPollsVote
in interface PollsVoteLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getPollsVotes
public java.util.List<PollsVote> getPollsVotes(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getPollsVotes
in interface PollsVoteLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getPollsVotesCount
public int getPollsVotesCount()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getPollsVotesCount
in interface PollsVoteLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
updatePollsVote
public PollsVote updatePollsVote(PollsVote pollsVote)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
updatePollsVote
in interface PollsVoteLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
updatePollsVote
public PollsVote updatePollsVote(PollsVote pollsVote,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
updatePollsVote
in interface PollsVoteLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
addVote
public PollsVote addVote(long userId,
long questionId,
long choiceId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addVote
in interface PollsVoteLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getChoiceVotes
public java.util.List<PollsVote> getChoiceVotes(long choiceId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getChoiceVotes
in interface PollsVoteLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getChoiceVotesCount
public int getChoiceVotesCount(long choiceId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getChoiceVotesCount
in interface PollsVoteLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getQuestionVotes
public java.util.List<PollsVote> getQuestionVotes(long questionId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getQuestionVotes
in interface PollsVoteLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getQuestionVotesCount
public int getQuestionVotesCount(long questionId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getQuestionVotesCount
in interface PollsVoteLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getVote
public PollsVote getVote(long questionId,
long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getVote
in interface PollsVoteLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getWrappedPollsVoteLocalService
public PollsVoteLocalService getWrappedPollsVoteLocalService()