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.messageboards.service.base;
016    
017    import com.liferay.portal.kernel.bean.BeanReference;
018    import com.liferay.portal.kernel.bean.IdentifiableBean;
019    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
020    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
021    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
022    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
023    import com.liferay.portal.kernel.dao.orm.Projection;
024    import com.liferay.portal.kernel.exception.PortalException;
025    import com.liferay.portal.kernel.exception.SystemException;
026    import com.liferay.portal.kernel.search.Indexable;
027    import com.liferay.portal.kernel.search.IndexableType;
028    import com.liferay.portal.kernel.util.OrderByComparator;
029    import com.liferay.portal.model.PersistedModel;
030    import com.liferay.portal.service.BaseLocalServiceImpl;
031    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
032    import com.liferay.portal.service.persistence.GroupFinder;
033    import com.liferay.portal.service.persistence.GroupPersistence;
034    import com.liferay.portal.service.persistence.SubscriptionPersistence;
035    import com.liferay.portal.service.persistence.SystemEventPersistence;
036    import com.liferay.portal.service.persistence.UserFinder;
037    import com.liferay.portal.service.persistence.UserPersistence;
038    
039    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
040    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
041    import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
042    import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
043    import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
044    import com.liferay.portlet.messageboards.model.MBCategory;
045    import com.liferay.portlet.messageboards.service.MBCategoryLocalService;
046    import com.liferay.portlet.messageboards.service.persistence.MBBanPersistence;
047    import com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder;
048    import com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence;
049    import com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence;
050    import com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence;
051    import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
052    import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
053    import com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence;
054    import com.liferay.portlet.messageboards.service.persistence.MBThreadFinder;
055    import com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence;
056    import com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence;
057    import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
058    import com.liferay.portlet.trash.service.persistence.TrashVersionPersistence;
059    
060    import java.io.Serializable;
061    
062    import java.util.List;
063    
064    import javax.sql.DataSource;
065    
066    /**
067     * Provides the base implementation for the message boards category local service.
068     *
069     * <p>
070     * 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.MBCategoryLocalServiceImpl}.
071     * </p>
072     *
073     * @author Brian Wing Shun Chan
074     * @see com.liferay.portlet.messageboards.service.impl.MBCategoryLocalServiceImpl
075     * @see com.liferay.portlet.messageboards.service.MBCategoryLocalServiceUtil
076     * @generated
077     */
078    public abstract class MBCategoryLocalServiceBaseImpl
079            extends BaseLocalServiceImpl implements MBCategoryLocalService,
080                    IdentifiableBean {
081            /*
082             * NOTE FOR DEVELOPERS:
083             *
084             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.messageboards.service.MBCategoryLocalServiceUtil} to access the message boards category local service.
085             */
086    
087            /**
088             * Adds the message boards category to the database. Also notifies the appropriate model listeners.
089             *
090             * @param mbCategory the message boards category
091             * @return the message boards category that was added
092             * @throws SystemException if a system exception occurred
093             */
094            @Indexable(type = IndexableType.REINDEX)
095            @Override
096            public MBCategory addMBCategory(MBCategory mbCategory)
097                    throws SystemException {
098                    mbCategory.setNew(true);
099    
100                    return mbCategoryPersistence.update(mbCategory);
101            }
102    
103            /**
104             * Creates a new message boards category with the primary key. Does not add the message boards category to the database.
105             *
106             * @param categoryId the primary key for the new message boards category
107             * @return the new message boards category
108             */
109            @Override
110            public MBCategory createMBCategory(long categoryId) {
111                    return mbCategoryPersistence.create(categoryId);
112            }
113    
114            /**
115             * Deletes the message boards category with the primary key from the database. Also notifies the appropriate model listeners.
116             *
117             * @param categoryId the primary key of the message boards category
118             * @return the message boards category that was removed
119             * @throws PortalException if a message boards category with the primary key could not be found
120             * @throws SystemException if a system exception occurred
121             */
122            @Indexable(type = IndexableType.DELETE)
123            @Override
124            public MBCategory deleteMBCategory(long categoryId)
125                    throws PortalException, SystemException {
126                    return mbCategoryPersistence.remove(categoryId);
127            }
128    
129            /**
130             * Deletes the message boards category from the database. Also notifies the appropriate model listeners.
131             *
132             * @param mbCategory the message boards category
133             * @return the message boards category that was removed
134             * @throws SystemException if a system exception occurred
135             */
136            @Indexable(type = IndexableType.DELETE)
137            @Override
138            public MBCategory deleteMBCategory(MBCategory mbCategory)
139                    throws SystemException {
140                    return mbCategoryPersistence.remove(mbCategory);
141            }
142    
143            @Override
144            public DynamicQuery dynamicQuery() {
145                    Class<?> clazz = getClass();
146    
147                    return DynamicQueryFactoryUtil.forClass(MBCategory.class,
148                            clazz.getClassLoader());
149            }
150    
151            /**
152             * Performs a dynamic query on the database and returns the matching rows.
153             *
154             * @param dynamicQuery the dynamic query
155             * @return the matching rows
156             * @throws SystemException if a system exception occurred
157             */
158            @Override
159            @SuppressWarnings("rawtypes")
160            public List dynamicQuery(DynamicQuery dynamicQuery)
161                    throws SystemException {
162                    return mbCategoryPersistence.findWithDynamicQuery(dynamicQuery);
163            }
164    
165            /**
166             * Performs a dynamic query on the database and returns a range of the matching rows.
167             *
168             * <p>
169             * 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.MBCategoryModelImpl}. 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.
170             * </p>
171             *
172             * @param dynamicQuery the dynamic query
173             * @param start the lower bound of the range of model instances
174             * @param end the upper bound of the range of model instances (not inclusive)
175             * @return the range of matching rows
176             * @throws SystemException if a system exception occurred
177             */
178            @Override
179            @SuppressWarnings("rawtypes")
180            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
181                    throws SystemException {
182                    return mbCategoryPersistence.findWithDynamicQuery(dynamicQuery, start,
183                            end);
184            }
185    
186            /**
187             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
188             *
189             * <p>
190             * 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.MBCategoryModelImpl}. 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.
191             * </p>
192             *
193             * @param dynamicQuery the dynamic query
194             * @param start the lower bound of the range of model instances
195             * @param end the upper bound of the range of model instances (not inclusive)
196             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
197             * @return the ordered range of matching rows
198             * @throws SystemException if a system exception occurred
199             */
200            @Override
201            @SuppressWarnings("rawtypes")
202            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
203                    OrderByComparator orderByComparator) throws SystemException {
204                    return mbCategoryPersistence.findWithDynamicQuery(dynamicQuery, start,
205                            end, orderByComparator);
206            }
207    
208            /**
209             * Returns the number of rows that match the dynamic query.
210             *
211             * @param dynamicQuery the dynamic query
212             * @return the number of rows that match the dynamic query
213             * @throws SystemException if a system exception occurred
214             */
215            @Override
216            public long dynamicQueryCount(DynamicQuery dynamicQuery)
217                    throws SystemException {
218                    return mbCategoryPersistence.countWithDynamicQuery(dynamicQuery);
219            }
220    
221            /**
222             * Returns the number of rows that match the dynamic query.
223             *
224             * @param dynamicQuery the dynamic query
225             * @param projection the projection to apply to the query
226             * @return the number of rows that match the dynamic query
227             * @throws SystemException if a system exception occurred
228             */
229            @Override
230            public long dynamicQueryCount(DynamicQuery dynamicQuery,
231                    Projection projection) throws SystemException {
232                    return mbCategoryPersistence.countWithDynamicQuery(dynamicQuery,
233                            projection);
234            }
235    
236            @Override
237            public MBCategory fetchMBCategory(long categoryId)
238                    throws SystemException {
239                    return mbCategoryPersistence.fetchByPrimaryKey(categoryId);
240            }
241    
242            /**
243             * Returns the message boards category with the matching UUID and company.
244             *
245             * @param uuid the message boards category's UUID
246             * @param  companyId the primary key of the company
247             * @return the matching message boards category, or <code>null</code> if a matching message boards category could not be found
248             * @throws SystemException if a system exception occurred
249             */
250            @Override
251            public MBCategory fetchMBCategoryByUuidAndCompanyId(String uuid,
252                    long companyId) throws SystemException {
253                    return mbCategoryPersistence.fetchByUuid_C_First(uuid, companyId, null);
254            }
255    
256            /**
257             * Returns the message boards category matching the UUID and group.
258             *
259             * @param uuid the message boards category's UUID
260             * @param groupId the primary key of the group
261             * @return the matching message boards category, or <code>null</code> if a matching message boards category could not be found
262             * @throws SystemException if a system exception occurred
263             */
264            @Override
265            public MBCategory fetchMBCategoryByUuidAndGroupId(String uuid, long groupId)
266                    throws SystemException {
267                    return mbCategoryPersistence.fetchByUUID_G(uuid, groupId);
268            }
269    
270            /**
271             * Returns the message boards category with the primary key.
272             *
273             * @param categoryId the primary key of the message boards category
274             * @return the message boards category
275             * @throws PortalException if a message boards category with the primary key could not be found
276             * @throws SystemException if a system exception occurred
277             */
278            @Override
279            public MBCategory getMBCategory(long categoryId)
280                    throws PortalException, SystemException {
281                    return mbCategoryPersistence.findByPrimaryKey(categoryId);
282            }
283    
284            @Override
285            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
286                    throws PortalException, SystemException {
287                    return mbCategoryPersistence.findByPrimaryKey(primaryKeyObj);
288            }
289    
290            /**
291             * Returns the message boards category with the matching UUID and company.
292             *
293             * @param uuid the message boards category's UUID
294             * @param  companyId the primary key of the company
295             * @return the matching message boards category
296             * @throws PortalException if a matching message boards category could not be found
297             * @throws SystemException if a system exception occurred
298             */
299            @Override
300            public MBCategory getMBCategoryByUuidAndCompanyId(String uuid,
301                    long companyId) throws PortalException, SystemException {
302                    return mbCategoryPersistence.findByUuid_C_First(uuid, companyId, null);
303            }
304    
305            /**
306             * Returns the message boards category matching the UUID and group.
307             *
308             * @param uuid the message boards category's UUID
309             * @param groupId the primary key of the group
310             * @return the matching message boards category
311             * @throws PortalException if a matching message boards category could not be found
312             * @throws SystemException if a system exception occurred
313             */
314            @Override
315            public MBCategory getMBCategoryByUuidAndGroupId(String uuid, long groupId)
316                    throws PortalException, SystemException {
317                    return mbCategoryPersistence.findByUUID_G(uuid, groupId);
318            }
319    
320            /**
321             * Returns a range of all the message boards categories.
322             *
323             * <p>
324             * 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.MBCategoryModelImpl}. 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.
325             * </p>
326             *
327             * @param start the lower bound of the range of message boards categories
328             * @param end the upper bound of the range of message boards categories (not inclusive)
329             * @return the range of message boards categories
330             * @throws SystemException if a system exception occurred
331             */
332            @Override
333            public List<MBCategory> getMBCategories(int start, int end)
334                    throws SystemException {
335                    return mbCategoryPersistence.findAll(start, end);
336            }
337    
338            /**
339             * Returns the number of message boards categories.
340             *
341             * @return the number of message boards categories
342             * @throws SystemException if a system exception occurred
343             */
344            @Override
345            public int getMBCategoriesCount() throws SystemException {
346                    return mbCategoryPersistence.countAll();
347            }
348    
349            /**
350             * Updates the message boards category in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
351             *
352             * @param mbCategory the message boards category
353             * @return the message boards category that was updated
354             * @throws SystemException if a system exception occurred
355             */
356            @Indexable(type = IndexableType.REINDEX)
357            @Override
358            public MBCategory updateMBCategory(MBCategory mbCategory)
359                    throws SystemException {
360                    return mbCategoryPersistence.update(mbCategory);
361            }
362    
363            /**
364             * Returns the message boards ban local service.
365             *
366             * @return the message boards ban local service
367             */
368            public com.liferay.portlet.messageboards.service.MBBanLocalService getMBBanLocalService() {
369                    return mbBanLocalService;
370            }
371    
372            /**
373             * Sets the message boards ban local service.
374             *
375             * @param mbBanLocalService the message boards ban local service
376             */
377            public void setMBBanLocalService(
378                    com.liferay.portlet.messageboards.service.MBBanLocalService mbBanLocalService) {
379                    this.mbBanLocalService = mbBanLocalService;
380            }
381    
382            /**
383             * Returns the message boards ban remote service.
384             *
385             * @return the message boards ban remote service
386             */
387            public com.liferay.portlet.messageboards.service.MBBanService getMBBanService() {
388                    return mbBanService;
389            }
390    
391            /**
392             * Sets the message boards ban remote service.
393             *
394             * @param mbBanService the message boards ban remote service
395             */
396            public void setMBBanService(
397                    com.liferay.portlet.messageboards.service.MBBanService mbBanService) {
398                    this.mbBanService = mbBanService;
399            }
400    
401            /**
402             * Returns the message boards ban persistence.
403             *
404             * @return the message boards ban persistence
405             */
406            public MBBanPersistence getMBBanPersistence() {
407                    return mbBanPersistence;
408            }
409    
410            /**
411             * Sets the message boards ban persistence.
412             *
413             * @param mbBanPersistence the message boards ban persistence
414             */
415            public void setMBBanPersistence(MBBanPersistence mbBanPersistence) {
416                    this.mbBanPersistence = mbBanPersistence;
417            }
418    
419            /**
420             * Returns the message boards category local service.
421             *
422             * @return the message boards category local service
423             */
424            public com.liferay.portlet.messageboards.service.MBCategoryLocalService getMBCategoryLocalService() {
425                    return mbCategoryLocalService;
426            }
427    
428            /**
429             * Sets the message boards category local service.
430             *
431             * @param mbCategoryLocalService the message boards category local service
432             */
433            public void setMBCategoryLocalService(
434                    com.liferay.portlet.messageboards.service.MBCategoryLocalService mbCategoryLocalService) {
435                    this.mbCategoryLocalService = mbCategoryLocalService;
436            }
437    
438            /**
439             * Returns the message boards category remote service.
440             *
441             * @return the message boards category remote service
442             */
443            public com.liferay.portlet.messageboards.service.MBCategoryService getMBCategoryService() {
444                    return mbCategoryService;
445            }
446    
447            /**
448             * Sets the message boards category remote service.
449             *
450             * @param mbCategoryService the message boards category remote service
451             */
452            public void setMBCategoryService(
453                    com.liferay.portlet.messageboards.service.MBCategoryService mbCategoryService) {
454                    this.mbCategoryService = mbCategoryService;
455            }
456    
457            /**
458             * Returns the message boards category persistence.
459             *
460             * @return the message boards category persistence
461             */
462            public MBCategoryPersistence getMBCategoryPersistence() {
463                    return mbCategoryPersistence;
464            }
465    
466            /**
467             * Sets the message boards category persistence.
468             *
469             * @param mbCategoryPersistence the message boards category persistence
470             */
471            public void setMBCategoryPersistence(
472                    MBCategoryPersistence mbCategoryPersistence) {
473                    this.mbCategoryPersistence = mbCategoryPersistence;
474            }
475    
476            /**
477             * Returns the message boards category finder.
478             *
479             * @return the message boards category finder
480             */
481            public MBCategoryFinder getMBCategoryFinder() {
482                    return mbCategoryFinder;
483            }
484    
485            /**
486             * Sets the message boards category finder.
487             *
488             * @param mbCategoryFinder the message boards category finder
489             */
490            public void setMBCategoryFinder(MBCategoryFinder mbCategoryFinder) {
491                    this.mbCategoryFinder = mbCategoryFinder;
492            }
493    
494            /**
495             * Returns the message boards discussion local service.
496             *
497             * @return the message boards discussion local service
498             */
499            public com.liferay.portlet.messageboards.service.MBDiscussionLocalService getMBDiscussionLocalService() {
500                    return mbDiscussionLocalService;
501            }
502    
503            /**
504             * Sets the message boards discussion local service.
505             *
506             * @param mbDiscussionLocalService the message boards discussion local service
507             */
508            public void setMBDiscussionLocalService(
509                    com.liferay.portlet.messageboards.service.MBDiscussionLocalService mbDiscussionLocalService) {
510                    this.mbDiscussionLocalService = mbDiscussionLocalService;
511            }
512    
513            /**
514             * Returns the message boards discussion persistence.
515             *
516             * @return the message boards discussion persistence
517             */
518            public MBDiscussionPersistence getMBDiscussionPersistence() {
519                    return mbDiscussionPersistence;
520            }
521    
522            /**
523             * Sets the message boards discussion persistence.
524             *
525             * @param mbDiscussionPersistence the message boards discussion persistence
526             */
527            public void setMBDiscussionPersistence(
528                    MBDiscussionPersistence mbDiscussionPersistence) {
529                    this.mbDiscussionPersistence = mbDiscussionPersistence;
530            }
531    
532            /**
533             * Returns the message boards mailing list local service.
534             *
535             * @return the message boards mailing list local service
536             */
537            public com.liferay.portlet.messageboards.service.MBMailingListLocalService getMBMailingListLocalService() {
538                    return mbMailingListLocalService;
539            }
540    
541            /**
542             * Sets the message boards mailing list local service.
543             *
544             * @param mbMailingListLocalService the message boards mailing list local service
545             */
546            public void setMBMailingListLocalService(
547                    com.liferay.portlet.messageboards.service.MBMailingListLocalService mbMailingListLocalService) {
548                    this.mbMailingListLocalService = mbMailingListLocalService;
549            }
550    
551            /**
552             * Returns the message boards mailing list persistence.
553             *
554             * @return the message boards mailing list persistence
555             */
556            public MBMailingListPersistence getMBMailingListPersistence() {
557                    return mbMailingListPersistence;
558            }
559    
560            /**
561             * Sets the message boards mailing list persistence.
562             *
563             * @param mbMailingListPersistence the message boards mailing list persistence
564             */
565            public void setMBMailingListPersistence(
566                    MBMailingListPersistence mbMailingListPersistence) {
567                    this.mbMailingListPersistence = mbMailingListPersistence;
568            }
569    
570            /**
571             * Returns the message-boards message local service.
572             *
573             * @return the message-boards message local service
574             */
575            public com.liferay.portlet.messageboards.service.MBMessageLocalService getMBMessageLocalService() {
576                    return mbMessageLocalService;
577            }
578    
579            /**
580             * Sets the message-boards message local service.
581             *
582             * @param mbMessageLocalService the message-boards message local service
583             */
584            public void setMBMessageLocalService(
585                    com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService) {
586                    this.mbMessageLocalService = mbMessageLocalService;
587            }
588    
589            /**
590             * Returns the message-boards message remote service.
591             *
592             * @return the message-boards message remote service
593             */
594            public com.liferay.portlet.messageboards.service.MBMessageService getMBMessageService() {
595                    return mbMessageService;
596            }
597    
598            /**
599             * Sets the message-boards message remote service.
600             *
601             * @param mbMessageService the message-boards message remote service
602             */
603            public void setMBMessageService(
604                    com.liferay.portlet.messageboards.service.MBMessageService mbMessageService) {
605                    this.mbMessageService = mbMessageService;
606            }
607    
608            /**
609             * Returns the message-boards message persistence.
610             *
611             * @return the message-boards message persistence
612             */
613            public MBMessagePersistence getMBMessagePersistence() {
614                    return mbMessagePersistence;
615            }
616    
617            /**
618             * Sets the message-boards message persistence.
619             *
620             * @param mbMessagePersistence the message-boards message persistence
621             */
622            public void setMBMessagePersistence(
623                    MBMessagePersistence mbMessagePersistence) {
624                    this.mbMessagePersistence = mbMessagePersistence;
625            }
626    
627            /**
628             * Returns the message-boards message finder.
629             *
630             * @return the message-boards message finder
631             */
632            public MBMessageFinder getMBMessageFinder() {
633                    return mbMessageFinder;
634            }
635    
636            /**
637             * Sets the message-boards message finder.
638             *
639             * @param mbMessageFinder the message-boards message finder
640             */
641            public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
642                    this.mbMessageFinder = mbMessageFinder;
643            }
644    
645            /**
646             * Returns the message boards stats user local service.
647             *
648             * @return the message boards stats user local service
649             */
650            public com.liferay.portlet.messageboards.service.MBStatsUserLocalService getMBStatsUserLocalService() {
651                    return mbStatsUserLocalService;
652            }
653    
654            /**
655             * Sets the message boards stats user local service.
656             *
657             * @param mbStatsUserLocalService the message boards stats user local service
658             */
659            public void setMBStatsUserLocalService(
660                    com.liferay.portlet.messageboards.service.MBStatsUserLocalService mbStatsUserLocalService) {
661                    this.mbStatsUserLocalService = mbStatsUserLocalService;
662            }
663    
664            /**
665             * Returns the message boards stats user persistence.
666             *
667             * @return the message boards stats user persistence
668             */
669            public MBStatsUserPersistence getMBStatsUserPersistence() {
670                    return mbStatsUserPersistence;
671            }
672    
673            /**
674             * Sets the message boards stats user persistence.
675             *
676             * @param mbStatsUserPersistence the message boards stats user persistence
677             */
678            public void setMBStatsUserPersistence(
679                    MBStatsUserPersistence mbStatsUserPersistence) {
680                    this.mbStatsUserPersistence = mbStatsUserPersistence;
681            }
682    
683            /**
684             * Returns the message boards thread local service.
685             *
686             * @return the message boards thread local service
687             */
688            public com.liferay.portlet.messageboards.service.MBThreadLocalService getMBThreadLocalService() {
689                    return mbThreadLocalService;
690            }
691    
692            /**
693             * Sets the message boards thread local service.
694             *
695             * @param mbThreadLocalService the message boards thread local service
696             */
697            public void setMBThreadLocalService(
698                    com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService) {
699                    this.mbThreadLocalService = mbThreadLocalService;
700            }
701    
702            /**
703             * Returns the message boards thread remote service.
704             *
705             * @return the message boards thread remote service
706             */
707            public com.liferay.portlet.messageboards.service.MBThreadService getMBThreadService() {
708                    return mbThreadService;
709            }
710    
711            /**
712             * Sets the message boards thread remote service.
713             *
714             * @param mbThreadService the message boards thread remote service
715             */
716            public void setMBThreadService(
717                    com.liferay.portlet.messageboards.service.MBThreadService mbThreadService) {
718                    this.mbThreadService = mbThreadService;
719            }
720    
721            /**
722             * Returns the message boards thread persistence.
723             *
724             * @return the message boards thread persistence
725             */
726            public MBThreadPersistence getMBThreadPersistence() {
727                    return mbThreadPersistence;
728            }
729    
730            /**
731             * Sets the message boards thread persistence.
732             *
733             * @param mbThreadPersistence the message boards thread persistence
734             */
735            public void setMBThreadPersistence(MBThreadPersistence mbThreadPersistence) {
736                    this.mbThreadPersistence = mbThreadPersistence;
737            }
738    
739            /**
740             * Returns the message boards thread finder.
741             *
742             * @return the message boards thread finder
743             */
744            public MBThreadFinder getMBThreadFinder() {
745                    return mbThreadFinder;
746            }
747    
748            /**
749             * Sets the message boards thread finder.
750             *
751             * @param mbThreadFinder the message boards thread finder
752             */
753            public void setMBThreadFinder(MBThreadFinder mbThreadFinder) {
754                    this.mbThreadFinder = mbThreadFinder;
755            }
756    
757            /**
758             * Returns the message boards thread flag local service.
759             *
760             * @return the message boards thread flag local service
761             */
762            public com.liferay.portlet.messageboards.service.MBThreadFlagLocalService getMBThreadFlagLocalService() {
763                    return mbThreadFlagLocalService;
764            }
765    
766            /**
767             * Sets the message boards thread flag local service.
768             *
769             * @param mbThreadFlagLocalService the message boards thread flag local service
770             */
771            public void setMBThreadFlagLocalService(
772                    com.liferay.portlet.messageboards.service.MBThreadFlagLocalService mbThreadFlagLocalService) {
773                    this.mbThreadFlagLocalService = mbThreadFlagLocalService;
774            }
775    
776            /**
777             * Returns the message boards thread flag persistence.
778             *
779             * @return the message boards thread flag persistence
780             */
781            public MBThreadFlagPersistence getMBThreadFlagPersistence() {
782                    return mbThreadFlagPersistence;
783            }
784    
785            /**
786             * Sets the message boards thread flag persistence.
787             *
788             * @param mbThreadFlagPersistence the message boards thread flag persistence
789             */
790            public void setMBThreadFlagPersistence(
791                    MBThreadFlagPersistence mbThreadFlagPersistence) {
792                    this.mbThreadFlagPersistence = mbThreadFlagPersistence;
793            }
794    
795            /**
796             * Returns the counter local service.
797             *
798             * @return the counter local service
799             */
800            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
801                    return counterLocalService;
802            }
803    
804            /**
805             * Sets the counter local service.
806             *
807             * @param counterLocalService the counter local service
808             */
809            public void setCounterLocalService(
810                    com.liferay.counter.service.CounterLocalService counterLocalService) {
811                    this.counterLocalService = counterLocalService;
812            }
813    
814            /**
815             * Returns the group local service.
816             *
817             * @return the group local service
818             */
819            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
820                    return groupLocalService;
821            }
822    
823            /**
824             * Sets the group local service.
825             *
826             * @param groupLocalService the group local service
827             */
828            public void setGroupLocalService(
829                    com.liferay.portal.service.GroupLocalService groupLocalService) {
830                    this.groupLocalService = groupLocalService;
831            }
832    
833            /**
834             * Returns the group remote service.
835             *
836             * @return the group remote service
837             */
838            public com.liferay.portal.service.GroupService getGroupService() {
839                    return groupService;
840            }
841    
842            /**
843             * Sets the group remote service.
844             *
845             * @param groupService the group remote service
846             */
847            public void setGroupService(
848                    com.liferay.portal.service.GroupService groupService) {
849                    this.groupService = groupService;
850            }
851    
852            /**
853             * Returns the group persistence.
854             *
855             * @return the group persistence
856             */
857            public GroupPersistence getGroupPersistence() {
858                    return groupPersistence;
859            }
860    
861            /**
862             * Sets the group persistence.
863             *
864             * @param groupPersistence the group persistence
865             */
866            public void setGroupPersistence(GroupPersistence groupPersistence) {
867                    this.groupPersistence = groupPersistence;
868            }
869    
870            /**
871             * Returns the group finder.
872             *
873             * @return the group finder
874             */
875            public GroupFinder getGroupFinder() {
876                    return groupFinder;
877            }
878    
879            /**
880             * Sets the group finder.
881             *
882             * @param groupFinder the group finder
883             */
884            public void setGroupFinder(GroupFinder groupFinder) {
885                    this.groupFinder = groupFinder;
886            }
887    
888            /**
889             * Returns the resource local service.
890             *
891             * @return the resource local service
892             */
893            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
894                    return resourceLocalService;
895            }
896    
897            /**
898             * Sets the resource local service.
899             *
900             * @param resourceLocalService the resource local service
901             */
902            public void setResourceLocalService(
903                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
904                    this.resourceLocalService = resourceLocalService;
905            }
906    
907            /**
908             * Returns the subscription local service.
909             *
910             * @return the subscription local service
911             */
912            public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
913                    return subscriptionLocalService;
914            }
915    
916            /**
917             * Sets the subscription local service.
918             *
919             * @param subscriptionLocalService the subscription local service
920             */
921            public void setSubscriptionLocalService(
922                    com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
923                    this.subscriptionLocalService = subscriptionLocalService;
924            }
925    
926            /**
927             * Returns the subscription persistence.
928             *
929             * @return the subscription persistence
930             */
931            public SubscriptionPersistence getSubscriptionPersistence() {
932                    return subscriptionPersistence;
933            }
934    
935            /**
936             * Sets the subscription persistence.
937             *
938             * @param subscriptionPersistence the subscription persistence
939             */
940            public void setSubscriptionPersistence(
941                    SubscriptionPersistence subscriptionPersistence) {
942                    this.subscriptionPersistence = subscriptionPersistence;
943            }
944    
945            /**
946             * Returns the system event local service.
947             *
948             * @return the system event local service
949             */
950            public com.liferay.portal.service.SystemEventLocalService getSystemEventLocalService() {
951                    return systemEventLocalService;
952            }
953    
954            /**
955             * Sets the system event local service.
956             *
957             * @param systemEventLocalService the system event local service
958             */
959            public void setSystemEventLocalService(
960                    com.liferay.portal.service.SystemEventLocalService systemEventLocalService) {
961                    this.systemEventLocalService = systemEventLocalService;
962            }
963    
964            /**
965             * Returns the system event persistence.
966             *
967             * @return the system event persistence
968             */
969            public SystemEventPersistence getSystemEventPersistence() {
970                    return systemEventPersistence;
971            }
972    
973            /**
974             * Sets the system event persistence.
975             *
976             * @param systemEventPersistence the system event persistence
977             */
978            public void setSystemEventPersistence(
979                    SystemEventPersistence systemEventPersistence) {
980                    this.systemEventPersistence = systemEventPersistence;
981            }
982    
983            /**
984             * Returns the user local service.
985             *
986             * @return the user local service
987             */
988            public com.liferay.portal.service.UserLocalService getUserLocalService() {
989                    return userLocalService;
990            }
991    
992            /**
993             * Sets the user local service.
994             *
995             * @param userLocalService the user local service
996             */
997            public void setUserLocalService(
998                    com.liferay.portal.service.UserLocalService userLocalService) {
999                    this.userLocalService = userLocalService;
1000            }
1001    
1002            /**
1003             * Returns the user remote service.
1004             *
1005             * @return the user remote service
1006             */
1007            public com.liferay.portal.service.UserService getUserService() {
1008                    return userService;
1009            }
1010    
1011            /**
1012             * Sets the user remote service.
1013             *
1014             * @param userService the user remote service
1015             */
1016            public void setUserService(
1017                    com.liferay.portal.service.UserService userService) {
1018                    this.userService = userService;
1019            }
1020    
1021            /**
1022             * Returns the user persistence.
1023             *
1024             * @return the user persistence
1025             */
1026            public UserPersistence getUserPersistence() {
1027                    return userPersistence;
1028            }
1029    
1030            /**
1031             * Sets the user persistence.
1032             *
1033             * @param userPersistence the user persistence
1034             */
1035            public void setUserPersistence(UserPersistence userPersistence) {
1036                    this.userPersistence = userPersistence;
1037            }
1038    
1039            /**
1040             * Returns the user finder.
1041             *
1042             * @return the user finder
1043             */
1044            public UserFinder getUserFinder() {
1045                    return userFinder;
1046            }
1047    
1048            /**
1049             * Sets the user finder.
1050             *
1051             * @param userFinder the user finder
1052             */
1053            public void setUserFinder(UserFinder userFinder) {
1054                    this.userFinder = userFinder;
1055            }
1056    
1057            /**
1058             * Returns the asset entry local service.
1059             *
1060             * @return the asset entry local service
1061             */
1062            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
1063                    return assetEntryLocalService;
1064            }
1065    
1066            /**
1067             * Sets the asset entry local service.
1068             *
1069             * @param assetEntryLocalService the asset entry local service
1070             */
1071            public void setAssetEntryLocalService(
1072                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
1073                    this.assetEntryLocalService = assetEntryLocalService;
1074            }
1075    
1076            /**
1077             * Returns the asset entry remote service.
1078             *
1079             * @return the asset entry remote service
1080             */
1081            public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
1082                    return assetEntryService;
1083            }
1084    
1085            /**
1086             * Sets the asset entry remote service.
1087             *
1088             * @param assetEntryService the asset entry remote service
1089             */
1090            public void setAssetEntryService(
1091                    com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
1092                    this.assetEntryService = assetEntryService;
1093            }
1094    
1095            /**
1096             * Returns the asset entry persistence.
1097             *
1098             * @return the asset entry persistence
1099             */
1100            public AssetEntryPersistence getAssetEntryPersistence() {
1101                    return assetEntryPersistence;
1102            }
1103    
1104            /**
1105             * Sets the asset entry persistence.
1106             *
1107             * @param assetEntryPersistence the asset entry persistence
1108             */
1109            public void setAssetEntryPersistence(
1110                    AssetEntryPersistence assetEntryPersistence) {
1111                    this.assetEntryPersistence = assetEntryPersistence;
1112            }
1113    
1114            /**
1115             * Returns the asset entry finder.
1116             *
1117             * @return the asset entry finder
1118             */
1119            public AssetEntryFinder getAssetEntryFinder() {
1120                    return assetEntryFinder;
1121            }
1122    
1123            /**
1124             * Sets the asset entry finder.
1125             *
1126             * @param assetEntryFinder the asset entry finder
1127             */
1128            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1129                    this.assetEntryFinder = assetEntryFinder;
1130            }
1131    
1132            /**
1133             * Returns the asset tag local service.
1134             *
1135             * @return the asset tag local service
1136             */
1137            public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
1138                    return assetTagLocalService;
1139            }
1140    
1141            /**
1142             * Sets the asset tag local service.
1143             *
1144             * @param assetTagLocalService the asset tag local service
1145             */
1146            public void setAssetTagLocalService(
1147                    com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
1148                    this.assetTagLocalService = assetTagLocalService;
1149            }
1150    
1151            /**
1152             * Returns the asset tag remote service.
1153             *
1154             * @return the asset tag remote service
1155             */
1156            public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
1157                    return assetTagService;
1158            }
1159    
1160            /**
1161             * Sets the asset tag remote service.
1162             *
1163             * @param assetTagService the asset tag remote service
1164             */
1165            public void setAssetTagService(
1166                    com.liferay.portlet.asset.service.AssetTagService assetTagService) {
1167                    this.assetTagService = assetTagService;
1168            }
1169    
1170            /**
1171             * Returns the asset tag persistence.
1172             *
1173             * @return the asset tag persistence
1174             */
1175            public AssetTagPersistence getAssetTagPersistence() {
1176                    return assetTagPersistence;
1177            }
1178    
1179            /**
1180             * Sets the asset tag persistence.
1181             *
1182             * @param assetTagPersistence the asset tag persistence
1183             */
1184            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1185                    this.assetTagPersistence = assetTagPersistence;
1186            }
1187    
1188            /**
1189             * Returns the asset tag finder.
1190             *
1191             * @return the asset tag finder
1192             */
1193            public AssetTagFinder getAssetTagFinder() {
1194                    return assetTagFinder;
1195            }
1196    
1197            /**
1198             * Sets the asset tag finder.
1199             *
1200             * @param assetTagFinder the asset tag finder
1201             */
1202            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1203                    this.assetTagFinder = assetTagFinder;
1204            }
1205    
1206            /**
1207             * Returns the expando row local service.
1208             *
1209             * @return the expando row local service
1210             */
1211            public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
1212                    return expandoRowLocalService;
1213            }
1214    
1215            /**
1216             * Sets the expando row local service.
1217             *
1218             * @param expandoRowLocalService the expando row local service
1219             */
1220            public void setExpandoRowLocalService(
1221                    com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
1222                    this.expandoRowLocalService = expandoRowLocalService;
1223            }
1224    
1225            /**
1226             * Returns the expando row persistence.
1227             *
1228             * @return the expando row persistence
1229             */
1230            public ExpandoRowPersistence getExpandoRowPersistence() {
1231                    return expandoRowPersistence;
1232            }
1233    
1234            /**
1235             * Sets the expando row persistence.
1236             *
1237             * @param expandoRowPersistence the expando row persistence
1238             */
1239            public void setExpandoRowPersistence(
1240                    ExpandoRowPersistence expandoRowPersistence) {
1241                    this.expandoRowPersistence = expandoRowPersistence;
1242            }
1243    
1244            /**
1245             * Returns the trash entry local service.
1246             *
1247             * @return the trash entry local service
1248             */
1249            public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
1250                    return trashEntryLocalService;
1251            }
1252    
1253            /**
1254             * Sets the trash entry local service.
1255             *
1256             * @param trashEntryLocalService the trash entry local service
1257             */
1258            public void setTrashEntryLocalService(
1259                    com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
1260                    this.trashEntryLocalService = trashEntryLocalService;
1261            }
1262    
1263            /**
1264             * Returns the trash entry remote service.
1265             *
1266             * @return the trash entry remote service
1267             */
1268            public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
1269                    return trashEntryService;
1270            }
1271    
1272            /**
1273             * Sets the trash entry remote service.
1274             *
1275             * @param trashEntryService the trash entry remote service
1276             */
1277            public void setTrashEntryService(
1278                    com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
1279                    this.trashEntryService = trashEntryService;
1280            }
1281    
1282            /**
1283             * Returns the trash entry persistence.
1284             *
1285             * @return the trash entry persistence
1286             */
1287            public TrashEntryPersistence getTrashEntryPersistence() {
1288                    return trashEntryPersistence;
1289            }
1290    
1291            /**
1292             * Sets the trash entry persistence.
1293             *
1294             * @param trashEntryPersistence the trash entry persistence
1295             */
1296            public void setTrashEntryPersistence(
1297                    TrashEntryPersistence trashEntryPersistence) {
1298                    this.trashEntryPersistence = trashEntryPersistence;
1299            }
1300    
1301            /**
1302             * Returns the trash version local service.
1303             *
1304             * @return the trash version local service
1305             */
1306            public com.liferay.portlet.trash.service.TrashVersionLocalService getTrashVersionLocalService() {
1307                    return trashVersionLocalService;
1308            }
1309    
1310            /**
1311             * Sets the trash version local service.
1312             *
1313             * @param trashVersionLocalService the trash version local service
1314             */
1315            public void setTrashVersionLocalService(
1316                    com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService) {
1317                    this.trashVersionLocalService = trashVersionLocalService;
1318            }
1319    
1320            /**
1321             * Returns the trash version persistence.
1322             *
1323             * @return the trash version persistence
1324             */
1325            public TrashVersionPersistence getTrashVersionPersistence() {
1326                    return trashVersionPersistence;
1327            }
1328    
1329            /**
1330             * Sets the trash version persistence.
1331             *
1332             * @param trashVersionPersistence the trash version persistence
1333             */
1334            public void setTrashVersionPersistence(
1335                    TrashVersionPersistence trashVersionPersistence) {
1336                    this.trashVersionPersistence = trashVersionPersistence;
1337            }
1338    
1339            public void afterPropertiesSet() {
1340                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.messageboards.model.MBCategory",
1341                            mbCategoryLocalService);
1342            }
1343    
1344            public void destroy() {
1345                    persistedModelLocalServiceRegistry.unregister(
1346                            "com.liferay.portlet.messageboards.model.MBCategory");
1347            }
1348    
1349            /**
1350             * Returns the Spring bean ID for this bean.
1351             *
1352             * @return the Spring bean ID for this bean
1353             */
1354            @Override
1355            public String getBeanIdentifier() {
1356                    return _beanIdentifier;
1357            }
1358    
1359            /**
1360             * Sets the Spring bean ID for this bean.
1361             *
1362             * @param beanIdentifier the Spring bean ID for this bean
1363             */
1364            @Override
1365            public void setBeanIdentifier(String beanIdentifier) {
1366                    _beanIdentifier = beanIdentifier;
1367            }
1368    
1369            protected Class<?> getModelClass() {
1370                    return MBCategory.class;
1371            }
1372    
1373            protected String getModelClassName() {
1374                    return MBCategory.class.getName();
1375            }
1376    
1377            /**
1378             * Performs an SQL query.
1379             *
1380             * @param sql the sql query
1381             */
1382            protected void runSQL(String sql) throws SystemException {
1383                    try {
1384                            DataSource dataSource = mbCategoryPersistence.getDataSource();
1385    
1386                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1387                                            sql, new int[0]);
1388    
1389                            sqlUpdate.update();
1390                    }
1391                    catch (Exception e) {
1392                            throw new SystemException(e);
1393                    }
1394            }
1395    
1396            @BeanReference(type = com.liferay.portlet.messageboards.service.MBBanLocalService.class)
1397            protected com.liferay.portlet.messageboards.service.MBBanLocalService mbBanLocalService;
1398            @BeanReference(type = com.liferay.portlet.messageboards.service.MBBanService.class)
1399            protected com.liferay.portlet.messageboards.service.MBBanService mbBanService;
1400            @BeanReference(type = MBBanPersistence.class)
1401            protected MBBanPersistence mbBanPersistence;
1402            @BeanReference(type = com.liferay.portlet.messageboards.service.MBCategoryLocalService.class)
1403            protected com.liferay.portlet.messageboards.service.MBCategoryLocalService mbCategoryLocalService;
1404            @BeanReference(type = com.liferay.portlet.messageboards.service.MBCategoryService.class)
1405            protected com.liferay.portlet.messageboards.service.MBCategoryService mbCategoryService;
1406            @BeanReference(type = MBCategoryPersistence.class)
1407            protected MBCategoryPersistence mbCategoryPersistence;
1408            @BeanReference(type = MBCategoryFinder.class)
1409            protected MBCategoryFinder mbCategoryFinder;
1410            @BeanReference(type = com.liferay.portlet.messageboards.service.MBDiscussionLocalService.class)
1411            protected com.liferay.portlet.messageboards.service.MBDiscussionLocalService mbDiscussionLocalService;
1412            @BeanReference(type = MBDiscussionPersistence.class)
1413            protected MBDiscussionPersistence mbDiscussionPersistence;
1414            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMailingListLocalService.class)
1415            protected com.liferay.portlet.messageboards.service.MBMailingListLocalService mbMailingListLocalService;
1416            @BeanReference(type = MBMailingListPersistence.class)
1417            protected MBMailingListPersistence mbMailingListPersistence;
1418            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageLocalService.class)
1419            protected com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService;
1420            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageService.class)
1421            protected com.liferay.portlet.messageboards.service.MBMessageService mbMessageService;
1422            @BeanReference(type = MBMessagePersistence.class)
1423            protected MBMessagePersistence mbMessagePersistence;
1424            @BeanReference(type = MBMessageFinder.class)
1425            protected MBMessageFinder mbMessageFinder;
1426            @BeanReference(type = com.liferay.portlet.messageboards.service.MBStatsUserLocalService.class)
1427            protected com.liferay.portlet.messageboards.service.MBStatsUserLocalService mbStatsUserLocalService;
1428            @BeanReference(type = MBStatsUserPersistence.class)
1429            protected MBStatsUserPersistence mbStatsUserPersistence;
1430            @BeanReference(type = com.liferay.portlet.messageboards.service.MBThreadLocalService.class)
1431            protected com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService;
1432            @BeanReference(type = com.liferay.portlet.messageboards.service.MBThreadService.class)
1433            protected com.liferay.portlet.messageboards.service.MBThreadService mbThreadService;
1434            @BeanReference(type = MBThreadPersistence.class)
1435            protected MBThreadPersistence mbThreadPersistence;
1436            @BeanReference(type = MBThreadFinder.class)
1437            protected MBThreadFinder mbThreadFinder;
1438            @BeanReference(type = com.liferay.portlet.messageboards.service.MBThreadFlagLocalService.class)
1439            protected com.liferay.portlet.messageboards.service.MBThreadFlagLocalService mbThreadFlagLocalService;
1440            @BeanReference(type = MBThreadFlagPersistence.class)
1441            protected MBThreadFlagPersistence mbThreadFlagPersistence;
1442            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1443            protected com.liferay.counter.service.CounterLocalService counterLocalService;
1444            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1445            protected com.liferay.portal.service.GroupLocalService groupLocalService;
1446            @BeanReference(type = com.liferay.portal.service.GroupService.class)
1447            protected com.liferay.portal.service.GroupService groupService;
1448            @BeanReference(type = GroupPersistence.class)
1449            protected GroupPersistence groupPersistence;
1450            @BeanReference(type = GroupFinder.class)
1451            protected GroupFinder groupFinder;
1452            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1453            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1454            @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
1455            protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
1456            @BeanReference(type = SubscriptionPersistence.class)
1457            protected SubscriptionPersistence subscriptionPersistence;
1458            @BeanReference(type = com.liferay.portal.service.SystemEventLocalService.class)
1459            protected com.liferay.portal.service.SystemEventLocalService systemEventLocalService;
1460            @BeanReference(type = SystemEventPersistence.class)
1461            protected SystemEventPersistence systemEventPersistence;
1462            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1463            protected com.liferay.portal.service.UserLocalService userLocalService;
1464            @BeanReference(type = com.liferay.portal.service.UserService.class)
1465            protected com.liferay.portal.service.UserService userService;
1466            @BeanReference(type = UserPersistence.class)
1467            protected UserPersistence userPersistence;
1468            @BeanReference(type = UserFinder.class)
1469            protected UserFinder userFinder;
1470            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1471            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1472            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1473            protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1474            @BeanReference(type = AssetEntryPersistence.class)
1475            protected AssetEntryPersistence assetEntryPersistence;
1476            @BeanReference(type = AssetEntryFinder.class)
1477            protected AssetEntryFinder assetEntryFinder;
1478            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
1479            protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
1480            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
1481            protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
1482            @BeanReference(type = AssetTagPersistence.class)
1483            protected AssetTagPersistence assetTagPersistence;
1484            @BeanReference(type = AssetTagFinder.class)
1485            protected AssetTagFinder assetTagFinder;
1486            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
1487            protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
1488            @BeanReference(type = ExpandoRowPersistence.class)
1489            protected ExpandoRowPersistence expandoRowPersistence;
1490            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
1491            protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
1492            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
1493            protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
1494            @BeanReference(type = TrashEntryPersistence.class)
1495            protected TrashEntryPersistence trashEntryPersistence;
1496            @BeanReference(type = com.liferay.portlet.trash.service.TrashVersionLocalService.class)
1497            protected com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService;
1498            @BeanReference(type = TrashVersionPersistence.class)
1499            protected TrashVersionPersistence trashVersionPersistence;
1500            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1501            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1502            private String _beanIdentifier;
1503    }