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