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