1
22
23 package com.liferay.portlet.polls.service;
24
25
26
51 public interface PollsVoteLocalService {
52 public com.liferay.portlet.polls.model.PollsVote addPollsVote(
53 com.liferay.portlet.polls.model.PollsVote model)
54 throws com.liferay.portal.SystemException;
55
56 public java.util.List dynamicQuery(
57 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
58 throws com.liferay.portal.SystemException;
59
60 public java.util.List dynamicQuery(
61 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
62 int begin, int end) throws com.liferay.portal.SystemException;
63
64 public com.liferay.portlet.polls.model.PollsVote updatePollsVote(
65 com.liferay.portlet.polls.model.PollsVote model)
66 throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.polls.service.persistence.PollsChoicePersistence getPollsChoicePersistence();
69
70 public void setPollsChoicePersistence(
71 com.liferay.portlet.polls.service.persistence.PollsChoicePersistence pollsChoicePersistence);
72
73 public com.liferay.portlet.polls.service.persistence.PollsChoiceFinder getPollsChoiceFinder();
74
75 public void setPollsChoiceFinder(
76 com.liferay.portlet.polls.service.persistence.PollsChoiceFinder pollsChoiceFinder);
77
78 public com.liferay.portlet.polls.service.persistence.PollsQuestionPersistence getPollsQuestionPersistence();
79
80 public void setPollsQuestionPersistence(
81 com.liferay.portlet.polls.service.persistence.PollsQuestionPersistence pollsQuestionPersistence);
82
83 public com.liferay.portlet.polls.service.persistence.PollsVotePersistence getPollsVotePersistence();
84
85 public void setPollsVotePersistence(
86 com.liferay.portlet.polls.service.persistence.PollsVotePersistence pollsVotePersistence);
87
88 public void afterPropertiesSet();
89
90 public com.liferay.portlet.polls.model.PollsVote addVote(long userId,
91 long questionId, long choiceId)
92 throws com.liferay.portal.SystemException,
93 com.liferay.portal.PortalException;
94
95 public java.util.List getChoiceVotes(long choiceId, int begin, int end)
96 throws com.liferay.portal.SystemException;
97
98 public int getChoiceVotesCount(long choiceId)
99 throws com.liferay.portal.SystemException;
100
101 public com.liferay.portlet.polls.model.PollsVote getVote(long questionId,
102 long userId)
103 throws com.liferay.portal.SystemException,
104 com.liferay.portal.PortalException;
105
106 public java.util.List getQuestionVotes(long questionId, int begin, int end)
107 throws com.liferay.portal.SystemException;
108
109 public int getQuestionVotesCount(long questionId)
110 throws com.liferay.portal.SystemException;
111 }