001
014
015 package com.liferay.portlet.polls.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class PollsVoteLocalServiceWrapper implements PollsVoteLocalService,
029 ServiceWrapper<PollsVoteLocalService> {
030 public PollsVoteLocalServiceWrapper(
031 PollsVoteLocalService pollsVoteLocalService) {
032 _pollsVoteLocalService = pollsVoteLocalService;
033 }
034
035
042 public com.liferay.portlet.polls.model.PollsVote addPollsVote(
043 com.liferay.portlet.polls.model.PollsVote pollsVote)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _pollsVoteLocalService.addPollsVote(pollsVote);
046 }
047
048
054 public com.liferay.portlet.polls.model.PollsVote createPollsVote(
055 long voteId) {
056 return _pollsVoteLocalService.createPollsVote(voteId);
057 }
058
059
067 public com.liferay.portlet.polls.model.PollsVote deletePollsVote(
068 long voteId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 return _pollsVoteLocalService.deletePollsVote(voteId);
072 }
073
074
081 public com.liferay.portlet.polls.model.PollsVote deletePollsVote(
082 com.liferay.portlet.polls.model.PollsVote pollsVote)
083 throws com.liferay.portal.kernel.exception.SystemException {
084 return _pollsVoteLocalService.deletePollsVote(pollsVote);
085 }
086
087 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
088 return _pollsVoteLocalService.dynamicQuery();
089 }
090
091
098 @SuppressWarnings("rawtypes")
099 public java.util.List dynamicQuery(
100 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _pollsVoteLocalService.dynamicQuery(dynamicQuery);
103 }
104
105
118 @SuppressWarnings("rawtypes")
119 public java.util.List dynamicQuery(
120 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
121 int end) throws com.liferay.portal.kernel.exception.SystemException {
122 return _pollsVoteLocalService.dynamicQuery(dynamicQuery, start, end);
123 }
124
125
139 @SuppressWarnings("rawtypes")
140 public java.util.List dynamicQuery(
141 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142 int end,
143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _pollsVoteLocalService.dynamicQuery(dynamicQuery, start, end,
146 orderByComparator);
147 }
148
149
156 public long dynamicQueryCount(
157 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _pollsVoteLocalService.dynamicQueryCount(dynamicQuery);
160 }
161
162 public com.liferay.portlet.polls.model.PollsVote fetchPollsVote(long voteId)
163 throws com.liferay.portal.kernel.exception.SystemException {
164 return _pollsVoteLocalService.fetchPollsVote(voteId);
165 }
166
167
175 public com.liferay.portlet.polls.model.PollsVote getPollsVote(long voteId)
176 throws com.liferay.portal.kernel.exception.PortalException,
177 com.liferay.portal.kernel.exception.SystemException {
178 return _pollsVoteLocalService.getPollsVote(voteId);
179 }
180
181 public com.liferay.portal.model.PersistedModel getPersistedModel(
182 java.io.Serializable primaryKeyObj)
183 throws com.liferay.portal.kernel.exception.PortalException,
184 com.liferay.portal.kernel.exception.SystemException {
185 return _pollsVoteLocalService.getPersistedModel(primaryKeyObj);
186 }
187
188
200 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getPollsVotes(
201 int start, int end)
202 throws com.liferay.portal.kernel.exception.SystemException {
203 return _pollsVoteLocalService.getPollsVotes(start, end);
204 }
205
206
212 public int getPollsVotesCount()
213 throws com.liferay.portal.kernel.exception.SystemException {
214 return _pollsVoteLocalService.getPollsVotesCount();
215 }
216
217
224 public com.liferay.portlet.polls.model.PollsVote updatePollsVote(
225 com.liferay.portlet.polls.model.PollsVote pollsVote)
226 throws com.liferay.portal.kernel.exception.SystemException {
227 return _pollsVoteLocalService.updatePollsVote(pollsVote);
228 }
229
230
235 public java.lang.String getBeanIdentifier() {
236 return _pollsVoteLocalService.getBeanIdentifier();
237 }
238
239
244 public void setBeanIdentifier(java.lang.String beanIdentifier) {
245 _pollsVoteLocalService.setBeanIdentifier(beanIdentifier);
246 }
247
248 public com.liferay.portlet.polls.model.PollsVote addVote(long userId,
249 long questionId, long choiceId,
250 com.liferay.portal.service.ServiceContext serviceContext)
251 throws com.liferay.portal.kernel.exception.PortalException,
252 com.liferay.portal.kernel.exception.SystemException {
253 return _pollsVoteLocalService.addVote(userId, questionId, choiceId,
254 serviceContext);
255 }
256
257 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getChoiceVotes(
258 long choiceId, int start, int end)
259 throws com.liferay.portal.kernel.exception.SystemException {
260 return _pollsVoteLocalService.getChoiceVotes(choiceId, start, end);
261 }
262
263 public int getChoiceVotesCount(long choiceId)
264 throws com.liferay.portal.kernel.exception.SystemException {
265 return _pollsVoteLocalService.getChoiceVotesCount(choiceId);
266 }
267
268 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getQuestionVotes(
269 long questionId, int start, int end)
270 throws com.liferay.portal.kernel.exception.SystemException {
271 return _pollsVoteLocalService.getQuestionVotes(questionId, start, end);
272 }
273
274 public int getQuestionVotesCount(long questionId)
275 throws com.liferay.portal.kernel.exception.SystemException {
276 return _pollsVoteLocalService.getQuestionVotesCount(questionId);
277 }
278
279 public com.liferay.portlet.polls.model.PollsVote getVote(long questionId,
280 long userId)
281 throws com.liferay.portal.kernel.exception.PortalException,
282 com.liferay.portal.kernel.exception.SystemException {
283 return _pollsVoteLocalService.getVote(questionId, userId);
284 }
285
286
289 public PollsVoteLocalService getWrappedPollsVoteLocalService() {
290 return _pollsVoteLocalService;
291 }
292
293
296 public void setWrappedPollsVoteLocalService(
297 PollsVoteLocalService pollsVoteLocalService) {
298 _pollsVoteLocalService = pollsVoteLocalService;
299 }
300
301 public PollsVoteLocalService getWrappedService() {
302 return _pollsVoteLocalService;
303 }
304
305 public void setWrappedService(PollsVoteLocalService pollsVoteLocalService) {
306 _pollsVoteLocalService = pollsVoteLocalService;
307 }
308
309 private PollsVoteLocalService _pollsVoteLocalService;
310 }