001
014
015 package com.liferay.portlet.polls.service;
016
017
026 public class PollsQuestionLocalServiceWrapper
027 implements PollsQuestionLocalService {
028 public PollsQuestionLocalServiceWrapper(
029 PollsQuestionLocalService pollsQuestionLocalService) {
030 _pollsQuestionLocalService = pollsQuestionLocalService;
031 }
032
033
040 public com.liferay.portlet.polls.model.PollsQuestion addPollsQuestion(
041 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return _pollsQuestionLocalService.addPollsQuestion(pollsQuestion);
044 }
045
046
052 public com.liferay.portlet.polls.model.PollsQuestion createPollsQuestion(
053 long questionId) {
054 return _pollsQuestionLocalService.createPollsQuestion(questionId);
055 }
056
057
064 public void deletePollsQuestion(long questionId)
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException {
067 _pollsQuestionLocalService.deletePollsQuestion(questionId);
068 }
069
070
076 public void deletePollsQuestion(
077 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 _pollsQuestionLocalService.deletePollsQuestion(pollsQuestion);
080 }
081
082
089 @SuppressWarnings("rawtypes")
090 public java.util.List dynamicQuery(
091 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return _pollsQuestionLocalService.dynamicQuery(dynamicQuery);
094 }
095
096
109 @SuppressWarnings("rawtypes")
110 public java.util.List dynamicQuery(
111 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112 int end) throws com.liferay.portal.kernel.exception.SystemException {
113 return _pollsQuestionLocalService.dynamicQuery(dynamicQuery, start, end);
114 }
115
116
130 @SuppressWarnings("rawtypes")
131 public java.util.List dynamicQuery(
132 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
133 int end,
134 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135 throws com.liferay.portal.kernel.exception.SystemException {
136 return _pollsQuestionLocalService.dynamicQuery(dynamicQuery, start,
137 end, orderByComparator);
138 }
139
140
147 public long dynamicQueryCount(
148 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
149 throws com.liferay.portal.kernel.exception.SystemException {
150 return _pollsQuestionLocalService.dynamicQueryCount(dynamicQuery);
151 }
152
153
161 public com.liferay.portlet.polls.model.PollsQuestion getPollsQuestion(
162 long questionId)
163 throws com.liferay.portal.kernel.exception.PortalException,
164 com.liferay.portal.kernel.exception.SystemException {
165 return _pollsQuestionLocalService.getPollsQuestion(questionId);
166 }
167
168 public com.liferay.portal.model.PersistedModel getPersistedModel(
169 java.io.Serializable primaryKeyObj)
170 throws com.liferay.portal.kernel.exception.PortalException,
171 com.liferay.portal.kernel.exception.SystemException {
172 return _pollsQuestionLocalService.getPersistedModel(primaryKeyObj);
173 }
174
175
184 public com.liferay.portlet.polls.model.PollsQuestion getPollsQuestionByUuidAndGroupId(
185 java.lang.String uuid, long groupId)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException {
188 return _pollsQuestionLocalService.getPollsQuestionByUuidAndGroupId(uuid,
189 groupId);
190 }
191
192
204 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> getPollsQuestions(
205 int start, int end)
206 throws com.liferay.portal.kernel.exception.SystemException {
207 return _pollsQuestionLocalService.getPollsQuestions(start, end);
208 }
209
210
216 public int getPollsQuestionsCount()
217 throws com.liferay.portal.kernel.exception.SystemException {
218 return _pollsQuestionLocalService.getPollsQuestionsCount();
219 }
220
221
228 public com.liferay.portlet.polls.model.PollsQuestion updatePollsQuestion(
229 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion)
230 throws com.liferay.portal.kernel.exception.SystemException {
231 return _pollsQuestionLocalService.updatePollsQuestion(pollsQuestion);
232 }
233
234
242 public com.liferay.portlet.polls.model.PollsQuestion updatePollsQuestion(
243 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion,
244 boolean merge)
245 throws com.liferay.portal.kernel.exception.SystemException {
246 return _pollsQuestionLocalService.updatePollsQuestion(pollsQuestion,
247 merge);
248 }
249
250
255 public java.lang.String getBeanIdentifier() {
256 return _pollsQuestionLocalService.getBeanIdentifier();
257 }
258
259
264 public void setBeanIdentifier(java.lang.String beanIdentifier) {
265 _pollsQuestionLocalService.setBeanIdentifier(beanIdentifier);
266 }
267
268 public com.liferay.portlet.polls.model.PollsQuestion addQuestion(
269 long userId,
270 java.util.Map<java.util.Locale, java.lang.String> titleMap,
271 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
272 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
273 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
274 java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices,
275 com.liferay.portal.service.ServiceContext serviceContext)
276 throws com.liferay.portal.kernel.exception.PortalException,
277 com.liferay.portal.kernel.exception.SystemException {
278 return _pollsQuestionLocalService.addQuestion(userId, titleMap,
279 descriptionMap, expirationDateMonth, expirationDateDay,
280 expirationDateYear, expirationDateHour, expirationDateMinute,
281 neverExpire, choices, serviceContext);
282 }
283
284 public void addQuestionResources(long questionId,
285 boolean addCommunityPermissions, boolean addGuestPermissions)
286 throws com.liferay.portal.kernel.exception.PortalException,
287 com.liferay.portal.kernel.exception.SystemException {
288 _pollsQuestionLocalService.addQuestionResources(questionId,
289 addCommunityPermissions, addGuestPermissions);
290 }
291
292 public void addQuestionResources(long questionId,
293 java.lang.String[] communityPermissions,
294 java.lang.String[] guestPermissions)
295 throws com.liferay.portal.kernel.exception.PortalException,
296 com.liferay.portal.kernel.exception.SystemException {
297 _pollsQuestionLocalService.addQuestionResources(questionId,
298 communityPermissions, guestPermissions);
299 }
300
301 public void addQuestionResources(
302 com.liferay.portlet.polls.model.PollsQuestion question,
303 boolean addCommunityPermissions, boolean addGuestPermissions)
304 throws com.liferay.portal.kernel.exception.PortalException,
305 com.liferay.portal.kernel.exception.SystemException {
306 _pollsQuestionLocalService.addQuestionResources(question,
307 addCommunityPermissions, addGuestPermissions);
308 }
309
310 public void addQuestionResources(
311 com.liferay.portlet.polls.model.PollsQuestion question,
312 java.lang.String[] communityPermissions,
313 java.lang.String[] guestPermissions)
314 throws com.liferay.portal.kernel.exception.PortalException,
315 com.liferay.portal.kernel.exception.SystemException {
316 _pollsQuestionLocalService.addQuestionResources(question,
317 communityPermissions, guestPermissions);
318 }
319
320 public void deleteQuestion(long questionId)
321 throws com.liferay.portal.kernel.exception.PortalException,
322 com.liferay.portal.kernel.exception.SystemException {
323 _pollsQuestionLocalService.deleteQuestion(questionId);
324 }
325
326 public void deleteQuestion(
327 com.liferay.portlet.polls.model.PollsQuestion question)
328 throws com.liferay.portal.kernel.exception.PortalException,
329 com.liferay.portal.kernel.exception.SystemException {
330 _pollsQuestionLocalService.deleteQuestion(question);
331 }
332
333 public void deleteQuestions(long groupId)
334 throws com.liferay.portal.kernel.exception.PortalException,
335 com.liferay.portal.kernel.exception.SystemException {
336 _pollsQuestionLocalService.deleteQuestions(groupId);
337 }
338
339 public com.liferay.portlet.polls.model.PollsQuestion getQuestion(
340 long questionId)
341 throws com.liferay.portal.kernel.exception.PortalException,
342 com.liferay.portal.kernel.exception.SystemException {
343 return _pollsQuestionLocalService.getQuestion(questionId);
344 }
345
346 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> getQuestions(
347 long groupId)
348 throws com.liferay.portal.kernel.exception.SystemException {
349 return _pollsQuestionLocalService.getQuestions(groupId);
350 }
351
352 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> getQuestions(
353 long groupId, int start, int end)
354 throws com.liferay.portal.kernel.exception.SystemException {
355 return _pollsQuestionLocalService.getQuestions(groupId, start, end);
356 }
357
358 public int getQuestionsCount(long groupId)
359 throws com.liferay.portal.kernel.exception.SystemException {
360 return _pollsQuestionLocalService.getQuestionsCount(groupId);
361 }
362
363 public com.liferay.portlet.polls.model.PollsQuestion updateQuestion(
364 long userId, long questionId,
365 java.util.Map<java.util.Locale, java.lang.String> titleMap,
366 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
367 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
368 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
369 java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices,
370 com.liferay.portal.service.ServiceContext serviceContext)
371 throws com.liferay.portal.kernel.exception.PortalException,
372 com.liferay.portal.kernel.exception.SystemException {
373 return _pollsQuestionLocalService.updateQuestion(userId, questionId,
374 titleMap, descriptionMap, expirationDateMonth, expirationDateDay,
375 expirationDateYear, expirationDateHour, expirationDateMinute,
376 neverExpire, choices, serviceContext);
377 }
378
379 public PollsQuestionLocalService getWrappedPollsQuestionLocalService() {
380 return _pollsQuestionLocalService;
381 }
382
383 public void setWrappedPollsQuestionLocalService(
384 PollsQuestionLocalService pollsQuestionLocalService) {
385 _pollsQuestionLocalService = pollsQuestionLocalService;
386 }
387
388 private PollsQuestionLocalService _pollsQuestionLocalService;
389 }