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.mail.service.MailService;
020    
021    import com.liferay.portal.kernel.bean.BeanReference;
022    import com.liferay.portal.kernel.bean.IdentifiableBean;
023    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
024    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
025    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
026    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
027    import com.liferay.portal.kernel.exception.PortalException;
028    import com.liferay.portal.kernel.exception.SystemException;
029    import com.liferay.portal.kernel.search.Indexable;
030    import com.liferay.portal.kernel.search.IndexableType;
031    import com.liferay.portal.kernel.util.OrderByComparator;
032    import com.liferay.portal.model.PersistedModel;
033    import com.liferay.portal.service.BaseLocalServiceImpl;
034    import com.liferay.portal.service.CompanyLocalService;
035    import com.liferay.portal.service.CompanyService;
036    import com.liferay.portal.service.GroupLocalService;
037    import com.liferay.portal.service.GroupService;
038    import com.liferay.portal.service.LockLocalService;
039    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
040    import com.liferay.portal.service.PortletPreferencesLocalService;
041    import com.liferay.portal.service.PortletPreferencesService;
042    import com.liferay.portal.service.ResourceLocalService;
043    import com.liferay.portal.service.ResourceService;
044    import com.liferay.portal.service.SubscriptionLocalService;
045    import com.liferay.portal.service.UserLocalService;
046    import com.liferay.portal.service.UserService;
047    import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
048    import com.liferay.portal.service.persistence.CompanyPersistence;
049    import com.liferay.portal.service.persistence.GroupFinder;
050    import com.liferay.portal.service.persistence.GroupPersistence;
051    import com.liferay.portal.service.persistence.LockFinder;
052    import com.liferay.portal.service.persistence.LockPersistence;
053    import com.liferay.portal.service.persistence.PortletPreferencesFinder;
054    import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
055    import com.liferay.portal.service.persistence.ResourceFinder;
056    import com.liferay.portal.service.persistence.ResourcePersistence;
057    import com.liferay.portal.service.persistence.SubscriptionPersistence;
058    import com.liferay.portal.service.persistence.UserFinder;
059    import com.liferay.portal.service.persistence.UserPersistence;
060    import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
061    
062    import com.liferay.portlet.asset.service.AssetEntryLocalService;
063    import com.liferay.portlet.asset.service.AssetEntryService;
064    import com.liferay.portlet.asset.service.AssetLinkLocalService;
065    import com.liferay.portlet.asset.service.AssetTagLocalService;
066    import com.liferay.portlet.asset.service.AssetTagService;
067    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
068    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
069    import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
070    import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
071    import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
072    import com.liferay.portlet.blogs.service.BlogsEntryLocalService;
073    import com.liferay.portlet.blogs.service.BlogsEntryService;
074    import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
075    import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
076    import com.liferay.portlet.expando.service.ExpandoValueLocalService;
077    import com.liferay.portlet.expando.service.ExpandoValueService;
078    import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
079    import com.liferay.portlet.messageboards.model.MBMessage;
080    import com.liferay.portlet.messageboards.service.MBBanLocalService;
081    import com.liferay.portlet.messageboards.service.MBBanService;
082    import com.liferay.portlet.messageboards.service.MBCategoryLocalService;
083    import com.liferay.portlet.messageboards.service.MBCategoryService;
084    import com.liferay.portlet.messageboards.service.MBDiscussionLocalService;
085    import com.liferay.portlet.messageboards.service.MBMailingListLocalService;
086    import com.liferay.portlet.messageboards.service.MBMessageLocalService;
087    import com.liferay.portlet.messageboards.service.MBMessageService;
088    import com.liferay.portlet.messageboards.service.MBStatsUserLocalService;
089    import com.liferay.portlet.messageboards.service.MBThreadFlagLocalService;
090    import com.liferay.portlet.messageboards.service.MBThreadLocalService;
091    import com.liferay.portlet.messageboards.service.MBThreadService;
092    import com.liferay.portlet.messageboards.service.persistence.MBBanPersistence;
093    import com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder;
094    import com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence;
095    import com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence;
096    import com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence;
097    import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
098    import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
099    import com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence;
100    import com.liferay.portlet.messageboards.service.persistence.MBThreadFinder;
101    import com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence;
102    import com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence;
103    import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
104    import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
105    import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
106    import com.liferay.portlet.social.service.SocialActivityLocalService;
107    import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
108    import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
109    import com.liferay.portlet.wiki.service.WikiPageLocalService;
110    import com.liferay.portlet.wiki.service.WikiPageService;
111    import com.liferay.portlet.wiki.service.persistence.WikiPageFinder;
112    import com.liferay.portlet.wiki.service.persistence.WikiPagePersistence;
113    
114    import java.io.Serializable;
115    
116    import java.util.List;
117    
118    import javax.sql.DataSource;
119    
120    /**
121     * The base implementation of the message-boards message local service.
122     *
123     * <p>
124     * 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.MBMessageLocalServiceImpl}.
125     * </p>
126     *
127     * @author Brian Wing Shun Chan
128     * @see com.liferay.portlet.messageboards.service.impl.MBMessageLocalServiceImpl
129     * @see com.liferay.portlet.messageboards.service.MBMessageLocalServiceUtil
130     * @generated
131     */
132    public abstract class MBMessageLocalServiceBaseImpl extends BaseLocalServiceImpl
133            implements MBMessageLocalService, IdentifiableBean {
134            /*
135             * NOTE FOR DEVELOPERS:
136             *
137             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.messageboards.service.MBMessageLocalServiceUtil} to access the message-boards message local service.
138             */
139    
140            /**
141             * Adds the message-boards message to the database. Also notifies the appropriate model listeners.
142             *
143             * @param mbMessage the message-boards message
144             * @return the message-boards message that was added
145             * @throws SystemException if a system exception occurred
146             */
147            @Indexable(type = IndexableType.REINDEX)
148            public MBMessage addMBMessage(MBMessage mbMessage)
149                    throws SystemException {
150                    mbMessage.setNew(true);
151    
152                    return mbMessagePersistence.update(mbMessage, false);
153            }
154    
155            /**
156             * Creates a new message-boards message with the primary key. Does not add the message-boards message to the database.
157             *
158             * @param messageId the primary key for the new message-boards message
159             * @return the new message-boards message
160             */
161            public MBMessage createMBMessage(long messageId) {
162                    return mbMessagePersistence.create(messageId);
163            }
164    
165            /**
166             * Deletes the message-boards message with the primary key from the database. Also notifies the appropriate model listeners.
167             *
168             * @param messageId the primary key of the message-boards message
169             * @return the message-boards message that was removed
170             * @throws PortalException if a message-boards message with the primary key could not be found
171             * @throws SystemException if a system exception occurred
172             */
173            @Indexable(type = IndexableType.DELETE)
174            public MBMessage deleteMBMessage(long messageId)
175                    throws PortalException, SystemException {
176                    return mbMessagePersistence.remove(messageId);
177            }
178    
179            /**
180             * Deletes the message-boards message from the database. Also notifies the appropriate model listeners.
181             *
182             * @param mbMessage the message-boards message
183             * @return the message-boards message that was removed
184             * @throws SystemException if a system exception occurred
185             */
186            @Indexable(type = IndexableType.DELETE)
187            public MBMessage deleteMBMessage(MBMessage mbMessage)
188                    throws SystemException {
189                    return mbMessagePersistence.remove(mbMessage);
190            }
191    
192            public DynamicQuery dynamicQuery() {
193                    Class<?> clazz = getClass();
194    
195                    return DynamicQueryFactoryUtil.forClass(MBMessage.class,
196                            clazz.getClassLoader());
197            }
198    
199            /**
200             * Performs a dynamic query on the database and returns the matching rows.
201             *
202             * @param dynamicQuery the dynamic query
203             * @return the matching rows
204             * @throws SystemException if a system exception occurred
205             */
206            @SuppressWarnings("rawtypes")
207            public List dynamicQuery(DynamicQuery dynamicQuery)
208                    throws SystemException {
209                    return mbMessagePersistence.findWithDynamicQuery(dynamicQuery);
210            }
211    
212            /**
213             * Performs a dynamic query on the database and returns a range of the matching rows.
214             *
215             * <p>
216             * 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.
217             * </p>
218             *
219             * @param dynamicQuery the dynamic query
220             * @param start the lower bound of the range of model instances
221             * @param end the upper bound of the range of model instances (not inclusive)
222             * @return the range of matching rows
223             * @throws SystemException if a system exception occurred
224             */
225            @SuppressWarnings("rawtypes")
226            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
227                    throws SystemException {
228                    return mbMessagePersistence.findWithDynamicQuery(dynamicQuery, start,
229                            end);
230            }
231    
232            /**
233             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
234             *
235             * <p>
236             * 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.
237             * </p>
238             *
239             * @param dynamicQuery the dynamic query
240             * @param start the lower bound of the range of model instances
241             * @param end the upper bound of the range of model instances (not inclusive)
242             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
243             * @return the ordered range of matching rows
244             * @throws SystemException if a system exception occurred
245             */
246            @SuppressWarnings("rawtypes")
247            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
248                    OrderByComparator orderByComparator) throws SystemException {
249                    return mbMessagePersistence.findWithDynamicQuery(dynamicQuery, start,
250                            end, orderByComparator);
251            }
252    
253            /**
254             * Returns the number of rows that match the dynamic query.
255             *
256             * @param dynamicQuery the dynamic query
257             * @return the number of rows that match the dynamic query
258             * @throws SystemException if a system exception occurred
259             */
260            public long dynamicQueryCount(DynamicQuery dynamicQuery)
261                    throws SystemException {
262                    return mbMessagePersistence.countWithDynamicQuery(dynamicQuery);
263            }
264    
265            public MBMessage fetchMBMessage(long messageId) throws SystemException {
266                    return mbMessagePersistence.fetchByPrimaryKey(messageId);
267            }
268    
269            /**
270             * Returns the message-boards message with the primary key.
271             *
272             * @param messageId the primary key of the message-boards message
273             * @return the message-boards message
274             * @throws PortalException if a message-boards message with the primary key could not be found
275             * @throws SystemException if a system exception occurred
276             */
277            public MBMessage getMBMessage(long messageId)
278                    throws PortalException, SystemException {
279                    return mbMessagePersistence.findByPrimaryKey(messageId);
280            }
281    
282            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
283                    throws PortalException, SystemException {
284                    return mbMessagePersistence.findByPrimaryKey(primaryKeyObj);
285            }
286    
287            /**
288             * Returns the message-boards message with the UUID in the group.
289             *
290             * @param uuid the UUID of message-boards message
291             * @param groupId the group id of the message-boards message
292             * @return the message-boards message
293             * @throws PortalException if a message-boards message with the UUID in the group could not be found
294             * @throws SystemException if a system exception occurred
295             */
296            public MBMessage getMBMessageByUuidAndGroupId(String uuid, long groupId)
297                    throws PortalException, SystemException {
298                    return mbMessagePersistence.findByUUID_G(uuid, groupId);
299            }
300    
301            /**
302             * Returns a range of all the message-boards messages.
303             *
304             * <p>
305             * 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.
306             * </p>
307             *
308             * @param start the lower bound of the range of message-boards messages
309             * @param end the upper bound of the range of message-boards messages (not inclusive)
310             * @return the range of message-boards messages
311             * @throws SystemException if a system exception occurred
312             */
313            public List<MBMessage> getMBMessages(int start, int end)
314                    throws SystemException {
315                    return mbMessagePersistence.findAll(start, end);
316            }
317    
318            /**
319             * Returns the number of message-boards messages.
320             *
321             * @return the number of message-boards messages
322             * @throws SystemException if a system exception occurred
323             */
324            public int getMBMessagesCount() throws SystemException {
325                    return mbMessagePersistence.countAll();
326            }
327    
328            /**
329             * Updates the message-boards message in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
330             *
331             * @param mbMessage the message-boards message
332             * @return the message-boards message that was updated
333             * @throws SystemException if a system exception occurred
334             */
335            @Indexable(type = IndexableType.REINDEX)
336            public MBMessage updateMBMessage(MBMessage mbMessage)
337                    throws SystemException {
338                    return updateMBMessage(mbMessage, true);
339            }
340    
341            /**
342             * Updates the message-boards message in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
343             *
344             * @param mbMessage the message-boards message
345             * @param merge whether to merge the message-boards message with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
346             * @return the message-boards message that was updated
347             * @throws SystemException if a system exception occurred
348             */
349            @Indexable(type = IndexableType.REINDEX)
350            public MBMessage updateMBMessage(MBMessage mbMessage, boolean merge)
351                    throws SystemException {
352                    mbMessage.setNew(false);
353    
354                    return mbMessagePersistence.update(mbMessage, merge);
355            }
356    
357            /**
358             * Returns the message boards ban local service.
359             *
360             * @return the message boards ban local service
361             */
362            public MBBanLocalService getMBBanLocalService() {
363                    return mbBanLocalService;
364            }
365    
366            /**
367             * Sets the message boards ban local service.
368             *
369             * @param mbBanLocalService the message boards ban local service
370             */
371            public void setMBBanLocalService(MBBanLocalService mbBanLocalService) {
372                    this.mbBanLocalService = mbBanLocalService;
373            }
374    
375            /**
376             * Returns the message boards ban remote service.
377             *
378             * @return the message boards ban remote service
379             */
380            public MBBanService getMBBanService() {
381                    return mbBanService;
382            }
383    
384            /**
385             * Sets the message boards ban remote service.
386             *
387             * @param mbBanService the message boards ban remote service
388             */
389            public void setMBBanService(MBBanService mbBanService) {
390                    this.mbBanService = mbBanService;
391            }
392    
393            /**
394             * Returns the message boards ban persistence.
395             *
396             * @return the message boards ban persistence
397             */
398            public MBBanPersistence getMBBanPersistence() {
399                    return mbBanPersistence;
400            }
401    
402            /**
403             * Sets the message boards ban persistence.
404             *
405             * @param mbBanPersistence the message boards ban persistence
406             */
407            public void setMBBanPersistence(MBBanPersistence mbBanPersistence) {
408                    this.mbBanPersistence = mbBanPersistence;
409            }
410    
411            /**
412             * Returns the message boards category local service.
413             *
414             * @return the message boards category local service
415             */
416            public MBCategoryLocalService getMBCategoryLocalService() {
417                    return mbCategoryLocalService;
418            }
419    
420            /**
421             * Sets the message boards category local service.
422             *
423             * @param mbCategoryLocalService the message boards category local service
424             */
425            public void setMBCategoryLocalService(
426                    MBCategoryLocalService mbCategoryLocalService) {
427                    this.mbCategoryLocalService = mbCategoryLocalService;
428            }
429    
430            /**
431             * Returns the message boards category remote service.
432             *
433             * @return the message boards category remote service
434             */
435            public MBCategoryService getMBCategoryService() {
436                    return mbCategoryService;
437            }
438    
439            /**
440             * Sets the message boards category remote service.
441             *
442             * @param mbCategoryService the message boards category remote service
443             */
444            public void setMBCategoryService(MBCategoryService mbCategoryService) {
445                    this.mbCategoryService = mbCategoryService;
446            }
447    
448            /**
449             * Returns the message boards category persistence.
450             *
451             * @return the message boards category persistence
452             */
453            public MBCategoryPersistence getMBCategoryPersistence() {
454                    return mbCategoryPersistence;
455            }
456    
457            /**
458             * Sets the message boards category persistence.
459             *
460             * @param mbCategoryPersistence the message boards category persistence
461             */
462            public void setMBCategoryPersistence(
463                    MBCategoryPersistence mbCategoryPersistence) {
464                    this.mbCategoryPersistence = mbCategoryPersistence;
465            }
466    
467            /**
468             * Returns the message boards category finder.
469             *
470             * @return the message boards category finder
471             */
472            public MBCategoryFinder getMBCategoryFinder() {
473                    return mbCategoryFinder;
474            }
475    
476            /**
477             * Sets the message boards category finder.
478             *
479             * @param mbCategoryFinder the message boards category finder
480             */
481            public void setMBCategoryFinder(MBCategoryFinder mbCategoryFinder) {
482                    this.mbCategoryFinder = mbCategoryFinder;
483            }
484    
485            /**
486             * Returns the message boards discussion local service.
487             *
488             * @return the message boards discussion local service
489             */
490            public MBDiscussionLocalService getMBDiscussionLocalService() {
491                    return mbDiscussionLocalService;
492            }
493    
494            /**
495             * Sets the message boards discussion local service.
496             *
497             * @param mbDiscussionLocalService the message boards discussion local service
498             */
499            public void setMBDiscussionLocalService(
500                    MBDiscussionLocalService mbDiscussionLocalService) {
501                    this.mbDiscussionLocalService = mbDiscussionLocalService;
502            }
503    
504            /**
505             * Returns the message boards discussion persistence.
506             *
507             * @return the message boards discussion persistence
508             */
509            public MBDiscussionPersistence getMBDiscussionPersistence() {
510                    return mbDiscussionPersistence;
511            }
512    
513            /**
514             * Sets the message boards discussion persistence.
515             *
516             * @param mbDiscussionPersistence the message boards discussion persistence
517             */
518            public void setMBDiscussionPersistence(
519                    MBDiscussionPersistence mbDiscussionPersistence) {
520                    this.mbDiscussionPersistence = mbDiscussionPersistence;
521            }
522    
523            /**
524             * Returns the message boards mailing list local service.
525             *
526             * @return the message boards mailing list local service
527             */
528            public MBMailingListLocalService getMBMailingListLocalService() {
529                    return mbMailingListLocalService;
530            }
531    
532            /**
533             * Sets the message boards mailing list local service.
534             *
535             * @param mbMailingListLocalService the message boards mailing list local service
536             */
537            public void setMBMailingListLocalService(
538                    MBMailingListLocalService mbMailingListLocalService) {
539                    this.mbMailingListLocalService = mbMailingListLocalService;
540            }
541    
542            /**
543             * Returns the message boards mailing list persistence.
544             *
545             * @return the message boards mailing list persistence
546             */
547            public MBMailingListPersistence getMBMailingListPersistence() {
548                    return mbMailingListPersistence;
549            }
550    
551            /**
552             * Sets the message boards mailing list persistence.
553             *
554             * @param mbMailingListPersistence the message boards mailing list persistence
555             */
556            public void setMBMailingListPersistence(
557                    MBMailingListPersistence mbMailingListPersistence) {
558                    this.mbMailingListPersistence = mbMailingListPersistence;
559            }
560    
561            /**
562             * Returns the message-boards message local service.
563             *
564             * @return the message-boards message local service
565             */
566            public MBMessageLocalService getMBMessageLocalService() {
567                    return mbMessageLocalService;
568            }
569    
570            /**
571             * Sets the message-boards message local service.
572             *
573             * @param mbMessageLocalService the message-boards message local service
574             */
575            public void setMBMessageLocalService(
576                    MBMessageLocalService mbMessageLocalService) {
577                    this.mbMessageLocalService = mbMessageLocalService;
578            }
579    
580            /**
581             * Returns the message-boards message remote service.
582             *
583             * @return the message-boards message remote service
584             */
585            public MBMessageService getMBMessageService() {
586                    return mbMessageService;
587            }
588    
589            /**
590             * Sets the message-boards message remote service.
591             *
592             * @param mbMessageService the message-boards message remote service
593             */
594            public void setMBMessageService(MBMessageService mbMessageService) {
595                    this.mbMessageService = mbMessageService;
596            }
597    
598            /**
599             * Returns the message-boards message persistence.
600             *
601             * @return the message-boards message persistence
602             */
603            public MBMessagePersistence getMBMessagePersistence() {
604                    return mbMessagePersistence;
605            }
606    
607            /**
608             * Sets the message-boards message persistence.
609             *
610             * @param mbMessagePersistence the message-boards message persistence
611             */
612            public void setMBMessagePersistence(
613                    MBMessagePersistence mbMessagePersistence) {
614                    this.mbMessagePersistence = mbMessagePersistence;
615            }
616    
617            /**
618             * Returns the message-boards message finder.
619             *
620             * @return the message-boards message finder
621             */
622            public MBMessageFinder getMBMessageFinder() {
623                    return mbMessageFinder;
624            }
625    
626            /**
627             * Sets the message-boards message finder.
628             *
629             * @param mbMessageFinder the message-boards message finder
630             */
631            public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
632                    this.mbMessageFinder = mbMessageFinder;
633            }
634    
635            /**
636             * Returns the message boards stats user local service.
637             *
638             * @return the message boards stats user local service
639             */
640            public MBStatsUserLocalService getMBStatsUserLocalService() {
641                    return mbStatsUserLocalService;
642            }
643    
644            /**
645             * Sets the message boards stats user local service.
646             *
647             * @param mbStatsUserLocalService the message boards stats user local service
648             */
649            public void setMBStatsUserLocalService(
650                    MBStatsUserLocalService mbStatsUserLocalService) {
651                    this.mbStatsUserLocalService = mbStatsUserLocalService;
652            }
653    
654            /**
655             * Returns the message boards stats user persistence.
656             *
657             * @return the message boards stats user persistence
658             */
659            public MBStatsUserPersistence getMBStatsUserPersistence() {
660                    return mbStatsUserPersistence;
661            }
662    
663            /**
664             * Sets the message boards stats user persistence.
665             *
666             * @param mbStatsUserPersistence the message boards stats user persistence
667             */
668            public void setMBStatsUserPersistence(
669                    MBStatsUserPersistence mbStatsUserPersistence) {
670                    this.mbStatsUserPersistence = mbStatsUserPersistence;
671            }
672    
673            /**
674             * Returns the message boards thread local service.
675             *
676             * @return the message boards thread local service
677             */
678            public MBThreadLocalService getMBThreadLocalService() {
679                    return mbThreadLocalService;
680            }
681    
682            /**
683             * Sets the message boards thread local service.
684             *
685             * @param mbThreadLocalService the message boards thread local service
686             */
687            public void setMBThreadLocalService(
688                    MBThreadLocalService mbThreadLocalService) {
689                    this.mbThreadLocalService = mbThreadLocalService;
690            }
691    
692            /**
693             * Returns the message boards thread remote service.
694             *
695             * @return the message boards thread remote service
696             */
697            public MBThreadService getMBThreadService() {
698                    return mbThreadService;
699            }
700    
701            /**
702             * Sets the message boards thread remote service.
703             *
704             * @param mbThreadService the message boards thread remote service
705             */
706            public void setMBThreadService(MBThreadService mbThreadService) {
707                    this.mbThreadService = mbThreadService;
708            }
709    
710            /**
711             * Returns the message boards thread persistence.
712             *
713             * @return the message boards thread persistence
714             */
715            public MBThreadPersistence getMBThreadPersistence() {
716                    return mbThreadPersistence;
717            }
718    
719            /**
720             * Sets the message boards thread persistence.
721             *
722             * @param mbThreadPersistence the message boards thread persistence
723             */
724            public void setMBThreadPersistence(MBThreadPersistence mbThreadPersistence) {
725                    this.mbThreadPersistence = mbThreadPersistence;
726            }
727    
728            /**
729             * Returns the message boards thread finder.
730             *
731             * @return the message boards thread finder
732             */
733            public MBThreadFinder getMBThreadFinder() {
734                    return mbThreadFinder;
735            }
736    
737            /**
738             * Sets the message boards thread finder.
739             *
740             * @param mbThreadFinder the message boards thread finder
741             */
742            public void setMBThreadFinder(MBThreadFinder mbThreadFinder) {
743                    this.mbThreadFinder = mbThreadFinder;
744            }
745    
746            /**
747             * Returns the message boards thread flag local service.
748             *
749             * @return the message boards thread flag local service
750             */
751            public MBThreadFlagLocalService getMBThreadFlagLocalService() {
752                    return mbThreadFlagLocalService;
753            }
754    
755            /**
756             * Sets the message boards thread flag local service.
757             *
758             * @param mbThreadFlagLocalService the message boards thread flag local service
759             */
760            public void setMBThreadFlagLocalService(
761                    MBThreadFlagLocalService mbThreadFlagLocalService) {
762                    this.mbThreadFlagLocalService = mbThreadFlagLocalService;
763            }
764    
765            /**
766             * Returns the message boards thread flag persistence.
767             *
768             * @return the message boards thread flag persistence
769             */
770            public MBThreadFlagPersistence getMBThreadFlagPersistence() {
771                    return mbThreadFlagPersistence;
772            }
773    
774            /**
775             * Sets the message boards thread flag persistence.
776             *
777             * @param mbThreadFlagPersistence the message boards thread flag persistence
778             */
779            public void setMBThreadFlagPersistence(
780                    MBThreadFlagPersistence mbThreadFlagPersistence) {
781                    this.mbThreadFlagPersistence = mbThreadFlagPersistence;
782            }
783    
784            /**
785             * Returns the counter local service.
786             *
787             * @return the counter local service
788             */
789            public CounterLocalService getCounterLocalService() {
790                    return counterLocalService;
791            }
792    
793            /**
794             * Sets the counter local service.
795             *
796             * @param counterLocalService the counter local service
797             */
798            public void setCounterLocalService(CounterLocalService counterLocalService) {
799                    this.counterLocalService = counterLocalService;
800            }
801    
802            /**
803             * Returns the mail remote service.
804             *
805             * @return the mail remote service
806             */
807            public MailService getMailService() {
808                    return mailService;
809            }
810    
811            /**
812             * Sets the mail remote service.
813             *
814             * @param mailService the mail remote service
815             */
816            public void setMailService(MailService mailService) {
817                    this.mailService = mailService;
818            }
819    
820            /**
821             * Returns the company local service.
822             *
823             * @return the company local service
824             */
825            public CompanyLocalService getCompanyLocalService() {
826                    return companyLocalService;
827            }
828    
829            /**
830             * Sets the company local service.
831             *
832             * @param companyLocalService the company local service
833             */
834            public void setCompanyLocalService(CompanyLocalService companyLocalService) {
835                    this.companyLocalService = companyLocalService;
836            }
837    
838            /**
839             * Returns the company remote service.
840             *
841             * @return the company remote service
842             */
843            public CompanyService getCompanyService() {
844                    return companyService;
845            }
846    
847            /**
848             * Sets the company remote service.
849             *
850             * @param companyService the company remote service
851             */
852            public void setCompanyService(CompanyService companyService) {
853                    this.companyService = companyService;
854            }
855    
856            /**
857             * Returns the company persistence.
858             *
859             * @return the company persistence
860             */
861            public CompanyPersistence getCompanyPersistence() {
862                    return companyPersistence;
863            }
864    
865            /**
866             * Sets the company persistence.
867             *
868             * @param companyPersistence the company persistence
869             */
870            public void setCompanyPersistence(CompanyPersistence companyPersistence) {
871                    this.companyPersistence = companyPersistence;
872            }
873    
874            /**
875             * Returns the group local service.
876             *
877             * @return the group local service
878             */
879            public GroupLocalService getGroupLocalService() {
880                    return groupLocalService;
881            }
882    
883            /**
884             * Sets the group local service.
885             *
886             * @param groupLocalService the group local service
887             */
888            public void setGroupLocalService(GroupLocalService groupLocalService) {
889                    this.groupLocalService = groupLocalService;
890            }
891    
892            /**
893             * Returns the group remote service.
894             *
895             * @return the group remote service
896             */
897            public GroupService getGroupService() {
898                    return groupService;
899            }
900    
901            /**
902             * Sets the group remote service.
903             *
904             * @param groupService the group remote service
905             */
906            public void setGroupService(GroupService groupService) {
907                    this.groupService = groupService;
908            }
909    
910            /**
911             * Returns the group persistence.
912             *
913             * @return the group persistence
914             */
915            public GroupPersistence getGroupPersistence() {
916                    return groupPersistence;
917            }
918    
919            /**
920             * Sets the group persistence.
921             *
922             * @param groupPersistence the group persistence
923             */
924            public void setGroupPersistence(GroupPersistence groupPersistence) {
925                    this.groupPersistence = groupPersistence;
926            }
927    
928            /**
929             * Returns the group finder.
930             *
931             * @return the group finder
932             */
933            public GroupFinder getGroupFinder() {
934                    return groupFinder;
935            }
936    
937            /**
938             * Sets the group finder.
939             *
940             * @param groupFinder the group finder
941             */
942            public void setGroupFinder(GroupFinder groupFinder) {
943                    this.groupFinder = groupFinder;
944            }
945    
946            /**
947             * Returns the lock local service.
948             *
949             * @return the lock local service
950             */
951            public LockLocalService getLockLocalService() {
952                    return lockLocalService;
953            }
954    
955            /**
956             * Sets the lock local service.
957             *
958             * @param lockLocalService the lock local service
959             */
960            public void setLockLocalService(LockLocalService lockLocalService) {
961                    this.lockLocalService = lockLocalService;
962            }
963    
964            /**
965             * Returns the lock persistence.
966             *
967             * @return the lock persistence
968             */
969            public LockPersistence getLockPersistence() {
970                    return lockPersistence;
971            }
972    
973            /**
974             * Sets the lock persistence.
975             *
976             * @param lockPersistence the lock persistence
977             */
978            public void setLockPersistence(LockPersistence lockPersistence) {
979                    this.lockPersistence = lockPersistence;
980            }
981    
982            /**
983             * Returns the lock finder.
984             *
985             * @return the lock finder
986             */
987            public LockFinder getLockFinder() {
988                    return lockFinder;
989            }
990    
991            /**
992             * Sets the lock finder.
993             *
994             * @param lockFinder the lock finder
995             */
996            public void setLockFinder(LockFinder lockFinder) {
997                    this.lockFinder = lockFinder;
998            }
999    
1000            /**
1001             * Returns the portlet preferences local service.
1002             *
1003             * @return the portlet preferences local service
1004             */
1005            public PortletPreferencesLocalService getPortletPreferencesLocalService() {
1006                    return portletPreferencesLocalService;
1007            }
1008    
1009            /**
1010             * Sets the portlet preferences local service.
1011             *
1012             * @param portletPreferencesLocalService the portlet preferences local service
1013             */
1014            public void setPortletPreferencesLocalService(
1015                    PortletPreferencesLocalService portletPreferencesLocalService) {
1016                    this.portletPreferencesLocalService = portletPreferencesLocalService;
1017            }
1018    
1019            /**
1020             * Returns the portlet preferences remote service.
1021             *
1022             * @return the portlet preferences remote service
1023             */
1024            public PortletPreferencesService getPortletPreferencesService() {
1025                    return portletPreferencesService;
1026            }
1027    
1028            /**
1029             * Sets the portlet preferences remote service.
1030             *
1031             * @param portletPreferencesService the portlet preferences remote service
1032             */
1033            public void setPortletPreferencesService(
1034                    PortletPreferencesService portletPreferencesService) {
1035                    this.portletPreferencesService = portletPreferencesService;
1036            }
1037    
1038            /**
1039             * Returns the portlet preferences persistence.
1040             *
1041             * @return the portlet preferences persistence
1042             */
1043            public PortletPreferencesPersistence getPortletPreferencesPersistence() {
1044                    return portletPreferencesPersistence;
1045            }
1046    
1047            /**
1048             * Sets the portlet preferences persistence.
1049             *
1050             * @param portletPreferencesPersistence the portlet preferences persistence
1051             */
1052            public void setPortletPreferencesPersistence(
1053                    PortletPreferencesPersistence portletPreferencesPersistence) {
1054                    this.portletPreferencesPersistence = portletPreferencesPersistence;
1055            }
1056    
1057            /**
1058             * Returns the portlet preferences finder.
1059             *
1060             * @return the portlet preferences finder
1061             */
1062            public PortletPreferencesFinder getPortletPreferencesFinder() {
1063                    return portletPreferencesFinder;
1064            }
1065    
1066            /**
1067             * Sets the portlet preferences finder.
1068             *
1069             * @param portletPreferencesFinder the portlet preferences finder
1070             */
1071            public void setPortletPreferencesFinder(
1072                    PortletPreferencesFinder portletPreferencesFinder) {
1073                    this.portletPreferencesFinder = portletPreferencesFinder;
1074            }
1075    
1076            /**
1077             * Returns the resource local service.
1078             *
1079             * @return the resource local service
1080             */
1081            public ResourceLocalService getResourceLocalService() {
1082                    return resourceLocalService;
1083            }
1084    
1085            /**
1086             * Sets the resource local service.
1087             *
1088             * @param resourceLocalService the resource local service
1089             */
1090            public void setResourceLocalService(
1091                    ResourceLocalService resourceLocalService) {
1092                    this.resourceLocalService = resourceLocalService;
1093            }
1094    
1095            /**
1096             * Returns the resource remote service.
1097             *
1098             * @return the resource remote service
1099             */
1100            public ResourceService getResourceService() {
1101                    return resourceService;
1102            }
1103    
1104            /**
1105             * Sets the resource remote service.
1106             *
1107             * @param resourceService the resource remote service
1108             */
1109            public void setResourceService(ResourceService resourceService) {
1110                    this.resourceService = resourceService;
1111            }
1112    
1113            /**
1114             * Returns the resource persistence.
1115             *
1116             * @return the resource persistence
1117             */
1118            public ResourcePersistence getResourcePersistence() {
1119                    return resourcePersistence;
1120            }
1121    
1122            /**
1123             * Sets the resource persistence.
1124             *
1125             * @param resourcePersistence the resource persistence
1126             */
1127            public void setResourcePersistence(ResourcePersistence resourcePersistence) {
1128                    this.resourcePersistence = resourcePersistence;
1129            }
1130    
1131            /**
1132             * Returns the resource finder.
1133             *
1134             * @return the resource finder
1135             */
1136            public ResourceFinder getResourceFinder() {
1137                    return resourceFinder;
1138            }
1139    
1140            /**
1141             * Sets the resource finder.
1142             *
1143             * @param resourceFinder the resource finder
1144             */
1145            public void setResourceFinder(ResourceFinder resourceFinder) {
1146                    this.resourceFinder = resourceFinder;
1147            }
1148    
1149            /**
1150             * Returns the subscription local service.
1151             *
1152             * @return the subscription local service
1153             */
1154            public SubscriptionLocalService getSubscriptionLocalService() {
1155                    return subscriptionLocalService;
1156            }
1157    
1158            /**
1159             * Sets the subscription local service.
1160             *
1161             * @param subscriptionLocalService the subscription local service
1162             */
1163            public void setSubscriptionLocalService(
1164                    SubscriptionLocalService subscriptionLocalService) {
1165                    this.subscriptionLocalService = subscriptionLocalService;
1166            }
1167    
1168            /**
1169             * Returns the subscription persistence.
1170             *
1171             * @return the subscription persistence
1172             */
1173            public SubscriptionPersistence getSubscriptionPersistence() {
1174                    return subscriptionPersistence;
1175            }
1176    
1177            /**
1178             * Sets the subscription persistence.
1179             *
1180             * @param subscriptionPersistence the subscription persistence
1181             */
1182            public void setSubscriptionPersistence(
1183                    SubscriptionPersistence subscriptionPersistence) {
1184                    this.subscriptionPersistence = subscriptionPersistence;
1185            }
1186    
1187            /**
1188             * Returns the user local service.
1189             *
1190             * @return the user local service
1191             */
1192            public UserLocalService getUserLocalService() {
1193                    return userLocalService;
1194            }
1195    
1196            /**
1197             * Sets the user local service.
1198             *
1199             * @param userLocalService the user local service
1200             */
1201            public void setUserLocalService(UserLocalService userLocalService) {
1202                    this.userLocalService = userLocalService;
1203            }
1204    
1205            /**
1206             * Returns the user remote service.
1207             *
1208             * @return the user remote service
1209             */
1210            public UserService getUserService() {
1211                    return userService;
1212            }
1213    
1214            /**
1215             * Sets the user remote service.
1216             *
1217             * @param userService the user remote service
1218             */
1219            public void setUserService(UserService userService) {
1220                    this.userService = userService;
1221            }
1222    
1223            /**
1224             * Returns the user persistence.
1225             *
1226             * @return the user persistence
1227             */
1228            public UserPersistence getUserPersistence() {
1229                    return userPersistence;
1230            }
1231    
1232            /**
1233             * Sets the user persistence.
1234             *
1235             * @param userPersistence the user persistence
1236             */
1237            public void setUserPersistence(UserPersistence userPersistence) {
1238                    this.userPersistence = userPersistence;
1239            }
1240    
1241            /**
1242             * Returns the user finder.
1243             *
1244             * @return the user finder
1245             */
1246            public UserFinder getUserFinder() {
1247                    return userFinder;
1248            }
1249    
1250            /**
1251             * Sets the user finder.
1252             *
1253             * @param userFinder the user finder
1254             */
1255            public void setUserFinder(UserFinder userFinder) {
1256                    this.userFinder = userFinder;
1257            }
1258    
1259            /**
1260             * Returns the workflow instance link local service.
1261             *
1262             * @return the workflow instance link local service
1263             */
1264            public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1265                    return workflowInstanceLinkLocalService;
1266            }
1267    
1268            /**
1269             * Sets the workflow instance link local service.
1270             *
1271             * @param workflowInstanceLinkLocalService the workflow instance link local service
1272             */
1273            public void setWorkflowInstanceLinkLocalService(
1274                    WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1275                    this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1276            }
1277    
1278            /**
1279             * Returns the workflow instance link persistence.
1280             *
1281             * @return the workflow instance link persistence
1282             */
1283            public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1284                    return workflowInstanceLinkPersistence;
1285            }
1286    
1287            /**
1288             * Sets the workflow instance link persistence.
1289             *
1290             * @param workflowInstanceLinkPersistence the workflow instance link persistence
1291             */
1292            public void setWorkflowInstanceLinkPersistence(
1293                    WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1294                    this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1295            }
1296    
1297            /**
1298             * Returns the asset entry local service.
1299             *
1300             * @return the asset entry local service
1301             */
1302            public AssetEntryLocalService getAssetEntryLocalService() {
1303                    return assetEntryLocalService;
1304            }
1305    
1306            /**
1307             * Sets the asset entry local service.
1308             *
1309             * @param assetEntryLocalService the asset entry local service
1310             */
1311            public void setAssetEntryLocalService(
1312                    AssetEntryLocalService assetEntryLocalService) {
1313                    this.assetEntryLocalService = assetEntryLocalService;
1314            }
1315    
1316            /**
1317             * Returns the asset entry remote service.
1318             *
1319             * @return the asset entry remote service
1320             */
1321            public AssetEntryService getAssetEntryService() {
1322                    return assetEntryService;
1323            }
1324    
1325            /**
1326             * Sets the asset entry remote service.
1327             *
1328             * @param assetEntryService the asset entry remote service
1329             */
1330            public void setAssetEntryService(AssetEntryService assetEntryService) {
1331                    this.assetEntryService = assetEntryService;
1332            }
1333    
1334            /**
1335             * Returns the asset entry persistence.
1336             *
1337             * @return the asset entry persistence
1338             */
1339            public AssetEntryPersistence getAssetEntryPersistence() {
1340                    return assetEntryPersistence;
1341            }
1342    
1343            /**
1344             * Sets the asset entry persistence.
1345             *
1346             * @param assetEntryPersistence the asset entry persistence
1347             */
1348            public void setAssetEntryPersistence(
1349                    AssetEntryPersistence assetEntryPersistence) {
1350                    this.assetEntryPersistence = assetEntryPersistence;
1351            }
1352    
1353            /**
1354             * Returns the asset entry finder.
1355             *
1356             * @return the asset entry finder
1357             */
1358            public AssetEntryFinder getAssetEntryFinder() {
1359                    return assetEntryFinder;
1360            }
1361    
1362            /**
1363             * Sets the asset entry finder.
1364             *
1365             * @param assetEntryFinder the asset entry finder
1366             */
1367            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1368                    this.assetEntryFinder = assetEntryFinder;
1369            }
1370    
1371            /**
1372             * Returns the asset link local service.
1373             *
1374             * @return the asset link local service
1375             */
1376            public AssetLinkLocalService getAssetLinkLocalService() {
1377                    return assetLinkLocalService;
1378            }
1379    
1380            /**
1381             * Sets the asset link local service.
1382             *
1383             * @param assetLinkLocalService the asset link local service
1384             */
1385            public void setAssetLinkLocalService(
1386                    AssetLinkLocalService assetLinkLocalService) {
1387                    this.assetLinkLocalService = assetLinkLocalService;
1388            }
1389    
1390            /**
1391             * Returns the asset link persistence.
1392             *
1393             * @return the asset link persistence
1394             */
1395            public AssetLinkPersistence getAssetLinkPersistence() {
1396                    return assetLinkPersistence;
1397            }
1398    
1399            /**
1400             * Sets the asset link persistence.
1401             *
1402             * @param assetLinkPersistence the asset link persistence
1403             */
1404            public void setAssetLinkPersistence(
1405                    AssetLinkPersistence assetLinkPersistence) {
1406                    this.assetLinkPersistence = assetLinkPersistence;
1407            }
1408    
1409            /**
1410             * Returns the asset tag local service.
1411             *
1412             * @return the asset tag local service
1413             */
1414            public AssetTagLocalService getAssetTagLocalService() {
1415                    return assetTagLocalService;
1416            }
1417    
1418            /**
1419             * Sets the asset tag local service.
1420             *
1421             * @param assetTagLocalService the asset tag local service
1422             */
1423            public void setAssetTagLocalService(
1424                    AssetTagLocalService assetTagLocalService) {
1425                    this.assetTagLocalService = assetTagLocalService;
1426            }
1427    
1428            /**
1429             * Returns the asset tag remote service.
1430             *
1431             * @return the asset tag remote service
1432             */
1433            public AssetTagService getAssetTagService() {
1434                    return assetTagService;
1435            }
1436    
1437            /**
1438             * Sets the asset tag remote service.
1439             *
1440             * @param assetTagService the asset tag remote service
1441             */
1442            public void setAssetTagService(AssetTagService assetTagService) {
1443                    this.assetTagService = assetTagService;
1444            }
1445    
1446            /**
1447             * Returns the asset tag persistence.
1448             *
1449             * @return the asset tag persistence
1450             */
1451            public AssetTagPersistence getAssetTagPersistence() {
1452                    return assetTagPersistence;
1453            }
1454    
1455            /**
1456             * Sets the asset tag persistence.
1457             *
1458             * @param assetTagPersistence the asset tag persistence
1459             */
1460            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1461                    this.assetTagPersistence = assetTagPersistence;
1462            }
1463    
1464            /**
1465             * Returns the asset tag finder.
1466             *
1467             * @return the asset tag finder
1468             */
1469            public AssetTagFinder getAssetTagFinder() {
1470                    return assetTagFinder;
1471            }
1472    
1473            /**
1474             * Sets the asset tag finder.
1475             *
1476             * @param assetTagFinder the asset tag finder
1477             */
1478            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1479                    this.assetTagFinder = assetTagFinder;
1480            }
1481    
1482            /**
1483             * Returns the blogs entry local service.
1484             *
1485             * @return the blogs entry local service
1486             */
1487            public BlogsEntryLocalService getBlogsEntryLocalService() {
1488                    return blogsEntryLocalService;
1489            }
1490    
1491            /**
1492             * Sets the blogs entry local service.
1493             *
1494             * @param blogsEntryLocalService the blogs entry local service
1495             */
1496            public void setBlogsEntryLocalService(
1497                    BlogsEntryLocalService blogsEntryLocalService) {
1498                    this.blogsEntryLocalService = blogsEntryLocalService;
1499            }
1500    
1501            /**
1502             * Returns the blogs entry remote service.
1503             *
1504             * @return the blogs entry remote service
1505             */
1506            public BlogsEntryService getBlogsEntryService() {
1507                    return blogsEntryService;
1508            }
1509    
1510            /**
1511             * Sets the blogs entry remote service.
1512             *
1513             * @param blogsEntryService the blogs entry remote service
1514             */
1515            public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
1516                    this.blogsEntryService = blogsEntryService;
1517            }
1518    
1519            /**
1520             * Returns the blogs entry persistence.
1521             *
1522             * @return the blogs entry persistence
1523             */
1524            public BlogsEntryPersistence getBlogsEntryPersistence() {
1525                    return blogsEntryPersistence;
1526            }
1527    
1528            /**
1529             * Sets the blogs entry persistence.
1530             *
1531             * @param blogsEntryPersistence the blogs entry persistence
1532             */
1533            public void setBlogsEntryPersistence(
1534                    BlogsEntryPersistence blogsEntryPersistence) {
1535                    this.blogsEntryPersistence = blogsEntryPersistence;
1536            }
1537    
1538            /**
1539             * Returns the blogs entry finder.
1540             *
1541             * @return the blogs entry finder
1542             */
1543            public BlogsEntryFinder getBlogsEntryFinder() {
1544                    return blogsEntryFinder;
1545            }
1546    
1547            /**
1548             * Sets the blogs entry finder.
1549             *
1550             * @param blogsEntryFinder the blogs entry finder
1551             */
1552            public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
1553                    this.blogsEntryFinder = blogsEntryFinder;
1554            }
1555    
1556            /**
1557             * Returns the expando value local service.
1558             *
1559             * @return the expando value local service
1560             */
1561            public ExpandoValueLocalService getExpandoValueLocalService() {
1562                    return expandoValueLocalService;
1563            }
1564    
1565            /**
1566             * Sets the expando value local service.
1567             *
1568             * @param expandoValueLocalService the expando value local service
1569             */
1570            public void setExpandoValueLocalService(
1571                    ExpandoValueLocalService expandoValueLocalService) {
1572                    this.expandoValueLocalService = expandoValueLocalService;
1573            }
1574    
1575            /**
1576             * Returns the expando value remote service.
1577             *
1578             * @return the expando value remote service
1579             */
1580            public ExpandoValueService getExpandoValueService() {
1581                    return expandoValueService;
1582            }
1583    
1584            /**
1585             * Sets the expando value remote service.
1586             *
1587             * @param expandoValueService the expando value remote service
1588             */
1589            public void setExpandoValueService(ExpandoValueService expandoValueService) {
1590                    this.expandoValueService = expandoValueService;
1591            }
1592    
1593            /**
1594             * Returns the expando value persistence.
1595             *
1596             * @return the expando value persistence
1597             */
1598            public ExpandoValuePersistence getExpandoValuePersistence() {
1599                    return expandoValuePersistence;
1600            }
1601    
1602            /**
1603             * Sets the expando value persistence.
1604             *
1605             * @param expandoValuePersistence the expando value persistence
1606             */
1607            public void setExpandoValuePersistence(
1608                    ExpandoValuePersistence expandoValuePersistence) {
1609                    this.expandoValuePersistence = expandoValuePersistence;
1610            }
1611    
1612            /**
1613             * Returns the ratings stats local service.
1614             *
1615             * @return the ratings stats local service
1616             */
1617            public RatingsStatsLocalService getRatingsStatsLocalService() {
1618                    return ratingsStatsLocalService;
1619            }
1620    
1621            /**
1622             * Sets the ratings stats local service.
1623             *
1624             * @param ratingsStatsLocalService the ratings stats local service
1625             */
1626            public void setRatingsStatsLocalService(
1627                    RatingsStatsLocalService ratingsStatsLocalService) {
1628                    this.ratingsStatsLocalService = ratingsStatsLocalService;
1629            }
1630    
1631            /**
1632             * Returns the ratings stats persistence.
1633             *
1634             * @return the ratings stats persistence
1635             */
1636            public RatingsStatsPersistence getRatingsStatsPersistence() {
1637                    return ratingsStatsPersistence;
1638            }
1639    
1640            /**
1641             * Sets the ratings stats persistence.
1642             *
1643             * @param ratingsStatsPersistence the ratings stats persistence
1644             */
1645            public void setRatingsStatsPersistence(
1646                    RatingsStatsPersistence ratingsStatsPersistence) {
1647                    this.ratingsStatsPersistence = ratingsStatsPersistence;
1648            }
1649    
1650            /**
1651             * Returns the ratings stats finder.
1652             *
1653             * @return the ratings stats finder
1654             */
1655            public RatingsStatsFinder getRatingsStatsFinder() {
1656                    return ratingsStatsFinder;
1657            }
1658    
1659            /**
1660             * Sets the ratings stats finder.
1661             *
1662             * @param ratingsStatsFinder the ratings stats finder
1663             */
1664            public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
1665                    this.ratingsStatsFinder = ratingsStatsFinder;
1666            }
1667    
1668            /**
1669             * Returns the social activity local service.
1670             *
1671             * @return the social activity local service
1672             */
1673            public SocialActivityLocalService getSocialActivityLocalService() {
1674                    return socialActivityLocalService;
1675            }
1676    
1677            /**
1678             * Sets the social activity local service.
1679             *
1680             * @param socialActivityLocalService the social activity local service
1681             */
1682            public void setSocialActivityLocalService(
1683                    SocialActivityLocalService socialActivityLocalService) {
1684                    this.socialActivityLocalService = socialActivityLocalService;
1685            }
1686    
1687            /**
1688             * Returns the social activity persistence.
1689             *
1690             * @return the social activity persistence
1691             */
1692            public SocialActivityPersistence getSocialActivityPersistence() {
1693                    return socialActivityPersistence;
1694            }
1695    
1696            /**
1697             * Sets the social activity persistence.
1698             *
1699             * @param socialActivityPersistence the social activity persistence
1700             */
1701            public void setSocialActivityPersistence(
1702                    SocialActivityPersistence socialActivityPersistence) {
1703                    this.socialActivityPersistence = socialActivityPersistence;
1704            }
1705    
1706            /**
1707             * Returns the social activity finder.
1708             *
1709             * @return the social activity finder
1710             */
1711            public SocialActivityFinder getSocialActivityFinder() {
1712                    return socialActivityFinder;
1713            }
1714    
1715            /**
1716             * Sets the social activity finder.
1717             *
1718             * @param socialActivityFinder the social activity finder
1719             */
1720            public void setSocialActivityFinder(
1721                    SocialActivityFinder socialActivityFinder) {
1722                    this.socialActivityFinder = socialActivityFinder;
1723            }
1724    
1725            /**
1726             * Returns the wiki page local service.
1727             *
1728             * @return the wiki page local service
1729             */
1730            public WikiPageLocalService getWikiPageLocalService() {
1731                    return wikiPageLocalService;
1732            }
1733    
1734            /**
1735             * Sets the wiki page local service.
1736             *
1737             * @param wikiPageLocalService the wiki page local service
1738             */
1739            public void setWikiPageLocalService(
1740                    WikiPageLocalService wikiPageLocalService) {
1741                    this.wikiPageLocalService = wikiPageLocalService;
1742            }
1743    
1744            /**
1745             * Returns the wiki page remote service.
1746             *
1747             * @return the wiki page remote service
1748             */
1749            public WikiPageService getWikiPageService() {
1750                    return wikiPageService;
1751            }
1752    
1753            /**
1754             * Sets the wiki page remote service.
1755             *
1756             * @param wikiPageService the wiki page remote service
1757             */
1758            public void setWikiPageService(WikiPageService wikiPageService) {
1759                    this.wikiPageService = wikiPageService;
1760            }
1761    
1762            /**
1763             * Returns the wiki page persistence.
1764             *
1765             * @return the wiki page persistence
1766             */
1767            public WikiPagePersistence getWikiPagePersistence() {
1768                    return wikiPagePersistence;
1769            }
1770    
1771            /**
1772             * Sets the wiki page persistence.
1773             *
1774             * @param wikiPagePersistence the wiki page persistence
1775             */
1776            public void setWikiPagePersistence(WikiPagePersistence wikiPagePersistence) {
1777                    this.wikiPagePersistence = wikiPagePersistence;
1778            }
1779    
1780            /**
1781             * Returns the wiki page finder.
1782             *
1783             * @return the wiki page finder
1784             */
1785            public WikiPageFinder getWikiPageFinder() {
1786                    return wikiPageFinder;
1787            }
1788    
1789            /**
1790             * Sets the wiki page finder.
1791             *
1792             * @param wikiPageFinder the wiki page finder
1793             */
1794            public void setWikiPageFinder(WikiPageFinder wikiPageFinder) {
1795                    this.wikiPageFinder = wikiPageFinder;
1796            }
1797    
1798            public void afterPropertiesSet() {
1799                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.messageboards.model.MBMessage",
1800                            mbMessageLocalService);
1801            }
1802    
1803            public void destroy() {
1804                    persistedModelLocalServiceRegistry.unregister(
1805                            "com.liferay.portlet.messageboards.model.MBMessage");
1806            }
1807    
1808            /**
1809             * Returns the Spring bean ID for this bean.
1810             *
1811             * @return the Spring bean ID for this bean
1812             */
1813            public String getBeanIdentifier() {
1814                    return _beanIdentifier;
1815            }
1816    
1817            /**
1818             * Sets the Spring bean ID for this bean.
1819             *
1820             * @param beanIdentifier the Spring bean ID for this bean
1821             */
1822            public void setBeanIdentifier(String beanIdentifier) {
1823                    _beanIdentifier = beanIdentifier;
1824            }
1825    
1826            protected Class<?> getModelClass() {
1827                    return MBMessage.class;
1828            }
1829    
1830            protected String getModelClassName() {
1831                    return MBMessage.class.getName();
1832            }
1833    
1834            /**
1835             * Performs an SQL query.
1836             *
1837             * @param sql the sql query
1838             */
1839            protected void runSQL(String sql) throws SystemException {
1840                    try {
1841                            DataSource dataSource = mbMessagePersistence.getDataSource();
1842    
1843                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1844                                            sql, new int[0]);
1845    
1846                            sqlUpdate.update();
1847                    }
1848                    catch (Exception e) {
1849                            throw new SystemException(e);
1850                    }
1851            }
1852    
1853            @BeanReference(type = MBBanLocalService.class)
1854            protected MBBanLocalService mbBanLocalService;
1855            @BeanReference(type = MBBanService.class)
1856            protected MBBanService mbBanService;
1857            @BeanReference(type = MBBanPersistence.class)
1858            protected MBBanPersistence mbBanPersistence;
1859            @BeanReference(type = MBCategoryLocalService.class)
1860            protected MBCategoryLocalService mbCategoryLocalService;
1861            @BeanReference(type = MBCategoryService.class)
1862            protected MBCategoryService mbCategoryService;
1863            @BeanReference(type = MBCategoryPersistence.class)
1864            protected MBCategoryPersistence mbCategoryPersistence;
1865            @BeanReference(type = MBCategoryFinder.class)
1866            protected MBCategoryFinder mbCategoryFinder;
1867            @BeanReference(type = MBDiscussionLocalService.class)
1868            protected MBDiscussionLocalService mbDiscussionLocalService;
1869            @BeanReference(type = MBDiscussionPersistence.class)
1870            protected MBDiscussionPersistence mbDiscussionPersistence;
1871            @BeanReference(type = MBMailingListLocalService.class)
1872            protected MBMailingListLocalService mbMailingListLocalService;
1873            @BeanReference(type = MBMailingListPersistence.class)
1874            protected MBMailingListPersistence mbMailingListPersistence;
1875            @BeanReference(type = MBMessageLocalService.class)
1876            protected MBMessageLocalService mbMessageLocalService;
1877            @BeanReference(type = MBMessageService.class)
1878            protected MBMessageService mbMessageService;
1879            @BeanReference(type = MBMessagePersistence.class)
1880            protected MBMessagePersistence mbMessagePersistence;
1881            @BeanReference(type = MBMessageFinder.class)
1882            protected MBMessageFinder mbMessageFinder;
1883            @BeanReference(type = MBStatsUserLocalService.class)
1884            protected MBStatsUserLocalService mbStatsUserLocalService;
1885            @BeanReference(type = MBStatsUserPersistence.class)
1886            protected MBStatsUserPersistence mbStatsUserPersistence;
1887            @BeanReference(type = MBThreadLocalService.class)
1888            protected MBThreadLocalService mbThreadLocalService;
1889            @BeanReference(type = MBThreadService.class)
1890            protected MBThreadService mbThreadService;
1891            @BeanReference(type = MBThreadPersistence.class)
1892            protected MBThreadPersistence mbThreadPersistence;
1893            @BeanReference(type = MBThreadFinder.class)
1894            protected MBThreadFinder mbThreadFinder;
1895            @BeanReference(type = MBThreadFlagLocalService.class)
1896            protected MBThreadFlagLocalService mbThreadFlagLocalService;
1897            @BeanReference(type = MBThreadFlagPersistence.class)
1898            protected MBThreadFlagPersistence mbThreadFlagPersistence;
1899            @BeanReference(type = CounterLocalService.class)
1900            protected CounterLocalService counterLocalService;
1901            @BeanReference(type = MailService.class)
1902            protected MailService mailService;
1903            @BeanReference(type = CompanyLocalService.class)
1904            protected CompanyLocalService companyLocalService;
1905            @BeanReference(type = CompanyService.class)
1906            protected CompanyService companyService;
1907            @BeanReference(type = CompanyPersistence.class)
1908            protected CompanyPersistence companyPersistence;
1909            @BeanReference(type = GroupLocalService.class)
1910            protected GroupLocalService groupLocalService;
1911            @BeanReference(type = GroupService.class)
1912            protected GroupService groupService;
1913            @BeanReference(type = GroupPersistence.class)
1914            protected GroupPersistence groupPersistence;
1915            @BeanReference(type = GroupFinder.class)
1916            protected GroupFinder groupFinder;
1917            @BeanReference(type = LockLocalService.class)
1918            protected LockLocalService lockLocalService;
1919            @BeanReference(type = LockPersistence.class)
1920            protected LockPersistence lockPersistence;
1921            @BeanReference(type = LockFinder.class)
1922            protected LockFinder lockFinder;
1923            @BeanReference(type = PortletPreferencesLocalService.class)
1924            protected PortletPreferencesLocalService portletPreferencesLocalService;
1925            @BeanReference(type = PortletPreferencesService.class)
1926            protected PortletPreferencesService portletPreferencesService;
1927            @BeanReference(type = PortletPreferencesPersistence.class)
1928            protected PortletPreferencesPersistence portletPreferencesPersistence;
1929            @BeanReference(type = PortletPreferencesFinder.class)
1930            protected PortletPreferencesFinder portletPreferencesFinder;
1931            @BeanReference(type = ResourceLocalService.class)
1932            protected ResourceLocalService resourceLocalService;
1933            @BeanReference(type = ResourceService.class)
1934            protected ResourceService resourceService;
1935            @BeanReference(type = ResourcePersistence.class)
1936            protected ResourcePersistence resourcePersistence;
1937            @BeanReference(type = ResourceFinder.class)
1938            protected ResourceFinder resourceFinder;
1939            @BeanReference(type = SubscriptionLocalService.class)
1940            protected SubscriptionLocalService subscriptionLocalService;
1941            @BeanReference(type = SubscriptionPersistence.class)
1942            protected SubscriptionPersistence subscriptionPersistence;
1943            @BeanReference(type = UserLocalService.class)
1944            protected UserLocalService userLocalService;
1945            @BeanReference(type = UserService.class)
1946            protected UserService userService;
1947            @BeanReference(type = UserPersistence.class)
1948            protected UserPersistence userPersistence;
1949            @BeanReference(type = UserFinder.class)
1950            protected UserFinder userFinder;
1951            @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1952            protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1953            @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1954            protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1955            @BeanReference(type = AssetEntryLocalService.class)
1956            protected AssetEntryLocalService assetEntryLocalService;
1957            @BeanReference(type = AssetEntryService.class)
1958            protected AssetEntryService assetEntryService;
1959            @BeanReference(type = AssetEntryPersistence.class)
1960            protected AssetEntryPersistence assetEntryPersistence;
1961            @BeanReference(type = AssetEntryFinder.class)
1962            protected AssetEntryFinder assetEntryFinder;
1963            @BeanReference(type = AssetLinkLocalService.class)
1964            protected AssetLinkLocalService assetLinkLocalService;
1965            @BeanReference(type = AssetLinkPersistence.class)
1966            protected AssetLinkPersistence assetLinkPersistence;
1967            @BeanReference(type = AssetTagLocalService.class)
1968            protected AssetTagLocalService assetTagLocalService;
1969            @BeanReference(type = AssetTagService.class)
1970            protected AssetTagService assetTagService;
1971            @BeanReference(type = AssetTagPersistence.class)
1972            protected AssetTagPersistence assetTagPersistence;
1973            @BeanReference(type = AssetTagFinder.class)
1974            protected AssetTagFinder assetTagFinder;
1975            @BeanReference(type = BlogsEntryLocalService.class)
1976            protected BlogsEntryLocalService blogsEntryLocalService;
1977            @BeanReference(type = BlogsEntryService.class)
1978            protected BlogsEntryService blogsEntryService;
1979            @BeanReference(type = BlogsEntryPersistence.class)
1980            protected BlogsEntryPersistence blogsEntryPersistence;
1981            @BeanReference(type = BlogsEntryFinder.class)
1982            protected BlogsEntryFinder blogsEntryFinder;
1983            @BeanReference(type = ExpandoValueLocalService.class)
1984            protected ExpandoValueLocalService expandoValueLocalService;
1985            @BeanReference(type = ExpandoValueService.class)
1986            protected ExpandoValueService expandoValueService;
1987            @BeanReference(type = ExpandoValuePersistence.class)
1988            protected ExpandoValuePersistence expandoValuePersistence;
1989            @BeanReference(type = RatingsStatsLocalService.class)
1990            protected RatingsStatsLocalService ratingsStatsLocalService;
1991            @BeanReference(type = RatingsStatsPersistence.class)
1992            protected RatingsStatsPersistence ratingsStatsPersistence;
1993            @BeanReference(type = RatingsStatsFinder.class)
1994            protected RatingsStatsFinder ratingsStatsFinder;
1995            @BeanReference(type = SocialActivityLocalService.class)
1996            protected SocialActivityLocalService socialActivityLocalService;
1997            @BeanReference(type = SocialActivityPersistence.class)
1998            protected SocialActivityPersistence socialActivityPersistence;
1999            @BeanReference(type = SocialActivityFinder.class)
2000            protected SocialActivityFinder socialActivityFinder;
2001            @BeanReference(type = WikiPageLocalService.class)
2002            protected WikiPageLocalService wikiPageLocalService;
2003            @BeanReference(type = WikiPageService.class)
2004            protected WikiPageService wikiPageService;
2005            @BeanReference(type = WikiPagePersistence.class)
2006            protected WikiPagePersistence wikiPagePersistence;
2007            @BeanReference(type = WikiPageFinder.class)
2008            protected WikiPageFinder wikiPageFinder;
2009            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
2010            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
2011            private String _beanIdentifier;
2012    }