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
047 import javax.sql.DataSource;
048
049
061 public abstract class BookmarksEntryServiceBaseImpl extends BaseServiceImpl
062 implements BookmarksEntryService, IdentifiableBean {
063
068
069
074 public com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService getBookmarksEntryLocalService() {
075 return bookmarksEntryLocalService;
076 }
077
078
083 public void setBookmarksEntryLocalService(
084 com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService) {
085 this.bookmarksEntryLocalService = bookmarksEntryLocalService;
086 }
087
088
093 public com.liferay.portlet.bookmarks.service.BookmarksEntryService getBookmarksEntryService() {
094 return bookmarksEntryService;
095 }
096
097
102 public void setBookmarksEntryService(
103 com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService) {
104 this.bookmarksEntryService = bookmarksEntryService;
105 }
106
107
112 public BookmarksEntryPersistence getBookmarksEntryPersistence() {
113 return bookmarksEntryPersistence;
114 }
115
116
121 public void setBookmarksEntryPersistence(
122 BookmarksEntryPersistence bookmarksEntryPersistence) {
123 this.bookmarksEntryPersistence = bookmarksEntryPersistence;
124 }
125
126
131 public BookmarksEntryFinder getBookmarksEntryFinder() {
132 return bookmarksEntryFinder;
133 }
134
135
140 public void setBookmarksEntryFinder(
141 BookmarksEntryFinder bookmarksEntryFinder) {
142 this.bookmarksEntryFinder = bookmarksEntryFinder;
143 }
144
145
150 public com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService getBookmarksFolderLocalService() {
151 return bookmarksFolderLocalService;
152 }
153
154
159 public void setBookmarksFolderLocalService(
160 com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService) {
161 this.bookmarksFolderLocalService = bookmarksFolderLocalService;
162 }
163
164
169 public com.liferay.portlet.bookmarks.service.BookmarksFolderService getBookmarksFolderService() {
170 return bookmarksFolderService;
171 }
172
173
178 public void setBookmarksFolderService(
179 com.liferay.portlet.bookmarks.service.BookmarksFolderService bookmarksFolderService) {
180 this.bookmarksFolderService = bookmarksFolderService;
181 }
182
183
188 public BookmarksFolderPersistence getBookmarksFolderPersistence() {
189 return bookmarksFolderPersistence;
190 }
191
192
197 public void setBookmarksFolderPersistence(
198 BookmarksFolderPersistence bookmarksFolderPersistence) {
199 this.bookmarksFolderPersistence = bookmarksFolderPersistence;
200 }
201
202
207 public BookmarksFolderFinder getBookmarksFolderFinder() {
208 return bookmarksFolderFinder;
209 }
210
211
216 public void setBookmarksFolderFinder(
217 BookmarksFolderFinder bookmarksFolderFinder) {
218 this.bookmarksFolderFinder = bookmarksFolderFinder;
219 }
220
221
226 public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
227 return counterLocalService;
228 }
229
230
235 public void setCounterLocalService(
236 com.liferay.counter.service.CounterLocalService counterLocalService) {
237 this.counterLocalService = counterLocalService;
238 }
239
240
245 public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
246 return groupLocalService;
247 }
248
249
254 public void setGroupLocalService(
255 com.liferay.portal.service.GroupLocalService groupLocalService) {
256 this.groupLocalService = groupLocalService;
257 }
258
259
264 public com.liferay.portal.service.GroupService getGroupService() {
265 return groupService;
266 }
267
268
273 public void setGroupService(
274 com.liferay.portal.service.GroupService groupService) {
275 this.groupService = groupService;
276 }
277
278
283 public GroupPersistence getGroupPersistence() {
284 return groupPersistence;
285 }
286
287
292 public void setGroupPersistence(GroupPersistence groupPersistence) {
293 this.groupPersistence = groupPersistence;
294 }
295
296
301 public GroupFinder getGroupFinder() {
302 return groupFinder;
303 }
304
305
310 public void setGroupFinder(GroupFinder groupFinder) {
311 this.groupFinder = groupFinder;
312 }
313
314
319 public com.liferay.portal.service.PortletPreferencesLocalService getPortletPreferencesLocalService() {
320 return portletPreferencesLocalService;
321 }
322
323
328 public void setPortletPreferencesLocalService(
329 com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService) {
330 this.portletPreferencesLocalService = portletPreferencesLocalService;
331 }
332
333
338 public com.liferay.portal.service.PortletPreferencesService getPortletPreferencesService() {
339 return portletPreferencesService;
340 }
341
342
347 public void setPortletPreferencesService(
348 com.liferay.portal.service.PortletPreferencesService portletPreferencesService) {
349 this.portletPreferencesService = portletPreferencesService;
350 }
351
352
357 public PortletPreferencesPersistence getPortletPreferencesPersistence() {
358 return portletPreferencesPersistence;
359 }
360
361
366 public void setPortletPreferencesPersistence(
367 PortletPreferencesPersistence portletPreferencesPersistence) {
368 this.portletPreferencesPersistence = portletPreferencesPersistence;
369 }
370
371
376 public PortletPreferencesFinder getPortletPreferencesFinder() {
377 return portletPreferencesFinder;
378 }
379
380
385 public void setPortletPreferencesFinder(
386 PortletPreferencesFinder portletPreferencesFinder) {
387 this.portletPreferencesFinder = portletPreferencesFinder;
388 }
389
390
395 public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
396 return resourceLocalService;
397 }
398
399
404 public void setResourceLocalService(
405 com.liferay.portal.service.ResourceLocalService resourceLocalService) {
406 this.resourceLocalService = resourceLocalService;
407 }
408
409
414 public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
415 return subscriptionLocalService;
416 }
417
418
423 public void setSubscriptionLocalService(
424 com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
425 this.subscriptionLocalService = subscriptionLocalService;
426 }
427
428
433 public SubscriptionPersistence getSubscriptionPersistence() {
434 return subscriptionPersistence;
435 }
436
437
442 public void setSubscriptionPersistence(
443 SubscriptionPersistence subscriptionPersistence) {
444 this.subscriptionPersistence = subscriptionPersistence;
445 }
446
447
452 public com.liferay.portal.service.UserLocalService getUserLocalService() {
453 return userLocalService;
454 }
455
456
461 public void setUserLocalService(
462 com.liferay.portal.service.UserLocalService userLocalService) {
463 this.userLocalService = userLocalService;
464 }
465
466
471 public com.liferay.portal.service.UserService getUserService() {
472 return userService;
473 }
474
475
480 public void setUserService(
481 com.liferay.portal.service.UserService userService) {
482 this.userService = userService;
483 }
484
485
490 public UserPersistence getUserPersistence() {
491 return userPersistence;
492 }
493
494
499 public void setUserPersistence(UserPersistence userPersistence) {
500 this.userPersistence = userPersistence;
501 }
502
503
508 public UserFinder getUserFinder() {
509 return userFinder;
510 }
511
512
517 public void setUserFinder(UserFinder userFinder) {
518 this.userFinder = userFinder;
519 }
520
521
526 public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
527 return assetEntryLocalService;
528 }
529
530
535 public void setAssetEntryLocalService(
536 com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
537 this.assetEntryLocalService = assetEntryLocalService;
538 }
539
540
545 public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
546 return assetEntryService;
547 }
548
549
554 public void setAssetEntryService(
555 com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
556 this.assetEntryService = assetEntryService;
557 }
558
559
564 public AssetEntryPersistence getAssetEntryPersistence() {
565 return assetEntryPersistence;
566 }
567
568
573 public void setAssetEntryPersistence(
574 AssetEntryPersistence assetEntryPersistence) {
575 this.assetEntryPersistence = assetEntryPersistence;
576 }
577
578
583 public AssetEntryFinder getAssetEntryFinder() {
584 return assetEntryFinder;
585 }
586
587
592 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
593 this.assetEntryFinder = assetEntryFinder;
594 }
595
596
601 public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
602 return assetLinkLocalService;
603 }
604
605
610 public void setAssetLinkLocalService(
611 com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
612 this.assetLinkLocalService = assetLinkLocalService;
613 }
614
615
620 public AssetLinkPersistence getAssetLinkPersistence() {
621 return assetLinkPersistence;
622 }
623
624
629 public void setAssetLinkPersistence(
630 AssetLinkPersistence assetLinkPersistence) {
631 this.assetLinkPersistence = assetLinkPersistence;
632 }
633
634
639 public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
640 return assetTagLocalService;
641 }
642
643
648 public void setAssetTagLocalService(
649 com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
650 this.assetTagLocalService = assetTagLocalService;
651 }
652
653
658 public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
659 return assetTagService;
660 }
661
662
667 public void setAssetTagService(
668 com.liferay.portlet.asset.service.AssetTagService assetTagService) {
669 this.assetTagService = assetTagService;
670 }
671
672
677 public AssetTagPersistence getAssetTagPersistence() {
678 return assetTagPersistence;
679 }
680
681
686 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
687 this.assetTagPersistence = assetTagPersistence;
688 }
689
690
695 public AssetTagFinder getAssetTagFinder() {
696 return assetTagFinder;
697 }
698
699
704 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
705 this.assetTagFinder = assetTagFinder;
706 }
707
708
713 public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
714 return expandoRowLocalService;
715 }
716
717
722 public void setExpandoRowLocalService(
723 com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
724 this.expandoRowLocalService = expandoRowLocalService;
725 }
726
727
732 public ExpandoRowPersistence getExpandoRowPersistence() {
733 return expandoRowPersistence;
734 }
735
736
741 public void setExpandoRowPersistence(
742 ExpandoRowPersistence expandoRowPersistence) {
743 this.expandoRowPersistence = expandoRowPersistence;
744 }
745
746
751 public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
752 return socialActivityLocalService;
753 }
754
755
760 public void setSocialActivityLocalService(
761 com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
762 this.socialActivityLocalService = socialActivityLocalService;
763 }
764
765
770 public SocialActivityPersistence getSocialActivityPersistence() {
771 return socialActivityPersistence;
772 }
773
774
779 public void setSocialActivityPersistence(
780 SocialActivityPersistence socialActivityPersistence) {
781 this.socialActivityPersistence = socialActivityPersistence;
782 }
783
784
789 public SocialActivityFinder getSocialActivityFinder() {
790 return socialActivityFinder;
791 }
792
793
798 public void setSocialActivityFinder(
799 SocialActivityFinder socialActivityFinder) {
800 this.socialActivityFinder = socialActivityFinder;
801 }
802
803
808 public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
809 return trashEntryLocalService;
810 }
811
812
817 public void setTrashEntryLocalService(
818 com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
819 this.trashEntryLocalService = trashEntryLocalService;
820 }
821
822
827 public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
828 return trashEntryService;
829 }
830
831
836 public void setTrashEntryService(
837 com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
838 this.trashEntryService = trashEntryService;
839 }
840
841
846 public TrashEntryPersistence getTrashEntryPersistence() {
847 return trashEntryPersistence;
848 }
849
850
855 public void setTrashEntryPersistence(
856 TrashEntryPersistence trashEntryPersistence) {
857 this.trashEntryPersistence = trashEntryPersistence;
858 }
859
860 public void afterPropertiesSet() {
861 }
862
863 public void destroy() {
864 }
865
866
871 @Override
872 public String getBeanIdentifier() {
873 return _beanIdentifier;
874 }
875
876
881 @Override
882 public void setBeanIdentifier(String beanIdentifier) {
883 _beanIdentifier = beanIdentifier;
884 }
885
886 protected Class<?> getModelClass() {
887 return BookmarksEntry.class;
888 }
889
890 protected String getModelClassName() {
891 return BookmarksEntry.class.getName();
892 }
893
894
899 protected void runSQL(String sql) throws SystemException {
900 try {
901 DataSource dataSource = bookmarksEntryPersistence.getDataSource();
902
903 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
904 sql, new int[0]);
905
906 sqlUpdate.update();
907 }
908 catch (Exception e) {
909 throw new SystemException(e);
910 }
911 }
912
913 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService.class)
914 protected com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService;
915 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksEntryService.class)
916 protected com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService;
917 @BeanReference(type = BookmarksEntryPersistence.class)
918 protected BookmarksEntryPersistence bookmarksEntryPersistence;
919 @BeanReference(type = BookmarksEntryFinder.class)
920 protected BookmarksEntryFinder bookmarksEntryFinder;
921 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService.class)
922 protected com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService;
923 @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksFolderService.class)
924 protected com.liferay.portlet.bookmarks.service.BookmarksFolderService bookmarksFolderService;
925 @BeanReference(type = BookmarksFolderPersistence.class)
926 protected BookmarksFolderPersistence bookmarksFolderPersistence;
927 @BeanReference(type = BookmarksFolderFinder.class)
928 protected BookmarksFolderFinder bookmarksFolderFinder;
929 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
930 protected com.liferay.counter.service.CounterLocalService counterLocalService;
931 @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
932 protected com.liferay.portal.service.GroupLocalService groupLocalService;
933 @BeanReference(type = com.liferay.portal.service.GroupService.class)
934 protected com.liferay.portal.service.GroupService groupService;
935 @BeanReference(type = GroupPersistence.class)
936 protected GroupPersistence groupPersistence;
937 @BeanReference(type = GroupFinder.class)
938 protected GroupFinder groupFinder;
939 @BeanReference(type = com.liferay.portal.service.PortletPreferencesLocalService.class)
940 protected com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService;
941 @BeanReference(type = com.liferay.portal.service.PortletPreferencesService.class)
942 protected com.liferay.portal.service.PortletPreferencesService portletPreferencesService;
943 @BeanReference(type = PortletPreferencesPersistence.class)
944 protected PortletPreferencesPersistence portletPreferencesPersistence;
945 @BeanReference(type = PortletPreferencesFinder.class)
946 protected PortletPreferencesFinder portletPreferencesFinder;
947 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
948 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
949 @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
950 protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
951 @BeanReference(type = SubscriptionPersistence.class)
952 protected SubscriptionPersistence subscriptionPersistence;
953 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
954 protected com.liferay.portal.service.UserLocalService userLocalService;
955 @BeanReference(type = com.liferay.portal.service.UserService.class)
956 protected com.liferay.portal.service.UserService userService;
957 @BeanReference(type = UserPersistence.class)
958 protected UserPersistence userPersistence;
959 @BeanReference(type = UserFinder.class)
960 protected UserFinder userFinder;
961 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
962 protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
963 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
964 protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
965 @BeanReference(type = AssetEntryPersistence.class)
966 protected AssetEntryPersistence assetEntryPersistence;
967 @BeanReference(type = AssetEntryFinder.class)
968 protected AssetEntryFinder assetEntryFinder;
969 @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
970 protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
971 @BeanReference(type = AssetLinkPersistence.class)
972 protected AssetLinkPersistence assetLinkPersistence;
973 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
974 protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
975 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
976 protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
977 @BeanReference(type = AssetTagPersistence.class)
978 protected AssetTagPersistence assetTagPersistence;
979 @BeanReference(type = AssetTagFinder.class)
980 protected AssetTagFinder assetTagFinder;
981 @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
982 protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
983 @BeanReference(type = ExpandoRowPersistence.class)
984 protected ExpandoRowPersistence expandoRowPersistence;
985 @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
986 protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
987 @BeanReference(type = SocialActivityPersistence.class)
988 protected SocialActivityPersistence socialActivityPersistence;
989 @BeanReference(type = SocialActivityFinder.class)
990 protected SocialActivityFinder socialActivityFinder;
991 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
992 protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
993 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
994 protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
995 @BeanReference(type = TrashEntryPersistence.class)
996 protected TrashEntryPersistence trashEntryPersistence;
997 private String _beanIdentifier;
998 }