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 public com.liferay.portlet.ratings.model.RatingsEntry addRatingsEntry(
033 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
034 throws com.liferay.portal.kernel.exception.SystemException {
035 return _ratingsEntryLocalService.addRatingsEntry(ratingsEntry);
036 }
037
038 public com.liferay.portlet.ratings.model.RatingsEntry createRatingsEntry(
039 long entryId) {
040 return _ratingsEntryLocalService.createRatingsEntry(entryId);
041 }
042
043 public void deleteRatingsEntry(long entryId)
044 throws com.liferay.portal.kernel.exception.PortalException,
045 com.liferay.portal.kernel.exception.SystemException {
046 _ratingsEntryLocalService.deleteRatingsEntry(entryId);
047 }
048
049 public void deleteRatingsEntry(
050 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
051 throws com.liferay.portal.kernel.exception.SystemException {
052 _ratingsEntryLocalService.deleteRatingsEntry(ratingsEntry);
053 }
054
055 @SuppressWarnings("unchecked")
056 public java.util.List dynamicQuery(
057 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
058 throws com.liferay.portal.kernel.exception.SystemException {
059 return _ratingsEntryLocalService.dynamicQuery(dynamicQuery);
060 }
061
062 @SuppressWarnings("unchecked")
063 public java.util.List dynamicQuery(
064 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
065 int end) throws com.liferay.portal.kernel.exception.SystemException {
066 return _ratingsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
067 }
068
069 @SuppressWarnings("unchecked")
070 public java.util.List dynamicQuery(
071 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
072 int end,
073 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
074 throws com.liferay.portal.kernel.exception.SystemException {
075 return _ratingsEntryLocalService.dynamicQuery(dynamicQuery, start, end,
076 orderByComparator);
077 }
078
079 public long dynamicQueryCount(
080 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
081 throws com.liferay.portal.kernel.exception.SystemException {
082 return _ratingsEntryLocalService.dynamicQueryCount(dynamicQuery);
083 }
084
085 public com.liferay.portlet.ratings.model.RatingsEntry getRatingsEntry(
086 long entryId)
087 throws com.liferay.portal.kernel.exception.PortalException,
088 com.liferay.portal.kernel.exception.SystemException {
089 return _ratingsEntryLocalService.getRatingsEntry(entryId);
090 }
091
092 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getRatingsEntries(
093 int start, int end)
094 throws com.liferay.portal.kernel.exception.SystemException {
095 return _ratingsEntryLocalService.getRatingsEntries(start, end);
096 }
097
098 public int getRatingsEntriesCount()
099 throws com.liferay.portal.kernel.exception.SystemException {
100 return _ratingsEntryLocalService.getRatingsEntriesCount();
101 }
102
103 public com.liferay.portlet.ratings.model.RatingsEntry updateRatingsEntry(
104 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
105 throws com.liferay.portal.kernel.exception.SystemException {
106 return _ratingsEntryLocalService.updateRatingsEntry(ratingsEntry);
107 }
108
109 public com.liferay.portlet.ratings.model.RatingsEntry updateRatingsEntry(
110 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry,
111 boolean merge)
112 throws com.liferay.portal.kernel.exception.SystemException {
113 return _ratingsEntryLocalService.updateRatingsEntry(ratingsEntry, merge);
114 }
115
116 public void deleteEntry(long userId, java.lang.String className,
117 long classPK)
118 throws com.liferay.portal.kernel.exception.PortalException,
119 com.liferay.portal.kernel.exception.SystemException {
120 _ratingsEntryLocalService.deleteEntry(userId, className, classPK);
121 }
122
123 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getEntries(
124 long userId, java.lang.String className,
125 java.util.List<java.lang.Long> classPKs)
126 throws com.liferay.portal.kernel.exception.SystemException {
127 return _ratingsEntryLocalService.getEntries(userId, className, classPKs);
128 }
129
130 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getEntries(
131 java.lang.String className, long classPK)
132 throws com.liferay.portal.kernel.exception.SystemException {
133 return _ratingsEntryLocalService.getEntries(className, classPK);
134 }
135
136 public com.liferay.portlet.ratings.model.RatingsEntry getEntry(
137 long userId, java.lang.String className, long classPK)
138 throws com.liferay.portal.kernel.exception.PortalException,
139 com.liferay.portal.kernel.exception.SystemException {
140 return _ratingsEntryLocalService.getEntry(userId, className, classPK);
141 }
142
143 public com.liferay.portlet.ratings.model.RatingsEntry updateEntry(
144 long userId, java.lang.String className, long classPK, double score,
145 com.liferay.portal.service.ServiceContext serviceContext)
146 throws com.liferay.portal.kernel.exception.PortalException,
147 com.liferay.portal.kernel.exception.SystemException {
148 return _ratingsEntryLocalService.updateEntry(userId, className,
149 classPK, score, serviceContext);
150 }
151
152 public RatingsEntryLocalService getWrappedRatingsEntryLocalService() {
153 return _ratingsEntryLocalService;
154 }
155
156 private RatingsEntryLocalService _ratingsEntryLocalService;
157 }