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