001
014
015 package com.liferay.portlet.bookmarks.service.base;
016
017 import com.liferay.portal.kernel.bean.BeanReference;
018 import com.liferay.portal.kernel.bean.IdentifiableBean;
019 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
020 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
021 import com.liferay.portal.kernel.exception.SystemException;
022 import com.liferay.portal.service.BaseServiceImpl;
023 import com.liferay.portal.service.persistence.GroupFinder;
024 import com.liferay.portal.service.persistence.GroupPersistence;
025 import com.liferay.portal.service.persistence.SubscriptionPersistence;
026 import com.liferay.portal.service.persistence.UserFinder;
027 import com.liferay.portal.service.persistence.UserPersistence;
028
029 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
030 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
031 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
032 import com.liferay.portlet.bookmarks.model.BookmarksFolder;
033 import com.liferay.portlet.bookmarks.service.BookmarksFolderService;
034 import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder;
035 import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence;
036 import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderFinder;
037 import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence;
038 import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
039 import com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder;
040 import com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence;
041 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
042 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
043 import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
044
045 import javax.sql.DataSource;
046
047
059 public abstract class BookmarksFolderServiceBaseImpl extends BaseServiceImpl
060 implements BookmarksFolderService, IdentifiableBean {
061
066
067
072 public com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService getBookmarksEntryLocalService() {
073 return bookmarksEntryLocalService;
074 }
075
076
081 public void setBookmarksEntryLocalService(
082 com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService) {
083 this.bookmarksEntryLocalService = bookmarksEntryLocalService;
084 }
085
086
091 public com.liferay.portlet.bookmarks.service.BookmarksEntryService getBookmarksEntryService() {
092 return bookmarksEntryService;
093 }
094
095
100 public void setBookmarksEntryService(
101 com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService) {
102 this.bookmarksEntryService = bookmarksEntryService;
103 }
104
105
110 public BookmarksEntryPersistence getBookmarksEntryPersistence() {
111 return bookmarksEntryPersistence;
112 }
113
114
119 public void setBookmarksEntryPersistence(
120 BookmarksEntryPersistence bookmarksEntryPersistence) {
121 this.bookmarksEntryPersistence = bookmarksEntryPersistence;
122 }
123
124
129 public BookmarksEntryFinder getBookmarksEntryFinder() {
130 return bookmarksEntryFinder;
131 }
132
133
138 public void setBookmarksEntryFinder(
139 BookmarksEntryFinder bookmarksEntryFinder) {
140 this.bookmarksEntryFinder = bookmarksEntryFinder;
141 }
142
143
148 public com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService getBookmarksFolderLocalService() {
149 return bookmarksFolderLocalService;
150 }
151
152
157 public void setBookmarksFolderLocalService(
158 com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService) {
159 this.bookmarksFolderLocalService = bookmarksFolderLocalService;
160 }
161
162
167 public com.liferay.portlet.bookmarks.service.BookmarksFolderService getBookmarksFolderService() {
168 return bookmarksFolderService;
169 }
170
171
176 public void setBookmarksFolderService(
177 com.liferay.portlet.bookmarks.service.BookmarksFolderService bookmarksFolderService) {
178 this.bookmarksFolderService = bookmarksFolderService;
179 }
180
181
186 public BookmarksFolderPersistence getBookmarksFolderPersistence() {
187 return bookmarksFolderPersistence;
188 }
189
190
195 public void setBookmarksFolderPersistence(
196 BookmarksFolderPersistence bookmarksFolderPersistence) {
197 this.bookmarksFolderPersistence = bookmarksFolderPersistence;
198 }
199
200
205 public BookmarksFolderFinder getBookmarksFolderFinder() {
206 return bookmarksFolderFinder;
207 }
208
209
214 public void setBookmarksFolderFinder(
215 BookmarksFolderFinder bookmarksFolderFinder) {
216 this.bookmarksFolderFinder = bookmarksFolderFinder;
217 }
218
219
224 public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
225 return counterLocalService;
226 }
227
228
233 public void setCounterLocalService(
234 com.liferay.counter.service.CounterLocalService counterLocalService) {
235 this.counterLocalService = counterLocalService;
236 }
237
238
243 public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
244 return groupLocalService;
245 }
246
247
252 public void setGroupLocalService(
253 com.liferay.portal.service.GroupLocalService groupLocalService) {
254 this.groupLocalService = groupLocalService;
255 }
256
257
262 public com.liferay.portal.service.GroupService getGroupService() {
263 return groupService;
264 }
265
266
271 public void setGroupService(
272 com.liferay.portal.service.GroupService groupService) {
273 this.groupService = groupService;
274 }
275
276
281 public GroupPersistence getGroupPersistence() {
282 return groupPersistence;
283 }
284
285
290 public void setGroupPersistence(GroupPersistence groupPersistence) {
291 this.groupPersistence = groupPersistence;
292 }
293
294
299 public GroupFinder getGroupFinder() {
300 return groupFinder;
301 }
302
303
308 public void setGroupFinder(GroupFinder groupFinder) {
309 this.groupFinder = groupFinder;
310 }
311
312
317 public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
318 return resourceLocalService;
319 }
320
321
326 public void setResourceLocalService(
327 com.liferay.portal.service.ResourceLocalService resourceLocalService) {
328 this.resourceLocalService = resourceLocalService;
329 }
330
331
336 public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
337 return subscriptionLocalService;
338 }
339
340
345 public void setSubscriptionLocalService(
346 com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
347 this.subscriptionLocalService = subscriptionLocalService;
348 }
349
350
355 public SubscriptionPersistence getSubscriptionPersistence() {
356 return subscriptionPersistence;
357 }
358
359
364 public void setSubscriptionPersistence(
365 SubscriptionPersistence subscriptionPersistence) {
366 this.subscriptionPersistence = subscriptionPersistence;
367 }
368
369
374 public com.liferay.portal.service.UserLocalService getUserLocalService() {
375 return userLocalService;
376 }
377
378
383 public void setUserLocalService(
384 com.liferay.portal.service.UserLocalService userLocalService) {
385 this.userLocalService = userLocalService;
386 }
387
388
393 public com.liferay.portal.service.UserService getUserService() {
394 return userService;
395 }
396
397
402 public void setUserService(
403 com.liferay.portal.service.UserService userService) {
404 this.userService = userService;
405 }
406
407
412 public UserPersistence getUserPersistence() {
413 return userPersistence;
414 }
415
416
421 public void setUserPersistence(UserPersistence userPersistence) {
422 this.userPersistence = userPersistence;
423 }
424
425
430 public UserFinder getUserFinder() {
431 return userFinder;
432 }
433
434
439 public void setUserFinder(UserFinder userFinder) {
440 this.userFinder = userFinder;
441 }
442
443
448 public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
449 return assetEntryLocalService;
450 }
451
452
457 public void setAssetEntryLocalService(
458 com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
459 this.assetEntryLocalService = assetEntryLocalService;
460 }
461
462
467 public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
468 return assetEntryService;
469 }
470
471
476 public void setAssetEntryService(
477 com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
478 this.assetEntryService = assetEntryService;
479 }
480
481
486 public AssetEntryPersistence getAssetEntryPersistence() {
487 return assetEntryPersistence;
488 }
489
490
495 public void setAssetEntryPersistence(
496 AssetEntryPersistence assetEntryPersistence) {
497 this.assetEntryPersistence = assetEntryPersistence;
498 }
499
500
505 public AssetEntryFinder getAssetEntryFinder() {
506 return assetEntryFinder;
507 }
508
509
514 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
515 this.assetEntryFinder = assetEntryFinder;
516 }
517
518
523 public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
524 return assetLinkLocalService;
525 }
526
527
532 public void setAssetLinkLocalService(
533 com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
534 this.assetLinkLocalService = assetLinkLocalService;
535 }
536
537
542 public AssetLinkPersistence getAssetLinkPersistence() {
543 return assetLinkPersistence;
544 }
545
546
551 public void setAssetLinkPersistence(
552 AssetLinkPersistence assetLinkPersistence) {
553 this.assetLinkPersistence = assetLinkPersistence;
554 }
555
556
561 public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
562 return expandoRowLocalService;
563 }
564
565
570 public void setExpandoRowLocalService(
571 com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
572 this.expandoRowLocalService = expandoRowLocalService;
573 }
574
575
580 public ExpandoRowPersistence getExpandoRowPersistence() {
581 return expandoRowPersistence;
582 }
583
584
589 public void setExpandoRowPersistence(
590 ExpandoRowPersistence expandoRowPersistence) {
591 this.expandoRowPersistence = expandoRowPersistence;
592 }
593
594
599 public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
600 return socialActivityLocalService;
601 }
602
603
608 public void setSocialActivityLocalService(
609 com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
610 this.socialActivityLocalService = socialActivityLocalService;
611 }
612
613
618 public SocialActivityPersistence getSocialActivityPersistence() {
619 return socialActivityPersistence;
620 }
621
622
627 public void setSocialActivityPersistence(
628 SocialActivityPersistence socialActivityPersistence) {
629 this.socialActivityPersistence = socialActivityPersistence;
630 }
631
632
637 public SocialActivityFinder getSocialActivityFinder() {
638 return socialActivityFinder;
639 }
640
641
646 public void setSocialActivityFinder(
647 SocialActivityFinder socialActivityFinder) {
648 this.socialActivityFinder = socialActivityFinder;
649 }
650
651
656 public com.liferay.portlet.social.service.SocialActivityCounterLocalService getSocialActivityCounterLocalService() {
657 return socialActivityCounterLocalService;
658 }
659
660
665 public void setSocialActivityCounterLocalService(
666 com.liferay.portlet.social.service.SocialActivityCounterLocalService socialActivityCounterLocalService) {
667 this.socialActivityCounterLocalService = socialActivityCounterLocalService;
668 }
669
670
675 public SocialActivityCounterPersistence getSocialActivityCounterPersistence() {
676 return socialActivityCounterPersistence;
677 }
678
679
684 public void setSocialActivityCounterPersistence(
685 SocialActivityCounterPersistence socialActivityCounterPersistence) {
686 this.socialActivityCounterPersistence = socialActivityCounterPersistence;
687 }
688
689
694 public SocialActivityCounterFinder getSocialActivityCounterFinder() {
695 return socialActivityCounterFinder;
696 }
697
698
703 public void setSocialActivityCounterFinder(
704 SocialActivityCounterFinder socialActivityCounterFinder) {
705 this.socialActivityCounterFinder = socialActivityCounterFinder;
706 }
707
708
713 public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
714 return trashEntryLocalService;
715 }
716
717
722 public void setTrashEntryLocalService(
723 com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
724 this.trashEntryLocalService = trashEntryLocalService;
725 }
726
727
732 public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
733 return trashEntryService;
734 }
735
736
741 public void setTrashEntryService(
742 com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
743 this.trashEntryService = trashEntryService;
744 }
745
746
751 public TrashEntryPersistence getTrashEntryPersistence() {
752 return trashEntryPersistence;
753 }
754
755
760 public void setTrashEntryPersistence(
761 TrashEntryPersistence trashEntryPersistence) {
762 this.trashEntryPersistence = trashEntryPersistence;
763 }
764
765 public void afterPropertiesSet() {
766 }
767
768 public void destroy() {
769 }
770
771
776 @Override
777 public String getBeanIdentifier() {
778 return _beanIdentifier;
779 }
780
781
786 @Override
787 public void setBeanIdentifier(String beanIdentifier) {
788 _beanIdentifier = beanIdentifier;
789 }
790
791 protected Class<?> getModelClass() {
792 return BookmarksFolder.class;
793 }
794
795 protected String getModelClassName() {
796 return BookmarksFolder.class.getName();
797 }
798
799
804 protected void runSQL(String sql) throws SystemException {
805 try {
806 DataSource dataSource = bookmarksFolderPersistence.getDataSource();
807
808 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
809 sql, new int[0]);
810
811 sqlUpdate.update();
812 }
813 catch (Exception e) {
814 throw new SystemException(e);
815 }
816 }
817
818 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService.class)
819 protected com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService;
820 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksEntryService.class)
821 protected com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService;
822 @BeanReference(type = BookmarksEntryPersistence.class)
823 protected BookmarksEntryPersistence bookmarksEntryPersistence;
824 @BeanReference(type = BookmarksEntryFinder.class)
825 protected BookmarksEntryFinder bookmarksEntryFinder;
826 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService.class)
827 protected com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService;
828 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksFolderService.class)
829 protected com.liferay.portlet.bookmarks.service.BookmarksFolderService bookmarksFolderService;
830 @BeanReference(type = BookmarksFolderPersistence.class)
831 protected BookmarksFolderPersistence bookmarksFolderPersistence;
832 @BeanReference(type = BookmarksFolderFinder.class)
833 protected BookmarksFolderFinder bookmarksFolderFinder;
834 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
835 protected com.liferay.counter.service.CounterLocalService counterLocalService;
836 @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
837 protected com.liferay.portal.service.GroupLocalService groupLocalService;
838 @BeanReference(type = com.liferay.portal.service.GroupService.class)
839 protected com.liferay.portal.service.GroupService groupService;
840 @BeanReference(type = GroupPersistence.class)
841 protected GroupPersistence groupPersistence;
842 @BeanReference(type = GroupFinder.class)
843 protected GroupFinder groupFinder;
844 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
845 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
846 @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
847 protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
848 @BeanReference(type = SubscriptionPersistence.class)
849 protected SubscriptionPersistence subscriptionPersistence;
850 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
851 protected com.liferay.portal.service.UserLocalService userLocalService;
852 @BeanReference(type = com.liferay.portal.service.UserService.class)
853 protected com.liferay.portal.service.UserService userService;
854 @BeanReference(type = UserPersistence.class)
855 protected UserPersistence userPersistence;
856 @BeanReference(type = UserFinder.class)
857 protected UserFinder userFinder;
858 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
859 protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
860 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
861 protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
862 @BeanReference(type = AssetEntryPersistence.class)
863 protected AssetEntryPersistence assetEntryPersistence;
864 @BeanReference(type = AssetEntryFinder.class)
865 protected AssetEntryFinder assetEntryFinder;
866 @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
867 protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
868 @BeanReference(type = AssetLinkPersistence.class)
869 protected AssetLinkPersistence assetLinkPersistence;
870 @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
871 protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
872 @BeanReference(type = ExpandoRowPersistence.class)
873 protected ExpandoRowPersistence expandoRowPersistence;
874 @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
875 protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
876 @BeanReference(type = SocialActivityPersistence.class)
877 protected SocialActivityPersistence socialActivityPersistence;
878 @BeanReference(type = SocialActivityFinder.class)
879 protected SocialActivityFinder socialActivityFinder;
880 @BeanReference(type = com.liferay.portlet.social.service.SocialActivityCounterLocalService.class)
881 protected com.liferay.portlet.social.service.SocialActivityCounterLocalService socialActivityCounterLocalService;
882 @BeanReference(type = SocialActivityCounterPersistence.class)
883 protected SocialActivityCounterPersistence socialActivityCounterPersistence;
884 @BeanReference(type = SocialActivityCounterFinder.class)
885 protected SocialActivityCounterFinder socialActivityCounterFinder;
886 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
887 protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
888 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
889 protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
890 @BeanReference(type = TrashEntryPersistence.class)
891 protected TrashEntryPersistence trashEntryPersistence;
892 private String _beanIdentifier;
893 }