1
14
15 package com.liferay.portlet.blogs.service.base;
16
17 import com.liferay.counter.service.CounterLocalService;
18 import com.liferay.counter.service.CounterService;
19
20 import com.liferay.portal.SystemException;
21 import com.liferay.portal.kernel.annotation.BeanReference;
22 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
23 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
24 import com.liferay.portal.service.CompanyLocalService;
25 import com.liferay.portal.service.CompanyService;
26 import com.liferay.portal.service.GroupLocalService;
27 import com.liferay.portal.service.GroupService;
28 import com.liferay.portal.service.OrganizationLocalService;
29 import com.liferay.portal.service.OrganizationService;
30 import com.liferay.portal.service.PortletPreferencesLocalService;
31 import com.liferay.portal.service.PortletPreferencesService;
32 import com.liferay.portal.service.ResourceLocalService;
33 import com.liferay.portal.service.ResourceService;
34 import com.liferay.portal.service.UserLocalService;
35 import com.liferay.portal.service.UserService;
36 import com.liferay.portal.service.base.PrincipalBean;
37 import com.liferay.portal.service.persistence.CompanyPersistence;
38 import com.liferay.portal.service.persistence.GroupFinder;
39 import com.liferay.portal.service.persistence.GroupPersistence;
40 import com.liferay.portal.service.persistence.OrganizationFinder;
41 import com.liferay.portal.service.persistence.OrganizationPersistence;
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.blogs.service.BlogsEntryLocalService;
50 import com.liferay.portlet.blogs.service.BlogsEntryService;
51 import com.liferay.portlet.blogs.service.BlogsStatsUserLocalService;
52 import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
53 import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
54 import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder;
55 import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence;
56 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
57 import com.liferay.portlet.expando.service.ExpandoValueService;
58 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
59 import com.liferay.portlet.messageboards.service.MBMessageLocalService;
60 import com.liferay.portlet.messageboards.service.MBMessageService;
61 import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
62 import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
63 import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
64 import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
65 import com.liferay.portlet.social.service.SocialActivityLocalService;
66 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
67 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
68 import com.liferay.portlet.tags.service.TagsAssetLocalService;
69 import com.liferay.portlet.tags.service.TagsAssetService;
70 import com.liferay.portlet.tags.service.TagsEntryLocalService;
71 import com.liferay.portlet.tags.service.TagsEntryService;
72 import com.liferay.portlet.tags.service.persistence.TagsAssetFinder;
73 import com.liferay.portlet.tags.service.persistence.TagsAssetPersistence;
74 import com.liferay.portlet.tags.service.persistence.TagsEntryFinder;
75 import com.liferay.portlet.tags.service.persistence.TagsEntryPersistence;
76
77 import javax.sql.DataSource;
78
79
84 public abstract class BlogsEntryServiceBaseImpl extends PrincipalBean
85 implements BlogsEntryService {
86 public BlogsEntryLocalService getBlogsEntryLocalService() {
87 return blogsEntryLocalService;
88 }
89
90 public void setBlogsEntryLocalService(
91 BlogsEntryLocalService blogsEntryLocalService) {
92 this.blogsEntryLocalService = blogsEntryLocalService;
93 }
94
95 public BlogsEntryService getBlogsEntryService() {
96 return blogsEntryService;
97 }
98
99 public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
100 this.blogsEntryService = blogsEntryService;
101 }
102
103 public BlogsEntryPersistence getBlogsEntryPersistence() {
104 return blogsEntryPersistence;
105 }
106
107 public void setBlogsEntryPersistence(
108 BlogsEntryPersistence blogsEntryPersistence) {
109 this.blogsEntryPersistence = blogsEntryPersistence;
110 }
111
112 public BlogsEntryFinder getBlogsEntryFinder() {
113 return blogsEntryFinder;
114 }
115
116 public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
117 this.blogsEntryFinder = blogsEntryFinder;
118 }
119
120 public BlogsStatsUserLocalService getBlogsStatsUserLocalService() {
121 return blogsStatsUserLocalService;
122 }
123
124 public void setBlogsStatsUserLocalService(
125 BlogsStatsUserLocalService blogsStatsUserLocalService) {
126 this.blogsStatsUserLocalService = blogsStatsUserLocalService;
127 }
128
129 public BlogsStatsUserPersistence getBlogsStatsUserPersistence() {
130 return blogsStatsUserPersistence;
131 }
132
133 public void setBlogsStatsUserPersistence(
134 BlogsStatsUserPersistence blogsStatsUserPersistence) {
135 this.blogsStatsUserPersistence = blogsStatsUserPersistence;
136 }
137
138 public BlogsStatsUserFinder getBlogsStatsUserFinder() {
139 return blogsStatsUserFinder;
140 }
141
142 public void setBlogsStatsUserFinder(
143 BlogsStatsUserFinder blogsStatsUserFinder) {
144 this.blogsStatsUserFinder = blogsStatsUserFinder;
145 }
146
147 public CounterLocalService getCounterLocalService() {
148 return counterLocalService;
149 }
150
151 public void setCounterLocalService(CounterLocalService counterLocalService) {
152 this.counterLocalService = counterLocalService;
153 }
154
155 public CounterService getCounterService() {
156 return counterService;
157 }
158
159 public void setCounterService(CounterService counterService) {
160 this.counterService = counterService;
161 }
162
163 public CompanyLocalService getCompanyLocalService() {
164 return companyLocalService;
165 }
166
167 public void setCompanyLocalService(CompanyLocalService companyLocalService) {
168 this.companyLocalService = companyLocalService;
169 }
170
171 public CompanyService getCompanyService() {
172 return companyService;
173 }
174
175 public void setCompanyService(CompanyService companyService) {
176 this.companyService = companyService;
177 }
178
179 public CompanyPersistence getCompanyPersistence() {
180 return companyPersistence;
181 }
182
183 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
184 this.companyPersistence = companyPersistence;
185 }
186
187 public GroupLocalService getGroupLocalService() {
188 return groupLocalService;
189 }
190
191 public void setGroupLocalService(GroupLocalService groupLocalService) {
192 this.groupLocalService = groupLocalService;
193 }
194
195 public GroupService getGroupService() {
196 return groupService;
197 }
198
199 public void setGroupService(GroupService groupService) {
200 this.groupService = groupService;
201 }
202
203 public GroupPersistence getGroupPersistence() {
204 return groupPersistence;
205 }
206
207 public void setGroupPersistence(GroupPersistence groupPersistence) {
208 this.groupPersistence = groupPersistence;
209 }
210
211 public GroupFinder getGroupFinder() {
212 return groupFinder;
213 }
214
215 public void setGroupFinder(GroupFinder groupFinder) {
216 this.groupFinder = groupFinder;
217 }
218
219 public OrganizationLocalService getOrganizationLocalService() {
220 return organizationLocalService;
221 }
222
223 public void setOrganizationLocalService(
224 OrganizationLocalService organizationLocalService) {
225 this.organizationLocalService = organizationLocalService;
226 }
227
228 public OrganizationService getOrganizationService() {
229 return organizationService;
230 }
231
232 public void setOrganizationService(OrganizationService organizationService) {
233 this.organizationService = organizationService;
234 }
235
236 public OrganizationPersistence getOrganizationPersistence() {
237 return organizationPersistence;
238 }
239
240 public void setOrganizationPersistence(
241 OrganizationPersistence organizationPersistence) {
242 this.organizationPersistence = organizationPersistence;
243 }
244
245 public OrganizationFinder getOrganizationFinder() {
246 return organizationFinder;
247 }
248
249 public void setOrganizationFinder(OrganizationFinder organizationFinder) {
250 this.organizationFinder = organizationFinder;
251 }
252
253 public PortletPreferencesLocalService getPortletPreferencesLocalService() {
254 return portletPreferencesLocalService;
255 }
256
257 public void setPortletPreferencesLocalService(
258 PortletPreferencesLocalService portletPreferencesLocalService) {
259 this.portletPreferencesLocalService = portletPreferencesLocalService;
260 }
261
262 public PortletPreferencesService getPortletPreferencesService() {
263 return portletPreferencesService;
264 }
265
266 public void setPortletPreferencesService(
267 PortletPreferencesService portletPreferencesService) {
268 this.portletPreferencesService = portletPreferencesService;
269 }
270
271 public PortletPreferencesPersistence getPortletPreferencesPersistence() {
272 return portletPreferencesPersistence;
273 }
274
275 public void setPortletPreferencesPersistence(
276 PortletPreferencesPersistence portletPreferencesPersistence) {
277 this.portletPreferencesPersistence = portletPreferencesPersistence;
278 }
279
280 public PortletPreferencesFinder getPortletPreferencesFinder() {
281 return portletPreferencesFinder;
282 }
283
284 public void setPortletPreferencesFinder(
285 PortletPreferencesFinder portletPreferencesFinder) {
286 this.portletPreferencesFinder = portletPreferencesFinder;
287 }
288
289 public ResourceLocalService getResourceLocalService() {
290 return resourceLocalService;
291 }
292
293 public void setResourceLocalService(
294 ResourceLocalService resourceLocalService) {
295 this.resourceLocalService = resourceLocalService;
296 }
297
298 public ResourceService getResourceService() {
299 return resourceService;
300 }
301
302 public void setResourceService(ResourceService resourceService) {
303 this.resourceService = resourceService;
304 }
305
306 public ResourcePersistence getResourcePersistence() {
307 return resourcePersistence;
308 }
309
310 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
311 this.resourcePersistence = resourcePersistence;
312 }
313
314 public ResourceFinder getResourceFinder() {
315 return resourceFinder;
316 }
317
318 public void setResourceFinder(ResourceFinder resourceFinder) {
319 this.resourceFinder = resourceFinder;
320 }
321
322 public UserLocalService getUserLocalService() {
323 return userLocalService;
324 }
325
326 public void setUserLocalService(UserLocalService userLocalService) {
327 this.userLocalService = userLocalService;
328 }
329
330 public UserService getUserService() {
331 return userService;
332 }
333
334 public void setUserService(UserService userService) {
335 this.userService = userService;
336 }
337
338 public UserPersistence getUserPersistence() {
339 return userPersistence;
340 }
341
342 public void setUserPersistence(UserPersistence userPersistence) {
343 this.userPersistence = userPersistence;
344 }
345
346 public UserFinder getUserFinder() {
347 return userFinder;
348 }
349
350 public void setUserFinder(UserFinder userFinder) {
351 this.userFinder = userFinder;
352 }
353
354 public ExpandoValueLocalService getExpandoValueLocalService() {
355 return expandoValueLocalService;
356 }
357
358 public void setExpandoValueLocalService(
359 ExpandoValueLocalService expandoValueLocalService) {
360 this.expandoValueLocalService = expandoValueLocalService;
361 }
362
363 public ExpandoValueService getExpandoValueService() {
364 return expandoValueService;
365 }
366
367 public void setExpandoValueService(ExpandoValueService expandoValueService) {
368 this.expandoValueService = expandoValueService;
369 }
370
371 public ExpandoValuePersistence getExpandoValuePersistence() {
372 return expandoValuePersistence;
373 }
374
375 public void setExpandoValuePersistence(
376 ExpandoValuePersistence expandoValuePersistence) {
377 this.expandoValuePersistence = expandoValuePersistence;
378 }
379
380 public MBMessageLocalService getMBMessageLocalService() {
381 return mbMessageLocalService;
382 }
383
384 public void setMBMessageLocalService(
385 MBMessageLocalService mbMessageLocalService) {
386 this.mbMessageLocalService = mbMessageLocalService;
387 }
388
389 public MBMessageService getMBMessageService() {
390 return mbMessageService;
391 }
392
393 public void setMBMessageService(MBMessageService mbMessageService) {
394 this.mbMessageService = mbMessageService;
395 }
396
397 public MBMessagePersistence getMBMessagePersistence() {
398 return mbMessagePersistence;
399 }
400
401 public void setMBMessagePersistence(
402 MBMessagePersistence mbMessagePersistence) {
403 this.mbMessagePersistence = mbMessagePersistence;
404 }
405
406 public MBMessageFinder getMBMessageFinder() {
407 return mbMessageFinder;
408 }
409
410 public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
411 this.mbMessageFinder = mbMessageFinder;
412 }
413
414 public RatingsStatsLocalService getRatingsStatsLocalService() {
415 return ratingsStatsLocalService;
416 }
417
418 public void setRatingsStatsLocalService(
419 RatingsStatsLocalService ratingsStatsLocalService) {
420 this.ratingsStatsLocalService = ratingsStatsLocalService;
421 }
422
423 public RatingsStatsPersistence getRatingsStatsPersistence() {
424 return ratingsStatsPersistence;
425 }
426
427 public void setRatingsStatsPersistence(
428 RatingsStatsPersistence ratingsStatsPersistence) {
429 this.ratingsStatsPersistence = ratingsStatsPersistence;
430 }
431
432 public SocialActivityLocalService getSocialActivityLocalService() {
433 return socialActivityLocalService;
434 }
435
436 public void setSocialActivityLocalService(
437 SocialActivityLocalService socialActivityLocalService) {
438 this.socialActivityLocalService = socialActivityLocalService;
439 }
440
441 public SocialActivityPersistence getSocialActivityPersistence() {
442 return socialActivityPersistence;
443 }
444
445 public void setSocialActivityPersistence(
446 SocialActivityPersistence socialActivityPersistence) {
447 this.socialActivityPersistence = socialActivityPersistence;
448 }
449
450 public SocialActivityFinder getSocialActivityFinder() {
451 return socialActivityFinder;
452 }
453
454 public void setSocialActivityFinder(
455 SocialActivityFinder socialActivityFinder) {
456 this.socialActivityFinder = socialActivityFinder;
457 }
458
459 public TagsAssetLocalService getTagsAssetLocalService() {
460 return tagsAssetLocalService;
461 }
462
463 public void setTagsAssetLocalService(
464 TagsAssetLocalService tagsAssetLocalService) {
465 this.tagsAssetLocalService = tagsAssetLocalService;
466 }
467
468 public TagsAssetService getTagsAssetService() {
469 return tagsAssetService;
470 }
471
472 public void setTagsAssetService(TagsAssetService tagsAssetService) {
473 this.tagsAssetService = tagsAssetService;
474 }
475
476 public TagsAssetPersistence getTagsAssetPersistence() {
477 return tagsAssetPersistence;
478 }
479
480 public void setTagsAssetPersistence(
481 TagsAssetPersistence tagsAssetPersistence) {
482 this.tagsAssetPersistence = tagsAssetPersistence;
483 }
484
485 public TagsAssetFinder getTagsAssetFinder() {
486 return tagsAssetFinder;
487 }
488
489 public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder) {
490 this.tagsAssetFinder = tagsAssetFinder;
491 }
492
493 public TagsEntryLocalService getTagsEntryLocalService() {
494 return tagsEntryLocalService;
495 }
496
497 public void setTagsEntryLocalService(
498 TagsEntryLocalService tagsEntryLocalService) {
499 this.tagsEntryLocalService = tagsEntryLocalService;
500 }
501
502 public TagsEntryService getTagsEntryService() {
503 return tagsEntryService;
504 }
505
506 public void setTagsEntryService(TagsEntryService tagsEntryService) {
507 this.tagsEntryService = tagsEntryService;
508 }
509
510 public TagsEntryPersistence getTagsEntryPersistence() {
511 return tagsEntryPersistence;
512 }
513
514 public void setTagsEntryPersistence(
515 TagsEntryPersistence tagsEntryPersistence) {
516 this.tagsEntryPersistence = tagsEntryPersistence;
517 }
518
519 public TagsEntryFinder getTagsEntryFinder() {
520 return tagsEntryFinder;
521 }
522
523 public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
524 this.tagsEntryFinder = tagsEntryFinder;
525 }
526
527 protected void runSQL(String sql) throws SystemException {
528 try {
529 DataSource dataSource = blogsEntryPersistence.getDataSource();
530
531 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
532 sql, new int[0]);
533
534 sqlUpdate.update(new Object[0]);
535 }
536 catch (Exception e) {
537 throw new SystemException(e);
538 }
539 }
540
541 @BeanReference(type = BlogsEntryLocalService.class)
542 protected BlogsEntryLocalService blogsEntryLocalService;
543 @BeanReference(type = BlogsEntryService.class)
544 protected BlogsEntryService blogsEntryService;
545 @BeanReference(type = BlogsEntryPersistence.class)
546 protected BlogsEntryPersistence blogsEntryPersistence;
547 @BeanReference(type = BlogsEntryFinder.class)
548 protected BlogsEntryFinder blogsEntryFinder;
549 @BeanReference(type = BlogsStatsUserLocalService.class)
550 protected BlogsStatsUserLocalService blogsStatsUserLocalService;
551 @BeanReference(type = BlogsStatsUserPersistence.class)
552 protected BlogsStatsUserPersistence blogsStatsUserPersistence;
553 @BeanReference(type = BlogsStatsUserFinder.class)
554 protected BlogsStatsUserFinder blogsStatsUserFinder;
555 @BeanReference(type = CounterLocalService.class)
556 protected CounterLocalService counterLocalService;
557 @BeanReference(type = CounterService.class)
558 protected CounterService counterService;
559 @BeanReference(type = CompanyLocalService.class)
560 protected CompanyLocalService companyLocalService;
561 @BeanReference(type = CompanyService.class)
562 protected CompanyService companyService;
563 @BeanReference(type = CompanyPersistence.class)
564 protected CompanyPersistence companyPersistence;
565 @BeanReference(type = GroupLocalService.class)
566 protected GroupLocalService groupLocalService;
567 @BeanReference(type = GroupService.class)
568 protected GroupService groupService;
569 @BeanReference(type = GroupPersistence.class)
570 protected GroupPersistence groupPersistence;
571 @BeanReference(type = GroupFinder.class)
572 protected GroupFinder groupFinder;
573 @BeanReference(type = OrganizationLocalService.class)
574 protected OrganizationLocalService organizationLocalService;
575 @BeanReference(type = OrganizationService.class)
576 protected OrganizationService organizationService;
577 @BeanReference(type = OrganizationPersistence.class)
578 protected OrganizationPersistence organizationPersistence;
579 @BeanReference(type = OrganizationFinder.class)
580 protected OrganizationFinder organizationFinder;
581 @BeanReference(type = PortletPreferencesLocalService.class)
582 protected PortletPreferencesLocalService portletPreferencesLocalService;
583 @BeanReference(type = PortletPreferencesService.class)
584 protected PortletPreferencesService portletPreferencesService;
585 @BeanReference(type = PortletPreferencesPersistence.class)
586 protected PortletPreferencesPersistence portletPreferencesPersistence;
587 @BeanReference(type = PortletPreferencesFinder.class)
588 protected PortletPreferencesFinder portletPreferencesFinder;
589 @BeanReference(type = ResourceLocalService.class)
590 protected ResourceLocalService resourceLocalService;
591 @BeanReference(type = ResourceService.class)
592 protected ResourceService resourceService;
593 @BeanReference(type = ResourcePersistence.class)
594 protected ResourcePersistence resourcePersistence;
595 @BeanReference(type = ResourceFinder.class)
596 protected ResourceFinder resourceFinder;
597 @BeanReference(type = UserLocalService.class)
598 protected UserLocalService userLocalService;
599 @BeanReference(type = UserService.class)
600 protected UserService userService;
601 @BeanReference(type = UserPersistence.class)
602 protected UserPersistence userPersistence;
603 @BeanReference(type = UserFinder.class)
604 protected UserFinder userFinder;
605 @BeanReference(type = ExpandoValueLocalService.class)
606 protected ExpandoValueLocalService expandoValueLocalService;
607 @BeanReference(type = ExpandoValueService.class)
608 protected ExpandoValueService expandoValueService;
609 @BeanReference(type = ExpandoValuePersistence.class)
610 protected ExpandoValuePersistence expandoValuePersistence;
611 @BeanReference(type = MBMessageLocalService.class)
612 protected MBMessageLocalService mbMessageLocalService;
613 @BeanReference(type = MBMessageService.class)
614 protected MBMessageService mbMessageService;
615 @BeanReference(type = MBMessagePersistence.class)
616 protected MBMessagePersistence mbMessagePersistence;
617 @BeanReference(type = MBMessageFinder.class)
618 protected MBMessageFinder mbMessageFinder;
619 @BeanReference(type = RatingsStatsLocalService.class)
620 protected RatingsStatsLocalService ratingsStatsLocalService;
621 @BeanReference(type = RatingsStatsPersistence.class)
622 protected RatingsStatsPersistence ratingsStatsPersistence;
623 @BeanReference(type = SocialActivityLocalService.class)
624 protected SocialActivityLocalService socialActivityLocalService;
625 @BeanReference(type = SocialActivityPersistence.class)
626 protected SocialActivityPersistence socialActivityPersistence;
627 @BeanReference(type = SocialActivityFinder.class)
628 protected SocialActivityFinder socialActivityFinder;
629 @BeanReference(type = TagsAssetLocalService.class)
630 protected TagsAssetLocalService tagsAssetLocalService;
631 @BeanReference(type = TagsAssetService.class)
632 protected TagsAssetService tagsAssetService;
633 @BeanReference(type = TagsAssetPersistence.class)
634 protected TagsAssetPersistence tagsAssetPersistence;
635 @BeanReference(type = TagsAssetFinder.class)
636 protected TagsAssetFinder tagsAssetFinder;
637 @BeanReference(type = TagsEntryLocalService.class)
638 protected TagsEntryLocalService tagsEntryLocalService;
639 @BeanReference(type = TagsEntryService.class)
640 protected TagsEntryService tagsEntryService;
641 @BeanReference(type = TagsEntryPersistence.class)
642 protected TagsEntryPersistence tagsEntryPersistence;
643 @BeanReference(type = TagsEntryFinder.class)
644 protected TagsEntryFinder tagsEntryFinder;
645 }