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
066 public void deletePollsVote(long voteId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 _pollsVoteLocalService.deletePollsVote(voteId);
070 }
071
072
078 public void deletePollsVote(
079 com.liferay.portlet.polls.model.PollsVote pollsVote)
080 throws com.liferay.portal.kernel.exception.SystemException {
081 _pollsVoteLocalService.deletePollsVote(pollsVote);
082 }
083
084
091 @SuppressWarnings("rawtypes")
092 public java.util.List dynamicQuery(
093 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
094 throws com.liferay.portal.kernel.exception.SystemException {
095 return _pollsVoteLocalService.dynamicQuery(dynamicQuery);
096 }
097
098
111 @SuppressWarnings("rawtypes")
112 public java.util.List dynamicQuery(
113 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
114 int end) throws com.liferay.portal.kernel.exception.SystemException {
115 return _pollsVoteLocalService.dynamicQuery(dynamicQuery, start, end);
116 }
117
118
132 @SuppressWarnings("rawtypes")
133 public java.util.List dynamicQuery(
134 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
135 int end,
136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
137 throws com.liferay.portal.kernel.exception.SystemException {
138 return _pollsVoteLocalService.dynamicQuery(dynamicQuery, start, end,
139 orderByComparator);
140 }
141
142
149 public long dynamicQueryCount(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return _pollsVoteLocalService.dynamicQueryCount(dynamicQuery);
153 }
154
155 public com.liferay.portlet.polls.model.PollsVote fetchPollsVote(long voteId)
156 throws com.liferay.portal.kernel.exception.SystemException {
157 return _pollsVoteLocalService.fetchPollsVote(voteId);
158 }
159
160
168 public com.liferay.portlet.polls.model.PollsVote getPollsVote(long voteId)
169 throws com.liferay.portal.kernel.exception.PortalException,
170 com.liferay.portal.kernel.exception.SystemException {
171 return _pollsVoteLocalService.getPollsVote(voteId);
172 }
173
174 public com.liferay.portal.model.PersistedModel getPersistedModel(
175 java.io.Serializable primaryKeyObj)
176 throws com.liferay.portal.kernel.exception.PortalException,
177 com.liferay.portal.kernel.exception.SystemException {
178 return _pollsVoteLocalService.getPersistedModel(primaryKeyObj);
179 }
180
181
193 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getPollsVotes(
194 int start, int end)
195 throws com.liferay.portal.kernel.exception.SystemException {
196 return _pollsVoteLocalService.getPollsVotes(start, end);
197 }
198
199
205 public int getPollsVotesCount()
206 throws com.liferay.portal.kernel.exception.SystemException {
207 return _pollsVoteLocalService.getPollsVotesCount();
208 }
209
210
217 public com.liferay.portlet.polls.model.PollsVote updatePollsVote(
218 com.liferay.portlet.polls.model.PollsVote pollsVote)
219 throws com.liferay.portal.kernel.exception.SystemException {
220 return _pollsVoteLocalService.updatePollsVote(pollsVote);
221 }
222
223
231 public com.liferay.portlet.polls.model.PollsVote updatePollsVote(
232 com.liferay.portlet.polls.model.PollsVote pollsVote, boolean merge)
233 throws com.liferay.portal.kernel.exception.SystemException {
234 return _pollsVoteLocalService.updatePollsVote(pollsVote, merge);
235 }
236
237
242 public java.lang.String getBeanIdentifier() {
243 return _pollsVoteLocalService.getBeanIdentifier();
244 }
245
246
251 public void setBeanIdentifier(java.lang.String beanIdentifier) {
252 _pollsVoteLocalService.setBeanIdentifier(beanIdentifier);
253 }
254
255 public com.liferay.portlet.polls.model.PollsVote addVote(long userId,
256 long questionId, long choiceId,
257 com.liferay.portal.service.ServiceContext serviceContext)
258 throws com.liferay.portal.kernel.exception.PortalException,
259 com.liferay.portal.kernel.exception.SystemException {
260 return _pollsVoteLocalService.addVote(userId, questionId, choiceId,
261 serviceContext);
262 }
263
264 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getChoiceVotes(
265 long choiceId, int start, int end)
266 throws com.liferay.portal.kernel.exception.SystemException {
267 return _pollsVoteLocalService.getChoiceVotes(choiceId, start, end);
268 }
269
270 public int getChoiceVotesCount(long choiceId)
271 throws com.liferay.portal.kernel.exception.SystemException {
272 return _pollsVoteLocalService.getChoiceVotesCount(choiceId);
273 }
274
275 public java.util.List<com.liferay.portlet.polls.model.PollsVote> getQuestionVotes(
276 long questionId, int start, int end)
277 throws com.liferay.portal.kernel.exception.SystemException {
278 return _pollsVoteLocalService.getQuestionVotes(questionId, start, end);
279 }
280
281 public int getQuestionVotesCount(long questionId)
282 throws com.liferay.portal.kernel.exception.SystemException {
283 return _pollsVoteLocalService.getQuestionVotesCount(questionId);
284 }
285
286 public com.liferay.portlet.polls.model.PollsVote getVote(long questionId,
287 long userId)
288 throws com.liferay.portal.kernel.exception.PortalException,
289 com.liferay.portal.kernel.exception.SystemException {
290 return _pollsVoteLocalService.getVote(questionId, userId);
291 }
292
293
296 public PollsVoteLocalService getWrappedPollsVoteLocalService() {
297 return _pollsVoteLocalService;
298 }
299
300
303 public void setWrappedPollsVoteLocalService(
304 PollsVoteLocalService pollsVoteLocalService) {
305 _pollsVoteLocalService = pollsVoteLocalService;
306 }
307
308 public PollsVoteLocalService getWrappedService() {
309 return _pollsVoteLocalService;
310 }
311
312 public void setWrappedService(PollsVoteLocalService pollsVoteLocalService) {
313 _pollsVoteLocalService = pollsVoteLocalService;
314 }
315
316 private PollsVoteLocalService _pollsVoteLocalService;
317 }