001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
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    /**
051     * Provides the base implementation for the bookmarks entry remote service.
052     *
053     * <p>
054     * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link com.liferay.portlet.bookmarks.service.impl.BookmarksEntryServiceImpl}.
055     * </p>
056     *
057     * @author Brian Wing Shun Chan
058     * @see com.liferay.portlet.bookmarks.service.impl.BookmarksEntryServiceImpl
059     * @see com.liferay.portlet.bookmarks.service.BookmarksEntryServiceUtil
060     * @generated
061     */
062    public abstract class BookmarksEntryServiceBaseImpl extends BaseServiceImpl
063            implements BookmarksEntryService, IdentifiableBean {
064            /*
065             * NOTE FOR DEVELOPERS:
066             *
067             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.bookmarks.service.BookmarksEntryServiceUtil} to access the bookmarks entry remote service.
068             */
069    
070            /**
071             * Returns the bookmarks entry local service.
072             *
073             * @return the bookmarks entry local service
074             */
075            public com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService getBookmarksEntryLocalService() {
076                    return bookmarksEntryLocalService;
077            }
078    
079            /**
080             * Sets the bookmarks entry local service.
081             *
082             * @param bookmarksEntryLocalService the bookmarks entry local service
083             */
084            public void setBookmarksEntryLocalService(
085                    com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService) {
086                    this.bookmarksEntryLocalService = bookmarksEntryLocalService;
087            }
088    
089            /**
090             * Returns the bookmarks entry remote service.
091             *
092             * @return the bookmarks entry remote service
093             */
094            public com.liferay.portlet.bookmarks.service.BookmarksEntryService getBookmarksEntryService() {
095                    return bookmarksEntryService;
096            }
097    
098            /**
099             * Sets the bookmarks entry remote service.
100             *
101             * @param bookmarksEntryService the bookmarks entry remote service
102             */
103            public void setBookmarksEntryService(
104                    com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService) {
105                    this.bookmarksEntryService = bookmarksEntryService;
106            }
107    
108            /**
109             * Returns the bookmarks entry persistence.
110             *
111             * @return the bookmarks entry persistence
112             */
113            public BookmarksEntryPersistence getBookmarksEntryPersistence() {
114                    return bookmarksEntryPersistence;
115            }
116    
117            /**
118             * Sets the bookmarks entry persistence.
119             *
120             * @param bookmarksEntryPersistence the bookmarks entry persistence
121             */
122            public void setBookmarksEntryPersistence(
123                    BookmarksEntryPersistence bookmarksEntryPersistence) {
124                    this.bookmarksEntryPersistence = bookmarksEntryPersistence;
125            }
126    
127            /**
128             * Returns the bookmarks entry finder.
129             *
130             * @return the bookmarks entry finder
131             */
132            public BookmarksEntryFinder getBookmarksEntryFinder() {
133                    return bookmarksEntryFinder;
134            }
135    
136            /**
137             * Sets the bookmarks entry finder.
138             *
139             * @param bookmarksEntryFinder the bookmarks entry finder
140             */
141            public void setBookmarksEntryFinder(
142                    BookmarksEntryFinder bookmarksEntryFinder) {
143                    this.bookmarksEntryFinder = bookmarksEntryFinder;
144            }
145    
146            /**
147             * Returns the bookmarks folder local service.
148             *
149             * @return the bookmarks folder local service
150             */
151            public com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService getBookmarksFolderLocalService() {
152                    return bookmarksFolderLocalService;
153            }
154    
155            /**
156             * Sets the bookmarks folder local service.
157             *
158             * @param bookmarksFolderLocalService the bookmarks folder local service
159             */
160            public void setBookmarksFolderLocalService(
161                    com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService) {
162                    this.bookmarksFolderLocalService = bookmarksFolderLocalService;
163            }
164    
165            /**
166             * Returns the bookmarks folder remote service.
167             *
168             * @return the bookmarks folder remote service
169             */
170            public com.liferay.portlet.bookmarks.service.BookmarksFolderService getBookmarksFolderService() {
171                    return bookmarksFolderService;
172            }
173    
174            /**
175             * Sets the bookmarks folder remote service.
176             *
177             * @param bookmarksFolderService the bookmarks folder remote service
178             */
179            public void setBookmarksFolderService(
180                    com.liferay.portlet.bookmarks.service.BookmarksFolderService bookmarksFolderService) {
181                    this.bookmarksFolderService = bookmarksFolderService;
182            }
183    
184            /**
185             * Returns the bookmarks folder persistence.
186             *
187             * @return the bookmarks folder persistence
188             */
189            public BookmarksFolderPersistence getBookmarksFolderPersistence() {
190                    return bookmarksFolderPersistence;
191            }
192    
193            /**
194             * Sets the bookmarks folder persistence.
195             *
196             * @param bookmarksFolderPersistence the bookmarks folder persistence
197             */
198            public void setBookmarksFolderPersistence(
199                    BookmarksFolderPersistence bookmarksFolderPersistence) {
200                    this.bookmarksFolderPersistence = bookmarksFolderPersistence;
201            }
202    
203            /**
204             * Returns the bookmarks folder finder.
205             *
206             * @return the bookmarks folder finder
207             */
208            public BookmarksFolderFinder getBookmarksFolderFinder() {
209                    return bookmarksFolderFinder;
210            }
211    
212            /**
213             * Sets the bookmarks folder finder.
214             *
215             * @param bookmarksFolderFinder the bookmarks folder finder
216             */
217            public void setBookmarksFolderFinder(
218                    BookmarksFolderFinder bookmarksFolderFinder) {
219                    this.bookmarksFolderFinder = bookmarksFolderFinder;
220            }
221    
222            /**
223             * Returns the counter local service.
224             *
225             * @return the counter local service
226             */
227            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
228                    return counterLocalService;
229            }
230    
231            /**
232             * Sets the counter local service.
233             *
234             * @param counterLocalService the counter local service
235             */
236            public void setCounterLocalService(
237                    com.liferay.counter.service.CounterLocalService counterLocalService) {
238                    this.counterLocalService = counterLocalService;
239            }
240    
241            /**
242             * Returns the group local service.
243             *
244             * @return the group local service
245             */
246            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
247                    return groupLocalService;
248            }
249    
250            /**
251             * Sets the group local service.
252             *
253             * @param groupLocalService the group local service
254             */
255            public void setGroupLocalService(
256                    com.liferay.portal.service.GroupLocalService groupLocalService) {
257                    this.groupLocalService = groupLocalService;
258            }
259    
260            /**
261             * Returns the group remote service.
262             *
263             * @return the group remote service
264             */
265            public com.liferay.portal.service.GroupService getGroupService() {
266                    return groupService;
267            }
268    
269            /**
270             * Sets the group remote service.
271             *
272             * @param groupService the group remote service
273             */
274            public void setGroupService(
275                    com.liferay.portal.service.GroupService groupService) {
276                    this.groupService = groupService;
277            }
278    
279            /**
280             * Returns the group persistence.
281             *
282             * @return the group persistence
283             */
284            public GroupPersistence getGroupPersistence() {
285                    return groupPersistence;
286            }
287    
288            /**
289             * Sets the group persistence.
290             *
291             * @param groupPersistence the group persistence
292             */
293            public void setGroupPersistence(GroupPersistence groupPersistence) {
294                    this.groupPersistence = groupPersistence;
295            }
296    
297            /**
298             * Returns the group finder.
299             *
300             * @return the group finder
301             */
302            public GroupFinder getGroupFinder() {
303                    return groupFinder;
304            }
305    
306            /**
307             * Sets the group finder.
308             *
309             * @param groupFinder the group finder
310             */
311            public void setGroupFinder(GroupFinder groupFinder) {
312                    this.groupFinder = groupFinder;
313            }
314    
315            /**
316             * Returns the portlet preferences local service.
317             *
318             * @return the portlet preferences local service
319             */
320            public com.liferay.portal.service.PortletPreferencesLocalService getPortletPreferencesLocalService() {
321                    return portletPreferencesLocalService;
322            }
323    
324            /**
325             * Sets the portlet preferences local service.
326             *
327             * @param portletPreferencesLocalService the portlet preferences local service
328             */
329            public void setPortletPreferencesLocalService(
330                    com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService) {
331                    this.portletPreferencesLocalService = portletPreferencesLocalService;
332            }
333    
334            /**
335             * Returns the portlet preferences remote service.
336             *
337             * @return the portlet preferences remote service
338             */
339            public com.liferay.portal.service.PortletPreferencesService getPortletPreferencesService() {
340                    return portletPreferencesService;
341            }
342    
343            /**
344             * Sets the portlet preferences remote service.
345             *
346             * @param portletPreferencesService the portlet preferences remote service
347             */
348            public void setPortletPreferencesService(
349                    com.liferay.portal.service.PortletPreferencesService portletPreferencesService) {
350                    this.portletPreferencesService = portletPreferencesService;
351            }
352    
353            /**
354             * Returns the portlet preferences persistence.
355             *
356             * @return the portlet preferences persistence
357             */
358            public PortletPreferencesPersistence getPortletPreferencesPersistence() {
359                    return portletPreferencesPersistence;
360            }
361    
362            /**
363             * Sets the portlet preferences persistence.
364             *
365             * @param portletPreferencesPersistence the portlet preferences persistence
366             */
367            public void setPortletPreferencesPersistence(
368                    PortletPreferencesPersistence portletPreferencesPersistence) {
369                    this.portletPreferencesPersistence = portletPreferencesPersistence;
370            }
371    
372            /**
373             * Returns the portlet preferences finder.
374             *
375             * @return the portlet preferences finder
376             */
377            public PortletPreferencesFinder getPortletPreferencesFinder() {
378                    return portletPreferencesFinder;
379            }
380    
381            /**
382             * Sets the portlet preferences finder.
383             *
384             * @param portletPreferencesFinder the portlet preferences finder
385             */
386            public void setPortletPreferencesFinder(
387                    PortletPreferencesFinder portletPreferencesFinder) {
388                    this.portletPreferencesFinder = portletPreferencesFinder;
389            }
390    
391            /**
392             * Returns the resource local service.
393             *
394             * @return the resource local service
395             */
396            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
397                    return resourceLocalService;
398            }
399    
400            /**
401             * Sets the resource local service.
402             *
403             * @param resourceLocalService the resource local service
404             */
405            public void setResourceLocalService(
406                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
407                    this.resourceLocalService = resourceLocalService;
408            }
409    
410            /**
411             * Returns the subscription local service.
412             *
413             * @return the subscription local service
414             */
415            public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
416                    return subscriptionLocalService;
417            }
418    
419            /**
420             * Sets the subscription local service.
421             *
422             * @param subscriptionLocalService the subscription local service
423             */
424            public void setSubscriptionLocalService(
425                    com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
426                    this.subscriptionLocalService = subscriptionLocalService;
427            }
428    
429            /**
430             * Returns the subscription persistence.
431             *
432             * @return the subscription persistence
433             */
434            public SubscriptionPersistence getSubscriptionPersistence() {
435                    return subscriptionPersistence;
436            }
437    
438            /**
439             * Sets the subscription persistence.
440             *
441             * @param subscriptionPersistence the subscription persistence
442             */
443            public void setSubscriptionPersistence(
444                    SubscriptionPersistence subscriptionPersistence) {
445                    this.subscriptionPersistence = subscriptionPersistence;
446            }
447    
448            /**
449             * Returns the user local service.
450             *
451             * @return the user local service
452             */
453            public com.liferay.portal.service.UserLocalService getUserLocalService() {
454                    return userLocalService;
455            }
456    
457            /**
458             * Sets the user local service.
459             *
460             * @param userLocalService the user local service
461             */
462            public void setUserLocalService(
463                    com.liferay.portal.service.UserLocalService userLocalService) {
464                    this.userLocalService = userLocalService;
465            }
466    
467            /**
468             * Returns the user remote service.
469             *
470             * @return the user remote service
471             */
472            public com.liferay.portal.service.UserService getUserService() {
473                    return userService;
474            }
475    
476            /**
477             * Sets the user remote service.
478             *
479             * @param userService the user remote service
480             */
481            public void setUserService(
482                    com.liferay.portal.service.UserService userService) {
483                    this.userService = userService;
484            }
485    
486            /**
487             * Returns the user persistence.
488             *
489             * @return the user persistence
490             */
491            public UserPersistence getUserPersistence() {
492                    return userPersistence;
493            }
494    
495            /**
496             * Sets the user persistence.
497             *
498             * @param userPersistence the user persistence
499             */
500            public void setUserPersistence(UserPersistence userPersistence) {
501                    this.userPersistence = userPersistence;
502            }
503    
504            /**
505             * Returns the user finder.
506             *
507             * @return the user finder
508             */
509            public UserFinder getUserFinder() {
510                    return userFinder;
511            }
512    
513            /**
514             * Sets the user finder.
515             *
516             * @param userFinder the user finder
517             */
518            public void setUserFinder(UserFinder userFinder) {
519                    this.userFinder = userFinder;
520            }
521    
522            /**
523             * Returns the asset entry local service.
524             *
525             * @return the asset entry local service
526             */
527            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
528                    return assetEntryLocalService;
529            }
530    
531            /**
532             * Sets the asset entry local service.
533             *
534             * @param assetEntryLocalService the asset entry local service
535             */
536            public void setAssetEntryLocalService(
537                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
538                    this.assetEntryLocalService = assetEntryLocalService;
539            }
540    
541            /**
542             * Returns the asset entry remote service.
543             *
544             * @return the asset entry remote service
545             */
546            public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
547                    return assetEntryService;
548            }
549    
550            /**
551             * Sets the asset entry remote service.
552             *
553             * @param assetEntryService the asset entry remote service
554             */
555            public void setAssetEntryService(
556                    com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
557                    this.assetEntryService = assetEntryService;
558            }
559    
560            /**
561             * Returns the asset entry persistence.
562             *
563             * @return the asset entry persistence
564             */
565            public AssetEntryPersistence getAssetEntryPersistence() {
566                    return assetEntryPersistence;
567            }
568    
569            /**
570             * Sets the asset entry persistence.
571             *
572             * @param assetEntryPersistence the asset entry persistence
573             */
574            public void setAssetEntryPersistence(
575                    AssetEntryPersistence assetEntryPersistence) {
576                    this.assetEntryPersistence = assetEntryPersistence;
577            }
578    
579            /**
580             * Returns the asset entry finder.
581             *
582             * @return the asset entry finder
583             */
584            public AssetEntryFinder getAssetEntryFinder() {
585                    return assetEntryFinder;
586            }
587    
588            /**
589             * Sets the asset entry finder.
590             *
591             * @param assetEntryFinder the asset entry finder
592             */
593            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
594                    this.assetEntryFinder = assetEntryFinder;
595            }
596    
597            /**
598             * Returns the asset link local service.
599             *
600             * @return the asset link local service
601             */
602            public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
603                    return assetLinkLocalService;
604            }
605    
606            /**
607             * Sets the asset link local service.
608             *
609             * @param assetLinkLocalService the asset link local service
610             */
611            public void setAssetLinkLocalService(
612                    com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
613                    this.assetLinkLocalService = assetLinkLocalService;
614            }
615    
616            /**
617             * Returns the asset link persistence.
618             *
619             * @return the asset link persistence
620             */
621            public AssetLinkPersistence getAssetLinkPersistence() {
622                    return assetLinkPersistence;
623            }
624    
625            /**
626             * Sets the asset link persistence.
627             *
628             * @param assetLinkPersistence the asset link persistence
629             */
630            public void setAssetLinkPersistence(
631                    AssetLinkPersistence assetLinkPersistence) {
632                    this.assetLinkPersistence = assetLinkPersistence;
633            }
634    
635            /**
636             * Returns the asset tag local service.
637             *
638             * @return the asset tag local service
639             */
640            public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
641                    return assetTagLocalService;
642            }
643    
644            /**
645             * Sets the asset tag local service.
646             *
647             * @param assetTagLocalService the asset tag local service
648             */
649            public void setAssetTagLocalService(
650                    com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
651                    this.assetTagLocalService = assetTagLocalService;
652            }
653    
654            /**
655             * Returns the asset tag remote service.
656             *
657             * @return the asset tag remote service
658             */
659            public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
660                    return assetTagService;
661            }
662    
663            /**
664             * Sets the asset tag remote service.
665             *
666             * @param assetTagService the asset tag remote service
667             */
668            public void setAssetTagService(
669                    com.liferay.portlet.asset.service.AssetTagService assetTagService) {
670                    this.assetTagService = assetTagService;
671            }
672    
673            /**
674             * Returns the asset tag persistence.
675             *
676             * @return the asset tag persistence
677             */
678            public AssetTagPersistence getAssetTagPersistence() {
679                    return assetTagPersistence;
680            }
681    
682            /**
683             * Sets the asset tag persistence.
684             *
685             * @param assetTagPersistence the asset tag persistence
686             */
687            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
688                    this.assetTagPersistence = assetTagPersistence;
689            }
690    
691            /**
692             * Returns the asset tag finder.
693             *
694             * @return the asset tag finder
695             */
696            public AssetTagFinder getAssetTagFinder() {
697                    return assetTagFinder;
698            }
699    
700            /**
701             * Sets the asset tag finder.
702             *
703             * @param assetTagFinder the asset tag finder
704             */
705            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
706                    this.assetTagFinder = assetTagFinder;
707            }
708    
709            /**
710             * Returns the expando row local service.
711             *
712             * @return the expando row local service
713             */
714            public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
715                    return expandoRowLocalService;
716            }
717    
718            /**
719             * Sets the expando row local service.
720             *
721             * @param expandoRowLocalService the expando row local service
722             */
723            public void setExpandoRowLocalService(
724                    com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
725                    this.expandoRowLocalService = expandoRowLocalService;
726            }
727    
728            /**
729             * Returns the expando row persistence.
730             *
731             * @return the expando row persistence
732             */
733            public ExpandoRowPersistence getExpandoRowPersistence() {
734                    return expandoRowPersistence;
735            }
736    
737            /**
738             * Sets the expando row persistence.
739             *
740             * @param expandoRowPersistence the expando row persistence
741             */
742            public void setExpandoRowPersistence(
743                    ExpandoRowPersistence expandoRowPersistence) {
744                    this.expandoRowPersistence = expandoRowPersistence;
745            }
746    
747            /**
748             * Returns the social activity local service.
749             *
750             * @return the social activity local service
751             */
752            public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
753                    return socialActivityLocalService;
754            }
755    
756            /**
757             * Sets the social activity local service.
758             *
759             * @param socialActivityLocalService the social activity local service
760             */
761            public void setSocialActivityLocalService(
762                    com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
763                    this.socialActivityLocalService = socialActivityLocalService;
764            }
765    
766            /**
767             * Returns the social activity remote service.
768             *
769             * @return the social activity remote service
770             */
771            public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
772                    return socialActivityService;
773            }
774    
775            /**
776             * Sets the social activity remote service.
777             *
778             * @param socialActivityService the social activity remote service
779             */
780            public void setSocialActivityService(
781                    com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
782                    this.socialActivityService = socialActivityService;
783            }
784    
785            /**
786             * Returns the social activity persistence.
787             *
788             * @return the social activity persistence
789             */
790            public SocialActivityPersistence getSocialActivityPersistence() {
791                    return socialActivityPersistence;
792            }
793    
794            /**
795             * Sets the social activity persistence.
796             *
797             * @param socialActivityPersistence the social activity persistence
798             */
799            public void setSocialActivityPersistence(
800                    SocialActivityPersistence socialActivityPersistence) {
801                    this.socialActivityPersistence = socialActivityPersistence;
802            }
803    
804            /**
805             * Returns the social activity finder.
806             *
807             * @return the social activity finder
808             */
809            public SocialActivityFinder getSocialActivityFinder() {
810                    return socialActivityFinder;
811            }
812    
813            /**
814             * Sets the social activity finder.
815             *
816             * @param socialActivityFinder the social activity finder
817             */
818            public void setSocialActivityFinder(
819                    SocialActivityFinder socialActivityFinder) {
820                    this.socialActivityFinder = socialActivityFinder;
821            }
822    
823            /**
824             * Returns the trash entry local service.
825             *
826             * @return the trash entry local service
827             */
828            public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
829                    return trashEntryLocalService;
830            }
831    
832            /**
833             * Sets the trash entry local service.
834             *
835             * @param trashEntryLocalService the trash entry local service
836             */
837            public void setTrashEntryLocalService(
838                    com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
839                    this.trashEntryLocalService = trashEntryLocalService;
840            }
841    
842            /**
843             * Returns the trash entry remote service.
844             *
845             * @return the trash entry remote service
846             */
847            public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
848                    return trashEntryService;
849            }
850    
851            /**
852             * Sets the trash entry remote service.
853             *
854             * @param trashEntryService the trash entry remote service
855             */
856            public void setTrashEntryService(
857                    com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
858                    this.trashEntryService = trashEntryService;
859            }
860    
861            /**
862             * Returns the trash entry persistence.
863             *
864             * @return the trash entry persistence
865             */
866            public TrashEntryPersistence getTrashEntryPersistence() {
867                    return trashEntryPersistence;
868            }
869    
870            /**
871             * Sets the trash entry persistence.
872             *
873             * @param trashEntryPersistence the trash entry persistence
874             */
875            public void setTrashEntryPersistence(
876                    TrashEntryPersistence trashEntryPersistence) {
877                    this.trashEntryPersistence = trashEntryPersistence;
878            }
879    
880            /**
881             * Returns the trash version local service.
882             *
883             * @return the trash version local service
884             */
885            public com.liferay.portlet.trash.service.TrashVersionLocalService getTrashVersionLocalService() {
886                    return trashVersionLocalService;
887            }
888    
889            /**
890             * Sets the trash version local service.
891             *
892             * @param trashVersionLocalService the trash version local service
893             */
894            public void setTrashVersionLocalService(
895                    com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService) {
896                    this.trashVersionLocalService = trashVersionLocalService;
897            }
898    
899            /**
900             * Returns the trash version persistence.
901             *
902             * @return the trash version persistence
903             */
904            public TrashVersionPersistence getTrashVersionPersistence() {
905                    return trashVersionPersistence;
906            }
907    
908            /**
909             * Sets the trash version persistence.
910             *
911             * @param trashVersionPersistence the trash version persistence
912             */
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            /**
925             * Returns the Spring bean ID for this bean.
926             *
927             * @return the Spring bean ID for this bean
928             */
929            @Override
930            public String getBeanIdentifier() {
931                    return _beanIdentifier;
932            }
933    
934            /**
935             * Sets the Spring bean ID for this bean.
936             *
937             * @param beanIdentifier the Spring bean ID for this bean
938             */
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            /**
953             * Performs an SQL query.
954             *
955             * @param sql the sql query
956             */
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    }