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