1
22
23 package com.liferay.portlet.polls.service;
24
25
26
42 public class PollsQuestionLocalServiceWrapper
43 implements PollsQuestionLocalService {
44 public PollsQuestionLocalServiceWrapper(
45 PollsQuestionLocalService pollsQuestionLocalService) {
46 _pollsQuestionLocalService = pollsQuestionLocalService;
47 }
48
49 public com.liferay.portlet.polls.model.PollsQuestion addPollsQuestion(
50 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion)
51 throws com.liferay.portal.SystemException {
52 return _pollsQuestionLocalService.addPollsQuestion(pollsQuestion);
53 }
54
55 public com.liferay.portlet.polls.model.PollsQuestion createPollsQuestion(
56 long questionId) {
57 return _pollsQuestionLocalService.createPollsQuestion(questionId);
58 }
59
60 public void deletePollsQuestion(long questionId)
61 throws com.liferay.portal.PortalException,
62 com.liferay.portal.SystemException {
63 _pollsQuestionLocalService.deletePollsQuestion(questionId);
64 }
65
66 public void deletePollsQuestion(
67 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion)
68 throws com.liferay.portal.SystemException {
69 _pollsQuestionLocalService.deletePollsQuestion(pollsQuestion);
70 }
71
72 public java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74 throws com.liferay.portal.SystemException {
75 return _pollsQuestionLocalService.dynamicQuery(dynamicQuery);
76 }
77
78 public java.util.List<Object> dynamicQuery(
79 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80 int end) throws com.liferay.portal.SystemException {
81 return _pollsQuestionLocalService.dynamicQuery(dynamicQuery, start, end);
82 }
83
84 public com.liferay.portlet.polls.model.PollsQuestion getPollsQuestion(
85 long questionId)
86 throws com.liferay.portal.PortalException,
87 com.liferay.portal.SystemException {
88 return _pollsQuestionLocalService.getPollsQuestion(questionId);
89 }
90
91 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> getPollsQuestions(
92 int start, int end) throws com.liferay.portal.SystemException {
93 return _pollsQuestionLocalService.getPollsQuestions(start, end);
94 }
95
96 public int getPollsQuestionsCount()
97 throws com.liferay.portal.SystemException {
98 return _pollsQuestionLocalService.getPollsQuestionsCount();
99 }
100
101 public com.liferay.portlet.polls.model.PollsQuestion updatePollsQuestion(
102 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion)
103 throws com.liferay.portal.SystemException {
104 return _pollsQuestionLocalService.updatePollsQuestion(pollsQuestion);
105 }
106
107 public com.liferay.portlet.polls.model.PollsQuestion updatePollsQuestion(
108 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion,
109 boolean merge) throws com.liferay.portal.SystemException {
110 return _pollsQuestionLocalService.updatePollsQuestion(pollsQuestion,
111 merge);
112 }
113
114 public com.liferay.portlet.polls.model.PollsQuestion addQuestion(
115 long userId, java.lang.String title, java.lang.String description,
116 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
117 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
118 java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices,
119 com.liferay.portal.service.ServiceContext serviceContext)
120 throws com.liferay.portal.PortalException,
121 com.liferay.portal.SystemException {
122 return _pollsQuestionLocalService.addQuestion(userId, title,
123 description, expirationDateMonth, expirationDateDay,
124 expirationDateYear, expirationDateHour, expirationDateMinute,
125 neverExpire, choices, serviceContext);
126 }
127
128 public com.liferay.portlet.polls.model.PollsQuestion addQuestion(
129 java.lang.String uuid, long userId, java.lang.String title,
130 java.lang.String description, int expirationDateMonth,
131 int expirationDateDay, int expirationDateYear, int expirationDateHour,
132 int expirationDateMinute, boolean neverExpire,
133 java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices,
134 com.liferay.portal.service.ServiceContext serviceContext)
135 throws com.liferay.portal.PortalException,
136 com.liferay.portal.SystemException {
137 return _pollsQuestionLocalService.addQuestion(uuid, userId, title,
138 description, expirationDateMonth, expirationDateDay,
139 expirationDateYear, expirationDateHour, expirationDateMinute,
140 neverExpire, choices, serviceContext);
141 }
142
143 public void addQuestionResources(long questionId,
144 boolean addCommunityPermissions, boolean addGuestPermissions)
145 throws com.liferay.portal.PortalException,
146 com.liferay.portal.SystemException {
147 _pollsQuestionLocalService.addQuestionResources(questionId,
148 addCommunityPermissions, addGuestPermissions);
149 }
150
151 public void addQuestionResources(long questionId,
152 java.lang.String[] communityPermissions,
153 java.lang.String[] guestPermissions)
154 throws com.liferay.portal.PortalException,
155 com.liferay.portal.SystemException {
156 _pollsQuestionLocalService.addQuestionResources(questionId,
157 communityPermissions, guestPermissions);
158 }
159
160 public void addQuestionResources(
161 com.liferay.portlet.polls.model.PollsQuestion question,
162 boolean addCommunityPermissions, boolean addGuestPermissions)
163 throws com.liferay.portal.PortalException,
164 com.liferay.portal.SystemException {
165 _pollsQuestionLocalService.addQuestionResources(question,
166 addCommunityPermissions, addGuestPermissions);
167 }
168
169 public void addQuestionResources(
170 com.liferay.portlet.polls.model.PollsQuestion question,
171 java.lang.String[] communityPermissions,
172 java.lang.String[] guestPermissions)
173 throws com.liferay.portal.PortalException,
174 com.liferay.portal.SystemException {
175 _pollsQuestionLocalService.addQuestionResources(question,
176 communityPermissions, guestPermissions);
177 }
178
179 public void deleteQuestion(long questionId)
180 throws com.liferay.portal.PortalException,
181 com.liferay.portal.SystemException {
182 _pollsQuestionLocalService.deleteQuestion(questionId);
183 }
184
185 public void deleteQuestion(
186 com.liferay.portlet.polls.model.PollsQuestion question)
187 throws com.liferay.portal.PortalException,
188 com.liferay.portal.SystemException {
189 _pollsQuestionLocalService.deleteQuestion(question);
190 }
191
192 public void deleteQuestions(long groupId)
193 throws com.liferay.portal.PortalException,
194 com.liferay.portal.SystemException {
195 _pollsQuestionLocalService.deleteQuestions(groupId);
196 }
197
198 public com.liferay.portlet.polls.model.PollsQuestion getQuestion(
199 long questionId)
200 throws com.liferay.portal.PortalException,
201 com.liferay.portal.SystemException {
202 return _pollsQuestionLocalService.getQuestion(questionId);
203 }
204
205 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> getQuestions(
206 long groupId) throws com.liferay.portal.SystemException {
207 return _pollsQuestionLocalService.getQuestions(groupId);
208 }
209
210 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> getQuestions(
211 long groupId, int start, int end)
212 throws com.liferay.portal.SystemException {
213 return _pollsQuestionLocalService.getQuestions(groupId, start, end);
214 }
215
216 public int getQuestionsCount(long groupId)
217 throws com.liferay.portal.SystemException {
218 return _pollsQuestionLocalService.getQuestionsCount(groupId);
219 }
220
221 public com.liferay.portlet.polls.model.PollsQuestion updateQuestion(
222 long userId, long questionId, java.lang.String title,
223 java.lang.String description, int expirationDateMonth,
224 int expirationDateDay, int expirationDateYear, int expirationDateHour,
225 int expirationDateMinute, boolean neverExpire)
226 throws com.liferay.portal.PortalException,
227 com.liferay.portal.SystemException {
228 return _pollsQuestionLocalService.updateQuestion(userId, questionId,
229 title, description, expirationDateMonth, expirationDateDay,
230 expirationDateYear, expirationDateHour, expirationDateMinute,
231 neverExpire);
232 }
233
234 public com.liferay.portlet.polls.model.PollsQuestion updateQuestion(
235 long userId, long questionId, java.lang.String title,
236 java.lang.String description, int expirationDateMonth,
237 int expirationDateDay, int expirationDateYear, int expirationDateHour,
238 int expirationDateMinute, boolean neverExpire,
239 java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices,
240 com.liferay.portal.service.ServiceContext serviceContext)
241 throws com.liferay.portal.PortalException,
242 com.liferay.portal.SystemException {
243 return _pollsQuestionLocalService.updateQuestion(userId, questionId,
244 title, description, expirationDateMonth, expirationDateDay,
245 expirationDateYear, expirationDateHour, expirationDateMinute,
246 neverExpire, choices, serviceContext);
247 }
248
249 public PollsQuestionLocalService getWrappedPollsQuestionLocalService() {
250 return _pollsQuestionLocalService;
251 }
252
253 private PollsQuestionLocalService _pollsQuestionLocalService;
254 }