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