1
22
23 package com.liferay.portlet.ratings.service.base;
24
25 import com.liferay.counter.service.CounterLocalService;
26 import com.liferay.counter.service.CounterService;
27
28 import com.liferay.portal.SystemException;
29 import com.liferay.portal.kernel.annotation.BeanReference;
30 import com.liferay.portal.service.UserLocalService;
31 import com.liferay.portal.service.UserService;
32 import com.liferay.portal.service.base.PrincipalBean;
33 import com.liferay.portal.service.persistence.UserFinder;
34 import com.liferay.portal.service.persistence.UserPersistence;
35 import com.liferay.portal.util.PortalUtil;
36
37 import com.liferay.portlet.blogs.service.BlogsEntryLocalService;
38 import com.liferay.portlet.blogs.service.BlogsEntryService;
39 import com.liferay.portlet.blogs.service.BlogsStatsUserLocalService;
40 import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
41 import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
42 import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder;
43 import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence;
44 import com.liferay.portlet.ratings.service.RatingsEntryLocalService;
45 import com.liferay.portlet.ratings.service.RatingsEntryService;
46 import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
47 import com.liferay.portlet.ratings.service.persistence.RatingsEntryPersistence;
48 import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
49
50
56 public abstract class RatingsEntryServiceBaseImpl extends PrincipalBean
57 implements RatingsEntryService {
58 public RatingsEntryLocalService getRatingsEntryLocalService() {
59 return ratingsEntryLocalService;
60 }
61
62 public void setRatingsEntryLocalService(
63 RatingsEntryLocalService ratingsEntryLocalService) {
64 this.ratingsEntryLocalService = ratingsEntryLocalService;
65 }
66
67 public RatingsEntryService getRatingsEntryService() {
68 return ratingsEntryService;
69 }
70
71 public void setRatingsEntryService(RatingsEntryService ratingsEntryService) {
72 this.ratingsEntryService = ratingsEntryService;
73 }
74
75 public RatingsEntryPersistence getRatingsEntryPersistence() {
76 return ratingsEntryPersistence;
77 }
78
79 public void setRatingsEntryPersistence(
80 RatingsEntryPersistence ratingsEntryPersistence) {
81 this.ratingsEntryPersistence = ratingsEntryPersistence;
82 }
83
84 public RatingsStatsLocalService getRatingsStatsLocalService() {
85 return ratingsStatsLocalService;
86 }
87
88 public void setRatingsStatsLocalService(
89 RatingsStatsLocalService ratingsStatsLocalService) {
90 this.ratingsStatsLocalService = ratingsStatsLocalService;
91 }
92
93 public RatingsStatsPersistence getRatingsStatsPersistence() {
94 return ratingsStatsPersistence;
95 }
96
97 public void setRatingsStatsPersistence(
98 RatingsStatsPersistence ratingsStatsPersistence) {
99 this.ratingsStatsPersistence = ratingsStatsPersistence;
100 }
101
102 public CounterLocalService getCounterLocalService() {
103 return counterLocalService;
104 }
105
106 public void setCounterLocalService(CounterLocalService counterLocalService) {
107 this.counterLocalService = counterLocalService;
108 }
109
110 public CounterService getCounterService() {
111 return counterService;
112 }
113
114 public void setCounterService(CounterService counterService) {
115 this.counterService = counterService;
116 }
117
118 public UserLocalService getUserLocalService() {
119 return userLocalService;
120 }
121
122 public void setUserLocalService(UserLocalService userLocalService) {
123 this.userLocalService = userLocalService;
124 }
125
126 public UserService getUserService() {
127 return userService;
128 }
129
130 public void setUserService(UserService userService) {
131 this.userService = userService;
132 }
133
134 public UserPersistence getUserPersistence() {
135 return userPersistence;
136 }
137
138 public void setUserPersistence(UserPersistence userPersistence) {
139 this.userPersistence = userPersistence;
140 }
141
142 public UserFinder getUserFinder() {
143 return userFinder;
144 }
145
146 public void setUserFinder(UserFinder userFinder) {
147 this.userFinder = userFinder;
148 }
149
150 public BlogsEntryLocalService getBlogsEntryLocalService() {
151 return blogsEntryLocalService;
152 }
153
154 public void setBlogsEntryLocalService(
155 BlogsEntryLocalService blogsEntryLocalService) {
156 this.blogsEntryLocalService = blogsEntryLocalService;
157 }
158
159 public BlogsEntryService getBlogsEntryService() {
160 return blogsEntryService;
161 }
162
163 public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
164 this.blogsEntryService = blogsEntryService;
165 }
166
167 public BlogsEntryPersistence getBlogsEntryPersistence() {
168 return blogsEntryPersistence;
169 }
170
171 public void setBlogsEntryPersistence(
172 BlogsEntryPersistence blogsEntryPersistence) {
173 this.blogsEntryPersistence = blogsEntryPersistence;
174 }
175
176 public BlogsEntryFinder getBlogsEntryFinder() {
177 return blogsEntryFinder;
178 }
179
180 public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
181 this.blogsEntryFinder = blogsEntryFinder;
182 }
183
184 public BlogsStatsUserLocalService getBlogsStatsUserLocalService() {
185 return blogsStatsUserLocalService;
186 }
187
188 public void setBlogsStatsUserLocalService(
189 BlogsStatsUserLocalService blogsStatsUserLocalService) {
190 this.blogsStatsUserLocalService = blogsStatsUserLocalService;
191 }
192
193 public BlogsStatsUserPersistence getBlogsStatsUserPersistence() {
194 return blogsStatsUserPersistence;
195 }
196
197 public void setBlogsStatsUserPersistence(
198 BlogsStatsUserPersistence blogsStatsUserPersistence) {
199 this.blogsStatsUserPersistence = blogsStatsUserPersistence;
200 }
201
202 public BlogsStatsUserFinder getBlogsStatsUserFinder() {
203 return blogsStatsUserFinder;
204 }
205
206 public void setBlogsStatsUserFinder(
207 BlogsStatsUserFinder blogsStatsUserFinder) {
208 this.blogsStatsUserFinder = blogsStatsUserFinder;
209 }
210
211 protected void runSQL(String sql) throws SystemException {
212 try {
213 PortalUtil.runSQL(sql);
214 }
215 catch (Exception e) {
216 throw new SystemException(e);
217 }
218 }
219
220 @BeanReference(name = "com.liferay.portlet.ratings.service.RatingsEntryLocalService.impl")
221 protected RatingsEntryLocalService ratingsEntryLocalService;
222 @BeanReference(name = "com.liferay.portlet.ratings.service.RatingsEntryService.impl")
223 protected RatingsEntryService ratingsEntryService;
224 @BeanReference(name = "com.liferay.portlet.ratings.service.persistence.RatingsEntryPersistence.impl")
225 protected RatingsEntryPersistence ratingsEntryPersistence;
226 @BeanReference(name = "com.liferay.portlet.ratings.service.RatingsStatsLocalService.impl")
227 protected RatingsStatsLocalService ratingsStatsLocalService;
228 @BeanReference(name = "com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence.impl")
229 protected RatingsStatsPersistence ratingsStatsPersistence;
230 @BeanReference(name = "com.liferay.counter.service.CounterLocalService.impl")
231 protected CounterLocalService counterLocalService;
232 @BeanReference(name = "com.liferay.counter.service.CounterService.impl")
233 protected CounterService counterService;
234 @BeanReference(name = "com.liferay.portal.service.UserLocalService.impl")
235 protected UserLocalService userLocalService;
236 @BeanReference(name = "com.liferay.portal.service.UserService.impl")
237 protected UserService userService;
238 @BeanReference(name = "com.liferay.portal.service.persistence.UserPersistence.impl")
239 protected UserPersistence userPersistence;
240 @BeanReference(name = "com.liferay.portal.service.persistence.UserFinder.impl")
241 protected UserFinder userFinder;
242 @BeanReference(name = "com.liferay.portlet.blogs.service.BlogsEntryLocalService.impl")
243 protected BlogsEntryLocalService blogsEntryLocalService;
244 @BeanReference(name = "com.liferay.portlet.blogs.service.BlogsEntryService.impl")
245 protected BlogsEntryService blogsEntryService;
246 @BeanReference(name = "com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence.impl")
247 protected BlogsEntryPersistence blogsEntryPersistence;
248 @BeanReference(name = "com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder.impl")
249 protected BlogsEntryFinder blogsEntryFinder;
250 @BeanReference(name = "com.liferay.portlet.blogs.service.BlogsStatsUserLocalService.impl")
251 protected BlogsStatsUserLocalService blogsStatsUserLocalService;
252 @BeanReference(name = "com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence.impl")
253 protected BlogsStatsUserPersistence blogsStatsUserPersistence;
254 @BeanReference(name = "com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder.impl")
255 protected BlogsStatsUserFinder blogsStatsUserFinder;
256 }