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