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.ResourceLocalService;
026 import com.liferay.portal.service.ResourceService;
027 import com.liferay.portal.service.UserLocalService;
028 import com.liferay.portal.service.UserService;
029 import com.liferay.portal.service.persistence.ResourceFinder;
030 import com.liferay.portal.service.persistence.ResourcePersistence;
031 import com.liferay.portal.service.persistence.UserFinder;
032 import com.liferay.portal.service.persistence.UserPersistence;
033
034 import com.liferay.portlet.asset.service.AssetEntryLocalService;
035 import com.liferay.portlet.asset.service.AssetEntryService;
036 import com.liferay.portlet.asset.service.AssetLinkLocalService;
037 import com.liferay.portlet.asset.service.AssetTagLocalService;
038 import com.liferay.portlet.asset.service.AssetTagService;
039 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
040 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
041 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
042 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
043 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
044 import com.liferay.portlet.bookmarks.model.BookmarksEntry;
045 import com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService;
046 import com.liferay.portlet.bookmarks.service.BookmarksEntryService;
047 import com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService;
048 import com.liferay.portlet.bookmarks.service.BookmarksFolderService;
049 import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder;
050 import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence;
051 import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderFinder;
052 import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence;
053 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
054 import com.liferay.portlet.expando.service.ExpandoValueService;
055 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
056 import com.liferay.portlet.social.service.SocialActivityLocalService;
057 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
058 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
059
060 import javax.sql.DataSource;
061
062
074 public abstract class BookmarksEntryServiceBaseImpl extends BaseServiceImpl
075 implements BookmarksEntryService, IdentifiableBean {
076
081
082
087 public BookmarksEntryLocalService getBookmarksEntryLocalService() {
088 return bookmarksEntryLocalService;
089 }
090
091
096 public void setBookmarksEntryLocalService(
097 BookmarksEntryLocalService bookmarksEntryLocalService) {
098 this.bookmarksEntryLocalService = bookmarksEntryLocalService;
099 }
100
101
106 public BookmarksEntryService getBookmarksEntryService() {
107 return bookmarksEntryService;
108 }
109
110
115 public void setBookmarksEntryService(
116 BookmarksEntryService bookmarksEntryService) {
117 this.bookmarksEntryService = bookmarksEntryService;
118 }
119
120
125 public BookmarksEntryPersistence getBookmarksEntryPersistence() {
126 return bookmarksEntryPersistence;
127 }
128
129
134 public void setBookmarksEntryPersistence(
135 BookmarksEntryPersistence bookmarksEntryPersistence) {
136 this.bookmarksEntryPersistence = bookmarksEntryPersistence;
137 }
138
139
144 public BookmarksEntryFinder getBookmarksEntryFinder() {
145 return bookmarksEntryFinder;
146 }
147
148
153 public void setBookmarksEntryFinder(
154 BookmarksEntryFinder bookmarksEntryFinder) {
155 this.bookmarksEntryFinder = bookmarksEntryFinder;
156 }
157
158
163 public BookmarksFolderLocalService getBookmarksFolderLocalService() {
164 return bookmarksFolderLocalService;
165 }
166
167
172 public void setBookmarksFolderLocalService(
173 BookmarksFolderLocalService bookmarksFolderLocalService) {
174 this.bookmarksFolderLocalService = bookmarksFolderLocalService;
175 }
176
177
182 public BookmarksFolderService getBookmarksFolderService() {
183 return bookmarksFolderService;
184 }
185
186
191 public void setBookmarksFolderService(
192 BookmarksFolderService bookmarksFolderService) {
193 this.bookmarksFolderService = bookmarksFolderService;
194 }
195
196
201 public BookmarksFolderPersistence getBookmarksFolderPersistence() {
202 return bookmarksFolderPersistence;
203 }
204
205
210 public void setBookmarksFolderPersistence(
211 BookmarksFolderPersistence bookmarksFolderPersistence) {
212 this.bookmarksFolderPersistence = bookmarksFolderPersistence;
213 }
214
215
220 public BookmarksFolderFinder getBookmarksFolderFinder() {
221 return bookmarksFolderFinder;
222 }
223
224
229 public void setBookmarksFolderFinder(
230 BookmarksFolderFinder bookmarksFolderFinder) {
231 this.bookmarksFolderFinder = bookmarksFolderFinder;
232 }
233
234
239 public CounterLocalService getCounterLocalService() {
240 return counterLocalService;
241 }
242
243
248 public void setCounterLocalService(CounterLocalService counterLocalService) {
249 this.counterLocalService = counterLocalService;
250 }
251
252
257 public ResourceLocalService getResourceLocalService() {
258 return resourceLocalService;
259 }
260
261
266 public void setResourceLocalService(
267 ResourceLocalService resourceLocalService) {
268 this.resourceLocalService = resourceLocalService;
269 }
270
271
276 public ResourceService getResourceService() {
277 return resourceService;
278 }
279
280
285 public void setResourceService(ResourceService resourceService) {
286 this.resourceService = resourceService;
287 }
288
289
294 public ResourcePersistence getResourcePersistence() {
295 return resourcePersistence;
296 }
297
298
303 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
304 this.resourcePersistence = resourcePersistence;
305 }
306
307
312 public ResourceFinder getResourceFinder() {
313 return resourceFinder;
314 }
315
316
321 public void setResourceFinder(ResourceFinder resourceFinder) {
322 this.resourceFinder = resourceFinder;
323 }
324
325
330 public UserLocalService getUserLocalService() {
331 return userLocalService;
332 }
333
334
339 public void setUserLocalService(UserLocalService userLocalService) {
340 this.userLocalService = userLocalService;
341 }
342
343
348 public UserService getUserService() {
349 return userService;
350 }
351
352
357 public void setUserService(UserService userService) {
358 this.userService = userService;
359 }
360
361
366 public UserPersistence getUserPersistence() {
367 return userPersistence;
368 }
369
370
375 public void setUserPersistence(UserPersistence userPersistence) {
376 this.userPersistence = userPersistence;
377 }
378
379
384 public UserFinder getUserFinder() {
385 return userFinder;
386 }
387
388
393 public void setUserFinder(UserFinder userFinder) {
394 this.userFinder = userFinder;
395 }
396
397
402 public AssetEntryLocalService getAssetEntryLocalService() {
403 return assetEntryLocalService;
404 }
405
406
411 public void setAssetEntryLocalService(
412 AssetEntryLocalService assetEntryLocalService) {
413 this.assetEntryLocalService = assetEntryLocalService;
414 }
415
416
421 public AssetEntryService getAssetEntryService() {
422 return assetEntryService;
423 }
424
425
430 public void setAssetEntryService(AssetEntryService assetEntryService) {
431 this.assetEntryService = assetEntryService;
432 }
433
434
439 public AssetEntryPersistence getAssetEntryPersistence() {
440 return assetEntryPersistence;
441 }
442
443
448 public void setAssetEntryPersistence(
449 AssetEntryPersistence assetEntryPersistence) {
450 this.assetEntryPersistence = assetEntryPersistence;
451 }
452
453
458 public AssetEntryFinder getAssetEntryFinder() {
459 return assetEntryFinder;
460 }
461
462
467 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
468 this.assetEntryFinder = assetEntryFinder;
469 }
470
471
476 public AssetLinkLocalService getAssetLinkLocalService() {
477 return assetLinkLocalService;
478 }
479
480
485 public void setAssetLinkLocalService(
486 AssetLinkLocalService assetLinkLocalService) {
487 this.assetLinkLocalService = assetLinkLocalService;
488 }
489
490
495 public AssetLinkPersistence getAssetLinkPersistence() {
496 return assetLinkPersistence;
497 }
498
499
504 public void setAssetLinkPersistence(
505 AssetLinkPersistence assetLinkPersistence) {
506 this.assetLinkPersistence = assetLinkPersistence;
507 }
508
509
514 public AssetTagLocalService getAssetTagLocalService() {
515 return assetTagLocalService;
516 }
517
518
523 public void setAssetTagLocalService(
524 AssetTagLocalService assetTagLocalService) {
525 this.assetTagLocalService = assetTagLocalService;
526 }
527
528
533 public AssetTagService getAssetTagService() {
534 return assetTagService;
535 }
536
537
542 public void setAssetTagService(AssetTagService assetTagService) {
543 this.assetTagService = assetTagService;
544 }
545
546
551 public AssetTagPersistence getAssetTagPersistence() {
552 return assetTagPersistence;
553 }
554
555
560 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
561 this.assetTagPersistence = assetTagPersistence;
562 }
563
564
569 public AssetTagFinder getAssetTagFinder() {
570 return assetTagFinder;
571 }
572
573
578 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
579 this.assetTagFinder = assetTagFinder;
580 }
581
582
587 public ExpandoValueLocalService getExpandoValueLocalService() {
588 return expandoValueLocalService;
589 }
590
591
596 public void setExpandoValueLocalService(
597 ExpandoValueLocalService expandoValueLocalService) {
598 this.expandoValueLocalService = expandoValueLocalService;
599 }
600
601
606 public ExpandoValueService getExpandoValueService() {
607 return expandoValueService;
608 }
609
610
615 public void setExpandoValueService(ExpandoValueService expandoValueService) {
616 this.expandoValueService = expandoValueService;
617 }
618
619
624 public ExpandoValuePersistence getExpandoValuePersistence() {
625 return expandoValuePersistence;
626 }
627
628
633 public void setExpandoValuePersistence(
634 ExpandoValuePersistence expandoValuePersistence) {
635 this.expandoValuePersistence = expandoValuePersistence;
636 }
637
638
643 public SocialActivityLocalService getSocialActivityLocalService() {
644 return socialActivityLocalService;
645 }
646
647
652 public void setSocialActivityLocalService(
653 SocialActivityLocalService socialActivityLocalService) {
654 this.socialActivityLocalService = socialActivityLocalService;
655 }
656
657
662 public SocialActivityPersistence getSocialActivityPersistence() {
663 return socialActivityPersistence;
664 }
665
666
671 public void setSocialActivityPersistence(
672 SocialActivityPersistence socialActivityPersistence) {
673 this.socialActivityPersistence = socialActivityPersistence;
674 }
675
676
681 public SocialActivityFinder getSocialActivityFinder() {
682 return socialActivityFinder;
683 }
684
685
690 public void setSocialActivityFinder(
691 SocialActivityFinder socialActivityFinder) {
692 this.socialActivityFinder = socialActivityFinder;
693 }
694
695 public void afterPropertiesSet() {
696 }
697
698 public void destroy() {
699 }
700
701
706 public String getBeanIdentifier() {
707 return _beanIdentifier;
708 }
709
710
715 public void setBeanIdentifier(String beanIdentifier) {
716 _beanIdentifier = beanIdentifier;
717 }
718
719 protected Class<?> getModelClass() {
720 return BookmarksEntry.class;
721 }
722
723 protected String getModelClassName() {
724 return BookmarksEntry.class.getName();
725 }
726
727
732 protected void runSQL(String sql) throws SystemException {
733 try {
734 DataSource dataSource = bookmarksEntryPersistence.getDataSource();
735
736 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
737 sql, new int[0]);
738
739 sqlUpdate.update();
740 }
741 catch (Exception e) {
742 throw new SystemException(e);
743 }
744 }
745
746 @BeanReference(type = BookmarksEntryLocalService.class)
747 protected BookmarksEntryLocalService bookmarksEntryLocalService;
748 @BeanReference(type = BookmarksEntryService.class)
749 protected BookmarksEntryService bookmarksEntryService;
750 @BeanReference(type = BookmarksEntryPersistence.class)
751 protected BookmarksEntryPersistence bookmarksEntryPersistence;
752 @BeanReference(type = BookmarksEntryFinder.class)
753 protected BookmarksEntryFinder bookmarksEntryFinder;
754 @BeanReference(type = BookmarksFolderLocalService.class)
755 protected BookmarksFolderLocalService bookmarksFolderLocalService;
756 @BeanReference(type = BookmarksFolderService.class)
757 protected BookmarksFolderService bookmarksFolderService;
758 @BeanReference(type = BookmarksFolderPersistence.class)
759 protected BookmarksFolderPersistence bookmarksFolderPersistence;
760 @BeanReference(type = BookmarksFolderFinder.class)
761 protected BookmarksFolderFinder bookmarksFolderFinder;
762 @BeanReference(type = CounterLocalService.class)
763 protected CounterLocalService counterLocalService;
764 @BeanReference(type = ResourceLocalService.class)
765 protected ResourceLocalService resourceLocalService;
766 @BeanReference(type = ResourceService.class)
767 protected ResourceService resourceService;
768 @BeanReference(type = ResourcePersistence.class)
769 protected ResourcePersistence resourcePersistence;
770 @BeanReference(type = ResourceFinder.class)
771 protected ResourceFinder resourceFinder;
772 @BeanReference(type = UserLocalService.class)
773 protected UserLocalService userLocalService;
774 @BeanReference(type = UserService.class)
775 protected UserService userService;
776 @BeanReference(type = UserPersistence.class)
777 protected UserPersistence userPersistence;
778 @BeanReference(type = UserFinder.class)
779 protected UserFinder userFinder;
780 @BeanReference(type = AssetEntryLocalService.class)
781 protected AssetEntryLocalService assetEntryLocalService;
782 @BeanReference(type = AssetEntryService.class)
783 protected AssetEntryService assetEntryService;
784 @BeanReference(type = AssetEntryPersistence.class)
785 protected AssetEntryPersistence assetEntryPersistence;
786 @BeanReference(type = AssetEntryFinder.class)
787 protected AssetEntryFinder assetEntryFinder;
788 @BeanReference(type = AssetLinkLocalService.class)
789 protected AssetLinkLocalService assetLinkLocalService;
790 @BeanReference(type = AssetLinkPersistence.class)
791 protected AssetLinkPersistence assetLinkPersistence;
792 @BeanReference(type = AssetTagLocalService.class)
793 protected AssetTagLocalService assetTagLocalService;
794 @BeanReference(type = AssetTagService.class)
795 protected AssetTagService assetTagService;
796 @BeanReference(type = AssetTagPersistence.class)
797 protected AssetTagPersistence assetTagPersistence;
798 @BeanReference(type = AssetTagFinder.class)
799 protected AssetTagFinder assetTagFinder;
800 @BeanReference(type = ExpandoValueLocalService.class)
801 protected ExpandoValueLocalService expandoValueLocalService;
802 @BeanReference(type = ExpandoValueService.class)
803 protected ExpandoValueService expandoValueService;
804 @BeanReference(type = ExpandoValuePersistence.class)
805 protected ExpandoValuePersistence expandoValuePersistence;
806 @BeanReference(type = SocialActivityLocalService.class)
807 protected SocialActivityLocalService socialActivityLocalService;
808 @BeanReference(type = SocialActivityPersistence.class)
809 protected SocialActivityPersistence socialActivityPersistence;
810 @BeanReference(type = SocialActivityFinder.class)
811 protected SocialActivityFinder socialActivityFinder;
812 private String _beanIdentifier;
813 }