001
014
015 package com.liferay.portlet.polls.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class PollsChoiceLocalServiceWrapper implements PollsChoiceLocalService,
029 ServiceWrapper<PollsChoiceLocalService> {
030 public PollsChoiceLocalServiceWrapper(
031 PollsChoiceLocalService pollsChoiceLocalService) {
032 _pollsChoiceLocalService = pollsChoiceLocalService;
033 }
034
035
042 public com.liferay.portlet.polls.model.PollsChoice addPollsChoice(
043 com.liferay.portlet.polls.model.PollsChoice pollsChoice)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _pollsChoiceLocalService.addPollsChoice(pollsChoice);
046 }
047
048
054 public com.liferay.portlet.polls.model.PollsChoice createPollsChoice(
055 long choiceId) {
056 return _pollsChoiceLocalService.createPollsChoice(choiceId);
057 }
058
059
067 public com.liferay.portlet.polls.model.PollsChoice deletePollsChoice(
068 long choiceId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 return _pollsChoiceLocalService.deletePollsChoice(choiceId);
072 }
073
074
081 public com.liferay.portlet.polls.model.PollsChoice deletePollsChoice(
082 com.liferay.portlet.polls.model.PollsChoice pollsChoice)
083 throws com.liferay.portal.kernel.exception.SystemException {
084 return _pollsChoiceLocalService.deletePollsChoice(pollsChoice);
085 }
086
087 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
088 return _pollsChoiceLocalService.dynamicQuery();
089 }
090
091
098 @SuppressWarnings("rawtypes")
099 public java.util.List dynamicQuery(
100 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _pollsChoiceLocalService.dynamicQuery(dynamicQuery);
103 }
104
105
118 @SuppressWarnings("rawtypes")
119 public java.util.List dynamicQuery(
120 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
121 int end) throws com.liferay.portal.kernel.exception.SystemException {
122 return _pollsChoiceLocalService.dynamicQuery(dynamicQuery, start, end);
123 }
124
125
139 @SuppressWarnings("rawtypes")
140 public java.util.List dynamicQuery(
141 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142 int end,
143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _pollsChoiceLocalService.dynamicQuery(dynamicQuery, start, end,
146 orderByComparator);
147 }
148
149
156 public long dynamicQueryCount(
157 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _pollsChoiceLocalService.dynamicQueryCount(dynamicQuery);
160 }
161
162 public com.liferay.portlet.polls.model.PollsChoice fetchPollsChoice(
163 long choiceId)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return _pollsChoiceLocalService.fetchPollsChoice(choiceId);
166 }
167
168
176 public com.liferay.portlet.polls.model.PollsChoice getPollsChoice(
177 long choiceId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _pollsChoiceLocalService.getPollsChoice(choiceId);
181 }
182
183 public com.liferay.portal.model.PersistedModel getPersistedModel(
184 java.io.Serializable primaryKeyObj)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return _pollsChoiceLocalService.getPersistedModel(primaryKeyObj);
188 }
189
190
202 public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getPollsChoices(
203 int start, int end)
204 throws com.liferay.portal.kernel.exception.SystemException {
205 return _pollsChoiceLocalService.getPollsChoices(start, end);
206 }
207
208
214 public int getPollsChoicesCount()
215 throws com.liferay.portal.kernel.exception.SystemException {
216 return _pollsChoiceLocalService.getPollsChoicesCount();
217 }
218
219
226 public com.liferay.portlet.polls.model.PollsChoice updatePollsChoice(
227 com.liferay.portlet.polls.model.PollsChoice pollsChoice)
228 throws com.liferay.portal.kernel.exception.SystemException {
229 return _pollsChoiceLocalService.updatePollsChoice(pollsChoice);
230 }
231
232
240 public com.liferay.portlet.polls.model.PollsChoice updatePollsChoice(
241 com.liferay.portlet.polls.model.PollsChoice pollsChoice, boolean merge)
242 throws com.liferay.portal.kernel.exception.SystemException {
243 return _pollsChoiceLocalService.updatePollsChoice(pollsChoice, merge);
244 }
245
246
251 public java.lang.String getBeanIdentifier() {
252 return _pollsChoiceLocalService.getBeanIdentifier();
253 }
254
255
260 public void setBeanIdentifier(java.lang.String beanIdentifier) {
261 _pollsChoiceLocalService.setBeanIdentifier(beanIdentifier);
262 }
263
264 public com.liferay.portlet.polls.model.PollsChoice addChoice(
265 long questionId, java.lang.String name, java.lang.String description,
266 com.liferay.portal.service.ServiceContext serviceContext)
267 throws com.liferay.portal.kernel.exception.PortalException,
268 com.liferay.portal.kernel.exception.SystemException {
269 return _pollsChoiceLocalService.addChoice(questionId, name,
270 description, serviceContext);
271 }
272
273 public com.liferay.portlet.polls.model.PollsChoice getChoice(long choiceId)
274 throws com.liferay.portal.kernel.exception.PortalException,
275 com.liferay.portal.kernel.exception.SystemException {
276 return _pollsChoiceLocalService.getChoice(choiceId);
277 }
278
279 public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices(
280 long questionId)
281 throws com.liferay.portal.kernel.exception.SystemException {
282 return _pollsChoiceLocalService.getChoices(questionId);
283 }
284
285 public int getChoicesCount(long questionId)
286 throws com.liferay.portal.kernel.exception.SystemException {
287 return _pollsChoiceLocalService.getChoicesCount(questionId);
288 }
289
290 public com.liferay.portlet.polls.model.PollsChoice updateChoice(
291 long choiceId, long questionId, java.lang.String name,
292 java.lang.String description)
293 throws com.liferay.portal.kernel.exception.PortalException,
294 com.liferay.portal.kernel.exception.SystemException {
295 return _pollsChoiceLocalService.updateChoice(choiceId, questionId,
296 name, description);
297 }
298
299
302 public PollsChoiceLocalService getWrappedPollsChoiceLocalService() {
303 return _pollsChoiceLocalService;
304 }
305
306
309 public void setWrappedPollsChoiceLocalService(
310 PollsChoiceLocalService pollsChoiceLocalService) {
311 _pollsChoiceLocalService = pollsChoiceLocalService;
312 }
313
314 public PollsChoiceLocalService getWrappedService() {
315 return _pollsChoiceLocalService;
316 }
317
318 public void setWrappedService(
319 PollsChoiceLocalService pollsChoiceLocalService) {
320 _pollsChoiceLocalService = pollsChoiceLocalService;
321 }
322
323 private PollsChoiceLocalService _pollsChoiceLocalService;
324 }