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 SocialActivityPersistence getSocialActivityPersistence() {
772 return socialActivityPersistence;
773 }
774
775
780 public void setSocialActivityPersistence(
781 SocialActivityPersistence socialActivityPersistence) {
782 this.socialActivityPersistence = socialActivityPersistence;
783 }
784
785
790 public SocialActivityFinder getSocialActivityFinder() {
791 return socialActivityFinder;
792 }
793
794
799 public void setSocialActivityFinder(
800 SocialActivityFinder socialActivityFinder) {
801 this.socialActivityFinder = socialActivityFinder;
802 }
803
804
809 public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
810 return trashEntryLocalService;
811 }
812
813
818 public void setTrashEntryLocalService(
819 com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
820 this.trashEntryLocalService = trashEntryLocalService;
821 }
822
823
828 public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
829 return trashEntryService;
830 }
831
832
837 public void setTrashEntryService(
838 com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
839 this.trashEntryService = trashEntryService;
840 }
841
842
847 public TrashEntryPersistence getTrashEntryPersistence() {
848 return trashEntryPersistence;
849 }
850
851
856 public void setTrashEntryPersistence(
857 TrashEntryPersistence trashEntryPersistence) {
858 this.trashEntryPersistence = trashEntryPersistence;
859 }
860
861
866 public com.liferay.portlet.trash.service.TrashVersionLocalService getTrashVersionLocalService() {
867 return trashVersionLocalService;
868 }
869
870
875 public void setTrashVersionLocalService(
876 com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService) {
877 this.trashVersionLocalService = trashVersionLocalService;
878 }
879
880
885 public TrashVersionPersistence getTrashVersionPersistence() {
886 return trashVersionPersistence;
887 }
888
889
894 public void setTrashVersionPersistence(
895 TrashVersionPersistence trashVersionPersistence) {
896 this.trashVersionPersistence = trashVersionPersistence;
897 }
898
899 public void afterPropertiesSet() {
900 }
901
902 public void destroy() {
903 }
904
905
910 @Override
911 public String getBeanIdentifier() {
912 return _beanIdentifier;
913 }
914
915
920 @Override
921 public void setBeanIdentifier(String beanIdentifier) {
922 _beanIdentifier = beanIdentifier;
923 }
924
925 protected Class<?> getModelClass() {
926 return BookmarksEntry.class;
927 }
928
929 protected String getModelClassName() {
930 return BookmarksEntry.class.getName();
931 }
932
933
938 protected void runSQL(String sql) throws SystemException {
939 try {
940 DataSource dataSource = bookmarksEntryPersistence.getDataSource();
941
942 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
943 sql, new int[0]);
944
945 sqlUpdate.update();
946 }
947 catch (Exception e) {
948 throw new SystemException(e);
949 }
950 }
951
952 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService.class)
953 protected com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService;
954 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksEntryService.class)
955 protected com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService;
956 @BeanReference(type = BookmarksEntryPersistence.class)
957 protected BookmarksEntryPersistence bookmarksEntryPersistence;
958 @BeanReference(type = BookmarksEntryFinder.class)
959 protected BookmarksEntryFinder bookmarksEntryFinder;
960 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService.class)
961 protected com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService;
962 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksFolderService.class)
963 protected com.liferay.portlet.bookmarks.service.BookmarksFolderService bookmarksFolderService;
964 @BeanReference(type = BookmarksFolderPersistence.class)
965 protected BookmarksFolderPersistence bookmarksFolderPersistence;
966 @BeanReference(type = BookmarksFolderFinder.class)
967 protected BookmarksFolderFinder bookmarksFolderFinder;
968 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
969 protected com.liferay.counter.service.CounterLocalService counterLocalService;
970 @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
971 protected com.liferay.portal.service.GroupLocalService groupLocalService;
972 @BeanReference(type = com.liferay.portal.service.GroupService.class)
973 protected com.liferay.portal.service.GroupService groupService;
974 @BeanReference(type = GroupPersistence.class)
975 protected GroupPersistence groupPersistence;
976 @BeanReference(type = GroupFinder.class)
977 protected GroupFinder groupFinder;
978 @BeanReference(type = com.liferay.portal.service.PortletPreferencesLocalService.class)
979 protected com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService;
980 @BeanReference(type = com.liferay.portal.service.PortletPreferencesService.class)
981 protected com.liferay.portal.service.PortletPreferencesService portletPreferencesService;
982 @BeanReference(type = PortletPreferencesPersistence.class)
983 protected PortletPreferencesPersistence portletPreferencesPersistence;
984 @BeanReference(type = PortletPreferencesFinder.class)
985 protected PortletPreferencesFinder portletPreferencesFinder;
986 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
987 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
988 @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
989 protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
990 @BeanReference(type = SubscriptionPersistence.class)
991 protected SubscriptionPersistence subscriptionPersistence;
992 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
993 protected com.liferay.portal.service.UserLocalService userLocalService;
994 @BeanReference(type = com.liferay.portal.service.UserService.class)
995 protected com.liferay.portal.service.UserService userService;
996 @BeanReference(type = UserPersistence.class)
997 protected UserPersistence userPersistence;
998 @BeanReference(type = UserFinder.class)
999 protected UserFinder userFinder;
1000 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1001 protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1002 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1003 protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1004 @BeanReference(type = AssetEntryPersistence.class)
1005 protected AssetEntryPersistence assetEntryPersistence;
1006 @BeanReference(type = AssetEntryFinder.class)
1007 protected AssetEntryFinder assetEntryFinder;
1008 @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
1009 protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
1010 @BeanReference(type = AssetLinkPersistence.class)
1011 protected AssetLinkPersistence assetLinkPersistence;
1012 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
1013 protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
1014 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
1015 protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
1016 @BeanReference(type = AssetTagPersistence.class)
1017 protected AssetTagPersistence assetTagPersistence;
1018 @BeanReference(type = AssetTagFinder.class)
1019 protected AssetTagFinder assetTagFinder;
1020 @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
1021 protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
1022 @BeanReference(type = ExpandoRowPersistence.class)
1023 protected ExpandoRowPersistence expandoRowPersistence;
1024 @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
1025 protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
1026 @BeanReference(type = SocialActivityPersistence.class)
1027 protected SocialActivityPersistence socialActivityPersistence;
1028 @BeanReference(type = SocialActivityFinder.class)
1029 protected SocialActivityFinder socialActivityFinder;
1030 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
1031 protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
1032 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
1033 protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
1034 @BeanReference(type = TrashEntryPersistence.class)
1035 protected TrashEntryPersistence trashEntryPersistence;
1036 @BeanReference(type = com.liferay.portlet.trash.service.TrashVersionLocalService.class)
1037 protected com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService;
1038 @BeanReference(type = TrashVersionPersistence.class)
1039 protected TrashVersionPersistence trashVersionPersistence;
1040 private String _beanIdentifier;
1041 }