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