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.SocialActivityLocalService;
058 import com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder;
059 import com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence;
060 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
061 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
062 import com.liferay.portlet.trash.service.TrashEntryLocalService;
063 import com.liferay.portlet.trash.service.TrashEntryService;
064 import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
065
066 import javax.sql.DataSource;
067
068
080 public abstract class BookmarksFolderServiceBaseImpl extends BaseServiceImpl
081 implements BookmarksFolderService, IdentifiableBean {
082
087
088
093 public BookmarksEntryLocalService getBookmarksEntryLocalService() {
094 return bookmarksEntryLocalService;
095 }
096
097
102 public void setBookmarksEntryLocalService(
103 BookmarksEntryLocalService bookmarksEntryLocalService) {
104 this.bookmarksEntryLocalService = bookmarksEntryLocalService;
105 }
106
107
112 public BookmarksEntryService getBookmarksEntryService() {
113 return bookmarksEntryService;
114 }
115
116
121 public void setBookmarksEntryService(
122 BookmarksEntryService bookmarksEntryService) {
123 this.bookmarksEntryService = bookmarksEntryService;
124 }
125
126
131 public BookmarksEntryPersistence getBookmarksEntryPersistence() {
132 return bookmarksEntryPersistence;
133 }
134
135
140 public void setBookmarksEntryPersistence(
141 BookmarksEntryPersistence bookmarksEntryPersistence) {
142 this.bookmarksEntryPersistence = bookmarksEntryPersistence;
143 }
144
145
150 public BookmarksEntryFinder getBookmarksEntryFinder() {
151 return bookmarksEntryFinder;
152 }
153
154
159 public void setBookmarksEntryFinder(
160 BookmarksEntryFinder bookmarksEntryFinder) {
161 this.bookmarksEntryFinder = bookmarksEntryFinder;
162 }
163
164
169 public BookmarksFolderLocalService getBookmarksFolderLocalService() {
170 return bookmarksFolderLocalService;
171 }
172
173
178 public void setBookmarksFolderLocalService(
179 BookmarksFolderLocalService bookmarksFolderLocalService) {
180 this.bookmarksFolderLocalService = bookmarksFolderLocalService;
181 }
182
183
188 public BookmarksFolderService getBookmarksFolderService() {
189 return bookmarksFolderService;
190 }
191
192
197 public void setBookmarksFolderService(
198 BookmarksFolderService bookmarksFolderService) {
199 this.bookmarksFolderService = bookmarksFolderService;
200 }
201
202
207 public BookmarksFolderPersistence getBookmarksFolderPersistence() {
208 return bookmarksFolderPersistence;
209 }
210
211
216 public void setBookmarksFolderPersistence(
217 BookmarksFolderPersistence bookmarksFolderPersistence) {
218 this.bookmarksFolderPersistence = bookmarksFolderPersistence;
219 }
220
221
226 public BookmarksFolderFinder getBookmarksFolderFinder() {
227 return bookmarksFolderFinder;
228 }
229
230
235 public void setBookmarksFolderFinder(
236 BookmarksFolderFinder bookmarksFolderFinder) {
237 this.bookmarksFolderFinder = bookmarksFolderFinder;
238 }
239
240
245 public CounterLocalService getCounterLocalService() {
246 return counterLocalService;
247 }
248
249
254 public void setCounterLocalService(CounterLocalService counterLocalService) {
255 this.counterLocalService = counterLocalService;
256 }
257
258
263 public GroupLocalService getGroupLocalService() {
264 return groupLocalService;
265 }
266
267
272 public void setGroupLocalService(GroupLocalService groupLocalService) {
273 this.groupLocalService = groupLocalService;
274 }
275
276
281 public GroupService getGroupService() {
282 return groupService;
283 }
284
285
290 public void setGroupService(GroupService groupService) {
291 this.groupService = groupService;
292 }
293
294
299 public GroupPersistence getGroupPersistence() {
300 return groupPersistence;
301 }
302
303
308 public void setGroupPersistence(GroupPersistence groupPersistence) {
309 this.groupPersistence = groupPersistence;
310 }
311
312
317 public GroupFinder getGroupFinder() {
318 return groupFinder;
319 }
320
321
326 public void setGroupFinder(GroupFinder groupFinder) {
327 this.groupFinder = groupFinder;
328 }
329
330
335 public ResourceLocalService getResourceLocalService() {
336 return resourceLocalService;
337 }
338
339
344 public void setResourceLocalService(
345 ResourceLocalService resourceLocalService) {
346 this.resourceLocalService = resourceLocalService;
347 }
348
349
354 public SubscriptionLocalService getSubscriptionLocalService() {
355 return subscriptionLocalService;
356 }
357
358
363 public void setSubscriptionLocalService(
364 SubscriptionLocalService subscriptionLocalService) {
365 this.subscriptionLocalService = subscriptionLocalService;
366 }
367
368
373 public SubscriptionPersistence getSubscriptionPersistence() {
374 return subscriptionPersistence;
375 }
376
377
382 public void setSubscriptionPersistence(
383 SubscriptionPersistence subscriptionPersistence) {
384 this.subscriptionPersistence = subscriptionPersistence;
385 }
386
387
392 public UserLocalService getUserLocalService() {
393 return userLocalService;
394 }
395
396
401 public void setUserLocalService(UserLocalService userLocalService) {
402 this.userLocalService = userLocalService;
403 }
404
405
410 public UserService getUserService() {
411 return userService;
412 }
413
414
419 public void setUserService(UserService userService) {
420 this.userService = userService;
421 }
422
423
428 public UserPersistence getUserPersistence() {
429 return userPersistence;
430 }
431
432
437 public void setUserPersistence(UserPersistence userPersistence) {
438 this.userPersistence = userPersistence;
439 }
440
441
446 public UserFinder getUserFinder() {
447 return userFinder;
448 }
449
450
455 public void setUserFinder(UserFinder userFinder) {
456 this.userFinder = userFinder;
457 }
458
459
464 public AssetEntryLocalService getAssetEntryLocalService() {
465 return assetEntryLocalService;
466 }
467
468
473 public void setAssetEntryLocalService(
474 AssetEntryLocalService assetEntryLocalService) {
475 this.assetEntryLocalService = assetEntryLocalService;
476 }
477
478
483 public AssetEntryService getAssetEntryService() {
484 return assetEntryService;
485 }
486
487
492 public void setAssetEntryService(AssetEntryService assetEntryService) {
493 this.assetEntryService = assetEntryService;
494 }
495
496
501 public AssetEntryPersistence getAssetEntryPersistence() {
502 return assetEntryPersistence;
503 }
504
505
510 public void setAssetEntryPersistence(
511 AssetEntryPersistence assetEntryPersistence) {
512 this.assetEntryPersistence = assetEntryPersistence;
513 }
514
515
520 public AssetEntryFinder getAssetEntryFinder() {
521 return assetEntryFinder;
522 }
523
524
529 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
530 this.assetEntryFinder = assetEntryFinder;
531 }
532
533
538 public AssetLinkLocalService getAssetLinkLocalService() {
539 return assetLinkLocalService;
540 }
541
542
547 public void setAssetLinkLocalService(
548 AssetLinkLocalService assetLinkLocalService) {
549 this.assetLinkLocalService = assetLinkLocalService;
550 }
551
552
557 public AssetLinkPersistence getAssetLinkPersistence() {
558 return assetLinkPersistence;
559 }
560
561
566 public void setAssetLinkPersistence(
567 AssetLinkPersistence assetLinkPersistence) {
568 this.assetLinkPersistence = assetLinkPersistence;
569 }
570
571
576 public AssetLinkFinder getAssetLinkFinder() {
577 return assetLinkFinder;
578 }
579
580
585 public void setAssetLinkFinder(AssetLinkFinder assetLinkFinder) {
586 this.assetLinkFinder = assetLinkFinder;
587 }
588
589
594 public ExpandoValueLocalService getExpandoValueLocalService() {
595 return expandoValueLocalService;
596 }
597
598
603 public void setExpandoValueLocalService(
604 ExpandoValueLocalService expandoValueLocalService) {
605 this.expandoValueLocalService = expandoValueLocalService;
606 }
607
608
613 public ExpandoValueService getExpandoValueService() {
614 return expandoValueService;
615 }
616
617
622 public void setExpandoValueService(ExpandoValueService expandoValueService) {
623 this.expandoValueService = expandoValueService;
624 }
625
626
631 public ExpandoValuePersistence getExpandoValuePersistence() {
632 return expandoValuePersistence;
633 }
634
635
640 public void setExpandoValuePersistence(
641 ExpandoValuePersistence expandoValuePersistence) {
642 this.expandoValuePersistence = expandoValuePersistence;
643 }
644
645
650 public SocialActivityLocalService getSocialActivityLocalService() {
651 return socialActivityLocalService;
652 }
653
654
659 public void setSocialActivityLocalService(
660 SocialActivityLocalService socialActivityLocalService) {
661 this.socialActivityLocalService = socialActivityLocalService;
662 }
663
664
669 public SocialActivityPersistence getSocialActivityPersistence() {
670 return socialActivityPersistence;
671 }
672
673
678 public void setSocialActivityPersistence(
679 SocialActivityPersistence socialActivityPersistence) {
680 this.socialActivityPersistence = socialActivityPersistence;
681 }
682
683
688 public SocialActivityFinder getSocialActivityFinder() {
689 return socialActivityFinder;
690 }
691
692
697 public void setSocialActivityFinder(
698 SocialActivityFinder socialActivityFinder) {
699 this.socialActivityFinder = socialActivityFinder;
700 }
701
702
707 public SocialActivityCounterLocalService getSocialActivityCounterLocalService() {
708 return socialActivityCounterLocalService;
709 }
710
711
716 public void setSocialActivityCounterLocalService(
717 SocialActivityCounterLocalService socialActivityCounterLocalService) {
718 this.socialActivityCounterLocalService = socialActivityCounterLocalService;
719 }
720
721
726 public SocialActivityCounterPersistence getSocialActivityCounterPersistence() {
727 return socialActivityCounterPersistence;
728 }
729
730
735 public void setSocialActivityCounterPersistence(
736 SocialActivityCounterPersistence socialActivityCounterPersistence) {
737 this.socialActivityCounterPersistence = socialActivityCounterPersistence;
738 }
739
740
745 public SocialActivityCounterFinder getSocialActivityCounterFinder() {
746 return socialActivityCounterFinder;
747 }
748
749
754 public void setSocialActivityCounterFinder(
755 SocialActivityCounterFinder socialActivityCounterFinder) {
756 this.socialActivityCounterFinder = socialActivityCounterFinder;
757 }
758
759
764 public TrashEntryLocalService getTrashEntryLocalService() {
765 return trashEntryLocalService;
766 }
767
768
773 public void setTrashEntryLocalService(
774 TrashEntryLocalService trashEntryLocalService) {
775 this.trashEntryLocalService = trashEntryLocalService;
776 }
777
778
783 public TrashEntryService getTrashEntryService() {
784 return trashEntryService;
785 }
786
787
792 public void setTrashEntryService(TrashEntryService trashEntryService) {
793 this.trashEntryService = trashEntryService;
794 }
795
796
801 public TrashEntryPersistence getTrashEntryPersistence() {
802 return trashEntryPersistence;
803 }
804
805
810 public void setTrashEntryPersistence(
811 TrashEntryPersistence trashEntryPersistence) {
812 this.trashEntryPersistence = trashEntryPersistence;
813 }
814
815 public void afterPropertiesSet() {
816 }
817
818 public void destroy() {
819 }
820
821
826 public String getBeanIdentifier() {
827 return _beanIdentifier;
828 }
829
830
835 public void setBeanIdentifier(String beanIdentifier) {
836 _beanIdentifier = beanIdentifier;
837 }
838
839 protected Class<?> getModelClass() {
840 return BookmarksFolder.class;
841 }
842
843 protected String getModelClassName() {
844 return BookmarksFolder.class.getName();
845 }
846
847
852 protected void runSQL(String sql) throws SystemException {
853 try {
854 DataSource dataSource = bookmarksFolderPersistence.getDataSource();
855
856 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
857 sql, new int[0]);
858
859 sqlUpdate.update();
860 }
861 catch (Exception e) {
862 throw new SystemException(e);
863 }
864 }
865
866 @BeanReference(type = BookmarksEntryLocalService.class)
867 protected BookmarksEntryLocalService bookmarksEntryLocalService;
868 @BeanReference(type = BookmarksEntryService.class)
869 protected BookmarksEntryService bookmarksEntryService;
870 @BeanReference(type = BookmarksEntryPersistence.class)
871 protected BookmarksEntryPersistence bookmarksEntryPersistence;
872 @BeanReference(type = BookmarksEntryFinder.class)
873 protected BookmarksEntryFinder bookmarksEntryFinder;
874 @BeanReference(type = BookmarksFolderLocalService.class)
875 protected BookmarksFolderLocalService bookmarksFolderLocalService;
876 @BeanReference(type = BookmarksFolderService.class)
877 protected BookmarksFolderService bookmarksFolderService;
878 @BeanReference(type = BookmarksFolderPersistence.class)
879 protected BookmarksFolderPersistence bookmarksFolderPersistence;
880 @BeanReference(type = BookmarksFolderFinder.class)
881 protected BookmarksFolderFinder bookmarksFolderFinder;
882 @BeanReference(type = CounterLocalService.class)
883 protected CounterLocalService counterLocalService;
884 @BeanReference(type = GroupLocalService.class)
885 protected GroupLocalService groupLocalService;
886 @BeanReference(type = GroupService.class)
887 protected GroupService groupService;
888 @BeanReference(type = GroupPersistence.class)
889 protected GroupPersistence groupPersistence;
890 @BeanReference(type = GroupFinder.class)
891 protected GroupFinder groupFinder;
892 @BeanReference(type = ResourceLocalService.class)
893 protected ResourceLocalService resourceLocalService;
894 @BeanReference(type = SubscriptionLocalService.class)
895 protected SubscriptionLocalService subscriptionLocalService;
896 @BeanReference(type = SubscriptionPersistence.class)
897 protected SubscriptionPersistence subscriptionPersistence;
898 @BeanReference(type = UserLocalService.class)
899 protected UserLocalService userLocalService;
900 @BeanReference(type = UserService.class)
901 protected UserService userService;
902 @BeanReference(type = UserPersistence.class)
903 protected UserPersistence userPersistence;
904 @BeanReference(type = UserFinder.class)
905 protected UserFinder userFinder;
906 @BeanReference(type = AssetEntryLocalService.class)
907 protected AssetEntryLocalService assetEntryLocalService;
908 @BeanReference(type = AssetEntryService.class)
909 protected AssetEntryService assetEntryService;
910 @BeanReference(type = AssetEntryPersistence.class)
911 protected AssetEntryPersistence assetEntryPersistence;
912 @BeanReference(type = AssetEntryFinder.class)
913 protected AssetEntryFinder assetEntryFinder;
914 @BeanReference(type = AssetLinkLocalService.class)
915 protected AssetLinkLocalService assetLinkLocalService;
916 @BeanReference(type = AssetLinkPersistence.class)
917 protected AssetLinkPersistence assetLinkPersistence;
918 @BeanReference(type = AssetLinkFinder.class)
919 protected AssetLinkFinder assetLinkFinder;
920 @BeanReference(type = ExpandoValueLocalService.class)
921 protected ExpandoValueLocalService expandoValueLocalService;
922 @BeanReference(type = ExpandoValueService.class)
923 protected ExpandoValueService expandoValueService;
924 @BeanReference(type = ExpandoValuePersistence.class)
925 protected ExpandoValuePersistence expandoValuePersistence;
926 @BeanReference(type = SocialActivityLocalService.class)
927 protected SocialActivityLocalService socialActivityLocalService;
928 @BeanReference(type = SocialActivityPersistence.class)
929 protected SocialActivityPersistence socialActivityPersistence;
930 @BeanReference(type = SocialActivityFinder.class)
931 protected SocialActivityFinder socialActivityFinder;
932 @BeanReference(type = SocialActivityCounterLocalService.class)
933 protected SocialActivityCounterLocalService socialActivityCounterLocalService;
934 @BeanReference(type = SocialActivityCounterPersistence.class)
935 protected SocialActivityCounterPersistence socialActivityCounterPersistence;
936 @BeanReference(type = SocialActivityCounterFinder.class)
937 protected SocialActivityCounterFinder socialActivityCounterFinder;
938 @BeanReference(type = TrashEntryLocalService.class)
939 protected TrashEntryLocalService trashEntryLocalService;
940 @BeanReference(type = TrashEntryService.class)
941 protected TrashEntryService trashEntryService;
942 @BeanReference(type = TrashEntryPersistence.class)
943 protected TrashEntryPersistence trashEntryPersistence;
944 private String _beanIdentifier;
945 }