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
066 public void deletePollsChoice(long choiceId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 _pollsChoiceLocalService.deletePollsChoice(choiceId);
070 }
071
072
078 public void deletePollsChoice(
079 com.liferay.portlet.polls.model.PollsChoice pollsChoice)
080 throws com.liferay.portal.kernel.exception.SystemException {
081 _pollsChoiceLocalService.deletePollsChoice(pollsChoice);
082 }
083
084
091 @SuppressWarnings("rawtypes")
092 public java.util.List dynamicQuery(
093 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
094 throws com.liferay.portal.kernel.exception.SystemException {
095 return _pollsChoiceLocalService.dynamicQuery(dynamicQuery);
096 }
097
098
111 @SuppressWarnings("rawtypes")
112 public java.util.List dynamicQuery(
113 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
114 int end) throws com.liferay.portal.kernel.exception.SystemException {
115 return _pollsChoiceLocalService.dynamicQuery(dynamicQuery, start, end);
116 }
117
118
132 @SuppressWarnings("rawtypes")
133 public java.util.List dynamicQuery(
134 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
135 int end,
136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
137 throws com.liferay.portal.kernel.exception.SystemException {
138 return _pollsChoiceLocalService.dynamicQuery(dynamicQuery, start, end,
139 orderByComparator);
140 }
141
142
149 public long dynamicQueryCount(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return _pollsChoiceLocalService.dynamicQueryCount(dynamicQuery);
153 }
154
155 public com.liferay.portlet.polls.model.PollsChoice fetchPollsChoice(
156 long choiceId)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return _pollsChoiceLocalService.fetchPollsChoice(choiceId);
159 }
160
161
169 public com.liferay.portlet.polls.model.PollsChoice getPollsChoice(
170 long choiceId)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 return _pollsChoiceLocalService.getPollsChoice(choiceId);
174 }
175
176 public com.liferay.portal.model.PersistedModel getPersistedModel(
177 java.io.Serializable primaryKeyObj)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _pollsChoiceLocalService.getPersistedModel(primaryKeyObj);
181 }
182
183
195 public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getPollsChoices(
196 int start, int end)
197 throws com.liferay.portal.kernel.exception.SystemException {
198 return _pollsChoiceLocalService.getPollsChoices(start, end);
199 }
200
201
207 public int getPollsChoicesCount()
208 throws com.liferay.portal.kernel.exception.SystemException {
209 return _pollsChoiceLocalService.getPollsChoicesCount();
210 }
211
212
219 public com.liferay.portlet.polls.model.PollsChoice updatePollsChoice(
220 com.liferay.portlet.polls.model.PollsChoice pollsChoice)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return _pollsChoiceLocalService.updatePollsChoice(pollsChoice);
223 }
224
225
233 public com.liferay.portlet.polls.model.PollsChoice updatePollsChoice(
234 com.liferay.portlet.polls.model.PollsChoice pollsChoice, boolean merge)
235 throws com.liferay.portal.kernel.exception.SystemException {
236 return _pollsChoiceLocalService.updatePollsChoice(pollsChoice, merge);
237 }
238
239
244 public java.lang.String getBeanIdentifier() {
245 return _pollsChoiceLocalService.getBeanIdentifier();
246 }
247
248
253 public void setBeanIdentifier(java.lang.String beanIdentifier) {
254 _pollsChoiceLocalService.setBeanIdentifier(beanIdentifier);
255 }
256
257 public com.liferay.portlet.polls.model.PollsChoice addChoice(
258 long questionId, java.lang.String name, java.lang.String description,
259 com.liferay.portal.service.ServiceContext serviceContext)
260 throws com.liferay.portal.kernel.exception.PortalException,
261 com.liferay.portal.kernel.exception.SystemException {
262 return _pollsChoiceLocalService.addChoice(questionId, name,
263 description, serviceContext);
264 }
265
266 public com.liferay.portlet.polls.model.PollsChoice getChoice(long choiceId)
267 throws com.liferay.portal.kernel.exception.PortalException,
268 com.liferay.portal.kernel.exception.SystemException {
269 return _pollsChoiceLocalService.getChoice(choiceId);
270 }
271
272 public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices(
273 long questionId)
274 throws com.liferay.portal.kernel.exception.SystemException {
275 return _pollsChoiceLocalService.getChoices(questionId);
276 }
277
278 public int getChoicesCount(long questionId)
279 throws com.liferay.portal.kernel.exception.SystemException {
280 return _pollsChoiceLocalService.getChoicesCount(questionId);
281 }
282
283 public com.liferay.portlet.polls.model.PollsChoice updateChoice(
284 long choiceId, long questionId, java.lang.String name,
285 java.lang.String description)
286 throws com.liferay.portal.kernel.exception.PortalException,
287 com.liferay.portal.kernel.exception.SystemException {
288 return _pollsChoiceLocalService.updateChoice(choiceId, questionId,
289 name, description);
290 }
291
292
295 public PollsChoiceLocalService getWrappedPollsChoiceLocalService() {
296 return _pollsChoiceLocalService;
297 }
298
299
302 public void setWrappedPollsChoiceLocalService(
303 PollsChoiceLocalService pollsChoiceLocalService) {
304 _pollsChoiceLocalService = pollsChoiceLocalService;
305 }
306
307 public PollsChoiceLocalService getWrappedService() {
308 return _pollsChoiceLocalService;
309 }
310
311 public void setWrappedService(
312 PollsChoiceLocalService pollsChoiceLocalService) {
313 _pollsChoiceLocalService = pollsChoiceLocalService;
314 }
315
316 private PollsChoiceLocalService _pollsChoiceLocalService;
317 }