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