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
238 public com.liferay.portlet.polls.model.PollsVote updatePollsVote(
239 com.liferay.portlet.polls.model.PollsVote pollsVote, boolean merge)
240 throws com.liferay.portal.kernel.exception.SystemException {
241 return _pollsVoteLocalService.updatePollsVote(pollsVote, merge);
242 }
243
244
249 public java.lang.String getBeanIdentifier() {
250 return _pollsVoteLocalService.getBeanIdentifier();
251 }
252
253
258 public void setBeanIdentifier(java.lang.String beanIdentifier) {
259 _pollsVoteLocalService.setBeanIdentifier(beanIdentifier);
260 }
261
262 public com.liferay.portlet.polls.model.PollsVote addVote(long userId,
263 long questionId, long choiceId,
264 com.liferay.portal.service.ServiceContext serviceContext)
265 throws com.liferay.portal.kernel.exception.PortalException,
266 com.liferay.portal.kernel.exception.SystemException {
267 return _pollsVoteLocalService.addVote(userId, questionId, choiceId,
268 serviceContext);
269 }
270
271 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getChoiceVotes(
272 long choiceId, int start, int end)
273 throws com.liferay.portal.kernel.exception.SystemException {
274 return _pollsVoteLocalService.getChoiceVotes(choiceId, start, end);
275 }
276
277 public int getChoiceVotesCount(long choiceId)
278 throws com.liferay.portal.kernel.exception.SystemException {
279 return _pollsVoteLocalService.getChoiceVotesCount(choiceId);
280 }
281
282 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getQuestionVotes(
283 long questionId, int start, int end)
284 throws com.liferay.portal.kernel.exception.SystemException {
285 return _pollsVoteLocalService.getQuestionVotes(questionId, start, end);
286 }
287
288 public int getQuestionVotesCount(long questionId)
289 throws com.liferay.portal.kernel.exception.SystemException {
290 return _pollsVoteLocalService.getQuestionVotesCount(questionId);
291 }
292
293 public com.liferay.portlet.polls.model.PollsVote getVote(long questionId,
294 long userId)
295 throws com.liferay.portal.kernel.exception.PortalException,
296 com.liferay.portal.kernel.exception.SystemException {
297 return _pollsVoteLocalService.getVote(questionId, userId);
298 }
299
300
303 public PollsVoteLocalService getWrappedPollsVoteLocalService() {
304 return _pollsVoteLocalService;
305 }
306
307
310 public void setWrappedPollsVoteLocalService(
311 PollsVoteLocalService pollsVoteLocalService) {
312 _pollsVoteLocalService = pollsVoteLocalService;
313 }
314
315 public PollsVoteLocalService getWrappedService() {
316 return _pollsVoteLocalService;
317 }
318
319 public void setWrappedService(PollsVoteLocalService pollsVoteLocalService) {
320 _pollsVoteLocalService = pollsVoteLocalService;
321 }
322
323 private PollsVoteLocalService _pollsVoteLocalService;
324 }