001
014
015 package com.liferay.portlet.ratings.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class RatingsEntryLocalServiceWrapper implements RatingsEntryLocalService,
030 ServiceWrapper<RatingsEntryLocalService> {
031 public RatingsEntryLocalServiceWrapper(
032 RatingsEntryLocalService ratingsEntryLocalService) {
033 _ratingsEntryLocalService = ratingsEntryLocalService;
034 }
035
036
043 @Override
044 public com.liferay.portlet.ratings.model.RatingsEntry addRatingsEntry(
045 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
046 throws com.liferay.portal.kernel.exception.SystemException {
047 return _ratingsEntryLocalService.addRatingsEntry(ratingsEntry);
048 }
049
050
056 @Override
057 public com.liferay.portlet.ratings.model.RatingsEntry createRatingsEntry(
058 long entryId) {
059 return _ratingsEntryLocalService.createRatingsEntry(entryId);
060 }
061
062
070 @Override
071 public com.liferay.portlet.ratings.model.RatingsEntry deleteRatingsEntry(
072 long entryId)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 return _ratingsEntryLocalService.deleteRatingsEntry(entryId);
076 }
077
078
085 @Override
086 public com.liferay.portlet.ratings.model.RatingsEntry deleteRatingsEntry(
087 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
088 throws com.liferay.portal.kernel.exception.SystemException {
089 return _ratingsEntryLocalService.deleteRatingsEntry(ratingsEntry);
090 }
091
092 @Override
093 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
094 return _ratingsEntryLocalService.dynamicQuery();
095 }
096
097
104 @Override
105 @SuppressWarnings("rawtypes")
106 public java.util.List dynamicQuery(
107 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
108 throws com.liferay.portal.kernel.exception.SystemException {
109 return _ratingsEntryLocalService.dynamicQuery(dynamicQuery);
110 }
111
112
125 @Override
126 @SuppressWarnings("rawtypes")
127 public java.util.List dynamicQuery(
128 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
129 int end) throws com.liferay.portal.kernel.exception.SystemException {
130 return _ratingsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
131 }
132
133
147 @Override
148 @SuppressWarnings("rawtypes")
149 public java.util.List dynamicQuery(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
151 int end,
152 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153 throws com.liferay.portal.kernel.exception.SystemException {
154 return _ratingsEntryLocalService.dynamicQuery(dynamicQuery, start, end,
155 orderByComparator);
156 }
157
158
165 @Override
166 public long dynamicQueryCount(
167 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
168 throws com.liferay.portal.kernel.exception.SystemException {
169 return _ratingsEntryLocalService.dynamicQueryCount(dynamicQuery);
170 }
171
172
180 @Override
181 public long dynamicQueryCount(
182 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
183 com.liferay.portal.kernel.dao.orm.Projection projection)
184 throws com.liferay.portal.kernel.exception.SystemException {
185 return _ratingsEntryLocalService.dynamicQueryCount(dynamicQuery,
186 projection);
187 }
188
189 @Override
190 public com.liferay.portlet.ratings.model.RatingsEntry fetchRatingsEntry(
191 long entryId)
192 throws com.liferay.portal.kernel.exception.SystemException {
193 return _ratingsEntryLocalService.fetchRatingsEntry(entryId);
194 }
195
196
204 @Override
205 public com.liferay.portlet.ratings.model.RatingsEntry getRatingsEntry(
206 long entryId)
207 throws com.liferay.portal.kernel.exception.PortalException,
208 com.liferay.portal.kernel.exception.SystemException {
209 return _ratingsEntryLocalService.getRatingsEntry(entryId);
210 }
211
212 @Override
213 public com.liferay.portal.model.PersistedModel getPersistedModel(
214 java.io.Serializable primaryKeyObj)
215 throws com.liferay.portal.kernel.exception.PortalException,
216 com.liferay.portal.kernel.exception.SystemException {
217 return _ratingsEntryLocalService.getPersistedModel(primaryKeyObj);
218 }
219
220
232 @Override
233 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getRatingsEntries(
234 int start, int end)
235 throws com.liferay.portal.kernel.exception.SystemException {
236 return _ratingsEntryLocalService.getRatingsEntries(start, end);
237 }
238
239
245 @Override
246 public int getRatingsEntriesCount()
247 throws com.liferay.portal.kernel.exception.SystemException {
248 return _ratingsEntryLocalService.getRatingsEntriesCount();
249 }
250
251
258 @Override
259 public com.liferay.portlet.ratings.model.RatingsEntry updateRatingsEntry(
260 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
261 throws com.liferay.portal.kernel.exception.SystemException {
262 return _ratingsEntryLocalService.updateRatingsEntry(ratingsEntry);
263 }
264
265
270 @Override
271 public java.lang.String getBeanIdentifier() {
272 return _ratingsEntryLocalService.getBeanIdentifier();
273 }
274
275
280 @Override
281 public void setBeanIdentifier(java.lang.String beanIdentifier) {
282 _ratingsEntryLocalService.setBeanIdentifier(beanIdentifier);
283 }
284
285 @Override
286 public void deleteEntry(long userId, java.lang.String className,
287 long classPK)
288 throws com.liferay.portal.kernel.exception.PortalException,
289 com.liferay.portal.kernel.exception.SystemException {
290 _ratingsEntryLocalService.deleteEntry(userId, className, classPK);
291 }
292
293 @Override
294 public com.liferay.portlet.ratings.model.RatingsEntry fetchEntry(
295 long userId, java.lang.String className, long classPK)
296 throws com.liferay.portal.kernel.exception.SystemException {
297 return _ratingsEntryLocalService.fetchEntry(userId, className, classPK);
298 }
299
300 @Override
301 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getEntries(
302 long userId, java.lang.String className,
303 java.util.List<java.lang.Long> classPKs)
304 throws com.liferay.portal.kernel.exception.SystemException {
305 return _ratingsEntryLocalService.getEntries(userId, className, classPKs);
306 }
307
308 @Override
309 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getEntries(
310 java.lang.String className, long classPK)
311 throws com.liferay.portal.kernel.exception.SystemException {
312 return _ratingsEntryLocalService.getEntries(className, classPK);
313 }
314
315 @Override
316 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getEntries(
317 java.lang.String className, long classPK, double score)
318 throws com.liferay.portal.kernel.exception.SystemException {
319 return _ratingsEntryLocalService.getEntries(className, classPK, score);
320 }
321
322 @Override
323 public int getEntriesCount(java.lang.String className, long classPK,
324 double score)
325 throws com.liferay.portal.kernel.exception.SystemException {
326 return _ratingsEntryLocalService.getEntriesCount(className, classPK,
327 score);
328 }
329
330 @Override
331 public com.liferay.portlet.ratings.model.RatingsEntry getEntry(
332 long userId, java.lang.String className, long classPK)
333 throws com.liferay.portal.kernel.exception.PortalException,
334 com.liferay.portal.kernel.exception.SystemException {
335 return _ratingsEntryLocalService.getEntry(userId, className, classPK);
336 }
337
338 @Override
339 public com.liferay.portlet.ratings.model.RatingsEntry updateEntry(
340 long userId, java.lang.String className, long classPK, double score,
341 com.liferay.portal.service.ServiceContext serviceContext)
342 throws com.liferay.portal.kernel.exception.PortalException,
343 com.liferay.portal.kernel.exception.SystemException {
344 return _ratingsEntryLocalService.updateEntry(userId, className,
345 classPK, score, serviceContext);
346 }
347
348
351 public RatingsEntryLocalService getWrappedRatingsEntryLocalService() {
352 return _ratingsEntryLocalService;
353 }
354
355
358 public void setWrappedRatingsEntryLocalService(
359 RatingsEntryLocalService ratingsEntryLocalService) {
360 _ratingsEntryLocalService = ratingsEntryLocalService;
361 }
362
363 @Override
364 public RatingsEntryLocalService getWrappedService() {
365 return _ratingsEntryLocalService;
366 }
367
368 @Override
369 public void setWrappedService(
370 RatingsEntryLocalService ratingsEntryLocalService) {
371 _ratingsEntryLocalService = ratingsEntryLocalService;
372 }
373
374 private RatingsEntryLocalService _ratingsEntryLocalService;
375 }