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.PortletPreferencesFinder;
026 import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
027 import com.liferay.portal.service.persistence.SubscriptionPersistence;
028 import com.liferay.portal.service.persistence.UserFinder;
029 import com.liferay.portal.service.persistence.UserPersistence;
030
031 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
032 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
033 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
034 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
035 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
036 import com.liferay.portlet.bookmarks.model.BookmarksEntry;
037 import com.liferay.portlet.bookmarks.service.BookmarksEntryService;
038 import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder;
039 import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence;
040 import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderFinder;
041 import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence;
042 import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
043 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
044 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
045 import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
046 import com.liferay.portlet.trash.service.persistence.TrashVersionPersistence;
047
048 import javax.sql.DataSource;
049
050
062 public abstract class BookmarksEntryServiceBaseImpl extends BaseServiceImpl
063 implements BookmarksEntryService, IdentifiableBean {
064
069
070
075 public com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService getBookmarksEntryLocalService() {
076 return bookmarksEntryLocalService;
077 }
078
079
084 public void setBookmarksEntryLocalService(
085 com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService) {
086 this.bookmarksEntryLocalService = bookmarksEntryLocalService;
087 }
088
089
094 public com.liferay.portlet.bookmarks.service.BookmarksEntryService getBookmarksEntryService() {
095 return bookmarksEntryService;
096 }
097
098
103 public void setBookmarksEntryService(
104 com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService) {
105 this.bookmarksEntryService = bookmarksEntryService;
106 }
107
108
113 public BookmarksEntryPersistence getBookmarksEntryPersistence() {
114 return bookmarksEntryPersistence;
115 }
116
117
122 public void setBookmarksEntryPersistence(
123 BookmarksEntryPersistence bookmarksEntryPersistence) {
124 this.bookmarksEntryPersistence = bookmarksEntryPersistence;
125 }
126
127
132 public BookmarksEntryFinder getBookmarksEntryFinder() {
133 return bookmarksEntryFinder;
134 }
135
136
141 public void setBookmarksEntryFinder(
142 BookmarksEntryFinder bookmarksEntryFinder) {
143 this.bookmarksEntryFinder = bookmarksEntryFinder;
144 }
145
146
151 public com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService getBookmarksFolderLocalService() {
152 return bookmarksFolderLocalService;
153 }
154
155
160 public void setBookmarksFolderLocalService(
161 com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService) {
162 this.bookmarksFolderLocalService = bookmarksFolderLocalService;
163 }
164
165
170 public com.liferay.portlet.bookmarks.service.BookmarksFolderService getBookmarksFolderService() {
171 return bookmarksFolderService;
172 }
173
174
179 public void setBookmarksFolderService(
180 com.liferay.portlet.bookmarks.service.BookmarksFolderService bookmarksFolderService) {
181 this.bookmarksFolderService = bookmarksFolderService;
182 }
183
184
189 public BookmarksFolderPersistence getBookmarksFolderPersistence() {
190 return bookmarksFolderPersistence;
191 }
192
193
198 public void setBookmarksFolderPersistence(
199 BookmarksFolderPersistence bookmarksFolderPersistence) {
200 this.bookmarksFolderPersistence = bookmarksFolderPersistence;
201 }
202
203
208 public BookmarksFolderFinder getBookmarksFolderFinder() {
209 return bookmarksFolderFinder;
210 }
211
212
217 public void setBookmarksFolderFinder(
218 BookmarksFolderFinder bookmarksFolderFinder) {
219 this.bookmarksFolderFinder = bookmarksFolderFinder;
220 }
221
222
227 public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
228 return counterLocalService;
229 }
230
231
236 public void setCounterLocalService(
237 com.liferay.counter.service.CounterLocalService counterLocalService) {
238 this.counterLocalService = counterLocalService;
239 }
240
241
246 public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
247 return groupLocalService;
248 }
249
250
255 public void setGroupLocalService(
256 com.liferay.portal.service.GroupLocalService groupLocalService) {
257 this.groupLocalService = groupLocalService;
258 }
259
260
265 public com.liferay.portal.service.GroupService getGroupService() {
266 return groupService;
267 }
268
269
274 public void setGroupService(
275 com.liferay.portal.service.GroupService groupService) {
276 this.groupService = groupService;
277 }
278
279
284 public GroupPersistence getGroupPersistence() {
285 return groupPersistence;
286 }
287
288
293 public void setGroupPersistence(GroupPersistence groupPersistence) {
294 this.groupPersistence = groupPersistence;
295 }
296
297
302 public GroupFinder getGroupFinder() {
303 return groupFinder;
304 }
305
306
311 public void setGroupFinder(GroupFinder groupFinder) {
312 this.groupFinder = groupFinder;
313 }
314
315
320 public com.liferay.portal.service.PortletPreferencesLocalService getPortletPreferencesLocalService() {
321 return portletPreferencesLocalService;
322 }
323
324
329 public void setPortletPreferencesLocalService(
330 com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService) {
331 this.portletPreferencesLocalService = portletPreferencesLocalService;
332 }
333
334
339 public com.liferay.portal.service.PortletPreferencesService getPortletPreferencesService() {
340 return portletPreferencesService;
341 }
342
343
348 public void setPortletPreferencesService(
349 com.liferay.portal.service.PortletPreferencesService portletPreferencesService) {
350 this.portletPreferencesService = portletPreferencesService;
351 }
352
353
358 public PortletPreferencesPersistence getPortletPreferencesPersistence() {
359 return portletPreferencesPersistence;
360 }
361
362
367 public void setPortletPreferencesPersistence(
368 PortletPreferencesPersistence portletPreferencesPersistence) {
369 this.portletPreferencesPersistence = portletPreferencesPersistence;
370 }
371
372
377 public PortletPreferencesFinder getPortletPreferencesFinder() {
378 return portletPreferencesFinder;
379 }
380
381
386 public void setPortletPreferencesFinder(
387 PortletPreferencesFinder portletPreferencesFinder) {
388 this.portletPreferencesFinder = portletPreferencesFinder;
389 }
390
391
396 public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
397 return resourceLocalService;
398 }
399
400
405 public void setResourceLocalService(
406 com.liferay.portal.service.ResourceLocalService resourceLocalService) {
407 this.resourceLocalService = resourceLocalService;
408 }
409
410
415 public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
416 return subscriptionLocalService;
417 }
418
419
424 public void setSubscriptionLocalService(
425 com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
426 this.subscriptionLocalService = subscriptionLocalService;
427 }
428
429
434 public SubscriptionPersistence getSubscriptionPersistence() {
435 return subscriptionPersistence;
436 }
437
438
443 public void setSubscriptionPersistence(
444 SubscriptionPersistence subscriptionPersistence) {
445 this.subscriptionPersistence = subscriptionPersistence;
446 }
447
448
453 public com.liferay.portal.service.UserLocalService getUserLocalService() {
454 return userLocalService;
455 }
456
457
462 public void setUserLocalService(
463 com.liferay.portal.service.UserLocalService userLocalService) {
464 this.userLocalService = userLocalService;
465 }
466
467
472 public com.liferay.portal.service.UserService getUserService() {
473 return userService;
474 }
475
476
481 public void setUserService(
482 com.liferay.portal.service.UserService userService) {
483 this.userService = userService;
484 }
485
486
491 public UserPersistence getUserPersistence() {
492 return userPersistence;
493 }
494
495
500 public void setUserPersistence(UserPersistence userPersistence) {
501 this.userPersistence = userPersistence;
502 }
503
504
509 public UserFinder getUserFinder() {
510 return userFinder;
511 }
512
513
518 public void setUserFinder(UserFinder userFinder) {
519 this.userFinder = userFinder;
520 }
521
522
527 public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
528 return assetEntryLocalService;
529 }
530
531
536 public void setAssetEntryLocalService(
537 com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
538 this.assetEntryLocalService = assetEntryLocalService;
539 }
540
541
546 public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
547 return assetEntryService;
548 }
549
550
555 public void setAssetEntryService(
556 com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
557 this.assetEntryService = assetEntryService;
558 }
559
560
565 public AssetEntryPersistence getAssetEntryPersistence() {
566 return assetEntryPersistence;
567 }
568
569
574 public void setAssetEntryPersistence(
575 AssetEntryPersistence assetEntryPersistence) {
576 this.assetEntryPersistence = assetEntryPersistence;
577 }
578
579
584 public AssetEntryFinder getAssetEntryFinder() {
585 return assetEntryFinder;
586 }
587
588
593 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
594 this.assetEntryFinder = assetEntryFinder;
595 }
596
597
602 public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
603 return assetLinkLocalService;
604 }
605
606
611 public void setAssetLinkLocalService(
612 com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
613 this.assetLinkLocalService = assetLinkLocalService;
614 }
615
616
621 public AssetLinkPersistence getAssetLinkPersistence() {
622 return assetLinkPersistence;
623 }
624
625
630 public void setAssetLinkPersistence(
631 AssetLinkPersistence assetLinkPersistence) {
632 this.assetLinkPersistence = assetLinkPersistence;
633 }
634
635
640 public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
641 return assetTagLocalService;
642 }
643
644
649 public void setAssetTagLocalService(
650 com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
651 this.assetTagLocalService = assetTagLocalService;
652 }
653
654
659 public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
660 return assetTagService;
661 }
662
663
668 public void setAssetTagService(
669 com.liferay.portlet.asset.service.AssetTagService assetTagService) {
670 this.assetTagService = assetTagService;
671 }
672
673
678 public AssetTagPersistence getAssetTagPersistence() {
679 return assetTagPersistence;
680 }
681
682
687 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
688 this.assetTagPersistence = assetTagPersistence;
689 }
690
691
696 public AssetTagFinder getAssetTagFinder() {
697 return assetTagFinder;
698 }
699
700
705 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
706 this.assetTagFinder = assetTagFinder;
707 }
708
709
714 public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
715 return expandoRowLocalService;
716 }
717
718
723 public void setExpandoRowLocalService(
724 com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
725 this.expandoRowLocalService = expandoRowLocalService;
726 }
727
728
733 public ExpandoRowPersistence getExpandoRowPersistence() {
734 return expandoRowPersistence;
735 }
736
737
742 public void setExpandoRowPersistence(
743 ExpandoRowPersistence expandoRowPersistence) {
744 this.expandoRowPersistence = expandoRowPersistence;
745 }
746
747
752 public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
753 return socialActivityLocalService;
754 }
755
756
761 public void setSocialActivityLocalService(
762 com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
763 this.socialActivityLocalService = socialActivityLocalService;
764 }
765
766
771 public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
772 return socialActivityService;
773 }
774
775
780 public void setSocialActivityService(
781 com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
782 this.socialActivityService = socialActivityService;
783 }
784
785
790 public SocialActivityPersistence getSocialActivityPersistence() {
791 return socialActivityPersistence;
792 }
793
794
799 public void setSocialActivityPersistence(
800 SocialActivityPersistence socialActivityPersistence) {
801 this.socialActivityPersistence = socialActivityPersistence;
802 }
803
804
809 public SocialActivityFinder getSocialActivityFinder() {
810 return socialActivityFinder;
811 }
812
813
818 public void setSocialActivityFinder(
819 SocialActivityFinder socialActivityFinder) {
820 this.socialActivityFinder = socialActivityFinder;
821 }
822
823
828 public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
829 return trashEntryLocalService;
830 }
831
832
837 public void setTrashEntryLocalService(
838 com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
839 this.trashEntryLocalService = trashEntryLocalService;
840 }
841
842
847 public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
848 return trashEntryService;
849 }
850
851
856 public void setTrashEntryService(
857 com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
858 this.trashEntryService = trashEntryService;
859 }
860
861
866 public TrashEntryPersistence getTrashEntryPersistence() {
867 return trashEntryPersistence;
868 }
869
870
875 public void setTrashEntryPersistence(
876 TrashEntryPersistence trashEntryPersistence) {
877 this.trashEntryPersistence = trashEntryPersistence;
878 }
879
880
885 public com.liferay.portlet.trash.service.TrashVersionLocalService getTrashVersionLocalService() {
886 return trashVersionLocalService;
887 }
888
889
894 public void setTrashVersionLocalService(
895 com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService) {
896 this.trashVersionLocalService = trashVersionLocalService;
897 }
898
899
904 public TrashVersionPersistence getTrashVersionPersistence() {
905 return trashVersionPersistence;
906 }
907
908
913 public void setTrashVersionPersistence(
914 TrashVersionPersistence trashVersionPersistence) {
915 this.trashVersionPersistence = trashVersionPersistence;
916 }
917
918 public void afterPropertiesSet() {
919 }
920
921 public void destroy() {
922 }
923
924
929 @Override
930 public String getBeanIdentifier() {
931 return _beanIdentifier;
932 }
933
934
939 @Override
940 public void setBeanIdentifier(String beanIdentifier) {
941 _beanIdentifier = beanIdentifier;
942 }
943
944 protected Class<?> getModelClass() {
945 return BookmarksEntry.class;
946 }
947
948 protected String getModelClassName() {
949 return BookmarksEntry.class.getName();
950 }
951
952
957 protected void runSQL(String sql) throws SystemException {
958 try {
959 DataSource dataSource = bookmarksEntryPersistence.getDataSource();
960
961 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
962 sql, new int[0]);
963
964 sqlUpdate.update();
965 }
966 catch (Exception e) {
967 throw new SystemException(e);
968 }
969 }
970
971 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService.class)
972 protected com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService;
973 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksEntryService.class)
974 protected com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService;
975 @BeanReference(type = BookmarksEntryPersistence.class)
976 protected BookmarksEntryPersistence bookmarksEntryPersistence;
977 @BeanReference(type = BookmarksEntryFinder.class)
978 protected BookmarksEntryFinder bookmarksEntryFinder;
979 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService.class)
980 protected com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService;
981 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksFolderService.class)
982 protected com.liferay.portlet.bookmarks.service.BookmarksFolderService bookmarksFolderService;
983 @BeanReference(type = BookmarksFolderPersistence.class)
984 protected BookmarksFolderPersistence bookmarksFolderPersistence;
985 @BeanReference(type = BookmarksFolderFinder.class)
986 protected BookmarksFolderFinder bookmarksFolderFinder;
987 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
988 protected com.liferay.counter.service.CounterLocalService counterLocalService;
989 @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
990 protected com.liferay.portal.service.GroupLocalService groupLocalService;
991 @BeanReference(type = com.liferay.portal.service.GroupService.class)
992 protected com.liferay.portal.service.GroupService groupService;
993 @BeanReference(type = GroupPersistence.class)
994 protected GroupPersistence groupPersistence;
995 @BeanReference(type = GroupFinder.class)
996 protected GroupFinder groupFinder;
997 @BeanReference(type = com.liferay.portal.service.PortletPreferencesLocalService.class)
998 protected com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService;
999 @BeanReference(type = com.liferay.portal.service.PortletPreferencesService.class)
1000 protected com.liferay.portal.service.PortletPreferencesService portletPreferencesService;
1001 @BeanReference(type = PortletPreferencesPersistence.class)
1002 protected PortletPreferencesPersistence portletPreferencesPersistence;
1003 @BeanReference(type = PortletPreferencesFinder.class)
1004 protected PortletPreferencesFinder portletPreferencesFinder;
1005 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1006 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1007 @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
1008 protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
1009 @BeanReference(type = SubscriptionPersistence.class)
1010 protected SubscriptionPersistence subscriptionPersistence;
1011 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1012 protected com.liferay.portal.service.UserLocalService userLocalService;
1013 @BeanReference(type = com.liferay.portal.service.UserService.class)
1014 protected com.liferay.portal.service.UserService userService;
1015 @BeanReference(type = UserPersistence.class)
1016 protected UserPersistence userPersistence;
1017 @BeanReference(type = UserFinder.class)
1018 protected UserFinder userFinder;
1019 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1020 protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1021 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1022 protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1023 @BeanReference(type = AssetEntryPersistence.class)
1024 protected AssetEntryPersistence assetEntryPersistence;
1025 @BeanReference(type = AssetEntryFinder.class)
1026 protected AssetEntryFinder assetEntryFinder;
1027 @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
1028 protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
1029 @BeanReference(type = AssetLinkPersistence.class)
1030 protected AssetLinkPersistence assetLinkPersistence;
1031 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
1032 protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
1033 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
1034 protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
1035 @BeanReference(type = AssetTagPersistence.class)
1036 protected AssetTagPersistence assetTagPersistence;
1037 @BeanReference(type = AssetTagFinder.class)
1038 protected AssetTagFinder assetTagFinder;
1039 @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
1040 protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
1041 @BeanReference(type = ExpandoRowPersistence.class)
1042 protected ExpandoRowPersistence expandoRowPersistence;
1043 @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
1044 protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
1045 @BeanReference(type = com.liferay.portlet.social.service.SocialActivityService.class)
1046 protected com.liferay.portlet.social.service.SocialActivityService socialActivityService;
1047 @BeanReference(type = SocialActivityPersistence.class)
1048 protected SocialActivityPersistence socialActivityPersistence;
1049 @BeanReference(type = SocialActivityFinder.class)
1050 protected SocialActivityFinder socialActivityFinder;
1051 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
1052 protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
1053 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
1054 protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
1055 @BeanReference(type = TrashEntryPersistence.class)
1056 protected TrashEntryPersistence trashEntryPersistence;
1057 @BeanReference(type = com.liferay.portlet.trash.service.TrashVersionLocalService.class)
1058 protected com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService;
1059 @BeanReference(type = TrashVersionPersistence.class)
1060 protected TrashVersionPersistence trashVersionPersistence;
1061 private String _beanIdentifier;
1062 }