001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.ratings.service.base;
016    
017    import com.liferay.counter.service.CounterLocalService;
018    
019    import com.liferay.portal.kernel.annotation.BeanReference;
020    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
021    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
022    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
023    import com.liferay.portal.kernel.exception.PortalException;
024    import com.liferay.portal.kernel.exception.SystemException;
025    import com.liferay.portal.kernel.util.OrderByComparator;
026    import com.liferay.portal.service.ResourceLocalService;
027    import com.liferay.portal.service.ResourceService;
028    import com.liferay.portal.service.UserLocalService;
029    import com.liferay.portal.service.UserService;
030    import com.liferay.portal.service.persistence.ResourceFinder;
031    import com.liferay.portal.service.persistence.ResourcePersistence;
032    import com.liferay.portal.service.persistence.UserFinder;
033    import com.liferay.portal.service.persistence.UserPersistence;
034    
035    import com.liferay.portlet.blogs.service.BlogsEntryLocalService;
036    import com.liferay.portlet.blogs.service.BlogsEntryService;
037    import com.liferay.portlet.blogs.service.BlogsStatsUserLocalService;
038    import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
039    import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
040    import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder;
041    import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence;
042    import com.liferay.portlet.ratings.model.RatingsEntry;
043    import com.liferay.portlet.ratings.service.RatingsEntryLocalService;
044    import com.liferay.portlet.ratings.service.RatingsEntryService;
045    import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
046    import com.liferay.portlet.ratings.service.persistence.RatingsEntryFinder;
047    import com.liferay.portlet.ratings.service.persistence.RatingsEntryPersistence;
048    import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
049    import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
050    import com.liferay.portlet.social.service.SocialEquityLogLocalService;
051    import com.liferay.portlet.social.service.persistence.SocialEquityLogPersistence;
052    
053    import java.util.List;
054    
055    import javax.sql.DataSource;
056    
057    /**
058     * The base implementation of the ratings entry local service.
059     *
060     * <p>
061     * 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.ratings.service.impl.RatingsEntryLocalServiceImpl}.
062     * </p>
063     *
064     * <p>
065     * Never modify or reference this class directly. Always use {@link com.liferay.portlet.ratings.service.RatingsEntryLocalServiceUtil} to access the ratings entry local service.
066     * </p>
067     *
068     * @author Brian Wing Shun Chan
069     * @see com.liferay.portlet.ratings.service.impl.RatingsEntryLocalServiceImpl
070     * @see com.liferay.portlet.ratings.service.RatingsEntryLocalServiceUtil
071     * @generated
072     */
073    public abstract class RatingsEntryLocalServiceBaseImpl
074            implements RatingsEntryLocalService {
075            /**
076             * Adds the ratings entry to the database. Also notifies the appropriate model listeners.
077             *
078             * @param ratingsEntry the ratings entry to add
079             * @return the ratings entry that was added
080             * @throws SystemException if a system exception occurred
081             */
082            public RatingsEntry addRatingsEntry(RatingsEntry ratingsEntry)
083                    throws SystemException {
084                    ratingsEntry.setNew(true);
085    
086                    return ratingsEntryPersistence.update(ratingsEntry, false);
087            }
088    
089            /**
090             * Creates a new ratings entry with the primary key. Does not add the ratings entry to the database.
091             *
092             * @param entryId the primary key for the new ratings entry
093             * @return the new ratings entry
094             */
095            public RatingsEntry createRatingsEntry(long entryId) {
096                    return ratingsEntryPersistence.create(entryId);
097            }
098    
099            /**
100             * Deletes the ratings entry with the primary key from the database. Also notifies the appropriate model listeners.
101             *
102             * @param entryId the primary key of the ratings entry to delete
103             * @throws PortalException if a ratings entry with the primary key could not be found
104             * @throws SystemException if a system exception occurred
105             */
106            public void deleteRatingsEntry(long entryId)
107                    throws PortalException, SystemException {
108                    ratingsEntryPersistence.remove(entryId);
109            }
110    
111            /**
112             * Deletes the ratings entry from the database. Also notifies the appropriate model listeners.
113             *
114             * @param ratingsEntry the ratings entry to delete
115             * @throws SystemException if a system exception occurred
116             */
117            public void deleteRatingsEntry(RatingsEntry ratingsEntry)
118                    throws SystemException {
119                    ratingsEntryPersistence.remove(ratingsEntry);
120            }
121    
122            /**
123             * Performs a dynamic query on the database and returns the matching rows.
124             *
125             * @param dynamicQuery the dynamic query to search with
126             * @return the matching rows
127             * @throws SystemException if a system exception occurred
128             */
129            @SuppressWarnings("rawtypes")
130            public List dynamicQuery(DynamicQuery dynamicQuery)
131                    throws SystemException {
132                    return ratingsEntryPersistence.findWithDynamicQuery(dynamicQuery);
133            }
134    
135            /**
136             * Performs a dynamic query on the database and returns a range of the matching rows.
137             *
138             * <p>
139             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
140             * </p>
141             *
142             * @param dynamicQuery the dynamic query to search with
143             * @param start the lower bound of the range of model instances to return
144             * @param end the upper bound of the range of model instances to return (not inclusive)
145             * @return the range of matching rows
146             * @throws SystemException if a system exception occurred
147             */
148            @SuppressWarnings("rawtypes")
149            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
150                    throws SystemException {
151                    return ratingsEntryPersistence.findWithDynamicQuery(dynamicQuery,
152                            start, end);
153            }
154    
155            /**
156             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
157             *
158             * <p>
159             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
160             * </p>
161             *
162             * @param dynamicQuery the dynamic query to search with
163             * @param start the lower bound of the range of model instances to return
164             * @param end the upper bound of the range of model instances to return (not inclusive)
165             * @param orderByComparator the comparator to order the results by
166             * @return the ordered range of matching rows
167             * @throws SystemException if a system exception occurred
168             */
169            @SuppressWarnings("rawtypes")
170            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
171                    OrderByComparator orderByComparator) throws SystemException {
172                    return ratingsEntryPersistence.findWithDynamicQuery(dynamicQuery,
173                            start, end, orderByComparator);
174            }
175    
176            /**
177             * Counts the number of rows that match the dynamic query.
178             *
179             * @param dynamicQuery the dynamic query to search with
180             * @return the number of rows that match the dynamic query
181             * @throws SystemException if a system exception occurred
182             */
183            public long dynamicQueryCount(DynamicQuery dynamicQuery)
184                    throws SystemException {
185                    return ratingsEntryPersistence.countWithDynamicQuery(dynamicQuery);
186            }
187    
188            /**
189             * Gets the ratings entry with the primary key.
190             *
191             * @param entryId the primary key of the ratings entry to get
192             * @return the ratings entry
193             * @throws PortalException if a ratings entry with the primary key could not be found
194             * @throws SystemException if a system exception occurred
195             */
196            public RatingsEntry getRatingsEntry(long entryId)
197                    throws PortalException, SystemException {
198                    return ratingsEntryPersistence.findByPrimaryKey(entryId);
199            }
200    
201            /**
202             * Gets a range of all the ratings entries.
203             *
204             * <p>
205             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
206             * </p>
207             *
208             * @param start the lower bound of the range of ratings entries to return
209             * @param end the upper bound of the range of ratings entries to return (not inclusive)
210             * @return the range of ratings entries
211             * @throws SystemException if a system exception occurred
212             */
213            public List<RatingsEntry> getRatingsEntries(int start, int end)
214                    throws SystemException {
215                    return ratingsEntryPersistence.findAll(start, end);
216            }
217    
218            /**
219             * Gets the number of ratings entries.
220             *
221             * @return the number of ratings entries
222             * @throws SystemException if a system exception occurred
223             */
224            public int getRatingsEntriesCount() throws SystemException {
225                    return ratingsEntryPersistence.countAll();
226            }
227    
228            /**
229             * Updates the ratings entry in the database. Also notifies the appropriate model listeners.
230             *
231             * @param ratingsEntry the ratings entry to update
232             * @return the ratings entry that was updated
233             * @throws SystemException if a system exception occurred
234             */
235            public RatingsEntry updateRatingsEntry(RatingsEntry ratingsEntry)
236                    throws SystemException {
237                    ratingsEntry.setNew(false);
238    
239                    return ratingsEntryPersistence.update(ratingsEntry, true);
240            }
241    
242            /**
243             * Updates the ratings entry in the database. Also notifies the appropriate model listeners.
244             *
245             * @param ratingsEntry the ratings entry to update
246             * @param merge whether to merge the ratings entry with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
247             * @return the ratings entry that was updated
248             * @throws SystemException if a system exception occurred
249             */
250            public RatingsEntry updateRatingsEntry(RatingsEntry ratingsEntry,
251                    boolean merge) throws SystemException {
252                    ratingsEntry.setNew(false);
253    
254                    return ratingsEntryPersistence.update(ratingsEntry, merge);
255            }
256    
257            /**
258             * Gets the ratings entry local service.
259             *
260             * @return the ratings entry local service
261             */
262            public RatingsEntryLocalService getRatingsEntryLocalService() {
263                    return ratingsEntryLocalService;
264            }
265    
266            /**
267             * Sets the ratings entry local service.
268             *
269             * @param ratingsEntryLocalService the ratings entry local service
270             */
271            public void setRatingsEntryLocalService(
272                    RatingsEntryLocalService ratingsEntryLocalService) {
273                    this.ratingsEntryLocalService = ratingsEntryLocalService;
274            }
275    
276            /**
277             * Gets the ratings entry remote service.
278             *
279             * @return the ratings entry remote service
280             */
281            public RatingsEntryService getRatingsEntryService() {
282                    return ratingsEntryService;
283            }
284    
285            /**
286             * Sets the ratings entry remote service.
287             *
288             * @param ratingsEntryService the ratings entry remote service
289             */
290            public void setRatingsEntryService(RatingsEntryService ratingsEntryService) {
291                    this.ratingsEntryService = ratingsEntryService;
292            }
293    
294            /**
295             * Gets the ratings entry persistence.
296             *
297             * @return the ratings entry persistence
298             */
299            public RatingsEntryPersistence getRatingsEntryPersistence() {
300                    return ratingsEntryPersistence;
301            }
302    
303            /**
304             * Sets the ratings entry persistence.
305             *
306             * @param ratingsEntryPersistence the ratings entry persistence
307             */
308            public void setRatingsEntryPersistence(
309                    RatingsEntryPersistence ratingsEntryPersistence) {
310                    this.ratingsEntryPersistence = ratingsEntryPersistence;
311            }
312    
313            /**
314             * Gets the ratings entry finder.
315             *
316             * @return the ratings entry finder
317             */
318            public RatingsEntryFinder getRatingsEntryFinder() {
319                    return ratingsEntryFinder;
320            }
321    
322            /**
323             * Sets the ratings entry finder.
324             *
325             * @param ratingsEntryFinder the ratings entry finder
326             */
327            public void setRatingsEntryFinder(RatingsEntryFinder ratingsEntryFinder) {
328                    this.ratingsEntryFinder = ratingsEntryFinder;
329            }
330    
331            /**
332             * Gets the ratings stats local service.
333             *
334             * @return the ratings stats local service
335             */
336            public RatingsStatsLocalService getRatingsStatsLocalService() {
337                    return ratingsStatsLocalService;
338            }
339    
340            /**
341             * Sets the ratings stats local service.
342             *
343             * @param ratingsStatsLocalService the ratings stats local service
344             */
345            public void setRatingsStatsLocalService(
346                    RatingsStatsLocalService ratingsStatsLocalService) {
347                    this.ratingsStatsLocalService = ratingsStatsLocalService;
348            }
349    
350            /**
351             * Gets the ratings stats persistence.
352             *
353             * @return the ratings stats persistence
354             */
355            public RatingsStatsPersistence getRatingsStatsPersistence() {
356                    return ratingsStatsPersistence;
357            }
358    
359            /**
360             * Sets the ratings stats persistence.
361             *
362             * @param ratingsStatsPersistence the ratings stats persistence
363             */
364            public void setRatingsStatsPersistence(
365                    RatingsStatsPersistence ratingsStatsPersistence) {
366                    this.ratingsStatsPersistence = ratingsStatsPersistence;
367            }
368    
369            /**
370             * Gets the ratings stats finder.
371             *
372             * @return the ratings stats finder
373             */
374            public RatingsStatsFinder getRatingsStatsFinder() {
375                    return ratingsStatsFinder;
376            }
377    
378            /**
379             * Sets the ratings stats finder.
380             *
381             * @param ratingsStatsFinder the ratings stats finder
382             */
383            public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
384                    this.ratingsStatsFinder = ratingsStatsFinder;
385            }
386    
387            /**
388             * Gets the counter local service.
389             *
390             * @return the counter local service
391             */
392            public CounterLocalService getCounterLocalService() {
393                    return counterLocalService;
394            }
395    
396            /**
397             * Sets the counter local service.
398             *
399             * @param counterLocalService the counter local service
400             */
401            public void setCounterLocalService(CounterLocalService counterLocalService) {
402                    this.counterLocalService = counterLocalService;
403            }
404    
405            /**
406             * Gets the resource local service.
407             *
408             * @return the resource local service
409             */
410            public ResourceLocalService getResourceLocalService() {
411                    return resourceLocalService;
412            }
413    
414            /**
415             * Sets the resource local service.
416             *
417             * @param resourceLocalService the resource local service
418             */
419            public void setResourceLocalService(
420                    ResourceLocalService resourceLocalService) {
421                    this.resourceLocalService = resourceLocalService;
422            }
423    
424            /**
425             * Gets the resource remote service.
426             *
427             * @return the resource remote service
428             */
429            public ResourceService getResourceService() {
430                    return resourceService;
431            }
432    
433            /**
434             * Sets the resource remote service.
435             *
436             * @param resourceService the resource remote service
437             */
438            public void setResourceService(ResourceService resourceService) {
439                    this.resourceService = resourceService;
440            }
441    
442            /**
443             * Gets the resource persistence.
444             *
445             * @return the resource persistence
446             */
447            public ResourcePersistence getResourcePersistence() {
448                    return resourcePersistence;
449            }
450    
451            /**
452             * Sets the resource persistence.
453             *
454             * @param resourcePersistence the resource persistence
455             */
456            public void setResourcePersistence(ResourcePersistence resourcePersistence) {
457                    this.resourcePersistence = resourcePersistence;
458            }
459    
460            /**
461             * Gets the resource finder.
462             *
463             * @return the resource finder
464             */
465            public ResourceFinder getResourceFinder() {
466                    return resourceFinder;
467            }
468    
469            /**
470             * Sets the resource finder.
471             *
472             * @param resourceFinder the resource finder
473             */
474            public void setResourceFinder(ResourceFinder resourceFinder) {
475                    this.resourceFinder = resourceFinder;
476            }
477    
478            /**
479             * Gets the user local service.
480             *
481             * @return the user local service
482             */
483            public UserLocalService getUserLocalService() {
484                    return userLocalService;
485            }
486    
487            /**
488             * Sets the user local service.
489             *
490             * @param userLocalService the user local service
491             */
492            public void setUserLocalService(UserLocalService userLocalService) {
493                    this.userLocalService = userLocalService;
494            }
495    
496            /**
497             * Gets the user remote service.
498             *
499             * @return the user remote service
500             */
501            public UserService getUserService() {
502                    return userService;
503            }
504    
505            /**
506             * Sets the user remote service.
507             *
508             * @param userService the user remote service
509             */
510            public void setUserService(UserService userService) {
511                    this.userService = userService;
512            }
513    
514            /**
515             * Gets the user persistence.
516             *
517             * @return the user persistence
518             */
519            public UserPersistence getUserPersistence() {
520                    return userPersistence;
521            }
522    
523            /**
524             * Sets the user persistence.
525             *
526             * @param userPersistence the user persistence
527             */
528            public void setUserPersistence(UserPersistence userPersistence) {
529                    this.userPersistence = userPersistence;
530            }
531    
532            /**
533             * Gets the user finder.
534             *
535             * @return the user finder
536             */
537            public UserFinder getUserFinder() {
538                    return userFinder;
539            }
540    
541            /**
542             * Sets the user finder.
543             *
544             * @param userFinder the user finder
545             */
546            public void setUserFinder(UserFinder userFinder) {
547                    this.userFinder = userFinder;
548            }
549    
550            /**
551             * Gets the blogs entry local service.
552             *
553             * @return the blogs entry local service
554             */
555            public BlogsEntryLocalService getBlogsEntryLocalService() {
556                    return blogsEntryLocalService;
557            }
558    
559            /**
560             * Sets the blogs entry local service.
561             *
562             * @param blogsEntryLocalService the blogs entry local service
563             */
564            public void setBlogsEntryLocalService(
565                    BlogsEntryLocalService blogsEntryLocalService) {
566                    this.blogsEntryLocalService = blogsEntryLocalService;
567            }
568    
569            /**
570             * Gets the blogs entry remote service.
571             *
572             * @return the blogs entry remote service
573             */
574            public BlogsEntryService getBlogsEntryService() {
575                    return blogsEntryService;
576            }
577    
578            /**
579             * Sets the blogs entry remote service.
580             *
581             * @param blogsEntryService the blogs entry remote service
582             */
583            public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
584                    this.blogsEntryService = blogsEntryService;
585            }
586    
587            /**
588             * Gets the blogs entry persistence.
589             *
590             * @return the blogs entry persistence
591             */
592            public BlogsEntryPersistence getBlogsEntryPersistence() {
593                    return blogsEntryPersistence;
594            }
595    
596            /**
597             * Sets the blogs entry persistence.
598             *
599             * @param blogsEntryPersistence the blogs entry persistence
600             */
601            public void setBlogsEntryPersistence(
602                    BlogsEntryPersistence blogsEntryPersistence) {
603                    this.blogsEntryPersistence = blogsEntryPersistence;
604            }
605    
606            /**
607             * Gets the blogs entry finder.
608             *
609             * @return the blogs entry finder
610             */
611            public BlogsEntryFinder getBlogsEntryFinder() {
612                    return blogsEntryFinder;
613            }
614    
615            /**
616             * Sets the blogs entry finder.
617             *
618             * @param blogsEntryFinder the blogs entry finder
619             */
620            public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
621                    this.blogsEntryFinder = blogsEntryFinder;
622            }
623    
624            /**
625             * Gets the blogs stats user local service.
626             *
627             * @return the blogs stats user local service
628             */
629            public BlogsStatsUserLocalService getBlogsStatsUserLocalService() {
630                    return blogsStatsUserLocalService;
631            }
632    
633            /**
634             * Sets the blogs stats user local service.
635             *
636             * @param blogsStatsUserLocalService the blogs stats user local service
637             */
638            public void setBlogsStatsUserLocalService(
639                    BlogsStatsUserLocalService blogsStatsUserLocalService) {
640                    this.blogsStatsUserLocalService = blogsStatsUserLocalService;
641            }
642    
643            /**
644             * Gets the blogs stats user persistence.
645             *
646             * @return the blogs stats user persistence
647             */
648            public BlogsStatsUserPersistence getBlogsStatsUserPersistence() {
649                    return blogsStatsUserPersistence;
650            }
651    
652            /**
653             * Sets the blogs stats user persistence.
654             *
655             * @param blogsStatsUserPersistence the blogs stats user persistence
656             */
657            public void setBlogsStatsUserPersistence(
658                    BlogsStatsUserPersistence blogsStatsUserPersistence) {
659                    this.blogsStatsUserPersistence = blogsStatsUserPersistence;
660            }
661    
662            /**
663             * Gets the blogs stats user finder.
664             *
665             * @return the blogs stats user finder
666             */
667            public BlogsStatsUserFinder getBlogsStatsUserFinder() {
668                    return blogsStatsUserFinder;
669            }
670    
671            /**
672             * Sets the blogs stats user finder.
673             *
674             * @param blogsStatsUserFinder the blogs stats user finder
675             */
676            public void setBlogsStatsUserFinder(
677                    BlogsStatsUserFinder blogsStatsUserFinder) {
678                    this.blogsStatsUserFinder = blogsStatsUserFinder;
679            }
680    
681            /**
682             * Gets the social equity log local service.
683             *
684             * @return the social equity log local service
685             */
686            public SocialEquityLogLocalService getSocialEquityLogLocalService() {
687                    return socialEquityLogLocalService;
688            }
689    
690            /**
691             * Sets the social equity log local service.
692             *
693             * @param socialEquityLogLocalService the social equity log local service
694             */
695            public void setSocialEquityLogLocalService(
696                    SocialEquityLogLocalService socialEquityLogLocalService) {
697                    this.socialEquityLogLocalService = socialEquityLogLocalService;
698            }
699    
700            /**
701             * Gets the social equity log persistence.
702             *
703             * @return the social equity log persistence
704             */
705            public SocialEquityLogPersistence getSocialEquityLogPersistence() {
706                    return socialEquityLogPersistence;
707            }
708    
709            /**
710             * Sets the social equity log persistence.
711             *
712             * @param socialEquityLogPersistence the social equity log persistence
713             */
714            public void setSocialEquityLogPersistence(
715                    SocialEquityLogPersistence socialEquityLogPersistence) {
716                    this.socialEquityLogPersistence = socialEquityLogPersistence;
717            }
718    
719            /**
720             * Performs an SQL query.
721             *
722             * @param sql the sql query to perform
723             */
724            protected void runSQL(String sql) throws SystemException {
725                    try {
726                            DataSource dataSource = ratingsEntryPersistence.getDataSource();
727    
728                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
729                                            sql, new int[0]);
730    
731                            sqlUpdate.update();
732                    }
733                    catch (Exception e) {
734                            throw new SystemException(e);
735                    }
736            }
737    
738            @BeanReference(type = RatingsEntryLocalService.class)
739            protected RatingsEntryLocalService ratingsEntryLocalService;
740            @BeanReference(type = RatingsEntryService.class)
741            protected RatingsEntryService ratingsEntryService;
742            @BeanReference(type = RatingsEntryPersistence.class)
743            protected RatingsEntryPersistence ratingsEntryPersistence;
744            @BeanReference(type = RatingsEntryFinder.class)
745            protected RatingsEntryFinder ratingsEntryFinder;
746            @BeanReference(type = RatingsStatsLocalService.class)
747            protected RatingsStatsLocalService ratingsStatsLocalService;
748            @BeanReference(type = RatingsStatsPersistence.class)
749            protected RatingsStatsPersistence ratingsStatsPersistence;
750            @BeanReference(type = RatingsStatsFinder.class)
751            protected RatingsStatsFinder ratingsStatsFinder;
752            @BeanReference(type = CounterLocalService.class)
753            protected CounterLocalService counterLocalService;
754            @BeanReference(type = ResourceLocalService.class)
755            protected ResourceLocalService resourceLocalService;
756            @BeanReference(type = ResourceService.class)
757            protected ResourceService resourceService;
758            @BeanReference(type = ResourcePersistence.class)
759            protected ResourcePersistence resourcePersistence;
760            @BeanReference(type = ResourceFinder.class)
761            protected ResourceFinder resourceFinder;
762            @BeanReference(type = UserLocalService.class)
763            protected UserLocalService userLocalService;
764            @BeanReference(type = UserService.class)
765            protected UserService userService;
766            @BeanReference(type = UserPersistence.class)
767            protected UserPersistence userPersistence;
768            @BeanReference(type = UserFinder.class)
769            protected UserFinder userFinder;
770            @BeanReference(type = BlogsEntryLocalService.class)
771            protected BlogsEntryLocalService blogsEntryLocalService;
772            @BeanReference(type = BlogsEntryService.class)
773            protected BlogsEntryService blogsEntryService;
774            @BeanReference(type = BlogsEntryPersistence.class)
775            protected BlogsEntryPersistence blogsEntryPersistence;
776            @BeanReference(type = BlogsEntryFinder.class)
777            protected BlogsEntryFinder blogsEntryFinder;
778            @BeanReference(type = BlogsStatsUserLocalService.class)
779            protected BlogsStatsUserLocalService blogsStatsUserLocalService;
780            @BeanReference(type = BlogsStatsUserPersistence.class)
781            protected BlogsStatsUserPersistence blogsStatsUserPersistence;
782            @BeanReference(type = BlogsStatsUserFinder.class)
783            protected BlogsStatsUserFinder blogsStatsUserFinder;
784            @BeanReference(type = SocialEquityLogLocalService.class)
785            protected SocialEquityLogLocalService socialEquityLogLocalService;
786            @BeanReference(type = SocialEquityLogPersistence.class)
787            protected SocialEquityLogPersistence socialEquityLogPersistence;
788    }