001
014
015 package com.liferay.portlet.bookmarks.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.service.BaseServiceImpl;
025 import com.liferay.portal.service.GroupLocalService;
026 import com.liferay.portal.service.GroupService;
027 import com.liferay.portal.service.ResourceLocalService;
028 import com.liferay.portal.service.SubscriptionLocalService;
029 import com.liferay.portal.service.UserLocalService;
030 import com.liferay.portal.service.UserService;
031 import com.liferay.portal.service.persistence.GroupFinder;
032 import com.liferay.portal.service.persistence.GroupPersistence;
033 import com.liferay.portal.service.persistence.SubscriptionPersistence;
034 import com.liferay.portal.service.persistence.UserFinder;
035 import com.liferay.portal.service.persistence.UserPersistence;
036
037 import com.liferay.portlet.asset.service.AssetEntryLocalService;
038 import com.liferay.portlet.asset.service.AssetEntryService;
039 import com.liferay.portlet.asset.service.AssetLinkLocalService;
040 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
041 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
042 import com.liferay.portlet.asset.service.persistence.AssetLinkFinder;
043 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
044 import com.liferay.portlet.bookmarks.model.BookmarksFolder;
045 import com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService;
046 import com.liferay.portlet.bookmarks.service.BookmarksEntryService;
047 import com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService;
048 import com.liferay.portlet.bookmarks.service.BookmarksFolderService;
049 import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder;
050 import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence;
051 import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderFinder;
052 import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence;
053 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
054 import com.liferay.portlet.expando.service.ExpandoValueService;
055 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
056 import com.liferay.portlet.social.service.SocialActivityCounterLocalService;
057 import com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder;
058 import com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence;
059 import com.liferay.portlet.trash.service.TrashEntryLocalService;
060 import com.liferay.portlet.trash.service.TrashEntryService;
061 import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
062
063 import javax.sql.DataSource;
064
065
077 public abstract class BookmarksFolderServiceBaseImpl extends BaseServiceImpl
078 implements BookmarksFolderService, IdentifiableBean {
079
084
085
090 public BookmarksEntryLocalService getBookmarksEntryLocalService() {
091 return bookmarksEntryLocalService;
092 }
093
094
099 public void setBookmarksEntryLocalService(
100 BookmarksEntryLocalService bookmarksEntryLocalService) {
101 this.bookmarksEntryLocalService = bookmarksEntryLocalService;
102 }
103
104
109 public BookmarksEntryService getBookmarksEntryService() {
110 return bookmarksEntryService;
111 }
112
113
118 public void setBookmarksEntryService(
119 BookmarksEntryService bookmarksEntryService) {
120 this.bookmarksEntryService = bookmarksEntryService;
121 }
122
123
128 public BookmarksEntryPersistence getBookmarksEntryPersistence() {
129 return bookmarksEntryPersistence;
130 }
131
132
137 public void setBookmarksEntryPersistence(
138 BookmarksEntryPersistence bookmarksEntryPersistence) {
139 this.bookmarksEntryPersistence = bookmarksEntryPersistence;
140 }
141
142
147 public BookmarksEntryFinder getBookmarksEntryFinder() {
148 return bookmarksEntryFinder;
149 }
150
151
156 public void setBookmarksEntryFinder(
157 BookmarksEntryFinder bookmarksEntryFinder) {
158 this.bookmarksEntryFinder = bookmarksEntryFinder;
159 }
160
161
166 public BookmarksFolderLocalService getBookmarksFolderLocalService() {
167 return bookmarksFolderLocalService;
168 }
169
170
175 public void setBookmarksFolderLocalService(
176 BookmarksFolderLocalService bookmarksFolderLocalService) {
177 this.bookmarksFolderLocalService = bookmarksFolderLocalService;
178 }
179
180
185 public BookmarksFolderService getBookmarksFolderService() {
186 return bookmarksFolderService;
187 }
188
189
194 public void setBookmarksFolderService(
195 BookmarksFolderService bookmarksFolderService) {
196 this.bookmarksFolderService = bookmarksFolderService;
197 }
198
199
204 public BookmarksFolderPersistence getBookmarksFolderPersistence() {
205 return bookmarksFolderPersistence;
206 }
207
208
213 public void setBookmarksFolderPersistence(
214 BookmarksFolderPersistence bookmarksFolderPersistence) {
215 this.bookmarksFolderPersistence = bookmarksFolderPersistence;
216 }
217
218
223 public BookmarksFolderFinder getBookmarksFolderFinder() {
224 return bookmarksFolderFinder;
225 }
226
227
232 public void setBookmarksFolderFinder(
233 BookmarksFolderFinder bookmarksFolderFinder) {
234 this.bookmarksFolderFinder = bookmarksFolderFinder;
235 }
236
237
242 public CounterLocalService getCounterLocalService() {
243 return counterLocalService;
244 }
245
246
251 public void setCounterLocalService(CounterLocalService counterLocalService) {
252 this.counterLocalService = counterLocalService;
253 }
254
255
260 public GroupLocalService getGroupLocalService() {
261 return groupLocalService;
262 }
263
264
269 public void setGroupLocalService(GroupLocalService groupLocalService) {
270 this.groupLocalService = groupLocalService;
271 }
272
273
278 public GroupService getGroupService() {
279 return groupService;
280 }
281
282
287 public void setGroupService(GroupService groupService) {
288 this.groupService = groupService;
289 }
290
291
296 public GroupPersistence getGroupPersistence() {
297 return groupPersistence;
298 }
299
300
305 public void setGroupPersistence(GroupPersistence groupPersistence) {
306 this.groupPersistence = groupPersistence;
307 }
308
309
314 public GroupFinder getGroupFinder() {
315 return groupFinder;
316 }
317
318
323 public void setGroupFinder(GroupFinder groupFinder) {
324 this.groupFinder = groupFinder;
325 }
326
327
332 public ResourceLocalService getResourceLocalService() {
333 return resourceLocalService;
334 }
335
336
341 public void setResourceLocalService(
342 ResourceLocalService resourceLocalService) {
343 this.resourceLocalService = resourceLocalService;
344 }
345
346
351 public SubscriptionLocalService getSubscriptionLocalService() {
352 return subscriptionLocalService;
353 }
354
355
360 public void setSubscriptionLocalService(
361 SubscriptionLocalService subscriptionLocalService) {
362 this.subscriptionLocalService = subscriptionLocalService;
363 }
364
365
370 public SubscriptionPersistence getSubscriptionPersistence() {
371 return subscriptionPersistence;
372 }
373
374
379 public void setSubscriptionPersistence(
380 SubscriptionPersistence subscriptionPersistence) {
381 this.subscriptionPersistence = subscriptionPersistence;
382 }
383
384
389 public UserLocalService getUserLocalService() {
390 return userLocalService;
391 }
392
393
398 public void setUserLocalService(UserLocalService userLocalService) {
399 this.userLocalService = userLocalService;
400 }
401
402
407 public UserService getUserService() {
408 return userService;
409 }
410
411
416 public void setUserService(UserService userService) {
417 this.userService = userService;
418 }
419
420
425 public UserPersistence getUserPersistence() {
426 return userPersistence;
427 }
428
429
434 public void setUserPersistence(UserPersistence userPersistence) {
435 this.userPersistence = userPersistence;
436 }
437
438
443 public UserFinder getUserFinder() {
444 return userFinder;
445 }
446
447
452 public void setUserFinder(UserFinder userFinder) {
453 this.userFinder = userFinder;
454 }
455
456
461 public AssetEntryLocalService getAssetEntryLocalService() {
462 return assetEntryLocalService;
463 }
464
465
470 public void setAssetEntryLocalService(
471 AssetEntryLocalService assetEntryLocalService) {
472 this.assetEntryLocalService = assetEntryLocalService;
473 }
474
475
480 public AssetEntryService getAssetEntryService() {
481 return assetEntryService;
482 }
483
484
489 public void setAssetEntryService(AssetEntryService assetEntryService) {
490 this.assetEntryService = assetEntryService;
491 }
492
493
498 public AssetEntryPersistence getAssetEntryPersistence() {
499 return assetEntryPersistence;
500 }
501
502
507 public void setAssetEntryPersistence(
508 AssetEntryPersistence assetEntryPersistence) {
509 this.assetEntryPersistence = assetEntryPersistence;
510 }
511
512
517 public AssetEntryFinder getAssetEntryFinder() {
518 return assetEntryFinder;
519 }
520
521
526 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
527 this.assetEntryFinder = assetEntryFinder;
528 }
529
530
535 public AssetLinkLocalService getAssetLinkLocalService() {
536 return assetLinkLocalService;
537 }
538
539
544 public void setAssetLinkLocalService(
545 AssetLinkLocalService assetLinkLocalService) {
546 this.assetLinkLocalService = assetLinkLocalService;
547 }
548
549
554 public AssetLinkPersistence getAssetLinkPersistence() {
555 return assetLinkPersistence;
556 }
557
558
563 public void setAssetLinkPersistence(
564 AssetLinkPersistence assetLinkPersistence) {
565 this.assetLinkPersistence = assetLinkPersistence;
566 }
567
568
573 public AssetLinkFinder getAssetLinkFinder() {
574 return assetLinkFinder;
575 }
576
577
582 public void setAssetLinkFinder(AssetLinkFinder assetLinkFinder) {
583 this.assetLinkFinder = assetLinkFinder;
584 }
585
586
591 public ExpandoValueLocalService getExpandoValueLocalService() {
592 return expandoValueLocalService;
593 }
594
595
600 public void setExpandoValueLocalService(
601 ExpandoValueLocalService expandoValueLocalService) {
602 this.expandoValueLocalService = expandoValueLocalService;
603 }
604
605
610 public ExpandoValueService getExpandoValueService() {
611 return expandoValueService;
612 }
613
614
619 public void setExpandoValueService(ExpandoValueService expandoValueService) {
620 this.expandoValueService = expandoValueService;
621 }
622
623
628 public ExpandoValuePersistence getExpandoValuePersistence() {
629 return expandoValuePersistence;
630 }
631
632
637 public void setExpandoValuePersistence(
638 ExpandoValuePersistence expandoValuePersistence) {
639 this.expandoValuePersistence = expandoValuePersistence;
640 }
641
642
647 public SocialActivityCounterLocalService getSocialActivityCounterLocalService() {
648 return socialActivityCounterLocalService;
649 }
650
651
656 public void setSocialActivityCounterLocalService(
657 SocialActivityCounterLocalService socialActivityCounterLocalService) {
658 this.socialActivityCounterLocalService = socialActivityCounterLocalService;
659 }
660
661
666 public SocialActivityCounterPersistence getSocialActivityCounterPersistence() {
667 return socialActivityCounterPersistence;
668 }
669
670
675 public void setSocialActivityCounterPersistence(
676 SocialActivityCounterPersistence socialActivityCounterPersistence) {
677 this.socialActivityCounterPersistence = socialActivityCounterPersistence;
678 }
679
680
685 public SocialActivityCounterFinder getSocialActivityCounterFinder() {
686 return socialActivityCounterFinder;
687 }
688
689
694 public void setSocialActivityCounterFinder(
695 SocialActivityCounterFinder socialActivityCounterFinder) {
696 this.socialActivityCounterFinder = socialActivityCounterFinder;
697 }
698
699
704 public TrashEntryLocalService getTrashEntryLocalService() {
705 return trashEntryLocalService;
706 }
707
708
713 public void setTrashEntryLocalService(
714 TrashEntryLocalService trashEntryLocalService) {
715 this.trashEntryLocalService = trashEntryLocalService;
716 }
717
718
723 public TrashEntryService getTrashEntryService() {
724 return trashEntryService;
725 }
726
727
732 public void setTrashEntryService(TrashEntryService trashEntryService) {
733 this.trashEntryService = trashEntryService;
734 }
735
736
741 public TrashEntryPersistence getTrashEntryPersistence() {
742 return trashEntryPersistence;
743 }
744
745
750 public void setTrashEntryPersistence(
751 TrashEntryPersistence trashEntryPersistence) {
752 this.trashEntryPersistence = trashEntryPersistence;
753 }
754
755 public void afterPropertiesSet() {
756 }
757
758 public void destroy() {
759 }
760
761
766 public String getBeanIdentifier() {
767 return _beanIdentifier;
768 }
769
770
775 public void setBeanIdentifier(String beanIdentifier) {
776 _beanIdentifier = beanIdentifier;
777 }
778
779 protected Class<?> getModelClass() {
780 return BookmarksFolder.class;
781 }
782
783 protected String getModelClassName() {
784 return BookmarksFolder.class.getName();
785 }
786
787
792 protected void runSQL(String sql) throws SystemException {
793 try {
794 DataSource dataSource = bookmarksFolderPersistence.getDataSource();
795
796 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
797 sql, new int[0]);
798
799 sqlUpdate.update();
800 }
801 catch (Exception e) {
802 throw new SystemException(e);
803 }
804 }
805
806 @BeanReference(type = BookmarksEntryLocalService.class)
807 protected BookmarksEntryLocalService bookmarksEntryLocalService;
808 @BeanReference(type = BookmarksEntryService.class)
809 protected BookmarksEntryService bookmarksEntryService;
810 @BeanReference(type = BookmarksEntryPersistence.class)
811 protected BookmarksEntryPersistence bookmarksEntryPersistence;
812 @BeanReference(type = BookmarksEntryFinder.class)
813 protected BookmarksEntryFinder bookmarksEntryFinder;
814 @BeanReference(type = BookmarksFolderLocalService.class)
815 protected BookmarksFolderLocalService bookmarksFolderLocalService;
816 @BeanReference(type = BookmarksFolderService.class)
817 protected BookmarksFolderService bookmarksFolderService;
818 @BeanReference(type = BookmarksFolderPersistence.class)
819 protected BookmarksFolderPersistence bookmarksFolderPersistence;
820 @BeanReference(type = BookmarksFolderFinder.class)
821 protected BookmarksFolderFinder bookmarksFolderFinder;
822 @BeanReference(type = CounterLocalService.class)
823 protected CounterLocalService counterLocalService;
824 @BeanReference(type = GroupLocalService.class)
825 protected GroupLocalService groupLocalService;
826 @BeanReference(type = GroupService.class)
827 protected GroupService groupService;
828 @BeanReference(type = GroupPersistence.class)
829 protected GroupPersistence groupPersistence;
830 @BeanReference(type = GroupFinder.class)
831 protected GroupFinder groupFinder;
832 @BeanReference(type = ResourceLocalService.class)
833 protected ResourceLocalService resourceLocalService;
834 @BeanReference(type = SubscriptionLocalService.class)
835 protected SubscriptionLocalService subscriptionLocalService;
836 @BeanReference(type = SubscriptionPersistence.class)
837 protected SubscriptionPersistence subscriptionPersistence;
838 @BeanReference(type = UserLocalService.class)
839 protected UserLocalService userLocalService;
840 @BeanReference(type = UserService.class)
841 protected UserService userService;
842 @BeanReference(type = UserPersistence.class)
843 protected UserPersistence userPersistence;
844 @BeanReference(type = UserFinder.class)
845 protected UserFinder userFinder;
846 @BeanReference(type = AssetEntryLocalService.class)
847 protected AssetEntryLocalService assetEntryLocalService;
848 @BeanReference(type = AssetEntryService.class)
849 protected AssetEntryService assetEntryService;
850 @BeanReference(type = AssetEntryPersistence.class)
851 protected AssetEntryPersistence assetEntryPersistence;
852 @BeanReference(type = AssetEntryFinder.class)
853 protected AssetEntryFinder assetEntryFinder;
854 @BeanReference(type = AssetLinkLocalService.class)
855 protected AssetLinkLocalService assetLinkLocalService;
856 @BeanReference(type = AssetLinkPersistence.class)
857 protected AssetLinkPersistence assetLinkPersistence;
858 @BeanReference(type = AssetLinkFinder.class)
859 protected AssetLinkFinder assetLinkFinder;
860 @BeanReference(type = ExpandoValueLocalService.class)
861 protected ExpandoValueLocalService expandoValueLocalService;
862 @BeanReference(type = ExpandoValueService.class)
863 protected ExpandoValueService expandoValueService;
864 @BeanReference(type = ExpandoValuePersistence.class)
865 protected ExpandoValuePersistence expandoValuePersistence;
866 @BeanReference(type = SocialActivityCounterLocalService.class)
867 protected SocialActivityCounterLocalService socialActivityCounterLocalService;
868 @BeanReference(type = SocialActivityCounterPersistence.class)
869 protected SocialActivityCounterPersistence socialActivityCounterPersistence;
870 @BeanReference(type = SocialActivityCounterFinder.class)
871 protected SocialActivityCounterFinder socialActivityCounterFinder;
872 @BeanReference(type = TrashEntryLocalService.class)
873 protected TrashEntryLocalService trashEntryLocalService;
874 @BeanReference(type = TrashEntryService.class)
875 protected TrashEntryService trashEntryService;
876 @BeanReference(type = TrashEntryPersistence.class)
877 protected TrashEntryPersistence trashEntryPersistence;
878 private String _beanIdentifier;
879 }