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.social.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.LayoutFinder;
026    import com.liferay.portal.service.persistence.LayoutPersistence;
027    import com.liferay.portal.service.persistence.UserFinder;
028    import com.liferay.portal.service.persistence.UserPersistence;
029    
030    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
031    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
032    import com.liferay.portlet.social.model.SocialActivity;
033    import com.liferay.portlet.social.service.SocialActivityService;
034    import com.liferay.portlet.social.service.persistence.SocialActivityAchievementPersistence;
035    import com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder;
036    import com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence;
037    import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
038    import com.liferay.portlet.social.service.persistence.SocialActivityLimitPersistence;
039    import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
040    import com.liferay.portlet.social.service.persistence.SocialActivitySetFinder;
041    import com.liferay.portlet.social.service.persistence.SocialActivitySetPersistence;
042    import com.liferay.portlet.social.service.persistence.SocialActivitySettingPersistence;
043    import com.liferay.portlet.social.service.persistence.SocialRelationPersistence;
044    import com.liferay.portlet.social.service.persistence.SocialRequestPersistence;
045    
046    import javax.sql.DataSource;
047    
048    /**
049     * Provides the base implementation for the social activity remote service.
050     *
051     * <p>
052     * 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.social.service.impl.SocialActivityServiceImpl}.
053     * </p>
054     *
055     * @author Brian Wing Shun Chan
056     * @see com.liferay.portlet.social.service.impl.SocialActivityServiceImpl
057     * @see com.liferay.portlet.social.service.SocialActivityServiceUtil
058     * @generated
059     */
060    public abstract class SocialActivityServiceBaseImpl extends BaseServiceImpl
061            implements SocialActivityService, IdentifiableBean {
062            /*
063             * NOTE FOR DEVELOPERS:
064             *
065             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.social.service.SocialActivityServiceUtil} to access the social activity remote service.
066             */
067    
068            /**
069             * Returns the social activity local service.
070             *
071             * @return the social activity local service
072             */
073            public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
074                    return socialActivityLocalService;
075            }
076    
077            /**
078             * Sets the social activity local service.
079             *
080             * @param socialActivityLocalService the social activity local service
081             */
082            public void setSocialActivityLocalService(
083                    com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
084                    this.socialActivityLocalService = socialActivityLocalService;
085            }
086    
087            /**
088             * Returns the social activity remote service.
089             *
090             * @return the social activity remote service
091             */
092            public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
093                    return socialActivityService;
094            }
095    
096            /**
097             * Sets the social activity remote service.
098             *
099             * @param socialActivityService the social activity remote service
100             */
101            public void setSocialActivityService(
102                    com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
103                    this.socialActivityService = socialActivityService;
104            }
105    
106            /**
107             * Returns the social activity persistence.
108             *
109             * @return the social activity persistence
110             */
111            public SocialActivityPersistence getSocialActivityPersistence() {
112                    return socialActivityPersistence;
113            }
114    
115            /**
116             * Sets the social activity persistence.
117             *
118             * @param socialActivityPersistence the social activity persistence
119             */
120            public void setSocialActivityPersistence(
121                    SocialActivityPersistence socialActivityPersistence) {
122                    this.socialActivityPersistence = socialActivityPersistence;
123            }
124    
125            /**
126             * Returns the social activity finder.
127             *
128             * @return the social activity finder
129             */
130            public SocialActivityFinder getSocialActivityFinder() {
131                    return socialActivityFinder;
132            }
133    
134            /**
135             * Sets the social activity finder.
136             *
137             * @param socialActivityFinder the social activity finder
138             */
139            public void setSocialActivityFinder(
140                    SocialActivityFinder socialActivityFinder) {
141                    this.socialActivityFinder = socialActivityFinder;
142            }
143    
144            /**
145             * Returns the social activity achievement local service.
146             *
147             * @return the social activity achievement local service
148             */
149            public com.liferay.portlet.social.service.SocialActivityAchievementLocalService getSocialActivityAchievementLocalService() {
150                    return socialActivityAchievementLocalService;
151            }
152    
153            /**
154             * Sets the social activity achievement local service.
155             *
156             * @param socialActivityAchievementLocalService the social activity achievement local service
157             */
158            public void setSocialActivityAchievementLocalService(
159                    com.liferay.portlet.social.service.SocialActivityAchievementLocalService socialActivityAchievementLocalService) {
160                    this.socialActivityAchievementLocalService = socialActivityAchievementLocalService;
161            }
162    
163            /**
164             * Returns the social activity achievement persistence.
165             *
166             * @return the social activity achievement persistence
167             */
168            public SocialActivityAchievementPersistence getSocialActivityAchievementPersistence() {
169                    return socialActivityAchievementPersistence;
170            }
171    
172            /**
173             * Sets the social activity achievement persistence.
174             *
175             * @param socialActivityAchievementPersistence the social activity achievement persistence
176             */
177            public void setSocialActivityAchievementPersistence(
178                    SocialActivityAchievementPersistence socialActivityAchievementPersistence) {
179                    this.socialActivityAchievementPersistence = socialActivityAchievementPersistence;
180            }
181    
182            /**
183             * Returns the social activity counter local service.
184             *
185             * @return the social activity counter local service
186             */
187            public com.liferay.portlet.social.service.SocialActivityCounterLocalService getSocialActivityCounterLocalService() {
188                    return socialActivityCounterLocalService;
189            }
190    
191            /**
192             * Sets the social activity counter local service.
193             *
194             * @param socialActivityCounterLocalService the social activity counter local service
195             */
196            public void setSocialActivityCounterLocalService(
197                    com.liferay.portlet.social.service.SocialActivityCounterLocalService socialActivityCounterLocalService) {
198                    this.socialActivityCounterLocalService = socialActivityCounterLocalService;
199            }
200    
201            /**
202             * Returns the social activity counter persistence.
203             *
204             * @return the social activity counter persistence
205             */
206            public SocialActivityCounterPersistence getSocialActivityCounterPersistence() {
207                    return socialActivityCounterPersistence;
208            }
209    
210            /**
211             * Sets the social activity counter persistence.
212             *
213             * @param socialActivityCounterPersistence the social activity counter persistence
214             */
215            public void setSocialActivityCounterPersistence(
216                    SocialActivityCounterPersistence socialActivityCounterPersistence) {
217                    this.socialActivityCounterPersistence = socialActivityCounterPersistence;
218            }
219    
220            /**
221             * Returns the social activity counter finder.
222             *
223             * @return the social activity counter finder
224             */
225            public SocialActivityCounterFinder getSocialActivityCounterFinder() {
226                    return socialActivityCounterFinder;
227            }
228    
229            /**
230             * Sets the social activity counter finder.
231             *
232             * @param socialActivityCounterFinder the social activity counter finder
233             */
234            public void setSocialActivityCounterFinder(
235                    SocialActivityCounterFinder socialActivityCounterFinder) {
236                    this.socialActivityCounterFinder = socialActivityCounterFinder;
237            }
238    
239            /**
240             * Returns the social activity interpreter local service.
241             *
242             * @return the social activity interpreter local service
243             */
244            public com.liferay.portlet.social.service.SocialActivityInterpreterLocalService getSocialActivityInterpreterLocalService() {
245                    return socialActivityInterpreterLocalService;
246            }
247    
248            /**
249             * Sets the social activity interpreter local service.
250             *
251             * @param socialActivityInterpreterLocalService the social activity interpreter local service
252             */
253            public void setSocialActivityInterpreterLocalService(
254                    com.liferay.portlet.social.service.SocialActivityInterpreterLocalService socialActivityInterpreterLocalService) {
255                    this.socialActivityInterpreterLocalService = socialActivityInterpreterLocalService;
256            }
257    
258            /**
259             * Returns the social activity limit local service.
260             *
261             * @return the social activity limit local service
262             */
263            public com.liferay.portlet.social.service.SocialActivityLimitLocalService getSocialActivityLimitLocalService() {
264                    return socialActivityLimitLocalService;
265            }
266    
267            /**
268             * Sets the social activity limit local service.
269             *
270             * @param socialActivityLimitLocalService the social activity limit local service
271             */
272            public void setSocialActivityLimitLocalService(
273                    com.liferay.portlet.social.service.SocialActivityLimitLocalService socialActivityLimitLocalService) {
274                    this.socialActivityLimitLocalService = socialActivityLimitLocalService;
275            }
276    
277            /**
278             * Returns the social activity limit persistence.
279             *
280             * @return the social activity limit persistence
281             */
282            public SocialActivityLimitPersistence getSocialActivityLimitPersistence() {
283                    return socialActivityLimitPersistence;
284            }
285    
286            /**
287             * Sets the social activity limit persistence.
288             *
289             * @param socialActivityLimitPersistence the social activity limit persistence
290             */
291            public void setSocialActivityLimitPersistence(
292                    SocialActivityLimitPersistence socialActivityLimitPersistence) {
293                    this.socialActivityLimitPersistence = socialActivityLimitPersistence;
294            }
295    
296            /**
297             * Returns the social activity set local service.
298             *
299             * @return the social activity set local service
300             */
301            public com.liferay.portlet.social.service.SocialActivitySetLocalService getSocialActivitySetLocalService() {
302                    return socialActivitySetLocalService;
303            }
304    
305            /**
306             * Sets the social activity set local service.
307             *
308             * @param socialActivitySetLocalService the social activity set local service
309             */
310            public void setSocialActivitySetLocalService(
311                    com.liferay.portlet.social.service.SocialActivitySetLocalService socialActivitySetLocalService) {
312                    this.socialActivitySetLocalService = socialActivitySetLocalService;
313            }
314    
315            /**
316             * Returns the social activity set persistence.
317             *
318             * @return the social activity set persistence
319             */
320            public SocialActivitySetPersistence getSocialActivitySetPersistence() {
321                    return socialActivitySetPersistence;
322            }
323    
324            /**
325             * Sets the social activity set persistence.
326             *
327             * @param socialActivitySetPersistence the social activity set persistence
328             */
329            public void setSocialActivitySetPersistence(
330                    SocialActivitySetPersistence socialActivitySetPersistence) {
331                    this.socialActivitySetPersistence = socialActivitySetPersistence;
332            }
333    
334            /**
335             * Returns the social activity set finder.
336             *
337             * @return the social activity set finder
338             */
339            public SocialActivitySetFinder getSocialActivitySetFinder() {
340                    return socialActivitySetFinder;
341            }
342    
343            /**
344             * Sets the social activity set finder.
345             *
346             * @param socialActivitySetFinder the social activity set finder
347             */
348            public void setSocialActivitySetFinder(
349                    SocialActivitySetFinder socialActivitySetFinder) {
350                    this.socialActivitySetFinder = socialActivitySetFinder;
351            }
352    
353            /**
354             * Returns the social activity setting local service.
355             *
356             * @return the social activity setting local service
357             */
358            public com.liferay.portlet.social.service.SocialActivitySettingLocalService getSocialActivitySettingLocalService() {
359                    return socialActivitySettingLocalService;
360            }
361    
362            /**
363             * Sets the social activity setting local service.
364             *
365             * @param socialActivitySettingLocalService the social activity setting local service
366             */
367            public void setSocialActivitySettingLocalService(
368                    com.liferay.portlet.social.service.SocialActivitySettingLocalService socialActivitySettingLocalService) {
369                    this.socialActivitySettingLocalService = socialActivitySettingLocalService;
370            }
371    
372            /**
373             * Returns the social activity setting remote service.
374             *
375             * @return the social activity setting remote service
376             */
377            public com.liferay.portlet.social.service.SocialActivitySettingService getSocialActivitySettingService() {
378                    return socialActivitySettingService;
379            }
380    
381            /**
382             * Sets the social activity setting remote service.
383             *
384             * @param socialActivitySettingService the social activity setting remote service
385             */
386            public void setSocialActivitySettingService(
387                    com.liferay.portlet.social.service.SocialActivitySettingService socialActivitySettingService) {
388                    this.socialActivitySettingService = socialActivitySettingService;
389            }
390    
391            /**
392             * Returns the social activity setting persistence.
393             *
394             * @return the social activity setting persistence
395             */
396            public SocialActivitySettingPersistence getSocialActivitySettingPersistence() {
397                    return socialActivitySettingPersistence;
398            }
399    
400            /**
401             * Sets the social activity setting persistence.
402             *
403             * @param socialActivitySettingPersistence the social activity setting persistence
404             */
405            public void setSocialActivitySettingPersistence(
406                    SocialActivitySettingPersistence socialActivitySettingPersistence) {
407                    this.socialActivitySettingPersistence = socialActivitySettingPersistence;
408            }
409    
410            /**
411             * Returns the social relation local service.
412             *
413             * @return the social relation local service
414             */
415            public com.liferay.portlet.social.service.SocialRelationLocalService getSocialRelationLocalService() {
416                    return socialRelationLocalService;
417            }
418    
419            /**
420             * Sets the social relation local service.
421             *
422             * @param socialRelationLocalService the social relation local service
423             */
424            public void setSocialRelationLocalService(
425                    com.liferay.portlet.social.service.SocialRelationLocalService socialRelationLocalService) {
426                    this.socialRelationLocalService = socialRelationLocalService;
427            }
428    
429            /**
430             * Returns the social relation persistence.
431             *
432             * @return the social relation persistence
433             */
434            public SocialRelationPersistence getSocialRelationPersistence() {
435                    return socialRelationPersistence;
436            }
437    
438            /**
439             * Sets the social relation persistence.
440             *
441             * @param socialRelationPersistence the social relation persistence
442             */
443            public void setSocialRelationPersistence(
444                    SocialRelationPersistence socialRelationPersistence) {
445                    this.socialRelationPersistence = socialRelationPersistence;
446            }
447    
448            /**
449             * Returns the social request local service.
450             *
451             * @return the social request local service
452             */
453            public com.liferay.portlet.social.service.SocialRequestLocalService getSocialRequestLocalService() {
454                    return socialRequestLocalService;
455            }
456    
457            /**
458             * Sets the social request local service.
459             *
460             * @param socialRequestLocalService the social request local service
461             */
462            public void setSocialRequestLocalService(
463                    com.liferay.portlet.social.service.SocialRequestLocalService socialRequestLocalService) {
464                    this.socialRequestLocalService = socialRequestLocalService;
465            }
466    
467            /**
468             * Returns the social request remote service.
469             *
470             * @return the social request remote service
471             */
472            public com.liferay.portlet.social.service.SocialRequestService getSocialRequestService() {
473                    return socialRequestService;
474            }
475    
476            /**
477             * Sets the social request remote service.
478             *
479             * @param socialRequestService the social request remote service
480             */
481            public void setSocialRequestService(
482                    com.liferay.portlet.social.service.SocialRequestService socialRequestService) {
483                    this.socialRequestService = socialRequestService;
484            }
485    
486            /**
487             * Returns the social request persistence.
488             *
489             * @return the social request persistence
490             */
491            public SocialRequestPersistence getSocialRequestPersistence() {
492                    return socialRequestPersistence;
493            }
494    
495            /**
496             * Sets the social request persistence.
497             *
498             * @param socialRequestPersistence the social request persistence
499             */
500            public void setSocialRequestPersistence(
501                    SocialRequestPersistence socialRequestPersistence) {
502                    this.socialRequestPersistence = socialRequestPersistence;
503            }
504    
505            /**
506             * Returns the social request interpreter local service.
507             *
508             * @return the social request interpreter local service
509             */
510            public com.liferay.portlet.social.service.SocialRequestInterpreterLocalService getSocialRequestInterpreterLocalService() {
511                    return socialRequestInterpreterLocalService;
512            }
513    
514            /**
515             * Sets the social request interpreter local service.
516             *
517             * @param socialRequestInterpreterLocalService the social request interpreter local service
518             */
519            public void setSocialRequestInterpreterLocalService(
520                    com.liferay.portlet.social.service.SocialRequestInterpreterLocalService socialRequestInterpreterLocalService) {
521                    this.socialRequestInterpreterLocalService = socialRequestInterpreterLocalService;
522            }
523    
524            /**
525             * Returns the counter local service.
526             *
527             * @return the counter local service
528             */
529            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
530                    return counterLocalService;
531            }
532    
533            /**
534             * Sets the counter local service.
535             *
536             * @param counterLocalService the counter local service
537             */
538            public void setCounterLocalService(
539                    com.liferay.counter.service.CounterLocalService counterLocalService) {
540                    this.counterLocalService = counterLocalService;
541            }
542    
543            /**
544             * Returns the group local service.
545             *
546             * @return the group local service
547             */
548            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
549                    return groupLocalService;
550            }
551    
552            /**
553             * Sets the group local service.
554             *
555             * @param groupLocalService the group local service
556             */
557            public void setGroupLocalService(
558                    com.liferay.portal.service.GroupLocalService groupLocalService) {
559                    this.groupLocalService = groupLocalService;
560            }
561    
562            /**
563             * Returns the group remote service.
564             *
565             * @return the group remote service
566             */
567            public com.liferay.portal.service.GroupService getGroupService() {
568                    return groupService;
569            }
570    
571            /**
572             * Sets the group remote service.
573             *
574             * @param groupService the group remote service
575             */
576            public void setGroupService(
577                    com.liferay.portal.service.GroupService groupService) {
578                    this.groupService = groupService;
579            }
580    
581            /**
582             * Returns the group persistence.
583             *
584             * @return the group persistence
585             */
586            public GroupPersistence getGroupPersistence() {
587                    return groupPersistence;
588            }
589    
590            /**
591             * Sets the group persistence.
592             *
593             * @param groupPersistence the group persistence
594             */
595            public void setGroupPersistence(GroupPersistence groupPersistence) {
596                    this.groupPersistence = groupPersistence;
597            }
598    
599            /**
600             * Returns the group finder.
601             *
602             * @return the group finder
603             */
604            public GroupFinder getGroupFinder() {
605                    return groupFinder;
606            }
607    
608            /**
609             * Sets the group finder.
610             *
611             * @param groupFinder the group finder
612             */
613            public void setGroupFinder(GroupFinder groupFinder) {
614                    this.groupFinder = groupFinder;
615            }
616    
617            /**
618             * Returns the layout local service.
619             *
620             * @return the layout local service
621             */
622            public com.liferay.portal.service.LayoutLocalService getLayoutLocalService() {
623                    return layoutLocalService;
624            }
625    
626            /**
627             * Sets the layout local service.
628             *
629             * @param layoutLocalService the layout local service
630             */
631            public void setLayoutLocalService(
632                    com.liferay.portal.service.LayoutLocalService layoutLocalService) {
633                    this.layoutLocalService = layoutLocalService;
634            }
635    
636            /**
637             * Returns the layout remote service.
638             *
639             * @return the layout remote service
640             */
641            public com.liferay.portal.service.LayoutService getLayoutService() {
642                    return layoutService;
643            }
644    
645            /**
646             * Sets the layout remote service.
647             *
648             * @param layoutService the layout remote service
649             */
650            public void setLayoutService(
651                    com.liferay.portal.service.LayoutService layoutService) {
652                    this.layoutService = layoutService;
653            }
654    
655            /**
656             * Returns the layout persistence.
657             *
658             * @return the layout persistence
659             */
660            public LayoutPersistence getLayoutPersistence() {
661                    return layoutPersistence;
662            }
663    
664            /**
665             * Sets the layout persistence.
666             *
667             * @param layoutPersistence the layout persistence
668             */
669            public void setLayoutPersistence(LayoutPersistence layoutPersistence) {
670                    this.layoutPersistence = layoutPersistence;
671            }
672    
673            /**
674             * Returns the layout finder.
675             *
676             * @return the layout finder
677             */
678            public LayoutFinder getLayoutFinder() {
679                    return layoutFinder;
680            }
681    
682            /**
683             * Sets the layout finder.
684             *
685             * @param layoutFinder the layout finder
686             */
687            public void setLayoutFinder(LayoutFinder layoutFinder) {
688                    this.layoutFinder = layoutFinder;
689            }
690    
691            /**
692             * Returns the resource local service.
693             *
694             * @return the resource local service
695             */
696            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
697                    return resourceLocalService;
698            }
699    
700            /**
701             * Sets the resource local service.
702             *
703             * @param resourceLocalService the resource local service
704             */
705            public void setResourceLocalService(
706                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
707                    this.resourceLocalService = resourceLocalService;
708            }
709    
710            /**
711             * Returns the user local service.
712             *
713             * @return the user local service
714             */
715            public com.liferay.portal.service.UserLocalService getUserLocalService() {
716                    return userLocalService;
717            }
718    
719            /**
720             * Sets the user local service.
721             *
722             * @param userLocalService the user local service
723             */
724            public void setUserLocalService(
725                    com.liferay.portal.service.UserLocalService userLocalService) {
726                    this.userLocalService = userLocalService;
727            }
728    
729            /**
730             * Returns the user remote service.
731             *
732             * @return the user remote service
733             */
734            public com.liferay.portal.service.UserService getUserService() {
735                    return userService;
736            }
737    
738            /**
739             * Sets the user remote service.
740             *
741             * @param userService the user remote service
742             */
743            public void setUserService(
744                    com.liferay.portal.service.UserService userService) {
745                    this.userService = userService;
746            }
747    
748            /**
749             * Returns the user persistence.
750             *
751             * @return the user persistence
752             */
753            public UserPersistence getUserPersistence() {
754                    return userPersistence;
755            }
756    
757            /**
758             * Sets the user persistence.
759             *
760             * @param userPersistence the user persistence
761             */
762            public void setUserPersistence(UserPersistence userPersistence) {
763                    this.userPersistence = userPersistence;
764            }
765    
766            /**
767             * Returns the user finder.
768             *
769             * @return the user finder
770             */
771            public UserFinder getUserFinder() {
772                    return userFinder;
773            }
774    
775            /**
776             * Sets the user finder.
777             *
778             * @param userFinder the user finder
779             */
780            public void setUserFinder(UserFinder userFinder) {
781                    this.userFinder = userFinder;
782            }
783    
784            /**
785             * Returns the asset entry local service.
786             *
787             * @return the asset entry local service
788             */
789            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
790                    return assetEntryLocalService;
791            }
792    
793            /**
794             * Sets the asset entry local service.
795             *
796             * @param assetEntryLocalService the asset entry local service
797             */
798            public void setAssetEntryLocalService(
799                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
800                    this.assetEntryLocalService = assetEntryLocalService;
801            }
802    
803            /**
804             * Returns the asset entry remote service.
805             *
806             * @return the asset entry remote service
807             */
808            public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
809                    return assetEntryService;
810            }
811    
812            /**
813             * Sets the asset entry remote service.
814             *
815             * @param assetEntryService the asset entry remote service
816             */
817            public void setAssetEntryService(
818                    com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
819                    this.assetEntryService = assetEntryService;
820            }
821    
822            /**
823             * Returns the asset entry persistence.
824             *
825             * @return the asset entry persistence
826             */
827            public AssetEntryPersistence getAssetEntryPersistence() {
828                    return assetEntryPersistence;
829            }
830    
831            /**
832             * Sets the asset entry persistence.
833             *
834             * @param assetEntryPersistence the asset entry persistence
835             */
836            public void setAssetEntryPersistence(
837                    AssetEntryPersistence assetEntryPersistence) {
838                    this.assetEntryPersistence = assetEntryPersistence;
839            }
840    
841            /**
842             * Returns the asset entry finder.
843             *
844             * @return the asset entry finder
845             */
846            public AssetEntryFinder getAssetEntryFinder() {
847                    return assetEntryFinder;
848            }
849    
850            /**
851             * Sets the asset entry finder.
852             *
853             * @param assetEntryFinder the asset entry finder
854             */
855            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
856                    this.assetEntryFinder = assetEntryFinder;
857            }
858    
859            public void afterPropertiesSet() {
860            }
861    
862            public void destroy() {
863            }
864    
865            /**
866             * Returns the Spring bean ID for this bean.
867             *
868             * @return the Spring bean ID for this bean
869             */
870            @Override
871            public String getBeanIdentifier() {
872                    return _beanIdentifier;
873            }
874    
875            /**
876             * Sets the Spring bean ID for this bean.
877             *
878             * @param beanIdentifier the Spring bean ID for this bean
879             */
880            @Override
881            public void setBeanIdentifier(String beanIdentifier) {
882                    _beanIdentifier = beanIdentifier;
883            }
884    
885            protected Class<?> getModelClass() {
886                    return SocialActivity.class;
887            }
888    
889            protected String getModelClassName() {
890                    return SocialActivity.class.getName();
891            }
892    
893            /**
894             * Performs an SQL query.
895             *
896             * @param sql the sql query
897             */
898            protected void runSQL(String sql) throws SystemException {
899                    try {
900                            DataSource dataSource = socialActivityPersistence.getDataSource();
901    
902                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
903                                            sql, new int[0]);
904    
905                            sqlUpdate.update();
906                    }
907                    catch (Exception e) {
908                            throw new SystemException(e);
909                    }
910            }
911    
912            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
913            protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
914            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityService.class)
915            protected com.liferay.portlet.social.service.SocialActivityService socialActivityService;
916            @BeanReference(type = SocialActivityPersistence.class)
917            protected SocialActivityPersistence socialActivityPersistence;
918            @BeanReference(type = SocialActivityFinder.class)
919            protected SocialActivityFinder socialActivityFinder;
920            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityAchievementLocalService.class)
921            protected com.liferay.portlet.social.service.SocialActivityAchievementLocalService socialActivityAchievementLocalService;
922            @BeanReference(type = SocialActivityAchievementPersistence.class)
923            protected SocialActivityAchievementPersistence socialActivityAchievementPersistence;
924            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityCounterLocalService.class)
925            protected com.liferay.portlet.social.service.SocialActivityCounterLocalService socialActivityCounterLocalService;
926            @BeanReference(type = SocialActivityCounterPersistence.class)
927            protected SocialActivityCounterPersistence socialActivityCounterPersistence;
928            @BeanReference(type = SocialActivityCounterFinder.class)
929            protected SocialActivityCounterFinder socialActivityCounterFinder;
930            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityInterpreterLocalService.class)
931            protected com.liferay.portlet.social.service.SocialActivityInterpreterLocalService socialActivityInterpreterLocalService;
932            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLimitLocalService.class)
933            protected com.liferay.portlet.social.service.SocialActivityLimitLocalService socialActivityLimitLocalService;
934            @BeanReference(type = SocialActivityLimitPersistence.class)
935            protected SocialActivityLimitPersistence socialActivityLimitPersistence;
936            @BeanReference(type = com.liferay.portlet.social.service.SocialActivitySetLocalService.class)
937            protected com.liferay.portlet.social.service.SocialActivitySetLocalService socialActivitySetLocalService;
938            @BeanReference(type = SocialActivitySetPersistence.class)
939            protected SocialActivitySetPersistence socialActivitySetPersistence;
940            @BeanReference(type = SocialActivitySetFinder.class)
941            protected SocialActivitySetFinder socialActivitySetFinder;
942            @BeanReference(type = com.liferay.portlet.social.service.SocialActivitySettingLocalService.class)
943            protected com.liferay.portlet.social.service.SocialActivitySettingLocalService socialActivitySettingLocalService;
944            @BeanReference(type = com.liferay.portlet.social.service.SocialActivitySettingService.class)
945            protected com.liferay.portlet.social.service.SocialActivitySettingService socialActivitySettingService;
946            @BeanReference(type = SocialActivitySettingPersistence.class)
947            protected SocialActivitySettingPersistence socialActivitySettingPersistence;
948            @BeanReference(type = com.liferay.portlet.social.service.SocialRelationLocalService.class)
949            protected com.liferay.portlet.social.service.SocialRelationLocalService socialRelationLocalService;
950            @BeanReference(type = SocialRelationPersistence.class)
951            protected SocialRelationPersistence socialRelationPersistence;
952            @BeanReference(type = com.liferay.portlet.social.service.SocialRequestLocalService.class)
953            protected com.liferay.portlet.social.service.SocialRequestLocalService socialRequestLocalService;
954            @BeanReference(type = com.liferay.portlet.social.service.SocialRequestService.class)
955            protected com.liferay.portlet.social.service.SocialRequestService socialRequestService;
956            @BeanReference(type = SocialRequestPersistence.class)
957            protected SocialRequestPersistence socialRequestPersistence;
958            @BeanReference(type = com.liferay.portlet.social.service.SocialRequestInterpreterLocalService.class)
959            protected com.liferay.portlet.social.service.SocialRequestInterpreterLocalService socialRequestInterpreterLocalService;
960            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
961            protected com.liferay.counter.service.CounterLocalService counterLocalService;
962            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
963            protected com.liferay.portal.service.GroupLocalService groupLocalService;
964            @BeanReference(type = com.liferay.portal.service.GroupService.class)
965            protected com.liferay.portal.service.GroupService groupService;
966            @BeanReference(type = GroupPersistence.class)
967            protected GroupPersistence groupPersistence;
968            @BeanReference(type = GroupFinder.class)
969            protected GroupFinder groupFinder;
970            @BeanReference(type = com.liferay.portal.service.LayoutLocalService.class)
971            protected com.liferay.portal.service.LayoutLocalService layoutLocalService;
972            @BeanReference(type = com.liferay.portal.service.LayoutService.class)
973            protected com.liferay.portal.service.LayoutService layoutService;
974            @BeanReference(type = LayoutPersistence.class)
975            protected LayoutPersistence layoutPersistence;
976            @BeanReference(type = LayoutFinder.class)
977            protected LayoutFinder layoutFinder;
978            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
979            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
980            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
981            protected com.liferay.portal.service.UserLocalService userLocalService;
982            @BeanReference(type = com.liferay.portal.service.UserService.class)
983            protected com.liferay.portal.service.UserService userService;
984            @BeanReference(type = UserPersistence.class)
985            protected UserPersistence userPersistence;
986            @BeanReference(type = UserFinder.class)
987            protected UserFinder userFinder;
988            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
989            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
990            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
991            protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
992            @BeanReference(type = AssetEntryPersistence.class)
993            protected AssetEntryPersistence assetEntryPersistence;
994            @BeanReference(type = AssetEntryFinder.class)
995            protected AssetEntryFinder assetEntryFinder;
996            private String _beanIdentifier;
997    }