001
014
015 package com.liferay.portlet.polls.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class PollsQuestionServiceWrapper implements PollsQuestionService,
029 ServiceWrapper<PollsQuestionService> {
030 public PollsQuestionServiceWrapper(
031 PollsQuestionService pollsQuestionService) {
032 _pollsQuestionService = pollsQuestionService;
033 }
034
035
040 public java.lang.String getBeanIdentifier() {
041 return _pollsQuestionService.getBeanIdentifier();
042 }
043
044
049 public void setBeanIdentifier(java.lang.String beanIdentifier) {
050 _pollsQuestionService.setBeanIdentifier(beanIdentifier);
051 }
052
053 public com.liferay.portlet.polls.model.PollsQuestion addQuestion(
054 java.util.Map<java.util.Locale, java.lang.String> titleMap,
055 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
056 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
057 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
058 java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices,
059 com.liferay.portal.service.ServiceContext serviceContext)
060 throws com.liferay.portal.kernel.exception.PortalException,
061 com.liferay.portal.kernel.exception.SystemException {
062 return _pollsQuestionService.addQuestion(titleMap, descriptionMap,
063 expirationDateMonth, expirationDateDay, expirationDateYear,
064 expirationDateHour, expirationDateMinute, neverExpire, choices,
065 serviceContext);
066 }
067
068 public void deleteQuestion(long questionId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 _pollsQuestionService.deleteQuestion(questionId);
072 }
073
074 public com.liferay.portlet.polls.model.PollsQuestion getQuestion(
075 long questionId)
076 throws com.liferay.portal.kernel.exception.PortalException,
077 com.liferay.portal.kernel.exception.SystemException {
078 return _pollsQuestionService.getQuestion(questionId);
079 }
080
081 public com.liferay.portlet.polls.model.PollsQuestion updateQuestion(
082 long questionId,
083 java.util.Map<java.util.Locale, java.lang.String> titleMap,
084 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
085 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
086 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
087 java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices,
088 com.liferay.portal.service.ServiceContext serviceContext)
089 throws com.liferay.portal.kernel.exception.PortalException,
090 com.liferay.portal.kernel.exception.SystemException {
091 return _pollsQuestionService.updateQuestion(questionId, titleMap,
092 descriptionMap, expirationDateMonth, expirationDateDay,
093 expirationDateYear, expirationDateHour, expirationDateMinute,
094 neverExpire, choices, serviceContext);
095 }
096
097
100 public PollsQuestionService getWrappedPollsQuestionService() {
101 return _pollsQuestionService;
102 }
103
104
107 public void setWrappedPollsQuestionService(
108 PollsQuestionService pollsQuestionService) {
109 _pollsQuestionService = pollsQuestionService;
110 }
111
112 public PollsQuestionService getWrappedService() {
113 return _pollsQuestionService;
114 }
115
116 public void setWrappedService(PollsQuestionService pollsQuestionService) {
117 _pollsQuestionService = pollsQuestionService;
118 }
119
120 private PollsQuestionService _pollsQuestionService;
121 }