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