1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.blogs.service.base;
16  
17  import com.liferay.counter.service.CounterLocalService;
18  import com.liferay.counter.service.CounterService;
19  
20  import com.liferay.portal.PortalException;
21  import com.liferay.portal.SystemException;
22  import com.liferay.portal.kernel.annotation.BeanReference;
23  import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
24  import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
25  import com.liferay.portal.kernel.dao.orm.DynamicQuery;
26  import com.liferay.portal.kernel.util.OrderByComparator;
27  import com.liferay.portal.service.CompanyLocalService;
28  import com.liferay.portal.service.CompanyService;
29  import com.liferay.portal.service.GroupLocalService;
30  import com.liferay.portal.service.GroupService;
31  import com.liferay.portal.service.OrganizationLocalService;
32  import com.liferay.portal.service.OrganizationService;
33  import com.liferay.portal.service.PortletPreferencesLocalService;
34  import com.liferay.portal.service.PortletPreferencesService;
35  import com.liferay.portal.service.ResourceLocalService;
36  import com.liferay.portal.service.ResourceService;
37  import com.liferay.portal.service.UserLocalService;
38  import com.liferay.portal.service.UserService;
39  import com.liferay.portal.service.persistence.CompanyPersistence;
40  import com.liferay.portal.service.persistence.GroupFinder;
41  import com.liferay.portal.service.persistence.GroupPersistence;
42  import com.liferay.portal.service.persistence.OrganizationFinder;
43  import com.liferay.portal.service.persistence.OrganizationPersistence;
44  import com.liferay.portal.service.persistence.PortletPreferencesFinder;
45  import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
46  import com.liferay.portal.service.persistence.ResourceFinder;
47  import com.liferay.portal.service.persistence.ResourcePersistence;
48  import com.liferay.portal.service.persistence.UserFinder;
49  import com.liferay.portal.service.persistence.UserPersistence;
50  
51  import com.liferay.portlet.blogs.model.BlogsEntry;
52  import com.liferay.portlet.blogs.service.BlogsEntryLocalService;
53  import com.liferay.portlet.blogs.service.BlogsEntryService;
54  import com.liferay.portlet.blogs.service.BlogsStatsUserLocalService;
55  import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
56  import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
57  import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder;
58  import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence;
59  import com.liferay.portlet.expando.service.ExpandoValueLocalService;
60  import com.liferay.portlet.expando.service.ExpandoValueService;
61  import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
62  import com.liferay.portlet.messageboards.service.MBMessageLocalService;
63  import com.liferay.portlet.messageboards.service.MBMessageService;
64  import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
65  import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
66  import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
67  import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
68  import com.liferay.portlet.social.service.SocialActivityLocalService;
69  import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
70  import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
71  import com.liferay.portlet.tags.service.TagsAssetLocalService;
72  import com.liferay.portlet.tags.service.TagsAssetService;
73  import com.liferay.portlet.tags.service.TagsEntryLocalService;
74  import com.liferay.portlet.tags.service.TagsEntryService;
75  import com.liferay.portlet.tags.service.persistence.TagsAssetFinder;
76  import com.liferay.portlet.tags.service.persistence.TagsAssetPersistence;
77  import com.liferay.portlet.tags.service.persistence.TagsEntryFinder;
78  import com.liferay.portlet.tags.service.persistence.TagsEntryPersistence;
79  
80  import java.util.List;
81  
82  import javax.sql.DataSource;
83  
84  /**
85   * <a href="BlogsEntryLocalServiceBaseImpl.java.html"><b><i>View Source</i></b>
86   * </a>
87   *
88   * @author Brian Wing Shun Chan
89   */
90  public abstract class BlogsEntryLocalServiceBaseImpl
91      implements BlogsEntryLocalService {
92      public BlogsEntry addBlogsEntry(BlogsEntry blogsEntry)
93          throws SystemException {
94          blogsEntry.setNew(true);
95  
96          return blogsEntryPersistence.update(blogsEntry, false);
97      }
98  
99      public BlogsEntry createBlogsEntry(long entryId) {
100         return blogsEntryPersistence.create(entryId);
101     }
102 
103     public void deleteBlogsEntry(long entryId)
104         throws PortalException, SystemException {
105         blogsEntryPersistence.remove(entryId);
106     }
107 
108     public void deleteBlogsEntry(BlogsEntry blogsEntry)
109         throws SystemException {
110         blogsEntryPersistence.remove(blogsEntry);
111     }
112 
113     @SuppressWarnings("rawtypes")
114     public List dynamicQuery(DynamicQuery dynamicQuery)
115         throws SystemException {
116         return blogsEntryPersistence.findWithDynamicQuery(dynamicQuery);
117     }
118 
119     @SuppressWarnings("rawtypes")
120     public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
121         throws SystemException {
122         return blogsEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
123             end);
124     }
125 
126     @SuppressWarnings("rawtypes")
127     public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
128         OrderByComparator orderByComparator) throws SystemException {
129         return blogsEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
130             end, orderByComparator);
131     }
132 
133     public int dynamicQueryCount(DynamicQuery dynamicQuery)
134         throws SystemException {
135         return blogsEntryPersistence.countWithDynamicQuery(dynamicQuery);
136     }
137 
138     public BlogsEntry getBlogsEntry(long entryId)
139         throws PortalException, SystemException {
140         return blogsEntryPersistence.findByPrimaryKey(entryId);
141     }
142 
143     public BlogsEntry getBlogsEntryByUuidAndGroupId(String uuid, long groupId)
144         throws PortalException, SystemException {
145         return blogsEntryPersistence.findByUUID_G(uuid, groupId);
146     }
147 
148     public List<BlogsEntry> getBlogsEntries(int start, int end)
149         throws SystemException {
150         return blogsEntryPersistence.findAll(start, end);
151     }
152 
153     public int getBlogsEntriesCount() throws SystemException {
154         return blogsEntryPersistence.countAll();
155     }
156 
157     public BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry)
158         throws SystemException {
159         blogsEntry.setNew(false);
160 
161         return blogsEntryPersistence.update(blogsEntry, true);
162     }
163 
164     public BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry, boolean merge)
165         throws SystemException {
166         blogsEntry.setNew(false);
167 
168         return blogsEntryPersistence.update(blogsEntry, merge);
169     }
170 
171     public BlogsEntryLocalService getBlogsEntryLocalService() {
172         return blogsEntryLocalService;
173     }
174 
175     public void setBlogsEntryLocalService(
176         BlogsEntryLocalService blogsEntryLocalService) {
177         this.blogsEntryLocalService = blogsEntryLocalService;
178     }
179 
180     public BlogsEntryService getBlogsEntryService() {
181         return blogsEntryService;
182     }
183 
184     public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
185         this.blogsEntryService = blogsEntryService;
186     }
187 
188     public BlogsEntryPersistence getBlogsEntryPersistence() {
189         return blogsEntryPersistence;
190     }
191 
192     public void setBlogsEntryPersistence(
193         BlogsEntryPersistence blogsEntryPersistence) {
194         this.blogsEntryPersistence = blogsEntryPersistence;
195     }
196 
197     public BlogsEntryFinder getBlogsEntryFinder() {
198         return blogsEntryFinder;
199     }
200 
201     public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
202         this.blogsEntryFinder = blogsEntryFinder;
203     }
204 
205     public BlogsStatsUserLocalService getBlogsStatsUserLocalService() {
206         return blogsStatsUserLocalService;
207     }
208 
209     public void setBlogsStatsUserLocalService(
210         BlogsStatsUserLocalService blogsStatsUserLocalService) {
211         this.blogsStatsUserLocalService = blogsStatsUserLocalService;
212     }
213 
214     public BlogsStatsUserPersistence getBlogsStatsUserPersistence() {
215         return blogsStatsUserPersistence;
216     }
217 
218     public void setBlogsStatsUserPersistence(
219         BlogsStatsUserPersistence blogsStatsUserPersistence) {
220         this.blogsStatsUserPersistence = blogsStatsUserPersistence;
221     }
222 
223     public BlogsStatsUserFinder getBlogsStatsUserFinder() {
224         return blogsStatsUserFinder;
225     }
226 
227     public void setBlogsStatsUserFinder(
228         BlogsStatsUserFinder blogsStatsUserFinder) {
229         this.blogsStatsUserFinder = blogsStatsUserFinder;
230     }
231 
232     public CounterLocalService getCounterLocalService() {
233         return counterLocalService;
234     }
235 
236     public void setCounterLocalService(CounterLocalService counterLocalService) {
237         this.counterLocalService = counterLocalService;
238     }
239 
240     public CounterService getCounterService() {
241         return counterService;
242     }
243 
244     public void setCounterService(CounterService counterService) {
245         this.counterService = counterService;
246     }
247 
248     public CompanyLocalService getCompanyLocalService() {
249         return companyLocalService;
250     }
251 
252     public void setCompanyLocalService(CompanyLocalService companyLocalService) {
253         this.companyLocalService = companyLocalService;
254     }
255 
256     public CompanyService getCompanyService() {
257         return companyService;
258     }
259 
260     public void setCompanyService(CompanyService companyService) {
261         this.companyService = companyService;
262     }
263 
264     public CompanyPersistence getCompanyPersistence() {
265         return companyPersistence;
266     }
267 
268     public void setCompanyPersistence(CompanyPersistence companyPersistence) {
269         this.companyPersistence = companyPersistence;
270     }
271 
272     public GroupLocalService getGroupLocalService() {
273         return groupLocalService;
274     }
275 
276     public void setGroupLocalService(GroupLocalService groupLocalService) {
277         this.groupLocalService = groupLocalService;
278     }
279 
280     public GroupService getGroupService() {
281         return groupService;
282     }
283 
284     public void setGroupService(GroupService groupService) {
285         this.groupService = groupService;
286     }
287 
288     public GroupPersistence getGroupPersistence() {
289         return groupPersistence;
290     }
291 
292     public void setGroupPersistence(GroupPersistence groupPersistence) {
293         this.groupPersistence = groupPersistence;
294     }
295 
296     public GroupFinder getGroupFinder() {
297         return groupFinder;
298     }
299 
300     public void setGroupFinder(GroupFinder groupFinder) {
301         this.groupFinder = groupFinder;
302     }
303 
304     public OrganizationLocalService getOrganizationLocalService() {
305         return organizationLocalService;
306     }
307 
308     public void setOrganizationLocalService(
309         OrganizationLocalService organizationLocalService) {
310         this.organizationLocalService = organizationLocalService;
311     }
312 
313     public OrganizationService getOrganizationService() {
314         return organizationService;
315     }
316 
317     public void setOrganizationService(OrganizationService organizationService) {
318         this.organizationService = organizationService;
319     }
320 
321     public OrganizationPersistence getOrganizationPersistence() {
322         return organizationPersistence;
323     }
324 
325     public void setOrganizationPersistence(
326         OrganizationPersistence organizationPersistence) {
327         this.organizationPersistence = organizationPersistence;
328     }
329 
330     public OrganizationFinder getOrganizationFinder() {
331         return organizationFinder;
332     }
333 
334     public void setOrganizationFinder(OrganizationFinder organizationFinder) {
335         this.organizationFinder = organizationFinder;
336     }
337 
338     public PortletPreferencesLocalService getPortletPreferencesLocalService() {
339         return portletPreferencesLocalService;
340     }
341 
342     public void setPortletPreferencesLocalService(
343         PortletPreferencesLocalService portletPreferencesLocalService) {
344         this.portletPreferencesLocalService = portletPreferencesLocalService;
345     }
346 
347     public PortletPreferencesService getPortletPreferencesService() {
348         return portletPreferencesService;
349     }
350 
351     public void setPortletPreferencesService(
352         PortletPreferencesService portletPreferencesService) {
353         this.portletPreferencesService = portletPreferencesService;
354     }
355 
356     public PortletPreferencesPersistence getPortletPreferencesPersistence() {
357         return portletPreferencesPersistence;
358     }
359 
360     public void setPortletPreferencesPersistence(
361         PortletPreferencesPersistence portletPreferencesPersistence) {
362         this.portletPreferencesPersistence = portletPreferencesPersistence;
363     }
364 
365     public PortletPreferencesFinder getPortletPreferencesFinder() {
366         return portletPreferencesFinder;
367     }
368 
369     public void setPortletPreferencesFinder(
370         PortletPreferencesFinder portletPreferencesFinder) {
371         this.portletPreferencesFinder = portletPreferencesFinder;
372     }
373 
374     public ResourceLocalService getResourceLocalService() {
375         return resourceLocalService;
376     }
377 
378     public void setResourceLocalService(
379         ResourceLocalService resourceLocalService) {
380         this.resourceLocalService = resourceLocalService;
381     }
382 
383     public ResourceService getResourceService() {
384         return resourceService;
385     }
386 
387     public void setResourceService(ResourceService resourceService) {
388         this.resourceService = resourceService;
389     }
390 
391     public ResourcePersistence getResourcePersistence() {
392         return resourcePersistence;
393     }
394 
395     public void setResourcePersistence(ResourcePersistence resourcePersistence) {
396         this.resourcePersistence = resourcePersistence;
397     }
398 
399     public ResourceFinder getResourceFinder() {
400         return resourceFinder;
401     }
402 
403     public void setResourceFinder(ResourceFinder resourceFinder) {
404         this.resourceFinder = resourceFinder;
405     }
406 
407     public UserLocalService getUserLocalService() {
408         return userLocalService;
409     }
410 
411     public void setUserLocalService(UserLocalService userLocalService) {
412         this.userLocalService = userLocalService;
413     }
414 
415     public UserService getUserService() {
416         return userService;
417     }
418 
419     public void setUserService(UserService userService) {
420         this.userService = userService;
421     }
422 
423     public UserPersistence getUserPersistence() {
424         return userPersistence;
425     }
426 
427     public void setUserPersistence(UserPersistence userPersistence) {
428         this.userPersistence = userPersistence;
429     }
430 
431     public UserFinder getUserFinder() {
432         return userFinder;
433     }
434 
435     public void setUserFinder(UserFinder userFinder) {
436         this.userFinder = userFinder;
437     }
438 
439     public ExpandoValueLocalService getExpandoValueLocalService() {
440         return expandoValueLocalService;
441     }
442 
443     public void setExpandoValueLocalService(
444         ExpandoValueLocalService expandoValueLocalService) {
445         this.expandoValueLocalService = expandoValueLocalService;
446     }
447 
448     public ExpandoValueService getExpandoValueService() {
449         return expandoValueService;
450     }
451 
452     public void setExpandoValueService(ExpandoValueService expandoValueService) {
453         this.expandoValueService = expandoValueService;
454     }
455 
456     public ExpandoValuePersistence getExpandoValuePersistence() {
457         return expandoValuePersistence;
458     }
459 
460     public void setExpandoValuePersistence(
461         ExpandoValuePersistence expandoValuePersistence) {
462         this.expandoValuePersistence = expandoValuePersistence;
463     }
464 
465     public MBMessageLocalService getMBMessageLocalService() {
466         return mbMessageLocalService;
467     }
468 
469     public void setMBMessageLocalService(
470         MBMessageLocalService mbMessageLocalService) {
471         this.mbMessageLocalService = mbMessageLocalService;
472     }
473 
474     public MBMessageService getMBMessageService() {
475         return mbMessageService;
476     }
477 
478     public void setMBMessageService(MBMessageService mbMessageService) {
479         this.mbMessageService = mbMessageService;
480     }
481 
482     public MBMessagePersistence getMBMessagePersistence() {
483         return mbMessagePersistence;
484     }
485 
486     public void setMBMessagePersistence(
487         MBMessagePersistence mbMessagePersistence) {
488         this.mbMessagePersistence = mbMessagePersistence;
489     }
490 
491     public MBMessageFinder getMBMessageFinder() {
492         return mbMessageFinder;
493     }
494 
495     public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
496         this.mbMessageFinder = mbMessageFinder;
497     }
498 
499     public RatingsStatsLocalService getRatingsStatsLocalService() {
500         return ratingsStatsLocalService;
501     }
502 
503     public void setRatingsStatsLocalService(
504         RatingsStatsLocalService ratingsStatsLocalService) {
505         this.ratingsStatsLocalService = ratingsStatsLocalService;
506     }
507 
508     public RatingsStatsPersistence getRatingsStatsPersistence() {
509         return ratingsStatsPersistence;
510     }
511 
512     public void setRatingsStatsPersistence(
513         RatingsStatsPersistence ratingsStatsPersistence) {
514         this.ratingsStatsPersistence = ratingsStatsPersistence;
515     }
516 
517     public SocialActivityLocalService getSocialActivityLocalService() {
518         return socialActivityLocalService;
519     }
520 
521     public void setSocialActivityLocalService(
522         SocialActivityLocalService socialActivityLocalService) {
523         this.socialActivityLocalService = socialActivityLocalService;
524     }
525 
526     public SocialActivityPersistence getSocialActivityPersistence() {
527         return socialActivityPersistence;
528     }
529 
530     public void setSocialActivityPersistence(
531         SocialActivityPersistence socialActivityPersistence) {
532         this.socialActivityPersistence = socialActivityPersistence;
533     }
534 
535     public SocialActivityFinder getSocialActivityFinder() {
536         return socialActivityFinder;
537     }
538 
539     public void setSocialActivityFinder(
540         SocialActivityFinder socialActivityFinder) {
541         this.socialActivityFinder = socialActivityFinder;
542     }
543 
544     public TagsAssetLocalService getTagsAssetLocalService() {
545         return tagsAssetLocalService;
546     }
547 
548     public void setTagsAssetLocalService(
549         TagsAssetLocalService tagsAssetLocalService) {
550         this.tagsAssetLocalService = tagsAssetLocalService;
551     }
552 
553     public TagsAssetService getTagsAssetService() {
554         return tagsAssetService;
555     }
556 
557     public void setTagsAssetService(TagsAssetService tagsAssetService) {
558         this.tagsAssetService = tagsAssetService;
559     }
560 
561     public TagsAssetPersistence getTagsAssetPersistence() {
562         return tagsAssetPersistence;
563     }
564 
565     public void setTagsAssetPersistence(
566         TagsAssetPersistence tagsAssetPersistence) {
567         this.tagsAssetPersistence = tagsAssetPersistence;
568     }
569 
570     public TagsAssetFinder getTagsAssetFinder() {
571         return tagsAssetFinder;
572     }
573 
574     public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder) {
575         this.tagsAssetFinder = tagsAssetFinder;
576     }
577 
578     public TagsEntryLocalService getTagsEntryLocalService() {
579         return tagsEntryLocalService;
580     }
581 
582     public void setTagsEntryLocalService(
583         TagsEntryLocalService tagsEntryLocalService) {
584         this.tagsEntryLocalService = tagsEntryLocalService;
585     }
586 
587     public TagsEntryService getTagsEntryService() {
588         return tagsEntryService;
589     }
590 
591     public void setTagsEntryService(TagsEntryService tagsEntryService) {
592         this.tagsEntryService = tagsEntryService;
593     }
594 
595     public TagsEntryPersistence getTagsEntryPersistence() {
596         return tagsEntryPersistence;
597     }
598 
599     public void setTagsEntryPersistence(
600         TagsEntryPersistence tagsEntryPersistence) {
601         this.tagsEntryPersistence = tagsEntryPersistence;
602     }
603 
604     public TagsEntryFinder getTagsEntryFinder() {
605         return tagsEntryFinder;
606     }
607 
608     public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
609         this.tagsEntryFinder = tagsEntryFinder;
610     }
611 
612     protected void runSQL(String sql) throws SystemException {
613         try {
614             DataSource dataSource = blogsEntryPersistence.getDataSource();
615 
616             SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
617                     sql, new int[0]);
618 
619             sqlUpdate.update(new Object[0]);
620         }
621         catch (Exception e) {
622             throw new SystemException(e);
623         }
624     }
625 
626     @BeanReference(type = BlogsEntryLocalService.class)
627     protected BlogsEntryLocalService blogsEntryLocalService;
628     @BeanReference(type = BlogsEntryService.class)
629     protected BlogsEntryService blogsEntryService;
630     @BeanReference(type = BlogsEntryPersistence.class)
631     protected BlogsEntryPersistence blogsEntryPersistence;
632     @BeanReference(type = BlogsEntryFinder.class)
633     protected BlogsEntryFinder blogsEntryFinder;
634     @BeanReference(type = BlogsStatsUserLocalService.class)
635     protected BlogsStatsUserLocalService blogsStatsUserLocalService;
636     @BeanReference(type = BlogsStatsUserPersistence.class)
637     protected BlogsStatsUserPersistence blogsStatsUserPersistence;
638     @BeanReference(type = BlogsStatsUserFinder.class)
639     protected BlogsStatsUserFinder blogsStatsUserFinder;
640     @BeanReference(type = CounterLocalService.class)
641     protected CounterLocalService counterLocalService;
642     @BeanReference(type = CounterService.class)
643     protected CounterService counterService;
644     @BeanReference(type = CompanyLocalService.class)
645     protected CompanyLocalService companyLocalService;
646     @BeanReference(type = CompanyService.class)
647     protected CompanyService companyService;
648     @BeanReference(type = CompanyPersistence.class)
649     protected CompanyPersistence companyPersistence;
650     @BeanReference(type = GroupLocalService.class)
651     protected GroupLocalService groupLocalService;
652     @BeanReference(type = GroupService.class)
653     protected GroupService groupService;
654     @BeanReference(type = GroupPersistence.class)
655     protected GroupPersistence groupPersistence;
656     @BeanReference(type = GroupFinder.class)
657     protected GroupFinder groupFinder;
658     @BeanReference(type = OrganizationLocalService.class)
659     protected OrganizationLocalService organizationLocalService;
660     @BeanReference(type = OrganizationService.class)
661     protected OrganizationService organizationService;
662     @BeanReference(type = OrganizationPersistence.class)
663     protected OrganizationPersistence organizationPersistence;
664     @BeanReference(type = OrganizationFinder.class)
665     protected OrganizationFinder organizationFinder;
666     @BeanReference(type = PortletPreferencesLocalService.class)
667     protected PortletPreferencesLocalService portletPreferencesLocalService;
668     @BeanReference(type = PortletPreferencesService.class)
669     protected PortletPreferencesService portletPreferencesService;
670     @BeanReference(type = PortletPreferencesPersistence.class)
671     protected PortletPreferencesPersistence portletPreferencesPersistence;
672     @BeanReference(type = PortletPreferencesFinder.class)
673     protected PortletPreferencesFinder portletPreferencesFinder;
674     @BeanReference(type = ResourceLocalService.class)
675     protected ResourceLocalService resourceLocalService;
676     @BeanReference(type = ResourceService.class)
677     protected ResourceService resourceService;
678     @BeanReference(type = ResourcePersistence.class)
679     protected ResourcePersistence resourcePersistence;
680     @BeanReference(type = ResourceFinder.class)
681     protected ResourceFinder resourceFinder;
682     @BeanReference(type = UserLocalService.class)
683     protected UserLocalService userLocalService;
684     @BeanReference(type = UserService.class)
685     protected UserService userService;
686     @BeanReference(type = UserPersistence.class)
687     protected UserPersistence userPersistence;
688     @BeanReference(type = UserFinder.class)
689     protected UserFinder userFinder;
690     @BeanReference(type = ExpandoValueLocalService.class)
691     protected ExpandoValueLocalService expandoValueLocalService;
692     @BeanReference(type = ExpandoValueService.class)
693     protected ExpandoValueService expandoValueService;
694     @BeanReference(type = ExpandoValuePersistence.class)
695     protected ExpandoValuePersistence expandoValuePersistence;
696     @BeanReference(type = MBMessageLocalService.class)
697     protected MBMessageLocalService mbMessageLocalService;
698     @BeanReference(type = MBMessageService.class)
699     protected MBMessageService mbMessageService;
700     @BeanReference(type = MBMessagePersistence.class)
701     protected MBMessagePersistence mbMessagePersistence;
702     @BeanReference(type = MBMessageFinder.class)
703     protected MBMessageFinder mbMessageFinder;
704     @BeanReference(type = RatingsStatsLocalService.class)
705     protected RatingsStatsLocalService ratingsStatsLocalService;
706     @BeanReference(type = RatingsStatsPersistence.class)
707     protected RatingsStatsPersistence ratingsStatsPersistence;
708     @BeanReference(type = SocialActivityLocalService.class)
709     protected SocialActivityLocalService socialActivityLocalService;
710     @BeanReference(type = SocialActivityPersistence.class)
711     protected SocialActivityPersistence socialActivityPersistence;
712     @BeanReference(type = SocialActivityFinder.class)
713     protected SocialActivityFinder socialActivityFinder;
714     @BeanReference(type = TagsAssetLocalService.class)
715     protected TagsAssetLocalService tagsAssetLocalService;
716     @BeanReference(type = TagsAssetService.class)
717     protected TagsAssetService tagsAssetService;
718     @BeanReference(type = TagsAssetPersistence.class)
719     protected TagsAssetPersistence tagsAssetPersistence;
720     @BeanReference(type = TagsAssetFinder.class)
721     protected TagsAssetFinder tagsAssetFinder;
722     @BeanReference(type = TagsEntryLocalService.class)
723     protected TagsEntryLocalService tagsEntryLocalService;
724     @BeanReference(type = TagsEntryService.class)
725     protected TagsEntryService tagsEntryService;
726     @BeanReference(type = TagsEntryPersistence.class)
727     protected TagsEntryPersistence tagsEntryPersistence;
728     @BeanReference(type = TagsEntryFinder.class)
729     protected TagsEntryFinder tagsEntryFinder;
730 }