001
014
015 package com.liferay.portlet.ratings.service;
016
017
026 public class RatingsEntryLocalServiceWrapper implements RatingsEntryLocalService {
027 public RatingsEntryLocalServiceWrapper(
028 RatingsEntryLocalService ratingsEntryLocalService) {
029 _ratingsEntryLocalService = ratingsEntryLocalService;
030 }
031
032
039 public com.liferay.portlet.ratings.model.RatingsEntry addRatingsEntry(
040 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return _ratingsEntryLocalService.addRatingsEntry(ratingsEntry);
043 }
044
045
051 public com.liferay.portlet.ratings.model.RatingsEntry createRatingsEntry(
052 long entryId) {
053 return _ratingsEntryLocalService.createRatingsEntry(entryId);
054 }
055
056
063 public void deleteRatingsEntry(long entryId)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 _ratingsEntryLocalService.deleteRatingsEntry(entryId);
067 }
068
069
075 public void deleteRatingsEntry(
076 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
077 throws com.liferay.portal.kernel.exception.SystemException {
078 _ratingsEntryLocalService.deleteRatingsEntry(ratingsEntry);
079 }
080
081
088 @SuppressWarnings("rawtypes")
089 public java.util.List dynamicQuery(
090 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _ratingsEntryLocalService.dynamicQuery(dynamicQuery);
093 }
094
095
108 @SuppressWarnings("rawtypes")
109 public java.util.List dynamicQuery(
110 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
111 int end) throws com.liferay.portal.kernel.exception.SystemException {
112 return _ratingsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
113 }
114
115
129 @SuppressWarnings("rawtypes")
130 public java.util.List dynamicQuery(
131 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
132 int end,
133 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134 throws com.liferay.portal.kernel.exception.SystemException {
135 return _ratingsEntryLocalService.dynamicQuery(dynamicQuery, start, end,
136 orderByComparator);
137 }
138
139
146 public long dynamicQueryCount(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
148 throws com.liferay.portal.kernel.exception.SystemException {
149 return _ratingsEntryLocalService.dynamicQueryCount(dynamicQuery);
150 }
151
152
160 public com.liferay.portlet.ratings.model.RatingsEntry getRatingsEntry(
161 long entryId)
162 throws com.liferay.portal.kernel.exception.PortalException,
163 com.liferay.portal.kernel.exception.SystemException {
164 return _ratingsEntryLocalService.getRatingsEntry(entryId);
165 }
166
167 public com.liferay.portal.model.PersistedModel getPersistedModel(
168 java.io.Serializable primaryKeyObj)
169 throws com.liferay.portal.kernel.exception.PortalException,
170 com.liferay.portal.kernel.exception.SystemException {
171 return _ratingsEntryLocalService.getPersistedModel(primaryKeyObj);
172 }
173
174
186 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getRatingsEntries(
187 int start, int end)
188 throws com.liferay.portal.kernel.exception.SystemException {
189 return _ratingsEntryLocalService.getRatingsEntries(start, end);
190 }
191
192
198 public int getRatingsEntriesCount()
199 throws com.liferay.portal.kernel.exception.SystemException {
200 return _ratingsEntryLocalService.getRatingsEntriesCount();
201 }
202
203
210 public com.liferay.portlet.ratings.model.RatingsEntry updateRatingsEntry(
211 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
212 throws com.liferay.portal.kernel.exception.SystemException {
213 return _ratingsEntryLocalService.updateRatingsEntry(ratingsEntry);
214 }
215
216
224 public com.liferay.portlet.ratings.model.RatingsEntry updateRatingsEntry(
225 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry,
226 boolean merge)
227 throws com.liferay.portal.kernel.exception.SystemException {
228 return _ratingsEntryLocalService.updateRatingsEntry(ratingsEntry, merge);
229 }
230
231
236 public java.lang.String getBeanIdentifier() {
237 return _ratingsEntryLocalService.getBeanIdentifier();
238 }
239
240
245 public void setBeanIdentifier(java.lang.String beanIdentifier) {
246 _ratingsEntryLocalService.setBeanIdentifier(beanIdentifier);
247 }
248
249 public void deleteEntry(long userId, java.lang.String className,
250 long classPK)
251 throws com.liferay.portal.kernel.exception.PortalException,
252 com.liferay.portal.kernel.exception.SystemException {
253 _ratingsEntryLocalService.deleteEntry(userId, className, classPK);
254 }
255
256 public com.liferay.portlet.ratings.model.RatingsEntry fetchEntry(
257 long userId, java.lang.String className, long classPK)
258 throws com.liferay.portal.kernel.exception.SystemException {
259 return _ratingsEntryLocalService.fetchEntry(userId, className, classPK);
260 }
261
262 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getEntries(
263 long userId, java.lang.String className,
264 java.util.List<java.lang.Long> classPKs)
265 throws com.liferay.portal.kernel.exception.SystemException {
266 return _ratingsEntryLocalService.getEntries(userId, className, classPKs);
267 }
268
269 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getEntries(
270 java.lang.String className, long classPK)
271 throws com.liferay.portal.kernel.exception.SystemException {
272 return _ratingsEntryLocalService.getEntries(className, classPK);
273 }
274
275 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getEntries(
276 java.lang.String className, long classPK, double score)
277 throws com.liferay.portal.kernel.exception.SystemException {
278 return _ratingsEntryLocalService.getEntries(className, classPK, score);
279 }
280
281 public int getEntriesCount(java.lang.String className, long classPK,
282 double score)
283 throws com.liferay.portal.kernel.exception.SystemException {
284 return _ratingsEntryLocalService.getEntriesCount(className, classPK,
285 score);
286 }
287
288 public com.liferay.portlet.ratings.model.RatingsEntry getEntry(
289 long userId, java.lang.String className, long classPK)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException {
292 return _ratingsEntryLocalService.getEntry(userId, className, classPK);
293 }
294
295 public com.liferay.portlet.ratings.model.RatingsEntry updateEntry(
296 long userId, java.lang.String className, long classPK, double score,
297 com.liferay.portal.service.ServiceContext serviceContext)
298 throws com.liferay.portal.kernel.exception.PortalException,
299 com.liferay.portal.kernel.exception.SystemException {
300 return _ratingsEntryLocalService.updateEntry(userId, className,
301 classPK, score, serviceContext);
302 }
303
304 public RatingsEntryLocalService getWrappedRatingsEntryLocalService() {
305 return _ratingsEntryLocalService;
306 }
307
308 public void setWrappedRatingsEntryLocalService(
309 RatingsEntryLocalService ratingsEntryLocalService) {
310 _ratingsEntryLocalService = ratingsEntryLocalService;
311 }
312
313 private RatingsEntryLocalService _ratingsEntryLocalService;
314 }