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.kernel.bean.InitializingBean;
29 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
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
36 import com.liferay.portlet.blogs.service.BlogsEntryLocalService;
37 import com.liferay.portlet.blogs.service.BlogsEntryService;
38 import com.liferay.portlet.blogs.service.BlogsStatsUserLocalService;
39 import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
40 import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
41 import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder;
42 import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence;
43 import com.liferay.portlet.ratings.service.RatingsEntryLocalService;
44 import com.liferay.portlet.ratings.service.RatingsEntryService;
45 import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
46 import com.liferay.portlet.ratings.service.persistence.RatingsEntryPersistence;
47 import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
48
49
55 public abstract class RatingsEntryServiceBaseImpl extends PrincipalBean
56 implements RatingsEntryService, InitializingBean {
57 public RatingsEntryLocalService getRatingsEntryLocalService() {
58 return ratingsEntryLocalService;
59 }
60
61 public void setRatingsEntryLocalService(
62 RatingsEntryLocalService ratingsEntryLocalService) {
63 this.ratingsEntryLocalService = ratingsEntryLocalService;
64 }
65
66 public RatingsEntryPersistence getRatingsEntryPersistence() {
67 return ratingsEntryPersistence;
68 }
69
70 public void setRatingsEntryPersistence(
71 RatingsEntryPersistence ratingsEntryPersistence) {
72 this.ratingsEntryPersistence = ratingsEntryPersistence;
73 }
74
75 public RatingsStatsLocalService getRatingsStatsLocalService() {
76 return ratingsStatsLocalService;
77 }
78
79 public void setRatingsStatsLocalService(
80 RatingsStatsLocalService ratingsStatsLocalService) {
81 this.ratingsStatsLocalService = ratingsStatsLocalService;
82 }
83
84 public RatingsStatsPersistence getRatingsStatsPersistence() {
85 return ratingsStatsPersistence;
86 }
87
88 public void setRatingsStatsPersistence(
89 RatingsStatsPersistence ratingsStatsPersistence) {
90 this.ratingsStatsPersistence = ratingsStatsPersistence;
91 }
92
93 public CounterLocalService getCounterLocalService() {
94 return counterLocalService;
95 }
96
97 public void setCounterLocalService(CounterLocalService counterLocalService) {
98 this.counterLocalService = counterLocalService;
99 }
100
101 public CounterService getCounterService() {
102 return counterService;
103 }
104
105 public void setCounterService(CounterService counterService) {
106 this.counterService = counterService;
107 }
108
109 public UserLocalService getUserLocalService() {
110 return userLocalService;
111 }
112
113 public void setUserLocalService(UserLocalService userLocalService) {
114 this.userLocalService = userLocalService;
115 }
116
117 public UserService getUserService() {
118 return userService;
119 }
120
121 public void setUserService(UserService userService) {
122 this.userService = userService;
123 }
124
125 public UserPersistence getUserPersistence() {
126 return userPersistence;
127 }
128
129 public void setUserPersistence(UserPersistence userPersistence) {
130 this.userPersistence = userPersistence;
131 }
132
133 public UserFinder getUserFinder() {
134 return userFinder;
135 }
136
137 public void setUserFinder(UserFinder userFinder) {
138 this.userFinder = userFinder;
139 }
140
141 public BlogsEntryLocalService getBlogsEntryLocalService() {
142 return blogsEntryLocalService;
143 }
144
145 public void setBlogsEntryLocalService(
146 BlogsEntryLocalService blogsEntryLocalService) {
147 this.blogsEntryLocalService = blogsEntryLocalService;
148 }
149
150 public BlogsEntryService getBlogsEntryService() {
151 return blogsEntryService;
152 }
153
154 public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
155 this.blogsEntryService = blogsEntryService;
156 }
157
158 public BlogsEntryPersistence getBlogsEntryPersistence() {
159 return blogsEntryPersistence;
160 }
161
162 public void setBlogsEntryPersistence(
163 BlogsEntryPersistence blogsEntryPersistence) {
164 this.blogsEntryPersistence = blogsEntryPersistence;
165 }
166
167 public BlogsEntryFinder getBlogsEntryFinder() {
168 return blogsEntryFinder;
169 }
170
171 public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
172 this.blogsEntryFinder = blogsEntryFinder;
173 }
174
175 public BlogsStatsUserLocalService getBlogsStatsUserLocalService() {
176 return blogsStatsUserLocalService;
177 }
178
179 public void setBlogsStatsUserLocalService(
180 BlogsStatsUserLocalService blogsStatsUserLocalService) {
181 this.blogsStatsUserLocalService = blogsStatsUserLocalService;
182 }
183
184 public BlogsStatsUserPersistence getBlogsStatsUserPersistence() {
185 return blogsStatsUserPersistence;
186 }
187
188 public void setBlogsStatsUserPersistence(
189 BlogsStatsUserPersistence blogsStatsUserPersistence) {
190 this.blogsStatsUserPersistence = blogsStatsUserPersistence;
191 }
192
193 public BlogsStatsUserFinder getBlogsStatsUserFinder() {
194 return blogsStatsUserFinder;
195 }
196
197 public void setBlogsStatsUserFinder(
198 BlogsStatsUserFinder blogsStatsUserFinder) {
199 this.blogsStatsUserFinder = blogsStatsUserFinder;
200 }
201
202 public void afterPropertiesSet() {
203 if (ratingsEntryLocalService == null) {
204 ratingsEntryLocalService = (RatingsEntryLocalService)PortalBeanLocatorUtil.locate(RatingsEntryLocalService.class.getName() +
205 ".impl");
206 }
207
208 if (ratingsEntryPersistence == null) {
209 ratingsEntryPersistence = (RatingsEntryPersistence)PortalBeanLocatorUtil.locate(RatingsEntryPersistence.class.getName() +
210 ".impl");
211 }
212
213 if (ratingsStatsLocalService == null) {
214 ratingsStatsLocalService = (RatingsStatsLocalService)PortalBeanLocatorUtil.locate(RatingsStatsLocalService.class.getName() +
215 ".impl");
216 }
217
218 if (ratingsStatsPersistence == null) {
219 ratingsStatsPersistence = (RatingsStatsPersistence)PortalBeanLocatorUtil.locate(RatingsStatsPersistence.class.getName() +
220 ".impl");
221 }
222
223 if (counterLocalService == null) {
224 counterLocalService = (CounterLocalService)PortalBeanLocatorUtil.locate(CounterLocalService.class.getName() +
225 ".impl");
226 }
227
228 if (counterService == null) {
229 counterService = (CounterService)PortalBeanLocatorUtil.locate(CounterService.class.getName() +
230 ".impl");
231 }
232
233 if (userLocalService == null) {
234 userLocalService = (UserLocalService)PortalBeanLocatorUtil.locate(UserLocalService.class.getName() +
235 ".impl");
236 }
237
238 if (userService == null) {
239 userService = (UserService)PortalBeanLocatorUtil.locate(UserService.class.getName() +
240 ".impl");
241 }
242
243 if (userPersistence == null) {
244 userPersistence = (UserPersistence)PortalBeanLocatorUtil.locate(UserPersistence.class.getName() +
245 ".impl");
246 }
247
248 if (userFinder == null) {
249 userFinder = (UserFinder)PortalBeanLocatorUtil.locate(UserFinder.class.getName() +
250 ".impl");
251 }
252
253 if (blogsEntryLocalService == null) {
254 blogsEntryLocalService = (BlogsEntryLocalService)PortalBeanLocatorUtil.locate(BlogsEntryLocalService.class.getName() +
255 ".impl");
256 }
257
258 if (blogsEntryService == null) {
259 blogsEntryService = (BlogsEntryService)PortalBeanLocatorUtil.locate(BlogsEntryService.class.getName() +
260 ".impl");
261 }
262
263 if (blogsEntryPersistence == null) {
264 blogsEntryPersistence = (BlogsEntryPersistence)PortalBeanLocatorUtil.locate(BlogsEntryPersistence.class.getName() +
265 ".impl");
266 }
267
268 if (blogsEntryFinder == null) {
269 blogsEntryFinder = (BlogsEntryFinder)PortalBeanLocatorUtil.locate(BlogsEntryFinder.class.getName() +
270 ".impl");
271 }
272
273 if (blogsStatsUserLocalService == null) {
274 blogsStatsUserLocalService = (BlogsStatsUserLocalService)PortalBeanLocatorUtil.locate(BlogsStatsUserLocalService.class.getName() +
275 ".impl");
276 }
277
278 if (blogsStatsUserPersistence == null) {
279 blogsStatsUserPersistence = (BlogsStatsUserPersistence)PortalBeanLocatorUtil.locate(BlogsStatsUserPersistence.class.getName() +
280 ".impl");
281 }
282
283 if (blogsStatsUserFinder == null) {
284 blogsStatsUserFinder = (BlogsStatsUserFinder)PortalBeanLocatorUtil.locate(BlogsStatsUserFinder.class.getName() +
285 ".impl");
286 }
287 }
288
289 protected RatingsEntryLocalService ratingsEntryLocalService;
290 protected RatingsEntryPersistence ratingsEntryPersistence;
291 protected RatingsStatsLocalService ratingsStatsLocalService;
292 protected RatingsStatsPersistence ratingsStatsPersistence;
293 protected CounterLocalService counterLocalService;
294 protected CounterService counterService;
295 protected UserLocalService userLocalService;
296 protected UserService userService;
297 protected UserPersistence userPersistence;
298 protected UserFinder userFinder;
299 protected BlogsEntryLocalService blogsEntryLocalService;
300 protected BlogsEntryService blogsEntryService;
301 protected BlogsEntryPersistence blogsEntryPersistence;
302 protected BlogsEntryFinder blogsEntryFinder;
303 protected BlogsStatsUserLocalService blogsStatsUserLocalService;
304 protected BlogsStatsUserPersistence blogsStatsUserPersistence;
305 protected BlogsStatsUserFinder blogsStatsUserFinder;
306 }