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