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