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