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.SocialActivityFinder;
040 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
041 import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
042 import com.liferay.portlet.trash.service.persistence.TrashVersionPersistence;
043
044 import javax.sql.DataSource;
045
046
058 public abstract class BookmarksFolderServiceBaseImpl extends BaseServiceImpl
059 implements BookmarksFolderService, IdentifiableBean {
060
065
066
071 public com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService getBookmarksEntryLocalService() {
072 return bookmarksEntryLocalService;
073 }
074
075
080 public void setBookmarksEntryLocalService(
081 com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService) {
082 this.bookmarksEntryLocalService = bookmarksEntryLocalService;
083 }
084
085
090 public com.liferay.portlet.bookmarks.service.BookmarksEntryService getBookmarksEntryService() {
091 return bookmarksEntryService;
092 }
093
094
099 public void setBookmarksEntryService(
100 com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService) {
101 this.bookmarksEntryService = bookmarksEntryService;
102 }
103
104
109 public BookmarksEntryPersistence getBookmarksEntryPersistence() {
110 return bookmarksEntryPersistence;
111 }
112
113
118 public void setBookmarksEntryPersistence(
119 BookmarksEntryPersistence bookmarksEntryPersistence) {
120 this.bookmarksEntryPersistence = bookmarksEntryPersistence;
121 }
122
123
128 public BookmarksEntryFinder getBookmarksEntryFinder() {
129 return bookmarksEntryFinder;
130 }
131
132
137 public void setBookmarksEntryFinder(
138 BookmarksEntryFinder bookmarksEntryFinder) {
139 this.bookmarksEntryFinder = bookmarksEntryFinder;
140 }
141
142
147 public com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService getBookmarksFolderLocalService() {
148 return bookmarksFolderLocalService;
149 }
150
151
156 public void setBookmarksFolderLocalService(
157 com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService) {
158 this.bookmarksFolderLocalService = bookmarksFolderLocalService;
159 }
160
161
166 public com.liferay.portlet.bookmarks.service.BookmarksFolderService getBookmarksFolderService() {
167 return bookmarksFolderService;
168 }
169
170
175 public void setBookmarksFolderService(
176 com.liferay.portlet.bookmarks.service.BookmarksFolderService bookmarksFolderService) {
177 this.bookmarksFolderService = bookmarksFolderService;
178 }
179
180
185 public BookmarksFolderPersistence getBookmarksFolderPersistence() {
186 return bookmarksFolderPersistence;
187 }
188
189
194 public void setBookmarksFolderPersistence(
195 BookmarksFolderPersistence bookmarksFolderPersistence) {
196 this.bookmarksFolderPersistence = bookmarksFolderPersistence;
197 }
198
199
204 public BookmarksFolderFinder getBookmarksFolderFinder() {
205 return bookmarksFolderFinder;
206 }
207
208
213 public void setBookmarksFolderFinder(
214 BookmarksFolderFinder bookmarksFolderFinder) {
215 this.bookmarksFolderFinder = bookmarksFolderFinder;
216 }
217
218
223 public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
224 return counterLocalService;
225 }
226
227
232 public void setCounterLocalService(
233 com.liferay.counter.service.CounterLocalService counterLocalService) {
234 this.counterLocalService = counterLocalService;
235 }
236
237
242 public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
243 return groupLocalService;
244 }
245
246
251 public void setGroupLocalService(
252 com.liferay.portal.service.GroupLocalService groupLocalService) {
253 this.groupLocalService = groupLocalService;
254 }
255
256
261 public com.liferay.portal.service.GroupService getGroupService() {
262 return groupService;
263 }
264
265
270 public void setGroupService(
271 com.liferay.portal.service.GroupService groupService) {
272 this.groupService = groupService;
273 }
274
275
280 public GroupPersistence getGroupPersistence() {
281 return groupPersistence;
282 }
283
284
289 public void setGroupPersistence(GroupPersistence groupPersistence) {
290 this.groupPersistence = groupPersistence;
291 }
292
293
298 public GroupFinder getGroupFinder() {
299 return groupFinder;
300 }
301
302
307 public void setGroupFinder(GroupFinder groupFinder) {
308 this.groupFinder = groupFinder;
309 }
310
311
316 public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
317 return resourceLocalService;
318 }
319
320
325 public void setResourceLocalService(
326 com.liferay.portal.service.ResourceLocalService resourceLocalService) {
327 this.resourceLocalService = resourceLocalService;
328 }
329
330
335 public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
336 return subscriptionLocalService;
337 }
338
339
344 public void setSubscriptionLocalService(
345 com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
346 this.subscriptionLocalService = subscriptionLocalService;
347 }
348
349
354 public SubscriptionPersistence getSubscriptionPersistence() {
355 return subscriptionPersistence;
356 }
357
358
363 public void setSubscriptionPersistence(
364 SubscriptionPersistence subscriptionPersistence) {
365 this.subscriptionPersistence = subscriptionPersistence;
366 }
367
368
373 public com.liferay.portal.service.UserLocalService getUserLocalService() {
374 return userLocalService;
375 }
376
377
382 public void setUserLocalService(
383 com.liferay.portal.service.UserLocalService userLocalService) {
384 this.userLocalService = userLocalService;
385 }
386
387
392 public com.liferay.portal.service.UserService getUserService() {
393 return userService;
394 }
395
396
401 public void setUserService(
402 com.liferay.portal.service.UserService userService) {
403 this.userService = userService;
404 }
405
406
411 public UserPersistence getUserPersistence() {
412 return userPersistence;
413 }
414
415
420 public void setUserPersistence(UserPersistence userPersistence) {
421 this.userPersistence = userPersistence;
422 }
423
424
429 public UserFinder getUserFinder() {
430 return userFinder;
431 }
432
433
438 public void setUserFinder(UserFinder userFinder) {
439 this.userFinder = userFinder;
440 }
441
442
447 public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
448 return assetEntryLocalService;
449 }
450
451
456 public void setAssetEntryLocalService(
457 com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
458 this.assetEntryLocalService = assetEntryLocalService;
459 }
460
461
466 public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
467 return assetEntryService;
468 }
469
470
475 public void setAssetEntryService(
476 com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
477 this.assetEntryService = assetEntryService;
478 }
479
480
485 public AssetEntryPersistence getAssetEntryPersistence() {
486 return assetEntryPersistence;
487 }
488
489
494 public void setAssetEntryPersistence(
495 AssetEntryPersistence assetEntryPersistence) {
496 this.assetEntryPersistence = assetEntryPersistence;
497 }
498
499
504 public AssetEntryFinder getAssetEntryFinder() {
505 return assetEntryFinder;
506 }
507
508
513 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
514 this.assetEntryFinder = assetEntryFinder;
515 }
516
517
522 public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
523 return assetLinkLocalService;
524 }
525
526
531 public void setAssetLinkLocalService(
532 com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
533 this.assetLinkLocalService = assetLinkLocalService;
534 }
535
536
541 public AssetLinkPersistence getAssetLinkPersistence() {
542 return assetLinkPersistence;
543 }
544
545
550 public void setAssetLinkPersistence(
551 AssetLinkPersistence assetLinkPersistence) {
552 this.assetLinkPersistence = assetLinkPersistence;
553 }
554
555
560 public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
561 return expandoRowLocalService;
562 }
563
564
569 public void setExpandoRowLocalService(
570 com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
571 this.expandoRowLocalService = expandoRowLocalService;
572 }
573
574
579 public ExpandoRowPersistence getExpandoRowPersistence() {
580 return expandoRowPersistence;
581 }
582
583
588 public void setExpandoRowPersistence(
589 ExpandoRowPersistence expandoRowPersistence) {
590 this.expandoRowPersistence = expandoRowPersistence;
591 }
592
593
598 public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
599 return socialActivityLocalService;
600 }
601
602
607 public void setSocialActivityLocalService(
608 com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
609 this.socialActivityLocalService = socialActivityLocalService;
610 }
611
612
617 public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
618 return socialActivityService;
619 }
620
621
626 public void setSocialActivityService(
627 com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
628 this.socialActivityService = socialActivityService;
629 }
630
631
636 public SocialActivityPersistence getSocialActivityPersistence() {
637 return socialActivityPersistence;
638 }
639
640
645 public void setSocialActivityPersistence(
646 SocialActivityPersistence socialActivityPersistence) {
647 this.socialActivityPersistence = socialActivityPersistence;
648 }
649
650
655 public SocialActivityFinder getSocialActivityFinder() {
656 return socialActivityFinder;
657 }
658
659
664 public void setSocialActivityFinder(
665 SocialActivityFinder socialActivityFinder) {
666 this.socialActivityFinder = socialActivityFinder;
667 }
668
669
674 public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
675 return trashEntryLocalService;
676 }
677
678
683 public void setTrashEntryLocalService(
684 com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
685 this.trashEntryLocalService = trashEntryLocalService;
686 }
687
688
693 public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
694 return trashEntryService;
695 }
696
697
702 public void setTrashEntryService(
703 com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
704 this.trashEntryService = trashEntryService;
705 }
706
707
712 public TrashEntryPersistence getTrashEntryPersistence() {
713 return trashEntryPersistence;
714 }
715
716
721 public void setTrashEntryPersistence(
722 TrashEntryPersistence trashEntryPersistence) {
723 this.trashEntryPersistence = trashEntryPersistence;
724 }
725
726
731 public com.liferay.portlet.trash.service.TrashVersionLocalService getTrashVersionLocalService() {
732 return trashVersionLocalService;
733 }
734
735
740 public void setTrashVersionLocalService(
741 com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService) {
742 this.trashVersionLocalService = trashVersionLocalService;
743 }
744
745
750 public TrashVersionPersistence getTrashVersionPersistence() {
751 return trashVersionPersistence;
752 }
753
754
759 public void setTrashVersionPersistence(
760 TrashVersionPersistence trashVersionPersistence) {
761 this.trashVersionPersistence = trashVersionPersistence;
762 }
763
764 public void afterPropertiesSet() {
765 }
766
767 public void destroy() {
768 }
769
770
775 @Override
776 public String getBeanIdentifier() {
777 return _beanIdentifier;
778 }
779
780
785 @Override
786 public void setBeanIdentifier(String beanIdentifier) {
787 _beanIdentifier = beanIdentifier;
788 }
789
790 protected Class<?> getModelClass() {
791 return BookmarksFolder.class;
792 }
793
794 protected String getModelClassName() {
795 return BookmarksFolder.class.getName();
796 }
797
798
803 protected void runSQL(String sql) throws SystemException {
804 try {
805 DataSource dataSource = bookmarksFolderPersistence.getDataSource();
806
807 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
808 sql, new int[0]);
809
810 sqlUpdate.update();
811 }
812 catch (Exception e) {
813 throw new SystemException(e);
814 }
815 }
816
817 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService.class)
818 protected com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService;
819 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksEntryService.class)
820 protected com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService;
821 @BeanReference(type = BookmarksEntryPersistence.class)
822 protected BookmarksEntryPersistence bookmarksEntryPersistence;
823 @BeanReference(type = BookmarksEntryFinder.class)
824 protected BookmarksEntryFinder bookmarksEntryFinder;
825 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService.class)
826 protected com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService;
827 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksFolderService.class)
828 protected com.liferay.portlet.bookmarks.service.BookmarksFolderService bookmarksFolderService;
829 @BeanReference(type = BookmarksFolderPersistence.class)
830 protected BookmarksFolderPersistence bookmarksFolderPersistence;
831 @BeanReference(type = BookmarksFolderFinder.class)
832 protected BookmarksFolderFinder bookmarksFolderFinder;
833 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
834 protected com.liferay.counter.service.CounterLocalService counterLocalService;
835 @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
836 protected com.liferay.portal.service.GroupLocalService groupLocalService;
837 @BeanReference(type = com.liferay.portal.service.GroupService.class)
838 protected com.liferay.portal.service.GroupService groupService;
839 @BeanReference(type = GroupPersistence.class)
840 protected GroupPersistence groupPersistence;
841 @BeanReference(type = GroupFinder.class)
842 protected GroupFinder groupFinder;
843 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
844 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
845 @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
846 protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
847 @BeanReference(type = SubscriptionPersistence.class)
848 protected SubscriptionPersistence subscriptionPersistence;
849 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
850 protected com.liferay.portal.service.UserLocalService userLocalService;
851 @BeanReference(type = com.liferay.portal.service.UserService.class)
852 protected com.liferay.portal.service.UserService userService;
853 @BeanReference(type = UserPersistence.class)
854 protected UserPersistence userPersistence;
855 @BeanReference(type = UserFinder.class)
856 protected UserFinder userFinder;
857 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
858 protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
859 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
860 protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
861 @BeanReference(type = AssetEntryPersistence.class)
862 protected AssetEntryPersistence assetEntryPersistence;
863 @BeanReference(type = AssetEntryFinder.class)
864 protected AssetEntryFinder assetEntryFinder;
865 @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
866 protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
867 @BeanReference(type = AssetLinkPersistence.class)
868 protected AssetLinkPersistence assetLinkPersistence;
869 @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
870 protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
871 @BeanReference(type = ExpandoRowPersistence.class)
872 protected ExpandoRowPersistence expandoRowPersistence;
873 @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
874 protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
875 @BeanReference(type = com.liferay.portlet.social.service.SocialActivityService.class)
876 protected com.liferay.portlet.social.service.SocialActivityService socialActivityService;
877 @BeanReference(type = SocialActivityPersistence.class)
878 protected SocialActivityPersistence socialActivityPersistence;
879 @BeanReference(type = SocialActivityFinder.class)
880 protected SocialActivityFinder socialActivityFinder;
881 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
882 protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
883 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
884 protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
885 @BeanReference(type = TrashEntryPersistence.class)
886 protected TrashEntryPersistence trashEntryPersistence;
887 @BeanReference(type = com.liferay.portlet.trash.service.TrashVersionLocalService.class)
888 protected com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService;
889 @BeanReference(type = TrashVersionPersistence.class)
890 protected TrashVersionPersistence trashVersionPersistence;
891 private String _beanIdentifier;
892 }