001
014
015 package com.liferay.portlet.social.service.base;
016
017 import com.liferay.counter.service.CounterLocalService;
018
019 import com.liferay.portal.kernel.bean.BeanReference;
020 import com.liferay.portal.kernel.bean.IdentifiableBean;
021 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
022 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
023 import com.liferay.portal.kernel.exception.SystemException;
024 import com.liferay.portal.kernel.util.InfrastructureUtil;
025 import com.liferay.portal.service.BaseLocalServiceImpl;
026 import com.liferay.portal.service.ResourceLocalService;
027 import com.liferay.portal.service.ResourceService;
028 import com.liferay.portal.service.UserLocalService;
029 import com.liferay.portal.service.UserService;
030 import com.liferay.portal.service.persistence.ResourceFinder;
031 import com.liferay.portal.service.persistence.ResourcePersistence;
032 import com.liferay.portal.service.persistence.UserFinder;
033 import com.liferay.portal.service.persistence.UserPersistence;
034
035 import com.liferay.portlet.social.service.SocialActivityAchievementLocalService;
036 import com.liferay.portlet.social.service.SocialActivityCounterLocalService;
037 import com.liferay.portlet.social.service.SocialActivityInterpreterLocalService;
038 import com.liferay.portlet.social.service.SocialActivityLimitLocalService;
039 import com.liferay.portlet.social.service.SocialActivityLocalService;
040 import com.liferay.portlet.social.service.SocialActivitySettingLocalService;
041 import com.liferay.portlet.social.service.SocialActivitySettingService;
042 import com.liferay.portlet.social.service.SocialRelationLocalService;
043 import com.liferay.portlet.social.service.SocialRequestInterpreterLocalService;
044 import com.liferay.portlet.social.service.SocialRequestLocalService;
045 import com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistence;
046 import com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder;
047 import com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence;
048 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
049 import com.liferay.portlet.social.service.persistence.SocialActivityLimitPersistence;
050 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
051 import com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence;
052 import com.liferay.portlet.social.service.persistence.SocialRelationPersistence;
053 import com.liferay.portlet.social.service.persistence.SocialRequestPersistence;
054
055 import javax.sql.DataSource;
056
057
069 public abstract class SocialActivityInterpreterLocalServiceBaseImpl
070 extends BaseLocalServiceImpl
071 implements SocialActivityInterpreterLocalService, IdentifiableBean {
072
077
078
083 public SocialActivityLocalService getSocialActivityLocalService() {
084 return socialActivityLocalService;
085 }
086
087
092 public void setSocialActivityLocalService(
093 SocialActivityLocalService socialActivityLocalService) {
094 this.socialActivityLocalService = socialActivityLocalService;
095 }
096
097
102 public SocialActivityPersistence getSocialActivityPersistence() {
103 return socialActivityPersistence;
104 }
105
106
111 public void setSocialActivityPersistence(
112 SocialActivityPersistence socialActivityPersistence) {
113 this.socialActivityPersistence = socialActivityPersistence;
114 }
115
116
121 public SocialActivityFinder getSocialActivityFinder() {
122 return socialActivityFinder;
123 }
124
125
130 public void setSocialActivityFinder(
131 SocialActivityFinder socialActivityFinder) {
132 this.socialActivityFinder = socialActivityFinder;
133 }
134
135
140 public SocialActivityAchievementLocalService getSocialActivityAchievementLocalService() {
141 return socialActivityAchievementLocalService;
142 }
143
144
149 public void setSocialActivityAchievementLocalService(
150 SocialActivityAchievementLocalService socialActivityAchievementLocalService) {
151 this.socialActivityAchievementLocalService = socialActivityAchievementLocalService;
152 }
153
154
159 public SocialActivityAchievementPersistence getSocialActivityAchievementPersistence() {
160 return socialActivityAchievementPersistence;
161 }
162
163
168 public void setSocialActivityAchievementPersistence(
169 SocialActivityAchievementPersistence socialActivityAchievementPersistence) {
170 this.socialActivityAchievementPersistence = socialActivityAchievementPersistence;
171 }
172
173
178 public SocialActivityCounterLocalService getSocialActivityCounterLocalService() {
179 return socialActivityCounterLocalService;
180 }
181
182
187 public void setSocialActivityCounterLocalService(
188 SocialActivityCounterLocalService socialActivityCounterLocalService) {
189 this.socialActivityCounterLocalService = socialActivityCounterLocalService;
190 }
191
192
197 public SocialActivityCounterPersistence getSocialActivityCounterPersistence() {
198 return socialActivityCounterPersistence;
199 }
200
201
206 public void setSocialActivityCounterPersistence(
207 SocialActivityCounterPersistence socialActivityCounterPersistence) {
208 this.socialActivityCounterPersistence = socialActivityCounterPersistence;
209 }
210
211
216 public SocialActivityCounterFinder getSocialActivityCounterFinder() {
217 return socialActivityCounterFinder;
218 }
219
220
225 public void setSocialActivityCounterFinder(
226 SocialActivityCounterFinder socialActivityCounterFinder) {
227 this.socialActivityCounterFinder = socialActivityCounterFinder;
228 }
229
230
235 public SocialActivityInterpreterLocalService getSocialActivityInterpreterLocalService() {
236 return socialActivityInterpreterLocalService;
237 }
238
239
244 public void setSocialActivityInterpreterLocalService(
245 SocialActivityInterpreterLocalService socialActivityInterpreterLocalService) {
246 this.socialActivityInterpreterLocalService = socialActivityInterpreterLocalService;
247 }
248
249
254 public SocialActivityLimitLocalService getSocialActivityLimitLocalService() {
255 return socialActivityLimitLocalService;
256 }
257
258
263 public void setSocialActivityLimitLocalService(
264 SocialActivityLimitLocalService socialActivityLimitLocalService) {
265 this.socialActivityLimitLocalService = socialActivityLimitLocalService;
266 }
267
268
273 public SocialActivityLimitPersistence getSocialActivityLimitPersistence() {
274 return socialActivityLimitPersistence;
275 }
276
277
282 public void setSocialActivityLimitPersistence(
283 SocialActivityLimitPersistence socialActivityLimitPersistence) {
284 this.socialActivityLimitPersistence = socialActivityLimitPersistence;
285 }
286
287
292 public SocialActivitySettingLocalService getSocialActivitySettingLocalService() {
293 return socialActivitySettingLocalService;
294 }
295
296
301 public void setSocialActivitySettingLocalService(
302 SocialActivitySettingLocalService socialActivitySettingLocalService) {
303 this.socialActivitySettingLocalService = socialActivitySettingLocalService;
304 }
305
306
311 public SocialActivitySettingService getSocialActivitySettingService() {
312 return socialActivitySettingService;
313 }
314
315
320 public void setSocialActivitySettingService(
321 SocialActivitySettingService socialActivitySettingService) {
322 this.socialActivitySettingService = socialActivitySettingService;
323 }
324
325
330 public SocialActivitySettingPersistence getSocialActivitySettingPersistence() {
331 return socialActivitySettingPersistence;
332 }
333
334
339 public void setSocialActivitySettingPersistence(
340 SocialActivitySettingPersistence socialActivitySettingPersistence) {
341 this.socialActivitySettingPersistence = socialActivitySettingPersistence;
342 }
343
344
349 public SocialRelationLocalService getSocialRelationLocalService() {
350 return socialRelationLocalService;
351 }
352
353
358 public void setSocialRelationLocalService(
359 SocialRelationLocalService socialRelationLocalService) {
360 this.socialRelationLocalService = socialRelationLocalService;
361 }
362
363
368 public SocialRelationPersistence getSocialRelationPersistence() {
369 return socialRelationPersistence;
370 }
371
372
377 public void setSocialRelationPersistence(
378 SocialRelationPersistence socialRelationPersistence) {
379 this.socialRelationPersistence = socialRelationPersistence;
380 }
381
382
387 public SocialRequestLocalService getSocialRequestLocalService() {
388 return socialRequestLocalService;
389 }
390
391
396 public void setSocialRequestLocalService(
397 SocialRequestLocalService socialRequestLocalService) {
398 this.socialRequestLocalService = socialRequestLocalService;
399 }
400
401
406 public SocialRequestPersistence getSocialRequestPersistence() {
407 return socialRequestPersistence;
408 }
409
410
415 public void setSocialRequestPersistence(
416 SocialRequestPersistence socialRequestPersistence) {
417 this.socialRequestPersistence = socialRequestPersistence;
418 }
419
420
425 public SocialRequestInterpreterLocalService getSocialRequestInterpreterLocalService() {
426 return socialRequestInterpreterLocalService;
427 }
428
429
434 public void setSocialRequestInterpreterLocalService(
435 SocialRequestInterpreterLocalService socialRequestInterpreterLocalService) {
436 this.socialRequestInterpreterLocalService = socialRequestInterpreterLocalService;
437 }
438
439
444 public CounterLocalService getCounterLocalService() {
445 return counterLocalService;
446 }
447
448
453 public void setCounterLocalService(CounterLocalService counterLocalService) {
454 this.counterLocalService = counterLocalService;
455 }
456
457
462 public ResourceLocalService getResourceLocalService() {
463 return resourceLocalService;
464 }
465
466
471 public void setResourceLocalService(
472 ResourceLocalService resourceLocalService) {
473 this.resourceLocalService = resourceLocalService;
474 }
475
476
481 public ResourceService getResourceService() {
482 return resourceService;
483 }
484
485
490 public void setResourceService(ResourceService resourceService) {
491 this.resourceService = resourceService;
492 }
493
494
499 public ResourcePersistence getResourcePersistence() {
500 return resourcePersistence;
501 }
502
503
508 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
509 this.resourcePersistence = resourcePersistence;
510 }
511
512
517 public ResourceFinder getResourceFinder() {
518 return resourceFinder;
519 }
520
521
526 public void setResourceFinder(ResourceFinder resourceFinder) {
527 this.resourceFinder = resourceFinder;
528 }
529
530
535 public UserLocalService getUserLocalService() {
536 return userLocalService;
537 }
538
539
544 public void setUserLocalService(UserLocalService userLocalService) {
545 this.userLocalService = userLocalService;
546 }
547
548
553 public UserService getUserService() {
554 return userService;
555 }
556
557
562 public void setUserService(UserService userService) {
563 this.userService = userService;
564 }
565
566
571 public UserPersistence getUserPersistence() {
572 return userPersistence;
573 }
574
575
580 public void setUserPersistence(UserPersistence userPersistence) {
581 this.userPersistence = userPersistence;
582 }
583
584
589 public UserFinder getUserFinder() {
590 return userFinder;
591 }
592
593
598 public void setUserFinder(UserFinder userFinder) {
599 this.userFinder = userFinder;
600 }
601
602 public void afterPropertiesSet() {
603 }
604
605 public void destroy() {
606 }
607
608
613 public String getBeanIdentifier() {
614 return _beanIdentifier;
615 }
616
617
622 public void setBeanIdentifier(String beanIdentifier) {
623 _beanIdentifier = beanIdentifier;
624 }
625
626
631 protected void runSQL(String sql) throws SystemException {
632 try {
633 DataSource dataSource = InfrastructureUtil.getDataSource();
634
635 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
636 sql, new int[0]);
637
638 sqlUpdate.update();
639 }
640 catch (Exception e) {
641 throw new SystemException(e);
642 }
643 }
644
645 @BeanReference(type = SocialActivityLocalService.class)
646 protected SocialActivityLocalService socialActivityLocalService;
647 @BeanReference(type = SocialActivityPersistence.class)
648 protected SocialActivityPersistence socialActivityPersistence;
649 @BeanReference(type = SocialActivityFinder.class)
650 protected SocialActivityFinder socialActivityFinder;
651 @BeanReference(type = SocialActivityAchievementLocalService.class)
652 protected SocialActivityAchievementLocalService socialActivityAchievementLocalService;
653 @BeanReference(type = SocialActivityAchievementPersistence.class)
654 protected SocialActivityAchievementPersistence socialActivityAchievementPersistence;
655 @BeanReference(type = SocialActivityCounterLocalService.class)
656 protected SocialActivityCounterLocalService socialActivityCounterLocalService;
657 @BeanReference(type = SocialActivityCounterPersistence.class)
658 protected SocialActivityCounterPersistence socialActivityCounterPersistence;
659 @BeanReference(type = SocialActivityCounterFinder.class)
660 protected SocialActivityCounterFinder socialActivityCounterFinder;
661 @BeanReference(type = SocialActivityInterpreterLocalService.class)
662 protected SocialActivityInterpreterLocalService socialActivityInterpreterLocalService;
663 @BeanReference(type = SocialActivityLimitLocalService.class)
664 protected SocialActivityLimitLocalService socialActivityLimitLocalService;
665 @BeanReference(type = SocialActivityLimitPersistence.class)
666 protected SocialActivityLimitPersistence socialActivityLimitPersistence;
667 @BeanReference(type = SocialActivitySettingLocalService.class)
668 protected SocialActivitySettingLocalService socialActivitySettingLocalService;
669 @BeanReference(type = SocialActivitySettingService.class)
670 protected SocialActivitySettingService socialActivitySettingService;
671 @BeanReference(type = SocialActivitySettingPersistence.class)
672 protected SocialActivitySettingPersistence socialActivitySettingPersistence;
673 @BeanReference(type = SocialRelationLocalService.class)
674 protected SocialRelationLocalService socialRelationLocalService;
675 @BeanReference(type = SocialRelationPersistence.class)
676 protected SocialRelationPersistence socialRelationPersistence;
677 @BeanReference(type = SocialRequestLocalService.class)
678 protected SocialRequestLocalService socialRequestLocalService;
679 @BeanReference(type = SocialRequestPersistence.class)
680 protected SocialRequestPersistence socialRequestPersistence;
681 @BeanReference(type = SocialRequestInterpreterLocalService.class)
682 protected SocialRequestInterpreterLocalService socialRequestInterpreterLocalService;
683 @BeanReference(type = CounterLocalService.class)
684 protected CounterLocalService counterLocalService;
685 @BeanReference(type = ResourceLocalService.class)
686 protected ResourceLocalService resourceLocalService;
687 @BeanReference(type = ResourceService.class)
688 protected ResourceService resourceService;
689 @BeanReference(type = ResourcePersistence.class)
690 protected ResourcePersistence resourcePersistence;
691 @BeanReference(type = ResourceFinder.class)
692 protected ResourceFinder resourceFinder;
693 @BeanReference(type = UserLocalService.class)
694 protected UserLocalService userLocalService;
695 @BeanReference(type = UserService.class)
696 protected UserService userService;
697 @BeanReference(type = UserPersistence.class)
698 protected UserPersistence userPersistence;
699 @BeanReference(type = UserFinder.class)
700 protected UserFinder userFinder;
701 private String _beanIdentifier;
702 }