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.messageboards.service.base;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.dao.db.DB;
021    import com.liferay.portal.kernel.dao.db.DBManagerUtil;
022    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
023    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
024    import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery;
025    import com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery;
026    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
027    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
028    import com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery;
029    import com.liferay.portal.kernel.dao.orm.Projection;
030    import com.liferay.portal.kernel.exception.PortalException;
031    import com.liferay.portal.kernel.exception.SystemException;
032    import com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService;
033    import com.liferay.portal.kernel.search.Indexable;
034    import com.liferay.portal.kernel.search.IndexableType;
035    import com.liferay.portal.kernel.util.OrderByComparator;
036    import com.liferay.portal.model.PersistedModel;
037    import com.liferay.portal.service.BaseLocalServiceImpl;
038    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
039    import com.liferay.portal.service.persistence.GroupFinder;
040    import com.liferay.portal.service.persistence.GroupPersistence;
041    import com.liferay.portal.service.persistence.UserFinder;
042    import com.liferay.portal.service.persistence.UserPersistence;
043    import com.liferay.portal.util.PortalUtil;
044    
045    import com.liferay.portlet.messageboards.model.MBStatsUser;
046    import com.liferay.portlet.messageboards.service.MBStatsUserLocalService;
047    import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
048    import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
049    import com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence;
050    import com.liferay.portlet.messageboards.service.persistence.MBThreadFinder;
051    import com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence;
052    
053    import java.io.Serializable;
054    
055    import java.util.List;
056    
057    import javax.sql.DataSource;
058    
059    /**
060     * Provides the base implementation for the message boards stats user local 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.messageboards.service.impl.MBStatsUserLocalServiceImpl}.
064     * </p>
065     *
066     * @author Brian Wing Shun Chan
067     * @see com.liferay.portlet.messageboards.service.impl.MBStatsUserLocalServiceImpl
068     * @see com.liferay.portlet.messageboards.service.MBStatsUserLocalServiceUtil
069     * @generated
070     */
071    @ProviderType
072    public abstract class MBStatsUserLocalServiceBaseImpl
073            extends BaseLocalServiceImpl implements MBStatsUserLocalService,
074                    IdentifiableOSGiService {
075            /*
076             * NOTE FOR DEVELOPERS:
077             *
078             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.messageboards.service.MBStatsUserLocalServiceUtil} to access the message boards stats user local service.
079             */
080    
081            /**
082             * Adds the message boards stats user to the database. Also notifies the appropriate model listeners.
083             *
084             * @param mbStatsUser the message boards stats user
085             * @return the message boards stats user that was added
086             */
087            @Indexable(type = IndexableType.REINDEX)
088            @Override
089            public MBStatsUser addMBStatsUser(MBStatsUser mbStatsUser) {
090                    mbStatsUser.setNew(true);
091    
092                    return mbStatsUserPersistence.update(mbStatsUser);
093            }
094    
095            /**
096             * Creates a new message boards stats user with the primary key. Does not add the message boards stats user to the database.
097             *
098             * @param statsUserId the primary key for the new message boards stats user
099             * @return the new message boards stats user
100             */
101            @Override
102            public MBStatsUser createMBStatsUser(long statsUserId) {
103                    return mbStatsUserPersistence.create(statsUserId);
104            }
105    
106            /**
107             * Deletes the message boards stats user with the primary key from the database. Also notifies the appropriate model listeners.
108             *
109             * @param statsUserId the primary key of the message boards stats user
110             * @return the message boards stats user that was removed
111             * @throws PortalException if a message boards stats user with the primary key could not be found
112             */
113            @Indexable(type = IndexableType.DELETE)
114            @Override
115            public MBStatsUser deleteMBStatsUser(long statsUserId)
116                    throws PortalException {
117                    return mbStatsUserPersistence.remove(statsUserId);
118            }
119    
120            /**
121             * Deletes the message boards stats user from the database. Also notifies the appropriate model listeners.
122             *
123             * @param mbStatsUser the message boards stats user
124             * @return the message boards stats user that was removed
125             */
126            @Indexable(type = IndexableType.DELETE)
127            @Override
128            public MBStatsUser deleteMBStatsUser(MBStatsUser mbStatsUser) {
129                    return mbStatsUserPersistence.remove(mbStatsUser);
130            }
131    
132            @Override
133            public DynamicQuery dynamicQuery() {
134                    Class<?> clazz = getClass();
135    
136                    return DynamicQueryFactoryUtil.forClass(MBStatsUser.class,
137                            clazz.getClassLoader());
138            }
139    
140            /**
141             * Performs a dynamic query on the database and returns the matching rows.
142             *
143             * @param dynamicQuery the dynamic query
144             * @return the matching rows
145             */
146            @Override
147            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery) {
148                    return mbStatsUserPersistence.findWithDynamicQuery(dynamicQuery);
149            }
150    
151            /**
152             * Performs a dynamic query on the database and returns a range of the matching rows.
153             *
154             * <p>
155             * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.messageboards.model.impl.MBStatsUserModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
156             * </p>
157             *
158             * @param dynamicQuery the dynamic query
159             * @param start the lower bound of the range of model instances
160             * @param end the upper bound of the range of model instances (not inclusive)
161             * @return the range of matching rows
162             */
163            @Override
164            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
165                    int end) {
166                    return mbStatsUserPersistence.findWithDynamicQuery(dynamicQuery, start,
167                            end);
168            }
169    
170            /**
171             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
172             *
173             * <p>
174             * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.messageboards.model.impl.MBStatsUserModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
175             * </p>
176             *
177             * @param dynamicQuery the dynamic query
178             * @param start the lower bound of the range of model instances
179             * @param end the upper bound of the range of model instances (not inclusive)
180             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
181             * @return the ordered range of matching rows
182             */
183            @Override
184            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
185                    int end, OrderByComparator<T> orderByComparator) {
186                    return mbStatsUserPersistence.findWithDynamicQuery(dynamicQuery, start,
187                            end, orderByComparator);
188            }
189    
190            /**
191             * Returns the number of rows matching the dynamic query.
192             *
193             * @param dynamicQuery the dynamic query
194             * @return the number of rows matching the dynamic query
195             */
196            @Override
197            public long dynamicQueryCount(DynamicQuery dynamicQuery) {
198                    return mbStatsUserPersistence.countWithDynamicQuery(dynamicQuery);
199            }
200    
201            /**
202             * Returns the number of rows matching the dynamic query.
203             *
204             * @param dynamicQuery the dynamic query
205             * @param projection the projection to apply to the query
206             * @return the number of rows matching the dynamic query
207             */
208            @Override
209            public long dynamicQueryCount(DynamicQuery dynamicQuery,
210                    Projection projection) {
211                    return mbStatsUserPersistence.countWithDynamicQuery(dynamicQuery,
212                            projection);
213            }
214    
215            @Override
216            public MBStatsUser fetchMBStatsUser(long statsUserId) {
217                    return mbStatsUserPersistence.fetchByPrimaryKey(statsUserId);
218            }
219    
220            /**
221             * Returns the message boards stats user with the primary key.
222             *
223             * @param statsUserId the primary key of the message boards stats user
224             * @return the message boards stats user
225             * @throws PortalException if a message boards stats user with the primary key could not be found
226             */
227            @Override
228            public MBStatsUser getMBStatsUser(long statsUserId)
229                    throws PortalException {
230                    return mbStatsUserPersistence.findByPrimaryKey(statsUserId);
231            }
232    
233            @Override
234            public ActionableDynamicQuery getActionableDynamicQuery() {
235                    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
236    
237                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.messageboards.service.MBStatsUserLocalServiceUtil.getService());
238                    actionableDynamicQuery.setClassLoader(getClassLoader());
239                    actionableDynamicQuery.setModelClass(MBStatsUser.class);
240    
241                    actionableDynamicQuery.setPrimaryKeyPropertyName("statsUserId");
242    
243                    return actionableDynamicQuery;
244            }
245    
246            @Override
247            public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
248                    IndexableActionableDynamicQuery indexableActionableDynamicQuery = new IndexableActionableDynamicQuery();
249    
250                    indexableActionableDynamicQuery.setBaseLocalService(com.liferay.portlet.messageboards.service.MBStatsUserLocalServiceUtil.getService());
251                    indexableActionableDynamicQuery.setClassLoader(getClassLoader());
252                    indexableActionableDynamicQuery.setModelClass(MBStatsUser.class);
253    
254                    indexableActionableDynamicQuery.setPrimaryKeyPropertyName("statsUserId");
255    
256                    return indexableActionableDynamicQuery;
257            }
258    
259            protected void initActionableDynamicQuery(
260                    ActionableDynamicQuery actionableDynamicQuery) {
261                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.messageboards.service.MBStatsUserLocalServiceUtil.getService());
262                    actionableDynamicQuery.setClassLoader(getClassLoader());
263                    actionableDynamicQuery.setModelClass(MBStatsUser.class);
264    
265                    actionableDynamicQuery.setPrimaryKeyPropertyName("statsUserId");
266            }
267    
268            /**
269             * @throws PortalException
270             */
271            @Override
272            public PersistedModel deletePersistedModel(PersistedModel persistedModel)
273                    throws PortalException {
274                    return mbStatsUserLocalService.deleteMBStatsUser((MBStatsUser)persistedModel);
275            }
276    
277            @Override
278            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
279                    throws PortalException {
280                    return mbStatsUserPersistence.findByPrimaryKey(primaryKeyObj);
281            }
282    
283            /**
284             * Returns a range of all the message boards stats users.
285             *
286             * <p>
287             * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.messageboards.model.impl.MBStatsUserModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
288             * </p>
289             *
290             * @param start the lower bound of the range of message boards stats users
291             * @param end the upper bound of the range of message boards stats users (not inclusive)
292             * @return the range of message boards stats users
293             */
294            @Override
295            public List<MBStatsUser> getMBStatsUsers(int start, int end) {
296                    return mbStatsUserPersistence.findAll(start, end);
297            }
298    
299            /**
300             * Returns the number of message boards stats users.
301             *
302             * @return the number of message boards stats users
303             */
304            @Override
305            public int getMBStatsUsersCount() {
306                    return mbStatsUserPersistence.countAll();
307            }
308    
309            /**
310             * Updates the message boards stats user in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
311             *
312             * @param mbStatsUser the message boards stats user
313             * @return the message boards stats user that was updated
314             */
315            @Indexable(type = IndexableType.REINDEX)
316            @Override
317            public MBStatsUser updateMBStatsUser(MBStatsUser mbStatsUser) {
318                    return mbStatsUserPersistence.update(mbStatsUser);
319            }
320    
321            /**
322             * Returns the message boards stats user local service.
323             *
324             * @return the message boards stats user local service
325             */
326            public MBStatsUserLocalService getMBStatsUserLocalService() {
327                    return mbStatsUserLocalService;
328            }
329    
330            /**
331             * Sets the message boards stats user local service.
332             *
333             * @param mbStatsUserLocalService the message boards stats user local service
334             */
335            public void setMBStatsUserLocalService(
336                    MBStatsUserLocalService mbStatsUserLocalService) {
337                    this.mbStatsUserLocalService = mbStatsUserLocalService;
338            }
339    
340            /**
341             * Returns the message boards stats user persistence.
342             *
343             * @return the message boards stats user persistence
344             */
345            public MBStatsUserPersistence getMBStatsUserPersistence() {
346                    return mbStatsUserPersistence;
347            }
348    
349            /**
350             * Sets the message boards stats user persistence.
351             *
352             * @param mbStatsUserPersistence the message boards stats user persistence
353             */
354            public void setMBStatsUserPersistence(
355                    MBStatsUserPersistence mbStatsUserPersistence) {
356                    this.mbStatsUserPersistence = mbStatsUserPersistence;
357            }
358    
359            /**
360             * Returns the counter local service.
361             *
362             * @return the counter local service
363             */
364            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
365                    return counterLocalService;
366            }
367    
368            /**
369             * Sets the counter local service.
370             *
371             * @param counterLocalService the counter local service
372             */
373            public void setCounterLocalService(
374                    com.liferay.counter.service.CounterLocalService counterLocalService) {
375                    this.counterLocalService = counterLocalService;
376            }
377    
378            /**
379             * Returns the group local service.
380             *
381             * @return the group local service
382             */
383            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
384                    return groupLocalService;
385            }
386    
387            /**
388             * Sets the group local service.
389             *
390             * @param groupLocalService the group local service
391             */
392            public void setGroupLocalService(
393                    com.liferay.portal.service.GroupLocalService groupLocalService) {
394                    this.groupLocalService = groupLocalService;
395            }
396    
397            /**
398             * Returns the group persistence.
399             *
400             * @return the group persistence
401             */
402            public GroupPersistence getGroupPersistence() {
403                    return groupPersistence;
404            }
405    
406            /**
407             * Sets the group persistence.
408             *
409             * @param groupPersistence the group persistence
410             */
411            public void setGroupPersistence(GroupPersistence groupPersistence) {
412                    this.groupPersistence = groupPersistence;
413            }
414    
415            /**
416             * Returns the group finder.
417             *
418             * @return the group finder
419             */
420            public GroupFinder getGroupFinder() {
421                    return groupFinder;
422            }
423    
424            /**
425             * Sets the group finder.
426             *
427             * @param groupFinder the group finder
428             */
429            public void setGroupFinder(GroupFinder groupFinder) {
430                    this.groupFinder = groupFinder;
431            }
432    
433            /**
434             * Returns the user local service.
435             *
436             * @return the user local service
437             */
438            public com.liferay.portal.service.UserLocalService getUserLocalService() {
439                    return userLocalService;
440            }
441    
442            /**
443             * Sets the user local service.
444             *
445             * @param userLocalService the user local service
446             */
447            public void setUserLocalService(
448                    com.liferay.portal.service.UserLocalService userLocalService) {
449                    this.userLocalService = userLocalService;
450            }
451    
452            /**
453             * Returns the user persistence.
454             *
455             * @return the user persistence
456             */
457            public UserPersistence getUserPersistence() {
458                    return userPersistence;
459            }
460    
461            /**
462             * Sets the user persistence.
463             *
464             * @param userPersistence the user persistence
465             */
466            public void setUserPersistence(UserPersistence userPersistence) {
467                    this.userPersistence = userPersistence;
468            }
469    
470            /**
471             * Returns the user finder.
472             *
473             * @return the user finder
474             */
475            public UserFinder getUserFinder() {
476                    return userFinder;
477            }
478    
479            /**
480             * Sets the user finder.
481             *
482             * @param userFinder the user finder
483             */
484            public void setUserFinder(UserFinder userFinder) {
485                    this.userFinder = userFinder;
486            }
487    
488            /**
489             * Returns the message-boards message local service.
490             *
491             * @return the message-boards message local service
492             */
493            public com.liferay.portlet.messageboards.service.MBMessageLocalService getMBMessageLocalService() {
494                    return mbMessageLocalService;
495            }
496    
497            /**
498             * Sets the message-boards message local service.
499             *
500             * @param mbMessageLocalService the message-boards message local service
501             */
502            public void setMBMessageLocalService(
503                    com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService) {
504                    this.mbMessageLocalService = mbMessageLocalService;
505            }
506    
507            /**
508             * Returns the message-boards message persistence.
509             *
510             * @return the message-boards message persistence
511             */
512            public MBMessagePersistence getMBMessagePersistence() {
513                    return mbMessagePersistence;
514            }
515    
516            /**
517             * Sets the message-boards message persistence.
518             *
519             * @param mbMessagePersistence the message-boards message persistence
520             */
521            public void setMBMessagePersistence(
522                    MBMessagePersistence mbMessagePersistence) {
523                    this.mbMessagePersistence = mbMessagePersistence;
524            }
525    
526            /**
527             * Returns the message-boards message finder.
528             *
529             * @return the message-boards message finder
530             */
531            public MBMessageFinder getMBMessageFinder() {
532                    return mbMessageFinder;
533            }
534    
535            /**
536             * Sets the message-boards message finder.
537             *
538             * @param mbMessageFinder the message-boards message finder
539             */
540            public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
541                    this.mbMessageFinder = mbMessageFinder;
542            }
543    
544            /**
545             * Returns the message boards thread local service.
546             *
547             * @return the message boards thread local service
548             */
549            public com.liferay.portlet.messageboards.service.MBThreadLocalService getMBThreadLocalService() {
550                    return mbThreadLocalService;
551            }
552    
553            /**
554             * Sets the message boards thread local service.
555             *
556             * @param mbThreadLocalService the message boards thread local service
557             */
558            public void setMBThreadLocalService(
559                    com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService) {
560                    this.mbThreadLocalService = mbThreadLocalService;
561            }
562    
563            /**
564             * Returns the message boards thread persistence.
565             *
566             * @return the message boards thread persistence
567             */
568            public MBThreadPersistence getMBThreadPersistence() {
569                    return mbThreadPersistence;
570            }
571    
572            /**
573             * Sets the message boards thread persistence.
574             *
575             * @param mbThreadPersistence the message boards thread persistence
576             */
577            public void setMBThreadPersistence(MBThreadPersistence mbThreadPersistence) {
578                    this.mbThreadPersistence = mbThreadPersistence;
579            }
580    
581            /**
582             * Returns the message boards thread finder.
583             *
584             * @return the message boards thread finder
585             */
586            public MBThreadFinder getMBThreadFinder() {
587                    return mbThreadFinder;
588            }
589    
590            /**
591             * Sets the message boards thread finder.
592             *
593             * @param mbThreadFinder the message boards thread finder
594             */
595            public void setMBThreadFinder(MBThreadFinder mbThreadFinder) {
596                    this.mbThreadFinder = mbThreadFinder;
597            }
598    
599            public void afterPropertiesSet() {
600                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.messageboards.model.MBStatsUser",
601                            mbStatsUserLocalService);
602            }
603    
604            public void destroy() {
605                    persistedModelLocalServiceRegistry.unregister(
606                            "com.liferay.portlet.messageboards.model.MBStatsUser");
607            }
608    
609            /**
610             * Returns the OSGi service identifier.
611             *
612             * @return the OSGi service identifier
613             */
614            @Override
615            public String getOSGiServiceIdentifier() {
616                    return MBStatsUserLocalService.class.getName();
617            }
618    
619            protected Class<?> getModelClass() {
620                    return MBStatsUser.class;
621            }
622    
623            protected String getModelClassName() {
624                    return MBStatsUser.class.getName();
625            }
626    
627            /**
628             * Performs a SQL query.
629             *
630             * @param sql the sql query
631             */
632            protected void runSQL(String sql) {
633                    try {
634                            DataSource dataSource = mbStatsUserPersistence.getDataSource();
635    
636                            DB db = DBManagerUtil.getDB();
637    
638                            sql = db.buildSQL(sql);
639                            sql = PortalUtil.transformSQL(sql);
640    
641                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
642                                            sql, new int[0]);
643    
644                            sqlUpdate.update();
645                    }
646                    catch (Exception e) {
647                            throw new SystemException(e);
648                    }
649            }
650    
651            @BeanReference(type = com.liferay.portlet.messageboards.service.MBStatsUserLocalService.class)
652            protected MBStatsUserLocalService mbStatsUserLocalService;
653            @BeanReference(type = MBStatsUserPersistence.class)
654            protected MBStatsUserPersistence mbStatsUserPersistence;
655            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
656            protected com.liferay.counter.service.CounterLocalService counterLocalService;
657            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
658            protected com.liferay.portal.service.GroupLocalService groupLocalService;
659            @BeanReference(type = GroupPersistence.class)
660            protected GroupPersistence groupPersistence;
661            @BeanReference(type = GroupFinder.class)
662            protected GroupFinder groupFinder;
663            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
664            protected com.liferay.portal.service.UserLocalService userLocalService;
665            @BeanReference(type = UserPersistence.class)
666            protected UserPersistence userPersistence;
667            @BeanReference(type = UserFinder.class)
668            protected UserFinder userFinder;
669            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageLocalService.class)
670            protected com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService;
671            @BeanReference(type = MBMessagePersistence.class)
672            protected MBMessagePersistence mbMessagePersistence;
673            @BeanReference(type = MBMessageFinder.class)
674            protected MBMessageFinder mbMessageFinder;
675            @BeanReference(type = com.liferay.portlet.messageboards.service.MBThreadLocalService.class)
676            protected com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService;
677            @BeanReference(type = MBThreadPersistence.class)
678            protected MBThreadPersistence mbThreadPersistence;
679            @BeanReference(type = MBThreadFinder.class)
680            protected MBThreadFinder mbThreadFinder;
681            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
682            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
683    }