001
014
015 package com.liferay.portlet.ratings.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class RatingsEntryLocalServiceWrapper implements RatingsEntryLocalService,
029 ServiceWrapper<RatingsEntryLocalService> {
030 public RatingsEntryLocalServiceWrapper(
031 RatingsEntryLocalService ratingsEntryLocalService) {
032 _ratingsEntryLocalService = ratingsEntryLocalService;
033 }
034
035
042 public com.liferay.portlet.ratings.model.RatingsEntry addRatingsEntry(
043 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _ratingsEntryLocalService.addRatingsEntry(ratingsEntry);
046 }
047
048
054 public com.liferay.portlet.ratings.model.RatingsEntry createRatingsEntry(
055 long entryId) {
056 return _ratingsEntryLocalService.createRatingsEntry(entryId);
057 }
058
059
067 public com.liferay.portlet.ratings.model.RatingsEntry deleteRatingsEntry(
068 long entryId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 return _ratingsEntryLocalService.deleteRatingsEntry(entryId);
072 }
073
074
081 public com.liferay.portlet.ratings.model.RatingsEntry deleteRatingsEntry(
082 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
083 throws com.liferay.portal.kernel.exception.SystemException {
084 return _ratingsEntryLocalService.deleteRatingsEntry(ratingsEntry);
085 }
086
087 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
088 return _ratingsEntryLocalService.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 _ratingsEntryLocalService.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 _ratingsEntryLocalService.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 _ratingsEntryLocalService.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 _ratingsEntryLocalService.dynamicQueryCount(dynamicQuery);
160 }
161
162 public com.liferay.portlet.ratings.model.RatingsEntry fetchRatingsEntry(
163 long entryId)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return _ratingsEntryLocalService.fetchRatingsEntry(entryId);
166 }
167
168
176 public com.liferay.portlet.ratings.model.RatingsEntry getRatingsEntry(
177 long entryId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _ratingsEntryLocalService.getRatingsEntry(entryId);
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 _ratingsEntryLocalService.getPersistedModel(primaryKeyObj);
188 }
189
190
202 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getRatingsEntries(
203 int start, int end)
204 throws com.liferay.portal.kernel.exception.SystemException {
205 return _ratingsEntryLocalService.getRatingsEntries(start, end);
206 }
207
208
214 public int getRatingsEntriesCount()
215 throws com.liferay.portal.kernel.exception.SystemException {
216 return _ratingsEntryLocalService.getRatingsEntriesCount();
217 }
218
219
226 public com.liferay.portlet.ratings.model.RatingsEntry updateRatingsEntry(
227 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
228 throws com.liferay.portal.kernel.exception.SystemException {
229 return _ratingsEntryLocalService.updateRatingsEntry(ratingsEntry);
230 }
231
232
240 public com.liferay.portlet.ratings.model.RatingsEntry updateRatingsEntry(
241 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry,
242 boolean merge)
243 throws com.liferay.portal.kernel.exception.SystemException {
244 return _ratingsEntryLocalService.updateRatingsEntry(ratingsEntry, merge);
245 }
246
247
252 public java.lang.String getBeanIdentifier() {
253 return _ratingsEntryLocalService.getBeanIdentifier();
254 }
255
256
261 public void setBeanIdentifier(java.lang.String beanIdentifier) {
262 _ratingsEntryLocalService.setBeanIdentifier(beanIdentifier);
263 }
264
265 public void deleteEntry(long userId, java.lang.String className,
266 long classPK)
267 throws com.liferay.portal.kernel.exception.PortalException,
268 com.liferay.portal.kernel.exception.SystemException {
269 _ratingsEntryLocalService.deleteEntry(userId, className, classPK);
270 }
271
272 public com.liferay.portlet.ratings.model.RatingsEntry fetchEntry(
273 long userId, java.lang.String className, long classPK)
274 throws com.liferay.portal.kernel.exception.SystemException {
275 return _ratingsEntryLocalService.fetchEntry(userId, className, classPK);
276 }
277
278 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getEntries(
279 long userId, java.lang.String className,
280 java.util.List<java.lang.Long> classPKs)
281 throws com.liferay.portal.kernel.exception.SystemException {
282 return _ratingsEntryLocalService.getEntries(userId, className, classPKs);
283 }
284
285 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getEntries(
286 java.lang.String className, long classPK)
287 throws com.liferay.portal.kernel.exception.SystemException {
288 return _ratingsEntryLocalService.getEntries(className, classPK);
289 }
290
291 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getEntries(
292 java.lang.String className, long classPK, double score)
293 throws com.liferay.portal.kernel.exception.SystemException {
294 return _ratingsEntryLocalService.getEntries(className, classPK, score);
295 }
296
297 public int getEntriesCount(java.lang.String className, long classPK,
298 double score)
299 throws com.liferay.portal.kernel.exception.SystemException {
300 return _ratingsEntryLocalService.getEntriesCount(className, classPK,
301 score);
302 }
303
304 public com.liferay.portlet.ratings.model.RatingsEntry getEntry(
305 long userId, java.lang.String className, long classPK)
306 throws com.liferay.portal.kernel.exception.PortalException,
307 com.liferay.portal.kernel.exception.SystemException {
308 return _ratingsEntryLocalService.getEntry(userId, className, classPK);
309 }
310
311 public com.liferay.portlet.ratings.model.RatingsEntry updateEntry(
312 long userId, java.lang.String className, long classPK, double score,
313 com.liferay.portal.service.ServiceContext serviceContext)
314 throws com.liferay.portal.kernel.exception.PortalException,
315 com.liferay.portal.kernel.exception.SystemException {
316 return _ratingsEntryLocalService.updateEntry(userId, className,
317 classPK, score, serviceContext);
318 }
319
320
323 public RatingsEntryLocalService getWrappedRatingsEntryLocalService() {
324 return _ratingsEntryLocalService;
325 }
326
327
330 public void setWrappedRatingsEntryLocalService(
331 RatingsEntryLocalService ratingsEntryLocalService) {
332 _ratingsEntryLocalService = ratingsEntryLocalService;
333 }
334
335 public RatingsEntryLocalService getWrappedService() {
336 return _ratingsEntryLocalService;
337 }
338
339 public void setWrappedService(
340 RatingsEntryLocalService ratingsEntryLocalService) {
341 _ratingsEntryLocalService = ratingsEntryLocalService;
342 }
343
344 private RatingsEntryLocalService _ratingsEntryLocalService;
345 }