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