|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class}) public interface PollsVoteLocalService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.polls.service.impl.PollsVoteLocalServiceImpl
}.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
PollsVoteLocalServiceUtil
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)
|
PollsVote |
updatePollsVote(PollsVote pollsVote)
|
PollsVote |
updatePollsVote(PollsVote pollsVote,
boolean merge)
|
Method Detail |
---|
PollsVote addPollsVote(PollsVote pollsVote) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
PollsVote createPollsVote(long voteId)
void deletePollsVote(long voteId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
void deletePollsVote(PollsVote pollsVote) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
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
com.liferay.portal.SystemException
int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) PollsVote getPollsVote(long voteId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<PollsVote> getPollsVotes(int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getPollsVotesCount() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
PollsVote updatePollsVote(PollsVote pollsVote) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
PollsVote updatePollsVote(PollsVote pollsVote, boolean merge) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
PollsVote addVote(long userId, long questionId, long choiceId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
PollsVote addVote(long userId, long questionId, long choiceId, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<PollsVote> getChoiceVotes(long choiceId, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getChoiceVotesCount(long choiceId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<PollsVote> getQuestionVotes(long questionId, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getQuestionVotesCount(long questionId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) PollsVote getVote(long questionId, long userId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |