001
014
015 package com.liferay.portlet.bookmarks.service.base;
016
017 import com.liferay.counter.service.CounterLocalService;
018
019 import com.liferay.portal.kernel.bean.BeanReference;
020 import com.liferay.portal.kernel.bean.IdentifiableBean;
021 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
022 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
023 import com.liferay.portal.kernel.exception.SystemException;
024 import com.liferay.portal.service.BaseServiceImpl;
025 import com.liferay.portal.service.PortletPreferencesLocalService;
026 import com.liferay.portal.service.PortletPreferencesService;
027 import com.liferay.portal.service.ResourceLocalService;
028 import com.liferay.portal.service.SubscriptionLocalService;
029 import com.liferay.portal.service.UserLocalService;
030 import com.liferay.portal.service.UserService;
031 import com.liferay.portal.service.persistence.PortletPreferencesFinder;
032 import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
033 import com.liferay.portal.service.persistence.SubscriptionPersistence;
034 import com.liferay.portal.service.persistence.UserFinder;
035 import com.liferay.portal.service.persistence.UserPersistence;
036
037 import com.liferay.portlet.asset.service.AssetEntryLocalService;
038 import com.liferay.portlet.asset.service.AssetEntryService;
039 import com.liferay.portlet.asset.service.AssetLinkLocalService;
040 import com.liferay.portlet.asset.service.AssetTagLocalService;
041 import com.liferay.portlet.asset.service.AssetTagService;
042 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
043 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
044 import com.liferay.portlet.asset.service.persistence.AssetLinkFinder;
045 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
046 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
047 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
048 import com.liferay.portlet.bookmarks.model.BookmarksEntry;
049 import com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService;
050 import com.liferay.portlet.bookmarks.service.BookmarksEntryService;
051 import com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService;
052 import com.liferay.portlet.bookmarks.service.BookmarksFolderService;
053 import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder;
054 import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence;
055 import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderFinder;
056 import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence;
057 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
058 import com.liferay.portlet.expando.service.ExpandoValueService;
059 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
060 import com.liferay.portlet.social.service.SocialActivityCounterLocalService;
061 import com.liferay.portlet.social.service.SocialActivityLocalService;
062 import com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder;
063 import com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence;
064 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
065 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
066 import com.liferay.portlet.trash.service.TrashEntryLocalService;
067 import com.liferay.portlet.trash.service.TrashEntryService;
068 import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
069
070 import javax.sql.DataSource;
071
072
084 public abstract class BookmarksEntryServiceBaseImpl extends BaseServiceImpl
085 implements BookmarksEntryService, IdentifiableBean {
086
091
092
097 public BookmarksEntryLocalService getBookmarksEntryLocalService() {
098 return bookmarksEntryLocalService;
099 }
100
101
106 public void setBookmarksEntryLocalService(
107 BookmarksEntryLocalService bookmarksEntryLocalService) {
108 this.bookmarksEntryLocalService = bookmarksEntryLocalService;
109 }
110
111
116 public BookmarksEntryService getBookmarksEntryService() {
117 return bookmarksEntryService;
118 }
119
120
125 public void setBookmarksEntryService(
126 BookmarksEntryService bookmarksEntryService) {
127 this.bookmarksEntryService = bookmarksEntryService;
128 }
129
130
135 public BookmarksEntryPersistence getBookmarksEntryPersistence() {
136 return bookmarksEntryPersistence;
137 }
138
139
144 public void setBookmarksEntryPersistence(
145 BookmarksEntryPersistence bookmarksEntryPersistence) {
146 this.bookmarksEntryPersistence = bookmarksEntryPersistence;
147 }
148
149
154 public BookmarksEntryFinder getBookmarksEntryFinder() {
155 return bookmarksEntryFinder;
156 }
157
158
163 public void setBookmarksEntryFinder(
164 BookmarksEntryFinder bookmarksEntryFinder) {
165 this.bookmarksEntryFinder = bookmarksEntryFinder;
166 }
167
168
173 public BookmarksFolderLocalService getBookmarksFolderLocalService() {
174 return bookmarksFolderLocalService;
175 }
176
177
182 public void setBookmarksFolderLocalService(
183 BookmarksFolderLocalService bookmarksFolderLocalService) {
184 this.bookmarksFolderLocalService = bookmarksFolderLocalService;
185 }
186
187
192 public BookmarksFolderService getBookmarksFolderService() {
193 return bookmarksFolderService;
194 }
195
196
201 public void setBookmarksFolderService(
202 BookmarksFolderService bookmarksFolderService) {
203 this.bookmarksFolderService = bookmarksFolderService;
204 }
205
206
211 public BookmarksFolderPersistence getBookmarksFolderPersistence() {
212 return bookmarksFolderPersistence;
213 }
214
215
220 public void setBookmarksFolderPersistence(
221 BookmarksFolderPersistence bookmarksFolderPersistence) {
222 this.bookmarksFolderPersistence = bookmarksFolderPersistence;
223 }
224
225
230 public BookmarksFolderFinder getBookmarksFolderFinder() {
231 return bookmarksFolderFinder;
232 }
233
234
239 public void setBookmarksFolderFinder(
240 BookmarksFolderFinder bookmarksFolderFinder) {
241 this.bookmarksFolderFinder = bookmarksFolderFinder;
242 }
243
244
249 public CounterLocalService getCounterLocalService() {
250 return counterLocalService;
251 }
252
253
258 public void setCounterLocalService(CounterLocalService counterLocalService) {
259 this.counterLocalService = counterLocalService;
260 }
261
262
267 public PortletPreferencesLocalService getPortletPreferencesLocalService() {
268 return portletPreferencesLocalService;
269 }
270
271
276 public void setPortletPreferencesLocalService(
277 PortletPreferencesLocalService portletPreferencesLocalService) {
278 this.portletPreferencesLocalService = portletPreferencesLocalService;
279 }
280
281
286 public PortletPreferencesService getPortletPreferencesService() {
287 return portletPreferencesService;
288 }
289
290
295 public void setPortletPreferencesService(
296 PortletPreferencesService portletPreferencesService) {
297 this.portletPreferencesService = portletPreferencesService;
298 }
299
300
305 public PortletPreferencesPersistence getPortletPreferencesPersistence() {
306 return portletPreferencesPersistence;
307 }
308
309
314 public void setPortletPreferencesPersistence(
315 PortletPreferencesPersistence portletPreferencesPersistence) {
316 this.portletPreferencesPersistence = portletPreferencesPersistence;
317 }
318
319
324 public PortletPreferencesFinder getPortletPreferencesFinder() {
325 return portletPreferencesFinder;
326 }
327
328
333 public void setPortletPreferencesFinder(
334 PortletPreferencesFinder portletPreferencesFinder) {
335 this.portletPreferencesFinder = portletPreferencesFinder;
336 }
337
338
343 public ResourceLocalService getResourceLocalService() {
344 return resourceLocalService;
345 }
346
347
352 public void setResourceLocalService(
353 ResourceLocalService resourceLocalService) {
354 this.resourceLocalService = resourceLocalService;
355 }
356
357
362 public SubscriptionLocalService getSubscriptionLocalService() {
363 return subscriptionLocalService;
364 }
365
366
371 public void setSubscriptionLocalService(
372 SubscriptionLocalService subscriptionLocalService) {
373 this.subscriptionLocalService = subscriptionLocalService;
374 }
375
376
381 public SubscriptionPersistence getSubscriptionPersistence() {
382 return subscriptionPersistence;
383 }
384
385
390 public void setSubscriptionPersistence(
391 SubscriptionPersistence subscriptionPersistence) {
392 this.subscriptionPersistence = subscriptionPersistence;
393 }
394
395
400 public UserLocalService getUserLocalService() {
401 return userLocalService;
402 }
403
404
409 public void setUserLocalService(UserLocalService userLocalService) {
410 this.userLocalService = userLocalService;
411 }
412
413
418 public UserService getUserService() {
419 return userService;
420 }
421
422
427 public void setUserService(UserService userService) {
428 this.userService = userService;
429 }
430
431
436 public UserPersistence getUserPersistence() {
437 return userPersistence;
438 }
439
440
445 public void setUserPersistence(UserPersistence userPersistence) {
446 this.userPersistence = userPersistence;
447 }
448
449
454 public UserFinder getUserFinder() {
455 return userFinder;
456 }
457
458
463 public void setUserFinder(UserFinder userFinder) {
464 this.userFinder = userFinder;
465 }
466
467
472 public AssetEntryLocalService getAssetEntryLocalService() {
473 return assetEntryLocalService;
474 }
475
476
481 public void setAssetEntryLocalService(
482 AssetEntryLocalService assetEntryLocalService) {
483 this.assetEntryLocalService = assetEntryLocalService;
484 }
485
486
491 public AssetEntryService getAssetEntryService() {
492 return assetEntryService;
493 }
494
495
500 public void setAssetEntryService(AssetEntryService assetEntryService) {
501 this.assetEntryService = assetEntryService;
502 }
503
504
509 public AssetEntryPersistence getAssetEntryPersistence() {
510 return assetEntryPersistence;
511 }
512
513
518 public void setAssetEntryPersistence(
519 AssetEntryPersistence assetEntryPersistence) {
520 this.assetEntryPersistence = assetEntryPersistence;
521 }
522
523
528 public AssetEntryFinder getAssetEntryFinder() {
529 return assetEntryFinder;
530 }
531
532
537 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
538 this.assetEntryFinder = assetEntryFinder;
539 }
540
541
546 public AssetLinkLocalService getAssetLinkLocalService() {
547 return assetLinkLocalService;
548 }
549
550
555 public void setAssetLinkLocalService(
556 AssetLinkLocalService assetLinkLocalService) {
557 this.assetLinkLocalService = assetLinkLocalService;
558 }
559
560
565 public AssetLinkPersistence getAssetLinkPersistence() {
566 return assetLinkPersistence;
567 }
568
569
574 public void setAssetLinkPersistence(
575 AssetLinkPersistence assetLinkPersistence) {
576 this.assetLinkPersistence = assetLinkPersistence;
577 }
578
579
584 public AssetLinkFinder getAssetLinkFinder() {
585 return assetLinkFinder;
586 }
587
588
593 public void setAssetLinkFinder(AssetLinkFinder assetLinkFinder) {
594 this.assetLinkFinder = assetLinkFinder;
595 }
596
597
602 public AssetTagLocalService getAssetTagLocalService() {
603 return assetTagLocalService;
604 }
605
606
611 public void setAssetTagLocalService(
612 AssetTagLocalService assetTagLocalService) {
613 this.assetTagLocalService = assetTagLocalService;
614 }
615
616
621 public AssetTagService getAssetTagService() {
622 return assetTagService;
623 }
624
625
630 public void setAssetTagService(AssetTagService assetTagService) {
631 this.assetTagService = assetTagService;
632 }
633
634
639 public AssetTagPersistence getAssetTagPersistence() {
640 return assetTagPersistence;
641 }
642
643
648 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
649 this.assetTagPersistence = assetTagPersistence;
650 }
651
652
657 public AssetTagFinder getAssetTagFinder() {
658 return assetTagFinder;
659 }
660
661
666 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
667 this.assetTagFinder = assetTagFinder;
668 }
669
670
675 public ExpandoValueLocalService getExpandoValueLocalService() {
676 return expandoValueLocalService;
677 }
678
679
684 public void setExpandoValueLocalService(
685 ExpandoValueLocalService expandoValueLocalService) {
686 this.expandoValueLocalService = expandoValueLocalService;
687 }
688
689
694 public ExpandoValueService getExpandoValueService() {
695 return expandoValueService;
696 }
697
698
703 public void setExpandoValueService(ExpandoValueService expandoValueService) {
704 this.expandoValueService = expandoValueService;
705 }
706
707
712 public ExpandoValuePersistence getExpandoValuePersistence() {
713 return expandoValuePersistence;
714 }
715
716
721 public void setExpandoValuePersistence(
722 ExpandoValuePersistence expandoValuePersistence) {
723 this.expandoValuePersistence = expandoValuePersistence;
724 }
725
726
731 public SocialActivityLocalService getSocialActivityLocalService() {
732 return socialActivityLocalService;
733 }
734
735
740 public void setSocialActivityLocalService(
741 SocialActivityLocalService socialActivityLocalService) {
742 this.socialActivityLocalService = socialActivityLocalService;
743 }
744
745
750 public SocialActivityPersistence getSocialActivityPersistence() {
751 return socialActivityPersistence;
752 }
753
754
759 public void setSocialActivityPersistence(
760 SocialActivityPersistence socialActivityPersistence) {
761 this.socialActivityPersistence = socialActivityPersistence;
762 }
763
764
769 public SocialActivityFinder getSocialActivityFinder() {
770 return socialActivityFinder;
771 }
772
773
778 public void setSocialActivityFinder(
779 SocialActivityFinder socialActivityFinder) {
780 this.socialActivityFinder = socialActivityFinder;
781 }
782
783
788 public SocialActivityCounterLocalService getSocialActivityCounterLocalService() {
789 return socialActivityCounterLocalService;
790 }
791
792
797 public void setSocialActivityCounterLocalService(
798 SocialActivityCounterLocalService socialActivityCounterLocalService) {
799 this.socialActivityCounterLocalService = socialActivityCounterLocalService;
800 }
801
802
807 public SocialActivityCounterPersistence getSocialActivityCounterPersistence() {
808 return socialActivityCounterPersistence;
809 }
810
811
816 public void setSocialActivityCounterPersistence(
817 SocialActivityCounterPersistence socialActivityCounterPersistence) {
818 this.socialActivityCounterPersistence = socialActivityCounterPersistence;
819 }
820
821
826 public SocialActivityCounterFinder getSocialActivityCounterFinder() {
827 return socialActivityCounterFinder;
828 }
829
830
835 public void setSocialActivityCounterFinder(
836 SocialActivityCounterFinder socialActivityCounterFinder) {
837 this.socialActivityCounterFinder = socialActivityCounterFinder;
838 }
839
840
845 public TrashEntryLocalService getTrashEntryLocalService() {
846 return trashEntryLocalService;
847 }
848
849
854 public void setTrashEntryLocalService(
855 TrashEntryLocalService trashEntryLocalService) {
856 this.trashEntryLocalService = trashEntryLocalService;
857 }
858
859
864 public TrashEntryService getTrashEntryService() {
865 return trashEntryService;
866 }
867
868
873 public void setTrashEntryService(TrashEntryService trashEntryService) {
874 this.trashEntryService = trashEntryService;
875 }
876
877
882 public TrashEntryPersistence getTrashEntryPersistence() {
883 return trashEntryPersistence;
884 }
885
886
891 public void setTrashEntryPersistence(
892 TrashEntryPersistence trashEntryPersistence) {
893 this.trashEntryPersistence = trashEntryPersistence;
894 }
895
896 public void afterPropertiesSet() {
897 }
898
899 public void destroy() {
900 }
901
902
907 public String getBeanIdentifier() {
908 return _beanIdentifier;
909 }
910
911
916 public void setBeanIdentifier(String beanIdentifier) {
917 _beanIdentifier = beanIdentifier;
918 }
919
920 protected Class<?> getModelClass() {
921 return BookmarksEntry.class;
922 }
923
924 protected String getModelClassName() {
925 return BookmarksEntry.class.getName();
926 }
927
928
933 protected void runSQL(String sql) throws SystemException {
934 try {
935 DataSource dataSource = bookmarksEntryPersistence.getDataSource();
936
937 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
938 sql, new int[0]);
939
940 sqlUpdate.update();
941 }
942 catch (Exception e) {
943 throw new SystemException(e);
944 }
945 }
946
947 @BeanReference(type = BookmarksEntryLocalService.class)
948 protected BookmarksEntryLocalService bookmarksEntryLocalService;
949 @BeanReference(type = BookmarksEntryService.class)
950 protected BookmarksEntryService bookmarksEntryService;
951 @BeanReference(type = BookmarksEntryPersistence.class)
952 protected BookmarksEntryPersistence bookmarksEntryPersistence;
953 @BeanReference(type = BookmarksEntryFinder.class)
954 protected BookmarksEntryFinder bookmarksEntryFinder;
955 @BeanReference(type = BookmarksFolderLocalService.class)
956 protected BookmarksFolderLocalService bookmarksFolderLocalService;
957 @BeanReference(type = BookmarksFolderService.class)
958 protected BookmarksFolderService bookmarksFolderService;
959 @BeanReference(type = BookmarksFolderPersistence.class)
960 protected BookmarksFolderPersistence bookmarksFolderPersistence;
961 @BeanReference(type = BookmarksFolderFinder.class)
962 protected BookmarksFolderFinder bookmarksFolderFinder;
963 @BeanReference(type = CounterLocalService.class)
964 protected CounterLocalService counterLocalService;
965 @BeanReference(type = PortletPreferencesLocalService.class)
966 protected PortletPreferencesLocalService portletPreferencesLocalService;
967 @BeanReference(type = PortletPreferencesService.class)
968 protected PortletPreferencesService portletPreferencesService;
969 @BeanReference(type = PortletPreferencesPersistence.class)
970 protected PortletPreferencesPersistence portletPreferencesPersistence;
971 @BeanReference(type = PortletPreferencesFinder.class)
972 protected PortletPreferencesFinder portletPreferencesFinder;
973 @BeanReference(type = ResourceLocalService.class)
974 protected ResourceLocalService resourceLocalService;
975 @BeanReference(type = SubscriptionLocalService.class)
976 protected SubscriptionLocalService subscriptionLocalService;
977 @BeanReference(type = SubscriptionPersistence.class)
978 protected SubscriptionPersistence subscriptionPersistence;
979 @BeanReference(type = UserLocalService.class)
980 protected UserLocalService userLocalService;
981 @BeanReference(type = UserService.class)
982 protected UserService userService;
983 @BeanReference(type = UserPersistence.class)
984 protected UserPersistence userPersistence;
985 @BeanReference(type = UserFinder.class)
986 protected UserFinder userFinder;
987 @BeanReference(type = AssetEntryLocalService.class)
988 protected AssetEntryLocalService assetEntryLocalService;
989 @BeanReference(type = AssetEntryService.class)
990 protected AssetEntryService assetEntryService;
991 @BeanReference(type = AssetEntryPersistence.class)
992 protected AssetEntryPersistence assetEntryPersistence;
993 @BeanReference(type = AssetEntryFinder.class)
994 protected AssetEntryFinder assetEntryFinder;
995 @BeanReference(type = AssetLinkLocalService.class)
996 protected AssetLinkLocalService assetLinkLocalService;
997 @BeanReference(type = AssetLinkPersistence.class)
998 protected AssetLinkPersistence assetLinkPersistence;
999 @BeanReference(type = AssetLinkFinder.class)
1000 protected AssetLinkFinder assetLinkFinder;
1001 @BeanReference(type = AssetTagLocalService.class)
1002 protected AssetTagLocalService assetTagLocalService;
1003 @BeanReference(type = AssetTagService.class)
1004 protected AssetTagService assetTagService;
1005 @BeanReference(type = AssetTagPersistence.class)
1006 protected AssetTagPersistence assetTagPersistence;
1007 @BeanReference(type = AssetTagFinder.class)
1008 protected AssetTagFinder assetTagFinder;
1009 @BeanReference(type = ExpandoValueLocalService.class)
1010 protected ExpandoValueLocalService expandoValueLocalService;
1011 @BeanReference(type = ExpandoValueService.class)
1012 protected ExpandoValueService expandoValueService;
1013 @BeanReference(type = ExpandoValuePersistence.class)
1014 protected ExpandoValuePersistence expandoValuePersistence;
1015 @BeanReference(type = SocialActivityLocalService.class)
1016 protected SocialActivityLocalService socialActivityLocalService;
1017 @BeanReference(type = SocialActivityPersistence.class)
1018 protected SocialActivityPersistence socialActivityPersistence;
1019 @BeanReference(type = SocialActivityFinder.class)
1020 protected SocialActivityFinder socialActivityFinder;
1021 @BeanReference(type = SocialActivityCounterLocalService.class)
1022 protected SocialActivityCounterLocalService socialActivityCounterLocalService;
1023 @BeanReference(type = SocialActivityCounterPersistence.class)
1024 protected SocialActivityCounterPersistence socialActivityCounterPersistence;
1025 @BeanReference(type = SocialActivityCounterFinder.class)
1026 protected SocialActivityCounterFinder socialActivityCounterFinder;
1027 @BeanReference(type = TrashEntryLocalService.class)
1028 protected TrashEntryLocalService trashEntryLocalService;
1029 @BeanReference(type = TrashEntryService.class)
1030 protected TrashEntryService trashEntryService;
1031 @BeanReference(type = TrashEntryPersistence.class)
1032 protected TrashEntryPersistence trashEntryPersistence;
1033 private String _beanIdentifier;
1034 }