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