001    /**
002     * Copyright (c) 2000-present 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.blogs.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.db.DB;
020    import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
021    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
022    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
023    import com.liferay.portal.kernel.exception.SystemException;
024    import com.liferay.portal.service.BaseServiceImpl;
025    import com.liferay.portal.service.persistence.CompanyPersistence;
026    import com.liferay.portal.service.persistence.GroupFinder;
027    import com.liferay.portal.service.persistence.GroupPersistence;
028    import com.liferay.portal.service.persistence.ImagePersistence;
029    import com.liferay.portal.service.persistence.OrganizationFinder;
030    import com.liferay.portal.service.persistence.OrganizationPersistence;
031    import com.liferay.portal.service.persistence.PortletPreferencesFinder;
032    import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
033    import com.liferay.portal.service.persistence.SubscriptionPersistence;
034    import com.liferay.portal.service.persistence.UserFinder;
035    import com.liferay.portal.service.persistence.UserPersistence;
036    import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
037    import com.liferay.portal.util.PortalUtil;
038    
039    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
040    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
041    import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
042    import com.liferay.portlet.blogs.model.BlogsEntry;
043    import com.liferay.portlet.blogs.service.BlogsEntryService;
044    import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
045    import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
046    import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder;
047    import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence;
048    import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
049    import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
050    import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
051    import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
052    import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
053    import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
054    
055    import javax.sql.DataSource;
056    
057    /**
058     * Provides the base implementation for the blogs entry remote service.
059     *
060     * <p>
061     * 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.blogs.service.impl.BlogsEntryServiceImpl}.
062     * </p>
063     *
064     * @author Brian Wing Shun Chan
065     * @see com.liferay.portlet.blogs.service.impl.BlogsEntryServiceImpl
066     * @see com.liferay.portlet.blogs.service.BlogsEntryServiceUtil
067     * @generated
068     */
069    public abstract class BlogsEntryServiceBaseImpl extends BaseServiceImpl
070            implements BlogsEntryService, IdentifiableBean {
071            /*
072             * NOTE FOR DEVELOPERS:
073             *
074             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.blogs.service.BlogsEntryServiceUtil} to access the blogs entry remote service.
075             */
076    
077            /**
078             * Returns the blogs entry local service.
079             *
080             * @return the blogs entry local service
081             */
082            public com.liferay.portlet.blogs.service.BlogsEntryLocalService getBlogsEntryLocalService() {
083                    return blogsEntryLocalService;
084            }
085    
086            /**
087             * Sets the blogs entry local service.
088             *
089             * @param blogsEntryLocalService the blogs entry local service
090             */
091            public void setBlogsEntryLocalService(
092                    com.liferay.portlet.blogs.service.BlogsEntryLocalService blogsEntryLocalService) {
093                    this.blogsEntryLocalService = blogsEntryLocalService;
094            }
095    
096            /**
097             * Returns the blogs entry remote service.
098             *
099             * @return the blogs entry remote service
100             */
101            public BlogsEntryService getBlogsEntryService() {
102                    return blogsEntryService;
103            }
104    
105            /**
106             * Sets the blogs entry remote service.
107             *
108             * @param blogsEntryService the blogs entry remote service
109             */
110            public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
111                    this.blogsEntryService = blogsEntryService;
112            }
113    
114            /**
115             * Returns the blogs entry persistence.
116             *
117             * @return the blogs entry persistence
118             */
119            public BlogsEntryPersistence getBlogsEntryPersistence() {
120                    return blogsEntryPersistence;
121            }
122    
123            /**
124             * Sets the blogs entry persistence.
125             *
126             * @param blogsEntryPersistence the blogs entry persistence
127             */
128            public void setBlogsEntryPersistence(
129                    BlogsEntryPersistence blogsEntryPersistence) {
130                    this.blogsEntryPersistence = blogsEntryPersistence;
131            }
132    
133            /**
134             * Returns the blogs entry finder.
135             *
136             * @return the blogs entry finder
137             */
138            public BlogsEntryFinder getBlogsEntryFinder() {
139                    return blogsEntryFinder;
140            }
141    
142            /**
143             * Sets the blogs entry finder.
144             *
145             * @param blogsEntryFinder the blogs entry finder
146             */
147            public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
148                    this.blogsEntryFinder = blogsEntryFinder;
149            }
150    
151            /**
152             * Returns the counter local service.
153             *
154             * @return the counter local service
155             */
156            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
157                    return counterLocalService;
158            }
159    
160            /**
161             * Sets the counter local service.
162             *
163             * @param counterLocalService the counter local service
164             */
165            public void setCounterLocalService(
166                    com.liferay.counter.service.CounterLocalService counterLocalService) {
167                    this.counterLocalService = counterLocalService;
168            }
169    
170            /**
171             * Returns the company local service.
172             *
173             * @return the company local service
174             */
175            public com.liferay.portal.service.CompanyLocalService getCompanyLocalService() {
176                    return companyLocalService;
177            }
178    
179            /**
180             * Sets the company local service.
181             *
182             * @param companyLocalService the company local service
183             */
184            public void setCompanyLocalService(
185                    com.liferay.portal.service.CompanyLocalService companyLocalService) {
186                    this.companyLocalService = companyLocalService;
187            }
188    
189            /**
190             * Returns the company remote service.
191             *
192             * @return the company remote service
193             */
194            public com.liferay.portal.service.CompanyService getCompanyService() {
195                    return companyService;
196            }
197    
198            /**
199             * Sets the company remote service.
200             *
201             * @param companyService the company remote service
202             */
203            public void setCompanyService(
204                    com.liferay.portal.service.CompanyService companyService) {
205                    this.companyService = companyService;
206            }
207    
208            /**
209             * Returns the company persistence.
210             *
211             * @return the company persistence
212             */
213            public CompanyPersistence getCompanyPersistence() {
214                    return companyPersistence;
215            }
216    
217            /**
218             * Sets the company persistence.
219             *
220             * @param companyPersistence the company persistence
221             */
222            public void setCompanyPersistence(CompanyPersistence companyPersistence) {
223                    this.companyPersistence = companyPersistence;
224            }
225    
226            /**
227             * Returns the group local service.
228             *
229             * @return the group local service
230             */
231            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
232                    return groupLocalService;
233            }
234    
235            /**
236             * Sets the group local service.
237             *
238             * @param groupLocalService the group local service
239             */
240            public void setGroupLocalService(
241                    com.liferay.portal.service.GroupLocalService groupLocalService) {
242                    this.groupLocalService = groupLocalService;
243            }
244    
245            /**
246             * Returns the group remote service.
247             *
248             * @return the group remote service
249             */
250            public com.liferay.portal.service.GroupService getGroupService() {
251                    return groupService;
252            }
253    
254            /**
255             * Sets the group remote service.
256             *
257             * @param groupService the group remote service
258             */
259            public void setGroupService(
260                    com.liferay.portal.service.GroupService groupService) {
261                    this.groupService = groupService;
262            }
263    
264            /**
265             * Returns the group persistence.
266             *
267             * @return the group persistence
268             */
269            public GroupPersistence getGroupPersistence() {
270                    return groupPersistence;
271            }
272    
273            /**
274             * Sets the group persistence.
275             *
276             * @param groupPersistence the group persistence
277             */
278            public void setGroupPersistence(GroupPersistence groupPersistence) {
279                    this.groupPersistence = groupPersistence;
280            }
281    
282            /**
283             * Returns the group finder.
284             *
285             * @return the group finder
286             */
287            public GroupFinder getGroupFinder() {
288                    return groupFinder;
289            }
290    
291            /**
292             * Sets the group finder.
293             *
294             * @param groupFinder the group finder
295             */
296            public void setGroupFinder(GroupFinder groupFinder) {
297                    this.groupFinder = groupFinder;
298            }
299    
300            /**
301             * Returns the image local service.
302             *
303             * @return the image local service
304             */
305            public com.liferay.portal.service.ImageLocalService getImageLocalService() {
306                    return imageLocalService;
307            }
308    
309            /**
310             * Sets the image local service.
311             *
312             * @param imageLocalService the image local service
313             */
314            public void setImageLocalService(
315                    com.liferay.portal.service.ImageLocalService imageLocalService) {
316                    this.imageLocalService = imageLocalService;
317            }
318    
319            /**
320             * Returns the image remote service.
321             *
322             * @return the image remote service
323             */
324            public com.liferay.portal.service.ImageService getImageService() {
325                    return imageService;
326            }
327    
328            /**
329             * Sets the image remote service.
330             *
331             * @param imageService the image remote service
332             */
333            public void setImageService(
334                    com.liferay.portal.service.ImageService imageService) {
335                    this.imageService = imageService;
336            }
337    
338            /**
339             * Returns the image persistence.
340             *
341             * @return the image persistence
342             */
343            public ImagePersistence getImagePersistence() {
344                    return imagePersistence;
345            }
346    
347            /**
348             * Sets the image persistence.
349             *
350             * @param imagePersistence the image persistence
351             */
352            public void setImagePersistence(ImagePersistence imagePersistence) {
353                    this.imagePersistence = imagePersistence;
354            }
355    
356            /**
357             * Returns the organization local service.
358             *
359             * @return the organization local service
360             */
361            public com.liferay.portal.service.OrganizationLocalService getOrganizationLocalService() {
362                    return organizationLocalService;
363            }
364    
365            /**
366             * Sets the organization local service.
367             *
368             * @param organizationLocalService the organization local service
369             */
370            public void setOrganizationLocalService(
371                    com.liferay.portal.service.OrganizationLocalService organizationLocalService) {
372                    this.organizationLocalService = organizationLocalService;
373            }
374    
375            /**
376             * Returns the organization remote service.
377             *
378             * @return the organization remote service
379             */
380            public com.liferay.portal.service.OrganizationService getOrganizationService() {
381                    return organizationService;
382            }
383    
384            /**
385             * Sets the organization remote service.
386             *
387             * @param organizationService the organization remote service
388             */
389            public void setOrganizationService(
390                    com.liferay.portal.service.OrganizationService organizationService) {
391                    this.organizationService = organizationService;
392            }
393    
394            /**
395             * Returns the organization persistence.
396             *
397             * @return the organization persistence
398             */
399            public OrganizationPersistence getOrganizationPersistence() {
400                    return organizationPersistence;
401            }
402    
403            /**
404             * Sets the organization persistence.
405             *
406             * @param organizationPersistence the organization persistence
407             */
408            public void setOrganizationPersistence(
409                    OrganizationPersistence organizationPersistence) {
410                    this.organizationPersistence = organizationPersistence;
411            }
412    
413            /**
414             * Returns the organization finder.
415             *
416             * @return the organization finder
417             */
418            public OrganizationFinder getOrganizationFinder() {
419                    return organizationFinder;
420            }
421    
422            /**
423             * Sets the organization finder.
424             *
425             * @param organizationFinder the organization finder
426             */
427            public void setOrganizationFinder(OrganizationFinder organizationFinder) {
428                    this.organizationFinder = organizationFinder;
429            }
430    
431            /**
432             * Returns the portlet preferences local service.
433             *
434             * @return the portlet preferences local service
435             */
436            public com.liferay.portal.service.PortletPreferencesLocalService getPortletPreferencesLocalService() {
437                    return portletPreferencesLocalService;
438            }
439    
440            /**
441             * Sets the portlet preferences local service.
442             *
443             * @param portletPreferencesLocalService the portlet preferences local service
444             */
445            public void setPortletPreferencesLocalService(
446                    com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService) {
447                    this.portletPreferencesLocalService = portletPreferencesLocalService;
448            }
449    
450            /**
451             * Returns the portlet preferences remote service.
452             *
453             * @return the portlet preferences remote service
454             */
455            public com.liferay.portal.service.PortletPreferencesService getPortletPreferencesService() {
456                    return portletPreferencesService;
457            }
458    
459            /**
460             * Sets the portlet preferences remote service.
461             *
462             * @param portletPreferencesService the portlet preferences remote service
463             */
464            public void setPortletPreferencesService(
465                    com.liferay.portal.service.PortletPreferencesService portletPreferencesService) {
466                    this.portletPreferencesService = portletPreferencesService;
467            }
468    
469            /**
470             * Returns the portlet preferences persistence.
471             *
472             * @return the portlet preferences persistence
473             */
474            public PortletPreferencesPersistence getPortletPreferencesPersistence() {
475                    return portletPreferencesPersistence;
476            }
477    
478            /**
479             * Sets the portlet preferences persistence.
480             *
481             * @param portletPreferencesPersistence the portlet preferences persistence
482             */
483            public void setPortletPreferencesPersistence(
484                    PortletPreferencesPersistence portletPreferencesPersistence) {
485                    this.portletPreferencesPersistence = portletPreferencesPersistence;
486            }
487    
488            /**
489             * Returns the portlet preferences finder.
490             *
491             * @return the portlet preferences finder
492             */
493            public PortletPreferencesFinder getPortletPreferencesFinder() {
494                    return portletPreferencesFinder;
495            }
496    
497            /**
498             * Sets the portlet preferences finder.
499             *
500             * @param portletPreferencesFinder the portlet preferences finder
501             */
502            public void setPortletPreferencesFinder(
503                    PortletPreferencesFinder portletPreferencesFinder) {
504                    this.portletPreferencesFinder = portletPreferencesFinder;
505            }
506    
507            /**
508             * Returns the resource local service.
509             *
510             * @return the resource local service
511             */
512            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
513                    return resourceLocalService;
514            }
515    
516            /**
517             * Sets the resource local service.
518             *
519             * @param resourceLocalService the resource local service
520             */
521            public void setResourceLocalService(
522                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
523                    this.resourceLocalService = resourceLocalService;
524            }
525    
526            /**
527             * Returns the subscription local service.
528             *
529             * @return the subscription local service
530             */
531            public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
532                    return subscriptionLocalService;
533            }
534    
535            /**
536             * Sets the subscription local service.
537             *
538             * @param subscriptionLocalService the subscription local service
539             */
540            public void setSubscriptionLocalService(
541                    com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
542                    this.subscriptionLocalService = subscriptionLocalService;
543            }
544    
545            /**
546             * Returns the subscription persistence.
547             *
548             * @return the subscription persistence
549             */
550            public SubscriptionPersistence getSubscriptionPersistence() {
551                    return subscriptionPersistence;
552            }
553    
554            /**
555             * Sets the subscription persistence.
556             *
557             * @param subscriptionPersistence the subscription persistence
558             */
559            public void setSubscriptionPersistence(
560                    SubscriptionPersistence subscriptionPersistence) {
561                    this.subscriptionPersistence = subscriptionPersistence;
562            }
563    
564            /**
565             * Returns the user local service.
566             *
567             * @return the user local service
568             */
569            public com.liferay.portal.service.UserLocalService getUserLocalService() {
570                    return userLocalService;
571            }
572    
573            /**
574             * Sets the user local service.
575             *
576             * @param userLocalService the user local service
577             */
578            public void setUserLocalService(
579                    com.liferay.portal.service.UserLocalService userLocalService) {
580                    this.userLocalService = userLocalService;
581            }
582    
583            /**
584             * Returns the user remote service.
585             *
586             * @return the user remote service
587             */
588            public com.liferay.portal.service.UserService getUserService() {
589                    return userService;
590            }
591    
592            /**
593             * Sets the user remote service.
594             *
595             * @param userService the user remote service
596             */
597            public void setUserService(
598                    com.liferay.portal.service.UserService userService) {
599                    this.userService = userService;
600            }
601    
602            /**
603             * Returns the user persistence.
604             *
605             * @return the user persistence
606             */
607            public UserPersistence getUserPersistence() {
608                    return userPersistence;
609            }
610    
611            /**
612             * Sets the user persistence.
613             *
614             * @param userPersistence the user persistence
615             */
616            public void setUserPersistence(UserPersistence userPersistence) {
617                    this.userPersistence = userPersistence;
618            }
619    
620            /**
621             * Returns the user finder.
622             *
623             * @return the user finder
624             */
625            public UserFinder getUserFinder() {
626                    return userFinder;
627            }
628    
629            /**
630             * Sets the user finder.
631             *
632             * @param userFinder the user finder
633             */
634            public void setUserFinder(UserFinder userFinder) {
635                    this.userFinder = userFinder;
636            }
637    
638            /**
639             * Returns the workflow instance link local service.
640             *
641             * @return the workflow instance link local service
642             */
643            public com.liferay.portal.service.WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
644                    return workflowInstanceLinkLocalService;
645            }
646    
647            /**
648             * Sets the workflow instance link local service.
649             *
650             * @param workflowInstanceLinkLocalService the workflow instance link local service
651             */
652            public void setWorkflowInstanceLinkLocalService(
653                    com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
654                    this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
655            }
656    
657            /**
658             * Returns the workflow instance link persistence.
659             *
660             * @return the workflow instance link persistence
661             */
662            public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
663                    return workflowInstanceLinkPersistence;
664            }
665    
666            /**
667             * Sets the workflow instance link persistence.
668             *
669             * @param workflowInstanceLinkPersistence the workflow instance link persistence
670             */
671            public void setWorkflowInstanceLinkPersistence(
672                    WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
673                    this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
674            }
675    
676            /**
677             * Returns the asset entry local service.
678             *
679             * @return the asset entry local service
680             */
681            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
682                    return assetEntryLocalService;
683            }
684    
685            /**
686             * Sets the asset entry local service.
687             *
688             * @param assetEntryLocalService the asset entry local service
689             */
690            public void setAssetEntryLocalService(
691                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
692                    this.assetEntryLocalService = assetEntryLocalService;
693            }
694    
695            /**
696             * Returns the asset entry remote service.
697             *
698             * @return the asset entry remote service
699             */
700            public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
701                    return assetEntryService;
702            }
703    
704            /**
705             * Sets the asset entry remote service.
706             *
707             * @param assetEntryService the asset entry remote service
708             */
709            public void setAssetEntryService(
710                    com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
711                    this.assetEntryService = assetEntryService;
712            }
713    
714            /**
715             * Returns the asset entry persistence.
716             *
717             * @return the asset entry persistence
718             */
719            public AssetEntryPersistence getAssetEntryPersistence() {
720                    return assetEntryPersistence;
721            }
722    
723            /**
724             * Sets the asset entry persistence.
725             *
726             * @param assetEntryPersistence the asset entry persistence
727             */
728            public void setAssetEntryPersistence(
729                    AssetEntryPersistence assetEntryPersistence) {
730                    this.assetEntryPersistence = assetEntryPersistence;
731            }
732    
733            /**
734             * Returns the asset entry finder.
735             *
736             * @return the asset entry finder
737             */
738            public AssetEntryFinder getAssetEntryFinder() {
739                    return assetEntryFinder;
740            }
741    
742            /**
743             * Sets the asset entry finder.
744             *
745             * @param assetEntryFinder the asset entry finder
746             */
747            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
748                    this.assetEntryFinder = assetEntryFinder;
749            }
750    
751            /**
752             * Returns the asset link local service.
753             *
754             * @return the asset link local service
755             */
756            public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
757                    return assetLinkLocalService;
758            }
759    
760            /**
761             * Sets the asset link local service.
762             *
763             * @param assetLinkLocalService the asset link local service
764             */
765            public void setAssetLinkLocalService(
766                    com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
767                    this.assetLinkLocalService = assetLinkLocalService;
768            }
769    
770            /**
771             * Returns the asset link persistence.
772             *
773             * @return the asset link persistence
774             */
775            public AssetLinkPersistence getAssetLinkPersistence() {
776                    return assetLinkPersistence;
777            }
778    
779            /**
780             * Sets the asset link persistence.
781             *
782             * @param assetLinkPersistence the asset link persistence
783             */
784            public void setAssetLinkPersistence(
785                    AssetLinkPersistence assetLinkPersistence) {
786                    this.assetLinkPersistence = assetLinkPersistence;
787            }
788    
789            /**
790             * Returns the expando row local service.
791             *
792             * @return the expando row local service
793             */
794            public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
795                    return expandoRowLocalService;
796            }
797    
798            /**
799             * Sets the expando row local service.
800             *
801             * @param expandoRowLocalService the expando row local service
802             */
803            public void setExpandoRowLocalService(
804                    com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
805                    this.expandoRowLocalService = expandoRowLocalService;
806            }
807    
808            /**
809             * Returns the expando row persistence.
810             *
811             * @return the expando row persistence
812             */
813            public ExpandoRowPersistence getExpandoRowPersistence() {
814                    return expandoRowPersistence;
815            }
816    
817            /**
818             * Sets the expando row persistence.
819             *
820             * @param expandoRowPersistence the expando row persistence
821             */
822            public void setExpandoRowPersistence(
823                    ExpandoRowPersistence expandoRowPersistence) {
824                    this.expandoRowPersistence = expandoRowPersistence;
825            }
826    
827            /**
828             * Returns the ratings stats local service.
829             *
830             * @return the ratings stats local service
831             */
832            public com.liferay.portlet.ratings.service.RatingsStatsLocalService getRatingsStatsLocalService() {
833                    return ratingsStatsLocalService;
834            }
835    
836            /**
837             * Sets the ratings stats local service.
838             *
839             * @param ratingsStatsLocalService the ratings stats local service
840             */
841            public void setRatingsStatsLocalService(
842                    com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService) {
843                    this.ratingsStatsLocalService = ratingsStatsLocalService;
844            }
845    
846            /**
847             * Returns the ratings stats persistence.
848             *
849             * @return the ratings stats persistence
850             */
851            public RatingsStatsPersistence getRatingsStatsPersistence() {
852                    return ratingsStatsPersistence;
853            }
854    
855            /**
856             * Sets the ratings stats persistence.
857             *
858             * @param ratingsStatsPersistence the ratings stats persistence
859             */
860            public void setRatingsStatsPersistence(
861                    RatingsStatsPersistence ratingsStatsPersistence) {
862                    this.ratingsStatsPersistence = ratingsStatsPersistence;
863            }
864    
865            /**
866             * Returns the ratings stats finder.
867             *
868             * @return the ratings stats finder
869             */
870            public RatingsStatsFinder getRatingsStatsFinder() {
871                    return ratingsStatsFinder;
872            }
873    
874            /**
875             * Sets the ratings stats finder.
876             *
877             * @param ratingsStatsFinder the ratings stats finder
878             */
879            public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
880                    this.ratingsStatsFinder = ratingsStatsFinder;
881            }
882    
883            /**
884             * Returns the social activity local service.
885             *
886             * @return the social activity local service
887             */
888            public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
889                    return socialActivityLocalService;
890            }
891    
892            /**
893             * Sets the social activity local service.
894             *
895             * @param socialActivityLocalService the social activity local service
896             */
897            public void setSocialActivityLocalService(
898                    com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
899                    this.socialActivityLocalService = socialActivityLocalService;
900            }
901    
902            /**
903             * Returns the social activity remote service.
904             *
905             * @return the social activity remote service
906             */
907            public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
908                    return socialActivityService;
909            }
910    
911            /**
912             * Sets the social activity remote service.
913             *
914             * @param socialActivityService the social activity remote service
915             */
916            public void setSocialActivityService(
917                    com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
918                    this.socialActivityService = socialActivityService;
919            }
920    
921            /**
922             * Returns the social activity persistence.
923             *
924             * @return the social activity persistence
925             */
926            public SocialActivityPersistence getSocialActivityPersistence() {
927                    return socialActivityPersistence;
928            }
929    
930            /**
931             * Sets the social activity persistence.
932             *
933             * @param socialActivityPersistence the social activity persistence
934             */
935            public void setSocialActivityPersistence(
936                    SocialActivityPersistence socialActivityPersistence) {
937                    this.socialActivityPersistence = socialActivityPersistence;
938            }
939    
940            /**
941             * Returns the social activity finder.
942             *
943             * @return the social activity finder
944             */
945            public SocialActivityFinder getSocialActivityFinder() {
946                    return socialActivityFinder;
947            }
948    
949            /**
950             * Sets the social activity finder.
951             *
952             * @param socialActivityFinder the social activity finder
953             */
954            public void setSocialActivityFinder(
955                    SocialActivityFinder socialActivityFinder) {
956                    this.socialActivityFinder = socialActivityFinder;
957            }
958    
959            /**
960             * Returns the trash entry local service.
961             *
962             * @return the trash entry local service
963             */
964            public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
965                    return trashEntryLocalService;
966            }
967    
968            /**
969             * Sets the trash entry local service.
970             *
971             * @param trashEntryLocalService the trash entry local service
972             */
973            public void setTrashEntryLocalService(
974                    com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
975                    this.trashEntryLocalService = trashEntryLocalService;
976            }
977    
978            /**
979             * Returns the trash entry remote service.
980             *
981             * @return the trash entry remote service
982             */
983            public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
984                    return trashEntryService;
985            }
986    
987            /**
988             * Sets the trash entry remote service.
989             *
990             * @param trashEntryService the trash entry remote service
991             */
992            public void setTrashEntryService(
993                    com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
994                    this.trashEntryService = trashEntryService;
995            }
996    
997            /**
998             * Returns the trash entry persistence.
999             *
1000             * @return the trash entry persistence
1001             */
1002            public TrashEntryPersistence getTrashEntryPersistence() {
1003                    return trashEntryPersistence;
1004            }
1005    
1006            /**
1007             * Sets the trash entry persistence.
1008             *
1009             * @param trashEntryPersistence the trash entry persistence
1010             */
1011            public void setTrashEntryPersistence(
1012                    TrashEntryPersistence trashEntryPersistence) {
1013                    this.trashEntryPersistence = trashEntryPersistence;
1014            }
1015    
1016            /**
1017             * Returns the blogs stats user local service.
1018             *
1019             * @return the blogs stats user local service
1020             */
1021            public com.liferay.portlet.blogs.service.BlogsStatsUserLocalService getBlogsStatsUserLocalService() {
1022                    return blogsStatsUserLocalService;
1023            }
1024    
1025            /**
1026             * Sets the blogs stats user local service.
1027             *
1028             * @param blogsStatsUserLocalService the blogs stats user local service
1029             */
1030            public void setBlogsStatsUserLocalService(
1031                    com.liferay.portlet.blogs.service.BlogsStatsUserLocalService blogsStatsUserLocalService) {
1032                    this.blogsStatsUserLocalService = blogsStatsUserLocalService;
1033            }
1034    
1035            /**
1036             * Returns the blogs stats user persistence.
1037             *
1038             * @return the blogs stats user persistence
1039             */
1040            public BlogsStatsUserPersistence getBlogsStatsUserPersistence() {
1041                    return blogsStatsUserPersistence;
1042            }
1043    
1044            /**
1045             * Sets the blogs stats user persistence.
1046             *
1047             * @param blogsStatsUserPersistence the blogs stats user persistence
1048             */
1049            public void setBlogsStatsUserPersistence(
1050                    BlogsStatsUserPersistence blogsStatsUserPersistence) {
1051                    this.blogsStatsUserPersistence = blogsStatsUserPersistence;
1052            }
1053    
1054            /**
1055             * Returns the blogs stats user finder.
1056             *
1057             * @return the blogs stats user finder
1058             */
1059            public BlogsStatsUserFinder getBlogsStatsUserFinder() {
1060                    return blogsStatsUserFinder;
1061            }
1062    
1063            /**
1064             * Sets the blogs stats user finder.
1065             *
1066             * @param blogsStatsUserFinder the blogs stats user finder
1067             */
1068            public void setBlogsStatsUserFinder(
1069                    BlogsStatsUserFinder blogsStatsUserFinder) {
1070                    this.blogsStatsUserFinder = blogsStatsUserFinder;
1071            }
1072    
1073            public void afterPropertiesSet() {
1074            }
1075    
1076            public void destroy() {
1077            }
1078    
1079            /**
1080             * Returns the Spring bean ID for this bean.
1081             *
1082             * @return the Spring bean ID for this bean
1083             */
1084            @Override
1085            public String getBeanIdentifier() {
1086                    return _beanIdentifier;
1087            }
1088    
1089            /**
1090             * Sets the Spring bean ID for this bean.
1091             *
1092             * @param beanIdentifier the Spring bean ID for this bean
1093             */
1094            @Override
1095            public void setBeanIdentifier(String beanIdentifier) {
1096                    _beanIdentifier = beanIdentifier;
1097            }
1098    
1099            protected Class<?> getModelClass() {
1100                    return BlogsEntry.class;
1101            }
1102    
1103            protected String getModelClassName() {
1104                    return BlogsEntry.class.getName();
1105            }
1106    
1107            /**
1108             * Performs a SQL query.
1109             *
1110             * @param sql the sql query
1111             */
1112            protected void runSQL(String sql) {
1113                    try {
1114                            DataSource dataSource = blogsEntryPersistence.getDataSource();
1115    
1116                            DB db = DBFactoryUtil.getDB();
1117    
1118                            sql = db.buildSQL(sql);
1119                            sql = PortalUtil.transformSQL(sql);
1120    
1121                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1122                                            sql, new int[0]);
1123    
1124                            sqlUpdate.update();
1125                    }
1126                    catch (Exception e) {
1127                            throw new SystemException(e);
1128                    }
1129            }
1130    
1131            @BeanReference(type = com.liferay.portlet.blogs.service.BlogsEntryLocalService.class)
1132            protected com.liferay.portlet.blogs.service.BlogsEntryLocalService blogsEntryLocalService;
1133            @BeanReference(type = BlogsEntryService.class)
1134            protected BlogsEntryService blogsEntryService;
1135            @BeanReference(type = BlogsEntryPersistence.class)
1136            protected BlogsEntryPersistence blogsEntryPersistence;
1137            @BeanReference(type = BlogsEntryFinder.class)
1138            protected BlogsEntryFinder blogsEntryFinder;
1139            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1140            protected com.liferay.counter.service.CounterLocalService counterLocalService;
1141            @BeanReference(type = com.liferay.portal.service.CompanyLocalService.class)
1142            protected com.liferay.portal.service.CompanyLocalService companyLocalService;
1143            @BeanReference(type = com.liferay.portal.service.CompanyService.class)
1144            protected com.liferay.portal.service.CompanyService companyService;
1145            @BeanReference(type = CompanyPersistence.class)
1146            protected CompanyPersistence companyPersistence;
1147            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1148            protected com.liferay.portal.service.GroupLocalService groupLocalService;
1149            @BeanReference(type = com.liferay.portal.service.GroupService.class)
1150            protected com.liferay.portal.service.GroupService groupService;
1151            @BeanReference(type = GroupPersistence.class)
1152            protected GroupPersistence groupPersistence;
1153            @BeanReference(type = GroupFinder.class)
1154            protected GroupFinder groupFinder;
1155            @BeanReference(type = com.liferay.portal.service.ImageLocalService.class)
1156            protected com.liferay.portal.service.ImageLocalService imageLocalService;
1157            @BeanReference(type = com.liferay.portal.service.ImageService.class)
1158            protected com.liferay.portal.service.ImageService imageService;
1159            @BeanReference(type = ImagePersistence.class)
1160            protected ImagePersistence imagePersistence;
1161            @BeanReference(type = com.liferay.portal.service.OrganizationLocalService.class)
1162            protected com.liferay.portal.service.OrganizationLocalService organizationLocalService;
1163            @BeanReference(type = com.liferay.portal.service.OrganizationService.class)
1164            protected com.liferay.portal.service.OrganizationService organizationService;
1165            @BeanReference(type = OrganizationPersistence.class)
1166            protected OrganizationPersistence organizationPersistence;
1167            @BeanReference(type = OrganizationFinder.class)
1168            protected OrganizationFinder organizationFinder;
1169            @BeanReference(type = com.liferay.portal.service.PortletPreferencesLocalService.class)
1170            protected com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService;
1171            @BeanReference(type = com.liferay.portal.service.PortletPreferencesService.class)
1172            protected com.liferay.portal.service.PortletPreferencesService portletPreferencesService;
1173            @BeanReference(type = PortletPreferencesPersistence.class)
1174            protected PortletPreferencesPersistence portletPreferencesPersistence;
1175            @BeanReference(type = PortletPreferencesFinder.class)
1176            protected PortletPreferencesFinder portletPreferencesFinder;
1177            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1178            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1179            @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
1180            protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
1181            @BeanReference(type = SubscriptionPersistence.class)
1182            protected SubscriptionPersistence subscriptionPersistence;
1183            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1184            protected com.liferay.portal.service.UserLocalService userLocalService;
1185            @BeanReference(type = com.liferay.portal.service.UserService.class)
1186            protected com.liferay.portal.service.UserService userService;
1187            @BeanReference(type = UserPersistence.class)
1188            protected UserPersistence userPersistence;
1189            @BeanReference(type = UserFinder.class)
1190            protected UserFinder userFinder;
1191            @BeanReference(type = com.liferay.portal.service.WorkflowInstanceLinkLocalService.class)
1192            protected com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1193            @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1194            protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1195            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1196            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1197            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1198            protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1199            @BeanReference(type = AssetEntryPersistence.class)
1200            protected AssetEntryPersistence assetEntryPersistence;
1201            @BeanReference(type = AssetEntryFinder.class)
1202            protected AssetEntryFinder assetEntryFinder;
1203            @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
1204            protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
1205            @BeanReference(type = AssetLinkPersistence.class)
1206            protected AssetLinkPersistence assetLinkPersistence;
1207            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
1208            protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
1209            @BeanReference(type = ExpandoRowPersistence.class)
1210            protected ExpandoRowPersistence expandoRowPersistence;
1211            @BeanReference(type = com.liferay.portlet.ratings.service.RatingsStatsLocalService.class)
1212            protected com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService;
1213            @BeanReference(type = RatingsStatsPersistence.class)
1214            protected RatingsStatsPersistence ratingsStatsPersistence;
1215            @BeanReference(type = RatingsStatsFinder.class)
1216            protected RatingsStatsFinder ratingsStatsFinder;
1217            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
1218            protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
1219            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityService.class)
1220            protected com.liferay.portlet.social.service.SocialActivityService socialActivityService;
1221            @BeanReference(type = SocialActivityPersistence.class)
1222            protected SocialActivityPersistence socialActivityPersistence;
1223            @BeanReference(type = SocialActivityFinder.class)
1224            protected SocialActivityFinder socialActivityFinder;
1225            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
1226            protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
1227            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
1228            protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
1229            @BeanReference(type = TrashEntryPersistence.class)
1230            protected TrashEntryPersistence trashEntryPersistence;
1231            @BeanReference(type = com.liferay.portlet.blogs.service.BlogsStatsUserLocalService.class)
1232            protected com.liferay.portlet.blogs.service.BlogsStatsUserLocalService blogsStatsUserLocalService;
1233            @BeanReference(type = BlogsStatsUserPersistence.class)
1234            protected BlogsStatsUserPersistence blogsStatsUserPersistence;
1235            @BeanReference(type = BlogsStatsUserFinder.class)
1236            protected BlogsStatsUserFinder blogsStatsUserFinder;
1237            private String _beanIdentifier;
1238    }