1
22
23 package com.liferay.portlet.calendar.service.base;
24
25 import com.liferay.counter.service.CounterLocalService;
26 import com.liferay.counter.service.CounterService;
27
28 import com.liferay.mail.service.MailService;
29
30 import com.liferay.portal.kernel.bean.InitializingBean;
31 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
32 import com.liferay.portal.service.CompanyLocalService;
33 import com.liferay.portal.service.CompanyService;
34 import com.liferay.portal.service.PortletPreferencesLocalService;
35 import com.liferay.portal.service.PortletPreferencesService;
36 import com.liferay.portal.service.ResourceLocalService;
37 import com.liferay.portal.service.ResourceService;
38 import com.liferay.portal.service.UserLocalService;
39 import com.liferay.portal.service.UserService;
40 import com.liferay.portal.service.base.PrincipalBean;
41 import com.liferay.portal.service.persistence.CompanyPersistence;
42 import com.liferay.portal.service.persistence.PortletPreferencesFinder;
43 import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
44 import com.liferay.portal.service.persistence.ResourceFinder;
45 import com.liferay.portal.service.persistence.ResourcePersistence;
46 import com.liferay.portal.service.persistence.UserFinder;
47 import com.liferay.portal.service.persistence.UserPersistence;
48
49 import com.liferay.portlet.calendar.service.CalEventLocalService;
50 import com.liferay.portlet.calendar.service.CalEventService;
51 import com.liferay.portlet.calendar.service.persistence.CalEventFinder;
52 import com.liferay.portlet.calendar.service.persistence.CalEventPersistence;
53 import com.liferay.portlet.social.service.SocialActivityLocalService;
54 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
55 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
56
57
63 public abstract class CalEventServiceBaseImpl extends PrincipalBean
64 implements CalEventService, InitializingBean {
65 public CalEventLocalService getCalEventLocalService() {
66 return calEventLocalService;
67 }
68
69 public void setCalEventLocalService(
70 CalEventLocalService calEventLocalService) {
71 this.calEventLocalService = calEventLocalService;
72 }
73
74 public CalEventPersistence getCalEventPersistence() {
75 return calEventPersistence;
76 }
77
78 public void setCalEventPersistence(CalEventPersistence calEventPersistence) {
79 this.calEventPersistence = calEventPersistence;
80 }
81
82 public CalEventFinder getCalEventFinder() {
83 return calEventFinder;
84 }
85
86 public void setCalEventFinder(CalEventFinder calEventFinder) {
87 this.calEventFinder = calEventFinder;
88 }
89
90 public CounterLocalService getCounterLocalService() {
91 return counterLocalService;
92 }
93
94 public void setCounterLocalService(CounterLocalService counterLocalService) {
95 this.counterLocalService = counterLocalService;
96 }
97
98 public CounterService getCounterService() {
99 return counterService;
100 }
101
102 public void setCounterService(CounterService counterService) {
103 this.counterService = counterService;
104 }
105
106 public MailService getMailService() {
107 return mailService;
108 }
109
110 public void setMailService(MailService mailService) {
111 this.mailService = mailService;
112 }
113
114 public CompanyLocalService getCompanyLocalService() {
115 return companyLocalService;
116 }
117
118 public void setCompanyLocalService(CompanyLocalService companyLocalService) {
119 this.companyLocalService = companyLocalService;
120 }
121
122 public CompanyService getCompanyService() {
123 return companyService;
124 }
125
126 public void setCompanyService(CompanyService companyService) {
127 this.companyService = companyService;
128 }
129
130 public CompanyPersistence getCompanyPersistence() {
131 return companyPersistence;
132 }
133
134 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
135 this.companyPersistence = companyPersistence;
136 }
137
138 public PortletPreferencesLocalService getPortletPreferencesLocalService() {
139 return portletPreferencesLocalService;
140 }
141
142 public void setPortletPreferencesLocalService(
143 PortletPreferencesLocalService portletPreferencesLocalService) {
144 this.portletPreferencesLocalService = portletPreferencesLocalService;
145 }
146
147 public PortletPreferencesService getPortletPreferencesService() {
148 return portletPreferencesService;
149 }
150
151 public void setPortletPreferencesService(
152 PortletPreferencesService portletPreferencesService) {
153 this.portletPreferencesService = portletPreferencesService;
154 }
155
156 public PortletPreferencesPersistence getPortletPreferencesPersistence() {
157 return portletPreferencesPersistence;
158 }
159
160 public void setPortletPreferencesPersistence(
161 PortletPreferencesPersistence portletPreferencesPersistence) {
162 this.portletPreferencesPersistence = portletPreferencesPersistence;
163 }
164
165 public PortletPreferencesFinder getPortletPreferencesFinder() {
166 return portletPreferencesFinder;
167 }
168
169 public void setPortletPreferencesFinder(
170 PortletPreferencesFinder portletPreferencesFinder) {
171 this.portletPreferencesFinder = portletPreferencesFinder;
172 }
173
174 public ResourceLocalService getResourceLocalService() {
175 return resourceLocalService;
176 }
177
178 public void setResourceLocalService(
179 ResourceLocalService resourceLocalService) {
180 this.resourceLocalService = resourceLocalService;
181 }
182
183 public ResourceService getResourceService() {
184 return resourceService;
185 }
186
187 public void setResourceService(ResourceService resourceService) {
188 this.resourceService = resourceService;
189 }
190
191 public ResourcePersistence getResourcePersistence() {
192 return resourcePersistence;
193 }
194
195 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
196 this.resourcePersistence = resourcePersistence;
197 }
198
199 public ResourceFinder getResourceFinder() {
200 return resourceFinder;
201 }
202
203 public void setResourceFinder(ResourceFinder resourceFinder) {
204 this.resourceFinder = resourceFinder;
205 }
206
207 public SocialActivityLocalService getSocialActivityLocalService() {
208 return socialActivityLocalService;
209 }
210
211 public void setSocialActivityLocalService(
212 SocialActivityLocalService socialActivityLocalService) {
213 this.socialActivityLocalService = socialActivityLocalService;
214 }
215
216 public SocialActivityPersistence getSocialActivityPersistence() {
217 return socialActivityPersistence;
218 }
219
220 public void setSocialActivityPersistence(
221 SocialActivityPersistence socialActivityPersistence) {
222 this.socialActivityPersistence = socialActivityPersistence;
223 }
224
225 public SocialActivityFinder getSocialActivityFinder() {
226 return socialActivityFinder;
227 }
228
229 public void setSocialActivityFinder(
230 SocialActivityFinder socialActivityFinder) {
231 this.socialActivityFinder = socialActivityFinder;
232 }
233
234 public UserLocalService getUserLocalService() {
235 return userLocalService;
236 }
237
238 public void setUserLocalService(UserLocalService userLocalService) {
239 this.userLocalService = userLocalService;
240 }
241
242 public UserService getUserService() {
243 return userService;
244 }
245
246 public void setUserService(UserService userService) {
247 this.userService = userService;
248 }
249
250 public UserPersistence getUserPersistence() {
251 return userPersistence;
252 }
253
254 public void setUserPersistence(UserPersistence userPersistence) {
255 this.userPersistence = userPersistence;
256 }
257
258 public UserFinder getUserFinder() {
259 return userFinder;
260 }
261
262 public void setUserFinder(UserFinder userFinder) {
263 this.userFinder = userFinder;
264 }
265
266 public void afterPropertiesSet() {
267 if (calEventLocalService == null) {
268 calEventLocalService = (CalEventLocalService)PortalBeanLocatorUtil.locate(CalEventLocalService.class.getName() +
269 ".impl");
270 }
271
272 if (calEventPersistence == null) {
273 calEventPersistence = (CalEventPersistence)PortalBeanLocatorUtil.locate(CalEventPersistence.class.getName() +
274 ".impl");
275 }
276
277 if (calEventFinder == null) {
278 calEventFinder = (CalEventFinder)PortalBeanLocatorUtil.locate(CalEventFinder.class.getName() +
279 ".impl");
280 }
281
282 if (counterLocalService == null) {
283 counterLocalService = (CounterLocalService)PortalBeanLocatorUtil.locate(CounterLocalService.class.getName() +
284 ".impl");
285 }
286
287 if (counterService == null) {
288 counterService = (CounterService)PortalBeanLocatorUtil.locate(CounterService.class.getName() +
289 ".impl");
290 }
291
292 if (mailService == null) {
293 mailService = (MailService)PortalBeanLocatorUtil.locate(MailService.class.getName() +
294 ".impl");
295 }
296
297 if (companyLocalService == null) {
298 companyLocalService = (CompanyLocalService)PortalBeanLocatorUtil.locate(CompanyLocalService.class.getName() +
299 ".impl");
300 }
301
302 if (companyService == null) {
303 companyService = (CompanyService)PortalBeanLocatorUtil.locate(CompanyService.class.getName() +
304 ".impl");
305 }
306
307 if (companyPersistence == null) {
308 companyPersistence = (CompanyPersistence)PortalBeanLocatorUtil.locate(CompanyPersistence.class.getName() +
309 ".impl");
310 }
311
312 if (portletPreferencesLocalService == null) {
313 portletPreferencesLocalService = (PortletPreferencesLocalService)PortalBeanLocatorUtil.locate(PortletPreferencesLocalService.class.getName() +
314 ".impl");
315 }
316
317 if (portletPreferencesService == null) {
318 portletPreferencesService = (PortletPreferencesService)PortalBeanLocatorUtil.locate(PortletPreferencesService.class.getName() +
319 ".impl");
320 }
321
322 if (portletPreferencesPersistence == null) {
323 portletPreferencesPersistence = (PortletPreferencesPersistence)PortalBeanLocatorUtil.locate(PortletPreferencesPersistence.class.getName() +
324 ".impl");
325 }
326
327 if (portletPreferencesFinder == null) {
328 portletPreferencesFinder = (PortletPreferencesFinder)PortalBeanLocatorUtil.locate(PortletPreferencesFinder.class.getName() +
329 ".impl");
330 }
331
332 if (resourceLocalService == null) {
333 resourceLocalService = (ResourceLocalService)PortalBeanLocatorUtil.locate(ResourceLocalService.class.getName() +
334 ".impl");
335 }
336
337 if (resourceService == null) {
338 resourceService = (ResourceService)PortalBeanLocatorUtil.locate(ResourceService.class.getName() +
339 ".impl");
340 }
341
342 if (resourcePersistence == null) {
343 resourcePersistence = (ResourcePersistence)PortalBeanLocatorUtil.locate(ResourcePersistence.class.getName() +
344 ".impl");
345 }
346
347 if (resourceFinder == null) {
348 resourceFinder = (ResourceFinder)PortalBeanLocatorUtil.locate(ResourceFinder.class.getName() +
349 ".impl");
350 }
351
352 if (socialActivityLocalService == null) {
353 socialActivityLocalService = (SocialActivityLocalService)PortalBeanLocatorUtil.locate(SocialActivityLocalService.class.getName() +
354 ".impl");
355 }
356
357 if (socialActivityPersistence == null) {
358 socialActivityPersistence = (SocialActivityPersistence)PortalBeanLocatorUtil.locate(SocialActivityPersistence.class.getName() +
359 ".impl");
360 }
361
362 if (socialActivityFinder == null) {
363 socialActivityFinder = (SocialActivityFinder)PortalBeanLocatorUtil.locate(SocialActivityFinder.class.getName() +
364 ".impl");
365 }
366
367 if (userLocalService == null) {
368 userLocalService = (UserLocalService)PortalBeanLocatorUtil.locate(UserLocalService.class.getName() +
369 ".impl");
370 }
371
372 if (userService == null) {
373 userService = (UserService)PortalBeanLocatorUtil.locate(UserService.class.getName() +
374 ".impl");
375 }
376
377 if (userPersistence == null) {
378 userPersistence = (UserPersistence)PortalBeanLocatorUtil.locate(UserPersistence.class.getName() +
379 ".impl");
380 }
381
382 if (userFinder == null) {
383 userFinder = (UserFinder)PortalBeanLocatorUtil.locate(UserFinder.class.getName() +
384 ".impl");
385 }
386 }
387
388 protected CalEventLocalService calEventLocalService;
389 protected CalEventPersistence calEventPersistence;
390 protected CalEventFinder calEventFinder;
391 protected CounterLocalService counterLocalService;
392 protected CounterService counterService;
393 protected MailService mailService;
394 protected CompanyLocalService companyLocalService;
395 protected CompanyService companyService;
396 protected CompanyPersistence companyPersistence;
397 protected PortletPreferencesLocalService portletPreferencesLocalService;
398 protected PortletPreferencesService portletPreferencesService;
399 protected PortletPreferencesPersistence portletPreferencesPersistence;
400 protected PortletPreferencesFinder portletPreferencesFinder;
401 protected ResourceLocalService resourceLocalService;
402 protected ResourceService resourceService;
403 protected ResourcePersistence resourcePersistence;
404 protected ResourceFinder resourceFinder;
405 protected SocialActivityLocalService socialActivityLocalService;
406 protected SocialActivityPersistence socialActivityPersistence;
407 protected SocialActivityFinder socialActivityFinder;
408 protected UserLocalService userLocalService;
409 protected UserService userService;
410 protected UserPersistence userPersistence;
411 protected UserFinder userFinder;
412 }