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