001
014
015 package com.liferay.portlet.polls.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class PollsQuestionLocalServiceWrapper
029 implements PollsQuestionLocalService,
030 ServiceWrapper<PollsQuestionLocalService> {
031 public PollsQuestionLocalServiceWrapper(
032 PollsQuestionLocalService pollsQuestionLocalService) {
033 _pollsQuestionLocalService = pollsQuestionLocalService;
034 }
035
036
043 public com.liferay.portlet.polls.model.PollsQuestion addPollsQuestion(
044 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion)
045 throws com.liferay.portal.kernel.exception.SystemException {
046 return _pollsQuestionLocalService.addPollsQuestion(pollsQuestion);
047 }
048
049
055 public com.liferay.portlet.polls.model.PollsQuestion createPollsQuestion(
056 long questionId) {
057 return _pollsQuestionLocalService.createPollsQuestion(questionId);
058 }
059
060
068 public com.liferay.portlet.polls.model.PollsQuestion deletePollsQuestion(
069 long questionId)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _pollsQuestionLocalService.deletePollsQuestion(questionId);
073 }
074
075
082 public com.liferay.portlet.polls.model.PollsQuestion deletePollsQuestion(
083 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion)
084 throws com.liferay.portal.kernel.exception.SystemException {
085 return _pollsQuestionLocalService.deletePollsQuestion(pollsQuestion);
086 }
087
088 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
089 return _pollsQuestionLocalService.dynamicQuery();
090 }
091
092
099 @SuppressWarnings("rawtypes")
100 public java.util.List dynamicQuery(
101 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _pollsQuestionLocalService.dynamicQuery(dynamicQuery);
104 }
105
106
119 @SuppressWarnings("rawtypes")
120 public java.util.List dynamicQuery(
121 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
122 int end) throws com.liferay.portal.kernel.exception.SystemException {
123 return _pollsQuestionLocalService.dynamicQuery(dynamicQuery, start, end);
124 }
125
126
140 @SuppressWarnings("rawtypes")
141 public java.util.List dynamicQuery(
142 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
143 int end,
144 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
145 throws com.liferay.portal.kernel.exception.SystemException {
146 return _pollsQuestionLocalService.dynamicQuery(dynamicQuery, start,
147 end, orderByComparator);
148 }
149
150
157 public long dynamicQueryCount(
158 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
159 throws com.liferay.portal.kernel.exception.SystemException {
160 return _pollsQuestionLocalService.dynamicQueryCount(dynamicQuery);
161 }
162
163 public com.liferay.portlet.polls.model.PollsQuestion fetchPollsQuestion(
164 long questionId)
165 throws com.liferay.portal.kernel.exception.SystemException {
166 return _pollsQuestionLocalService.fetchPollsQuestion(questionId);
167 }
168
169
177 public com.liferay.portlet.polls.model.PollsQuestion getPollsQuestion(
178 long questionId)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _pollsQuestionLocalService.getPollsQuestion(questionId);
182 }
183
184 public com.liferay.portal.model.PersistedModel getPersistedModel(
185 java.io.Serializable primaryKeyObj)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException {
188 return _pollsQuestionLocalService.getPersistedModel(primaryKeyObj);
189 }
190
191
200 public com.liferay.portlet.polls.model.PollsQuestion getPollsQuestionByUuidAndGroupId(
201 java.lang.String uuid, long groupId)
202 throws com.liferay.portal.kernel.exception.PortalException,
203 com.liferay.portal.kernel.exception.SystemException {
204 return _pollsQuestionLocalService.getPollsQuestionByUuidAndGroupId(uuid,
205 groupId);
206 }
207
208
220 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> getPollsQuestions(
221 int start, int end)
222 throws com.liferay.portal.kernel.exception.SystemException {
223 return _pollsQuestionLocalService.getPollsQuestions(start, end);
224 }
225
226
232 public int getPollsQuestionsCount()
233 throws com.liferay.portal.kernel.exception.SystemException {
234 return _pollsQuestionLocalService.getPollsQuestionsCount();
235 }
236
237
244 public com.liferay.portlet.polls.model.PollsQuestion updatePollsQuestion(
245 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion)
246 throws com.liferay.portal.kernel.exception.SystemException {
247 return _pollsQuestionLocalService.updatePollsQuestion(pollsQuestion);
248 }
249
250
258 public com.liferay.portlet.polls.model.PollsQuestion updatePollsQuestion(
259 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion,
260 boolean merge)
261 throws com.liferay.portal.kernel.exception.SystemException {
262 return _pollsQuestionLocalService.updatePollsQuestion(pollsQuestion,
263 merge);
264 }
265
266
271 public java.lang.String getBeanIdentifier() {
272 return _pollsQuestionLocalService.getBeanIdentifier();
273 }
274
275
280 public void setBeanIdentifier(java.lang.String beanIdentifier) {
281 _pollsQuestionLocalService.setBeanIdentifier(beanIdentifier);
282 }
283
284 public com.liferay.portlet.polls.model.PollsQuestion addQuestion(
285 long userId,
286 java.util.Map<java.util.Locale, java.lang.String> titleMap,
287 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
288 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
289 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
290 java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices,
291 com.liferay.portal.service.ServiceContext serviceContext)
292 throws com.liferay.portal.kernel.exception.PortalException,
293 com.liferay.portal.kernel.exception.SystemException {
294 return _pollsQuestionLocalService.addQuestion(userId, titleMap,
295 descriptionMap, expirationDateMonth, expirationDateDay,
296 expirationDateYear, expirationDateHour, expirationDateMinute,
297 neverExpire, choices, serviceContext);
298 }
299
300 public void addQuestionResources(long questionId,
301 boolean addGroupPermissions, boolean addGuestPermissions)
302 throws com.liferay.portal.kernel.exception.PortalException,
303 com.liferay.portal.kernel.exception.SystemException {
304 _pollsQuestionLocalService.addQuestionResources(questionId,
305 addGroupPermissions, addGuestPermissions);
306 }
307
308 public void addQuestionResources(long questionId,
309 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
310 throws com.liferay.portal.kernel.exception.PortalException,
311 com.liferay.portal.kernel.exception.SystemException {
312 _pollsQuestionLocalService.addQuestionResources(questionId,
313 groupPermissions, guestPermissions);
314 }
315
316 public void addQuestionResources(
317 com.liferay.portlet.polls.model.PollsQuestion question,
318 boolean addGroupPermissions, boolean addGuestPermissions)
319 throws com.liferay.portal.kernel.exception.PortalException,
320 com.liferay.portal.kernel.exception.SystemException {
321 _pollsQuestionLocalService.addQuestionResources(question,
322 addGroupPermissions, addGuestPermissions);
323 }
324
325 public void addQuestionResources(
326 com.liferay.portlet.polls.model.PollsQuestion question,
327 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
328 throws com.liferay.portal.kernel.exception.PortalException,
329 com.liferay.portal.kernel.exception.SystemException {
330 _pollsQuestionLocalService.addQuestionResources(question,
331 groupPermissions, guestPermissions);
332 }
333
334 public void deleteQuestion(long questionId)
335 throws com.liferay.portal.kernel.exception.PortalException,
336 com.liferay.portal.kernel.exception.SystemException {
337 _pollsQuestionLocalService.deleteQuestion(questionId);
338 }
339
340 public void deleteQuestion(
341 com.liferay.portlet.polls.model.PollsQuestion question)
342 throws com.liferay.portal.kernel.exception.PortalException,
343 com.liferay.portal.kernel.exception.SystemException {
344 _pollsQuestionLocalService.deleteQuestion(question);
345 }
346
347 public void deleteQuestions(long groupId)
348 throws com.liferay.portal.kernel.exception.PortalException,
349 com.liferay.portal.kernel.exception.SystemException {
350 _pollsQuestionLocalService.deleteQuestions(groupId);
351 }
352
353 public com.liferay.portlet.polls.model.PollsQuestion getQuestion(
354 long questionId)
355 throws com.liferay.portal.kernel.exception.PortalException,
356 com.liferay.portal.kernel.exception.SystemException {
357 return _pollsQuestionLocalService.getQuestion(questionId);
358 }
359
360 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> getQuestions(
361 long groupId)
362 throws com.liferay.portal.kernel.exception.SystemException {
363 return _pollsQuestionLocalService.getQuestions(groupId);
364 }
365
366 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> getQuestions(
367 long groupId, int start, int end)
368 throws com.liferay.portal.kernel.exception.SystemException {
369 return _pollsQuestionLocalService.getQuestions(groupId, start, end);
370 }
371
372 public int getQuestionsCount(long groupId)
373 throws com.liferay.portal.kernel.exception.SystemException {
374 return _pollsQuestionLocalService.getQuestionsCount(groupId);
375 }
376
377 public com.liferay.portlet.polls.model.PollsQuestion updateQuestion(
378 long userId, long questionId,
379 java.util.Map<java.util.Locale, java.lang.String> titleMap,
380 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
381 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
382 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
383 java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices,
384 com.liferay.portal.service.ServiceContext serviceContext)
385 throws com.liferay.portal.kernel.exception.PortalException,
386 com.liferay.portal.kernel.exception.SystemException {
387 return _pollsQuestionLocalService.updateQuestion(userId, questionId,
388 titleMap, descriptionMap, expirationDateMonth, expirationDateDay,
389 expirationDateYear, expirationDateHour, expirationDateMinute,
390 neverExpire, choices, serviceContext);
391 }
392
393
396 public PollsQuestionLocalService getWrappedPollsQuestionLocalService() {
397 return _pollsQuestionLocalService;
398 }
399
400
403 public void setWrappedPollsQuestionLocalService(
404 PollsQuestionLocalService pollsQuestionLocalService) {
405 _pollsQuestionLocalService = pollsQuestionLocalService;
406 }
407
408 public PollsQuestionLocalService getWrappedService() {
409 return _pollsQuestionLocalService;
410 }
411
412 public void setWrappedService(
413 PollsQuestionLocalService pollsQuestionLocalService) {
414 _pollsQuestionLocalService = pollsQuestionLocalService;
415 }
416
417 private PollsQuestionLocalService _pollsQuestionLocalService;
418 }