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.tasks.service.base;
016    
017    import com.liferay.counter.service.CounterLocalService;
018    
019    import com.liferay.portal.kernel.annotation.BeanReference;
020    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
021    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
022    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
023    import com.liferay.portal.kernel.exception.PortalException;
024    import com.liferay.portal.kernel.exception.SystemException;
025    import com.liferay.portal.kernel.util.OrderByComparator;
026    import com.liferay.portal.service.ResourceLocalService;
027    import com.liferay.portal.service.ResourceService;
028    import com.liferay.portal.service.UserLocalService;
029    import com.liferay.portal.service.UserService;
030    import com.liferay.portal.service.persistence.ResourceFinder;
031    import com.liferay.portal.service.persistence.ResourcePersistence;
032    import com.liferay.portal.service.persistence.UserFinder;
033    import com.liferay.portal.service.persistence.UserPersistence;
034    
035    import com.liferay.portlet.messageboards.service.MBMessageLocalService;
036    import com.liferay.portlet.messageboards.service.MBMessageService;
037    import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
038    import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
039    import com.liferay.portlet.social.service.SocialActivityLocalService;
040    import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
041    import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
042    import com.liferay.portlet.tasks.model.TasksProposal;
043    import com.liferay.portlet.tasks.service.TasksProposalLocalService;
044    import com.liferay.portlet.tasks.service.TasksProposalService;
045    import com.liferay.portlet.tasks.service.TasksReviewLocalService;
046    import com.liferay.portlet.tasks.service.TasksReviewService;
047    import com.liferay.portlet.tasks.service.persistence.TasksProposalFinder;
048    import com.liferay.portlet.tasks.service.persistence.TasksProposalPersistence;
049    import com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence;
050    
051    import java.util.List;
052    
053    import javax.sql.DataSource;
054    
055    /**
056     * The base implementation of the tasks proposal local service.
057     *
058     * <p>
059     * 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.tasks.service.impl.TasksProposalLocalServiceImpl}.
060     * </p>
061     *
062     * <p>
063     * Never modify or reference this class directly. Always use {@link com.liferay.portlet.tasks.service.TasksProposalLocalServiceUtil} to access the tasks proposal local service.
064     * </p>
065     *
066     * @author Brian Wing Shun Chan
067     * @see com.liferay.portlet.tasks.service.impl.TasksProposalLocalServiceImpl
068     * @see com.liferay.portlet.tasks.service.TasksProposalLocalServiceUtil
069     * @generated
070     */
071    public abstract class TasksProposalLocalServiceBaseImpl
072            implements TasksProposalLocalService {
073            /**
074             * Adds the tasks proposal to the database. Also notifies the appropriate model listeners.
075             *
076             * @param tasksProposal the tasks proposal to add
077             * @return the tasks proposal that was added
078             * @throws SystemException if a system exception occurred
079             */
080            public TasksProposal addTasksProposal(TasksProposal tasksProposal)
081                    throws SystemException {
082                    tasksProposal.setNew(true);
083    
084                    return tasksProposalPersistence.update(tasksProposal, false);
085            }
086    
087            /**
088             * Creates a new tasks proposal with the primary key. Does not add the tasks proposal to the database.
089             *
090             * @param proposalId the primary key for the new tasks proposal
091             * @return the new tasks proposal
092             */
093            public TasksProposal createTasksProposal(long proposalId) {
094                    return tasksProposalPersistence.create(proposalId);
095            }
096    
097            /**
098             * Deletes the tasks proposal with the primary key from the database. Also notifies the appropriate model listeners.
099             *
100             * @param proposalId the primary key of the tasks proposal to delete
101             * @throws PortalException if a tasks proposal with the primary key could not be found
102             * @throws SystemException if a system exception occurred
103             */
104            public void deleteTasksProposal(long proposalId)
105                    throws PortalException, SystemException {
106                    tasksProposalPersistence.remove(proposalId);
107            }
108    
109            /**
110             * Deletes the tasks proposal from the database. Also notifies the appropriate model listeners.
111             *
112             * @param tasksProposal the tasks proposal to delete
113             * @throws SystemException if a system exception occurred
114             */
115            public void deleteTasksProposal(TasksProposal tasksProposal)
116                    throws SystemException {
117                    tasksProposalPersistence.remove(tasksProposal);
118            }
119    
120            /**
121             * Performs a dynamic query on the database and returns the matching rows.
122             *
123             * @param dynamicQuery the dynamic query to search with
124             * @return the matching rows
125             * @throws SystemException if a system exception occurred
126             */
127            @SuppressWarnings("rawtypes")
128            public List dynamicQuery(DynamicQuery dynamicQuery)
129                    throws SystemException {
130                    return tasksProposalPersistence.findWithDynamicQuery(dynamicQuery);
131            }
132    
133            /**
134             * Performs a dynamic query on the database and returns a range of the matching rows.
135             *
136             * <p>
137             * 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.
138             * </p>
139             *
140             * @param dynamicQuery the dynamic query to search with
141             * @param start the lower bound of the range of model instances to return
142             * @param end the upper bound of the range of model instances to return (not inclusive)
143             * @return the range of matching rows
144             * @throws SystemException if a system exception occurred
145             */
146            @SuppressWarnings("rawtypes")
147            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
148                    throws SystemException {
149                    return tasksProposalPersistence.findWithDynamicQuery(dynamicQuery,
150                            start, end);
151            }
152    
153            /**
154             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
155             *
156             * <p>
157             * 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.
158             * </p>
159             *
160             * @param dynamicQuery the dynamic query to search with
161             * @param start the lower bound of the range of model instances to return
162             * @param end the upper bound of the range of model instances to return (not inclusive)
163             * @param orderByComparator the comparator to order the results by
164             * @return the ordered range of matching rows
165             * @throws SystemException if a system exception occurred
166             */
167            @SuppressWarnings("rawtypes")
168            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
169                    OrderByComparator orderByComparator) throws SystemException {
170                    return tasksProposalPersistence.findWithDynamicQuery(dynamicQuery,
171                            start, end, orderByComparator);
172            }
173    
174            /**
175             * Counts the number of rows that match the dynamic query.
176             *
177             * @param dynamicQuery the dynamic query to search with
178             * @return the number of rows that match the dynamic query
179             * @throws SystemException if a system exception occurred
180             */
181            public long dynamicQueryCount(DynamicQuery dynamicQuery)
182                    throws SystemException {
183                    return tasksProposalPersistence.countWithDynamicQuery(dynamicQuery);
184            }
185    
186            /**
187             * Gets the tasks proposal with the primary key.
188             *
189             * @param proposalId the primary key of the tasks proposal to get
190             * @return the tasks proposal
191             * @throws PortalException if a tasks proposal with the primary key could not be found
192             * @throws SystemException if a system exception occurred
193             */
194            public TasksProposal getTasksProposal(long proposalId)
195                    throws PortalException, SystemException {
196                    return tasksProposalPersistence.findByPrimaryKey(proposalId);
197            }
198    
199            /**
200             * Gets a range of all the tasks proposals.
201             *
202             * <p>
203             * 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.
204             * </p>
205             *
206             * @param start the lower bound of the range of tasks proposals to return
207             * @param end the upper bound of the range of tasks proposals to return (not inclusive)
208             * @return the range of tasks proposals
209             * @throws SystemException if a system exception occurred
210             */
211            public List<TasksProposal> getTasksProposals(int start, int end)
212                    throws SystemException {
213                    return tasksProposalPersistence.findAll(start, end);
214            }
215    
216            /**
217             * Gets the number of tasks proposals.
218             *
219             * @return the number of tasks proposals
220             * @throws SystemException if a system exception occurred
221             */
222            public int getTasksProposalsCount() throws SystemException {
223                    return tasksProposalPersistence.countAll();
224            }
225    
226            /**
227             * Updates the tasks proposal in the database. Also notifies the appropriate model listeners.
228             *
229             * @param tasksProposal the tasks proposal to update
230             * @return the tasks proposal that was updated
231             * @throws SystemException if a system exception occurred
232             */
233            public TasksProposal updateTasksProposal(TasksProposal tasksProposal)
234                    throws SystemException {
235                    tasksProposal.setNew(false);
236    
237                    return tasksProposalPersistence.update(tasksProposal, true);
238            }
239    
240            /**
241             * Updates the tasks proposal in the database. Also notifies the appropriate model listeners.
242             *
243             * @param tasksProposal the tasks proposal to update
244             * @param merge whether to merge the tasks proposal 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.
245             * @return the tasks proposal that was updated
246             * @throws SystemException if a system exception occurred
247             */
248            public TasksProposal updateTasksProposal(TasksProposal tasksProposal,
249                    boolean merge) throws SystemException {
250                    tasksProposal.setNew(false);
251    
252                    return tasksProposalPersistence.update(tasksProposal, merge);
253            }
254    
255            /**
256             * Gets the tasks proposal local service.
257             *
258             * @return the tasks proposal local service
259             */
260            public TasksProposalLocalService getTasksProposalLocalService() {
261                    return tasksProposalLocalService;
262            }
263    
264            /**
265             * Sets the tasks proposal local service.
266             *
267             * @param tasksProposalLocalService the tasks proposal local service
268             */
269            public void setTasksProposalLocalService(
270                    TasksProposalLocalService tasksProposalLocalService) {
271                    this.tasksProposalLocalService = tasksProposalLocalService;
272            }
273    
274            /**
275             * Gets the tasks proposal remote service.
276             *
277             * @return the tasks proposal remote service
278             */
279            public TasksProposalService getTasksProposalService() {
280                    return tasksProposalService;
281            }
282    
283            /**
284             * Sets the tasks proposal remote service.
285             *
286             * @param tasksProposalService the tasks proposal remote service
287             */
288            public void setTasksProposalService(
289                    TasksProposalService tasksProposalService) {
290                    this.tasksProposalService = tasksProposalService;
291            }
292    
293            /**
294             * Gets the tasks proposal persistence.
295             *
296             * @return the tasks proposal persistence
297             */
298            public TasksProposalPersistence getTasksProposalPersistence() {
299                    return tasksProposalPersistence;
300            }
301    
302            /**
303             * Sets the tasks proposal persistence.
304             *
305             * @param tasksProposalPersistence the tasks proposal persistence
306             */
307            public void setTasksProposalPersistence(
308                    TasksProposalPersistence tasksProposalPersistence) {
309                    this.tasksProposalPersistence = tasksProposalPersistence;
310            }
311    
312            /**
313             * Gets the tasks proposal finder.
314             *
315             * @return the tasks proposal finder
316             */
317            public TasksProposalFinder getTasksProposalFinder() {
318                    return tasksProposalFinder;
319            }
320    
321            /**
322             * Sets the tasks proposal finder.
323             *
324             * @param tasksProposalFinder the tasks proposal finder
325             */
326            public void setTasksProposalFinder(TasksProposalFinder tasksProposalFinder) {
327                    this.tasksProposalFinder = tasksProposalFinder;
328            }
329    
330            /**
331             * Gets the tasks review local service.
332             *
333             * @return the tasks review local service
334             */
335            public TasksReviewLocalService getTasksReviewLocalService() {
336                    return tasksReviewLocalService;
337            }
338    
339            /**
340             * Sets the tasks review local service.
341             *
342             * @param tasksReviewLocalService the tasks review local service
343             */
344            public void setTasksReviewLocalService(
345                    TasksReviewLocalService tasksReviewLocalService) {
346                    this.tasksReviewLocalService = tasksReviewLocalService;
347            }
348    
349            /**
350             * Gets the tasks review remote service.
351             *
352             * @return the tasks review remote service
353             */
354            public TasksReviewService getTasksReviewService() {
355                    return tasksReviewService;
356            }
357    
358            /**
359             * Sets the tasks review remote service.
360             *
361             * @param tasksReviewService the tasks review remote service
362             */
363            public void setTasksReviewService(TasksReviewService tasksReviewService) {
364                    this.tasksReviewService = tasksReviewService;
365            }
366    
367            /**
368             * Gets the tasks review persistence.
369             *
370             * @return the tasks review persistence
371             */
372            public TasksReviewPersistence getTasksReviewPersistence() {
373                    return tasksReviewPersistence;
374            }
375    
376            /**
377             * Sets the tasks review persistence.
378             *
379             * @param tasksReviewPersistence the tasks review persistence
380             */
381            public void setTasksReviewPersistence(
382                    TasksReviewPersistence tasksReviewPersistence) {
383                    this.tasksReviewPersistence = tasksReviewPersistence;
384            }
385    
386            /**
387             * Gets the counter local service.
388             *
389             * @return the counter local service
390             */
391            public CounterLocalService getCounterLocalService() {
392                    return counterLocalService;
393            }
394    
395            /**
396             * Sets the counter local service.
397             *
398             * @param counterLocalService the counter local service
399             */
400            public void setCounterLocalService(CounterLocalService counterLocalService) {
401                    this.counterLocalService = counterLocalService;
402            }
403    
404            /**
405             * Gets the resource local service.
406             *
407             * @return the resource local service
408             */
409            public ResourceLocalService getResourceLocalService() {
410                    return resourceLocalService;
411            }
412    
413            /**
414             * Sets the resource local service.
415             *
416             * @param resourceLocalService the resource local service
417             */
418            public void setResourceLocalService(
419                    ResourceLocalService resourceLocalService) {
420                    this.resourceLocalService = resourceLocalService;
421            }
422    
423            /**
424             * Gets the resource remote service.
425             *
426             * @return the resource remote service
427             */
428            public ResourceService getResourceService() {
429                    return resourceService;
430            }
431    
432            /**
433             * Sets the resource remote service.
434             *
435             * @param resourceService the resource remote service
436             */
437            public void setResourceService(ResourceService resourceService) {
438                    this.resourceService = resourceService;
439            }
440    
441            /**
442             * Gets the resource persistence.
443             *
444             * @return the resource persistence
445             */
446            public ResourcePersistence getResourcePersistence() {
447                    return resourcePersistence;
448            }
449    
450            /**
451             * Sets the resource persistence.
452             *
453             * @param resourcePersistence the resource persistence
454             */
455            public void setResourcePersistence(ResourcePersistence resourcePersistence) {
456                    this.resourcePersistence = resourcePersistence;
457            }
458    
459            /**
460             * Gets the resource finder.
461             *
462             * @return the resource finder
463             */
464            public ResourceFinder getResourceFinder() {
465                    return resourceFinder;
466            }
467    
468            /**
469             * Sets the resource finder.
470             *
471             * @param resourceFinder the resource finder
472             */
473            public void setResourceFinder(ResourceFinder resourceFinder) {
474                    this.resourceFinder = resourceFinder;
475            }
476    
477            /**
478             * Gets the user local service.
479             *
480             * @return the user local service
481             */
482            public UserLocalService getUserLocalService() {
483                    return userLocalService;
484            }
485    
486            /**
487             * Sets the user local service.
488             *
489             * @param userLocalService the user local service
490             */
491            public void setUserLocalService(UserLocalService userLocalService) {
492                    this.userLocalService = userLocalService;
493            }
494    
495            /**
496             * Gets the user remote service.
497             *
498             * @return the user remote service
499             */
500            public UserService getUserService() {
501                    return userService;
502            }
503    
504            /**
505             * Sets the user remote service.
506             *
507             * @param userService the user remote service
508             */
509            public void setUserService(UserService userService) {
510                    this.userService = userService;
511            }
512    
513            /**
514             * Gets the user persistence.
515             *
516             * @return the user persistence
517             */
518            public UserPersistence getUserPersistence() {
519                    return userPersistence;
520            }
521    
522            /**
523             * Sets the user persistence.
524             *
525             * @param userPersistence the user persistence
526             */
527            public void setUserPersistence(UserPersistence userPersistence) {
528                    this.userPersistence = userPersistence;
529            }
530    
531            /**
532             * Gets the user finder.
533             *
534             * @return the user finder
535             */
536            public UserFinder getUserFinder() {
537                    return userFinder;
538            }
539    
540            /**
541             * Sets the user finder.
542             *
543             * @param userFinder the user finder
544             */
545            public void setUserFinder(UserFinder userFinder) {
546                    this.userFinder = userFinder;
547            }
548    
549            /**
550             * Gets the message-boards message local service.
551             *
552             * @return the message-boards message local service
553             */
554            public MBMessageLocalService getMBMessageLocalService() {
555                    return mbMessageLocalService;
556            }
557    
558            /**
559             * Sets the message-boards message local service.
560             *
561             * @param mbMessageLocalService the message-boards message local service
562             */
563            public void setMBMessageLocalService(
564                    MBMessageLocalService mbMessageLocalService) {
565                    this.mbMessageLocalService = mbMessageLocalService;
566            }
567    
568            /**
569             * Gets the message-boards message remote service.
570             *
571             * @return the message-boards message remote service
572             */
573            public MBMessageService getMBMessageService() {
574                    return mbMessageService;
575            }
576    
577            /**
578             * Sets the message-boards message remote service.
579             *
580             * @param mbMessageService the message-boards message remote service
581             */
582            public void setMBMessageService(MBMessageService mbMessageService) {
583                    this.mbMessageService = mbMessageService;
584            }
585    
586            /**
587             * Gets the message-boards message persistence.
588             *
589             * @return the message-boards message persistence
590             */
591            public MBMessagePersistence getMBMessagePersistence() {
592                    return mbMessagePersistence;
593            }
594    
595            /**
596             * Sets the message-boards message persistence.
597             *
598             * @param mbMessagePersistence the message-boards message persistence
599             */
600            public void setMBMessagePersistence(
601                    MBMessagePersistence mbMessagePersistence) {
602                    this.mbMessagePersistence = mbMessagePersistence;
603            }
604    
605            /**
606             * Gets the message-boards message finder.
607             *
608             * @return the message-boards message finder
609             */
610            public MBMessageFinder getMBMessageFinder() {
611                    return mbMessageFinder;
612            }
613    
614            /**
615             * Sets the message-boards message finder.
616             *
617             * @param mbMessageFinder the message-boards message finder
618             */
619            public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
620                    this.mbMessageFinder = mbMessageFinder;
621            }
622    
623            /**
624             * Gets the social activity local service.
625             *
626             * @return the social activity local service
627             */
628            public SocialActivityLocalService getSocialActivityLocalService() {
629                    return socialActivityLocalService;
630            }
631    
632            /**
633             * Sets the social activity local service.
634             *
635             * @param socialActivityLocalService the social activity local service
636             */
637            public void setSocialActivityLocalService(
638                    SocialActivityLocalService socialActivityLocalService) {
639                    this.socialActivityLocalService = socialActivityLocalService;
640            }
641    
642            /**
643             * Gets the social activity persistence.
644             *
645             * @return the social activity persistence
646             */
647            public SocialActivityPersistence getSocialActivityPersistence() {
648                    return socialActivityPersistence;
649            }
650    
651            /**
652             * Sets the social activity persistence.
653             *
654             * @param socialActivityPersistence the social activity persistence
655             */
656            public void setSocialActivityPersistence(
657                    SocialActivityPersistence socialActivityPersistence) {
658                    this.socialActivityPersistence = socialActivityPersistence;
659            }
660    
661            /**
662             * Gets the social activity finder.
663             *
664             * @return the social activity finder
665             */
666            public SocialActivityFinder getSocialActivityFinder() {
667                    return socialActivityFinder;
668            }
669    
670            /**
671             * Sets the social activity finder.
672             *
673             * @param socialActivityFinder the social activity finder
674             */
675            public void setSocialActivityFinder(
676                    SocialActivityFinder socialActivityFinder) {
677                    this.socialActivityFinder = socialActivityFinder;
678            }
679    
680            /**
681             * Performs an SQL query.
682             *
683             * @param sql the sql query to perform
684             */
685            protected void runSQL(String sql) throws SystemException {
686                    try {
687                            DataSource dataSource = tasksProposalPersistence.getDataSource();
688    
689                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
690                                            sql, new int[0]);
691    
692                            sqlUpdate.update();
693                    }
694                    catch (Exception e) {
695                            throw new SystemException(e);
696                    }
697            }
698    
699            @BeanReference(type = TasksProposalLocalService.class)
700            protected TasksProposalLocalService tasksProposalLocalService;
701            @BeanReference(type = TasksProposalService.class)
702            protected TasksProposalService tasksProposalService;
703            @BeanReference(type = TasksProposalPersistence.class)
704            protected TasksProposalPersistence tasksProposalPersistence;
705            @BeanReference(type = TasksProposalFinder.class)
706            protected TasksProposalFinder tasksProposalFinder;
707            @BeanReference(type = TasksReviewLocalService.class)
708            protected TasksReviewLocalService tasksReviewLocalService;
709            @BeanReference(type = TasksReviewService.class)
710            protected TasksReviewService tasksReviewService;
711            @BeanReference(type = TasksReviewPersistence.class)
712            protected TasksReviewPersistence tasksReviewPersistence;
713            @BeanReference(type = CounterLocalService.class)
714            protected CounterLocalService counterLocalService;
715            @BeanReference(type = ResourceLocalService.class)
716            protected ResourceLocalService resourceLocalService;
717            @BeanReference(type = ResourceService.class)
718            protected ResourceService resourceService;
719            @BeanReference(type = ResourcePersistence.class)
720            protected ResourcePersistence resourcePersistence;
721            @BeanReference(type = ResourceFinder.class)
722            protected ResourceFinder resourceFinder;
723            @BeanReference(type = UserLocalService.class)
724            protected UserLocalService userLocalService;
725            @BeanReference(type = UserService.class)
726            protected UserService userService;
727            @BeanReference(type = UserPersistence.class)
728            protected UserPersistence userPersistence;
729            @BeanReference(type = UserFinder.class)
730            protected UserFinder userFinder;
731            @BeanReference(type = MBMessageLocalService.class)
732            protected MBMessageLocalService mbMessageLocalService;
733            @BeanReference(type = MBMessageService.class)
734            protected MBMessageService mbMessageService;
735            @BeanReference(type = MBMessagePersistence.class)
736            protected MBMessagePersistence mbMessagePersistence;
737            @BeanReference(type = MBMessageFinder.class)
738            protected MBMessageFinder mbMessageFinder;
739            @BeanReference(type = SocialActivityLocalService.class)
740            protected SocialActivityLocalService socialActivityLocalService;
741            @BeanReference(type = SocialActivityPersistence.class)
742            protected SocialActivityPersistence socialActivityPersistence;
743            @BeanReference(type = SocialActivityFinder.class)
744            protected SocialActivityFinder socialActivityFinder;
745    }