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