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