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
237 public java.lang.String getBeanIdentifier() {
238 return _pollsChoiceLocalService.getBeanIdentifier();
239 }
240
241
246 public void setBeanIdentifier(java.lang.String beanIdentifier) {
247 _pollsChoiceLocalService.setBeanIdentifier(beanIdentifier);
248 }
249
250 public com.liferay.portlet.polls.model.PollsChoice addChoice(
251 long questionId, java.lang.String name, java.lang.String description,
252 com.liferay.portal.service.ServiceContext serviceContext)
253 throws com.liferay.portal.kernel.exception.PortalException,
254 com.liferay.portal.kernel.exception.SystemException {
255 return _pollsChoiceLocalService.addChoice(questionId, name,
256 description, serviceContext);
257 }
258
259 public com.liferay.portlet.polls.model.PollsChoice getChoice(long choiceId)
260 throws com.liferay.portal.kernel.exception.PortalException,
261 com.liferay.portal.kernel.exception.SystemException {
262 return _pollsChoiceLocalService.getChoice(choiceId);
263 }
264
265 public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices(
266 long questionId)
267 throws com.liferay.portal.kernel.exception.SystemException {
268 return _pollsChoiceLocalService.getChoices(questionId);
269 }
270
271 public int getChoicesCount(long questionId)
272 throws com.liferay.portal.kernel.exception.SystemException {
273 return _pollsChoiceLocalService.getChoicesCount(questionId);
274 }
275
276 public com.liferay.portlet.polls.model.PollsChoice updateChoice(
277 long choiceId, long questionId, java.lang.String name,
278 java.lang.String description)
279 throws com.liferay.portal.kernel.exception.PortalException,
280 com.liferay.portal.kernel.exception.SystemException {
281 return _pollsChoiceLocalService.updateChoice(choiceId, questionId,
282 name, description);
283 }
284
285
288 public PollsChoiceLocalService getWrappedPollsChoiceLocalService() {
289 return _pollsChoiceLocalService;
290 }
291
292
295 public void setWrappedPollsChoiceLocalService(
296 PollsChoiceLocalService pollsChoiceLocalService) {
297 _pollsChoiceLocalService = pollsChoiceLocalService;
298 }
299
300 public PollsChoiceLocalService getWrappedService() {
301 return _pollsChoiceLocalService;
302 }
303
304 public void setWrappedService(
305 PollsChoiceLocalService pollsChoiceLocalService) {
306 _pollsChoiceLocalService = pollsChoiceLocalService;
307 }
308
309 private PollsChoiceLocalService _pollsChoiceLocalService;
310 }