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