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.SystemException;
21  import com.liferay.portal.kernel.annotation.BeanReference;
22  import com.liferay.portal.kernel.dao.db.DB;
23  import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
24  import com.liferay.portal.service.CompanyLocalService;
25  import com.liferay.portal.service.CompanyService;
26  import com.liferay.portal.service.GroupLocalService;
27  import com.liferay.portal.service.GroupService;
28  import com.liferay.portal.service.OrganizationLocalService;
29  import com.liferay.portal.service.OrganizationService;
30  import com.liferay.portal.service.PortletPreferencesLocalService;
31  import com.liferay.portal.service.PortletPreferencesService;
32  import com.liferay.portal.service.ResourceLocalService;
33  import com.liferay.portal.service.ResourceService;
34  import com.liferay.portal.service.UserLocalService;
35  import com.liferay.portal.service.UserService;
36  import com.liferay.portal.service.base.PrincipalBean;
37  import com.liferay.portal.service.persistence.CompanyPersistence;
38  import com.liferay.portal.service.persistence.GroupFinder;
39  import com.liferay.portal.service.persistence.GroupPersistence;
40  import com.liferay.portal.service.persistence.OrganizationFinder;
41  import com.liferay.portal.service.persistence.OrganizationPersistence;
42  import com.liferay.portal.service.persistence.PortletPreferencesFinder;
43  import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
44  import com.liferay.portal.service.persistence.ResourceFinder;
45  import com.liferay.portal.service.persistence.ResourcePersistence;
46  import com.liferay.portal.service.persistence.UserFinder;
47  import com.liferay.portal.service.persistence.UserPersistence;
48  
49  import com.liferay.portlet.blogs.service.BlogsEntryLocalService;
50  import com.liferay.portlet.blogs.service.BlogsEntryService;
51  import com.liferay.portlet.blogs.service.BlogsStatsUserLocalService;
52  import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
53  import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
54  import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder;
55  import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence;
56  import com.liferay.portlet.expando.service.ExpandoValueLocalService;
57  import com.liferay.portlet.expando.service.ExpandoValueService;
58  import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
59  import com.liferay.portlet.messageboards.service.MBMessageLocalService;
60  import com.liferay.portlet.messageboards.service.MBMessageService;
61  import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
62  import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
63  import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
64  import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
65  import com.liferay.portlet.social.service.SocialActivityLocalService;
66  import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
67  import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
68  import com.liferay.portlet.tags.service.TagsAssetLocalService;
69  import com.liferay.portlet.tags.service.TagsAssetService;
70  import com.liferay.portlet.tags.service.TagsEntryLocalService;
71  import com.liferay.portlet.tags.service.TagsEntryService;
72  import com.liferay.portlet.tags.service.persistence.TagsAssetFinder;
73  import com.liferay.portlet.tags.service.persistence.TagsAssetPersistence;
74  import com.liferay.portlet.tags.service.persistence.TagsEntryFinder;
75  import com.liferay.portlet.tags.service.persistence.TagsEntryPersistence;
76  
77  /**
78   * <a href="BlogsEntryServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
79   *
80   * @author Brian Wing Shun Chan
81   */
82  public abstract class BlogsEntryServiceBaseImpl extends PrincipalBean
83      implements BlogsEntryService {
84      public BlogsEntryLocalService getBlogsEntryLocalService() {
85          return blogsEntryLocalService;
86      }
87  
88      public void setBlogsEntryLocalService(
89          BlogsEntryLocalService blogsEntryLocalService) {
90          this.blogsEntryLocalService = blogsEntryLocalService;
91      }
92  
93      public BlogsEntryService getBlogsEntryService() {
94          return blogsEntryService;
95      }
96  
97      public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
98          this.blogsEntryService = blogsEntryService;
99      }
100 
101     public BlogsEntryPersistence getBlogsEntryPersistence() {
102         return blogsEntryPersistence;
103     }
104 
105     public void setBlogsEntryPersistence(
106         BlogsEntryPersistence blogsEntryPersistence) {
107         this.blogsEntryPersistence = blogsEntryPersistence;
108     }
109 
110     public BlogsEntryFinder getBlogsEntryFinder() {
111         return blogsEntryFinder;
112     }
113 
114     public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
115         this.blogsEntryFinder = blogsEntryFinder;
116     }
117 
118     public BlogsStatsUserLocalService getBlogsStatsUserLocalService() {
119         return blogsStatsUserLocalService;
120     }
121 
122     public void setBlogsStatsUserLocalService(
123         BlogsStatsUserLocalService blogsStatsUserLocalService) {
124         this.blogsStatsUserLocalService = blogsStatsUserLocalService;
125     }
126 
127     public BlogsStatsUserPersistence getBlogsStatsUserPersistence() {
128         return blogsStatsUserPersistence;
129     }
130 
131     public void setBlogsStatsUserPersistence(
132         BlogsStatsUserPersistence blogsStatsUserPersistence) {
133         this.blogsStatsUserPersistence = blogsStatsUserPersistence;
134     }
135 
136     public BlogsStatsUserFinder getBlogsStatsUserFinder() {
137         return blogsStatsUserFinder;
138     }
139 
140     public void setBlogsStatsUserFinder(
141         BlogsStatsUserFinder blogsStatsUserFinder) {
142         this.blogsStatsUserFinder = blogsStatsUserFinder;
143     }
144 
145     public CounterLocalService getCounterLocalService() {
146         return counterLocalService;
147     }
148 
149     public void setCounterLocalService(CounterLocalService counterLocalService) {
150         this.counterLocalService = counterLocalService;
151     }
152 
153     public CounterService getCounterService() {
154         return counterService;
155     }
156 
157     public void setCounterService(CounterService counterService) {
158         this.counterService = counterService;
159     }
160 
161     public CompanyLocalService getCompanyLocalService() {
162         return companyLocalService;
163     }
164 
165     public void setCompanyLocalService(CompanyLocalService companyLocalService) {
166         this.companyLocalService = companyLocalService;
167     }
168 
169     public CompanyService getCompanyService() {
170         return companyService;
171     }
172 
173     public void setCompanyService(CompanyService companyService) {
174         this.companyService = companyService;
175     }
176 
177     public CompanyPersistence getCompanyPersistence() {
178         return companyPersistence;
179     }
180 
181     public void setCompanyPersistence(CompanyPersistence companyPersistence) {
182         this.companyPersistence = companyPersistence;
183     }
184 
185     public GroupLocalService getGroupLocalService() {
186         return groupLocalService;
187     }
188 
189     public void setGroupLocalService(GroupLocalService groupLocalService) {
190         this.groupLocalService = groupLocalService;
191     }
192 
193     public GroupService getGroupService() {
194         return groupService;
195     }
196 
197     public void setGroupService(GroupService groupService) {
198         this.groupService = groupService;
199     }
200 
201     public GroupPersistence getGroupPersistence() {
202         return groupPersistence;
203     }
204 
205     public void setGroupPersistence(GroupPersistence groupPersistence) {
206         this.groupPersistence = groupPersistence;
207     }
208 
209     public GroupFinder getGroupFinder() {
210         return groupFinder;
211     }
212 
213     public void setGroupFinder(GroupFinder groupFinder) {
214         this.groupFinder = groupFinder;
215     }
216 
217     public OrganizationLocalService getOrganizationLocalService() {
218         return organizationLocalService;
219     }
220 
221     public void setOrganizationLocalService(
222         OrganizationLocalService organizationLocalService) {
223         this.organizationLocalService = organizationLocalService;
224     }
225 
226     public OrganizationService getOrganizationService() {
227         return organizationService;
228     }
229 
230     public void setOrganizationService(OrganizationService organizationService) {
231         this.organizationService = organizationService;
232     }
233 
234     public OrganizationPersistence getOrganizationPersistence() {
235         return organizationPersistence;
236     }
237 
238     public void setOrganizationPersistence(
239         OrganizationPersistence organizationPersistence) {
240         this.organizationPersistence = organizationPersistence;
241     }
242 
243     public OrganizationFinder getOrganizationFinder() {
244         return organizationFinder;
245     }
246 
247     public void setOrganizationFinder(OrganizationFinder organizationFinder) {
248         this.organizationFinder = organizationFinder;
249     }
250 
251     public PortletPreferencesLocalService getPortletPreferencesLocalService() {
252         return portletPreferencesLocalService;
253     }
254 
255     public void setPortletPreferencesLocalService(
256         PortletPreferencesLocalService portletPreferencesLocalService) {
257         this.portletPreferencesLocalService = portletPreferencesLocalService;
258     }
259 
260     public PortletPreferencesService getPortletPreferencesService() {
261         return portletPreferencesService;
262     }
263 
264     public void setPortletPreferencesService(
265         PortletPreferencesService portletPreferencesService) {
266         this.portletPreferencesService = portletPreferencesService;
267     }
268 
269     public PortletPreferencesPersistence getPortletPreferencesPersistence() {
270         return portletPreferencesPersistence;
271     }
272 
273     public void setPortletPreferencesPersistence(
274         PortletPreferencesPersistence portletPreferencesPersistence) {
275         this.portletPreferencesPersistence = portletPreferencesPersistence;
276     }
277 
278     public PortletPreferencesFinder getPortletPreferencesFinder() {
279         return portletPreferencesFinder;
280     }
281 
282     public void setPortletPreferencesFinder(
283         PortletPreferencesFinder portletPreferencesFinder) {
284         this.portletPreferencesFinder = portletPreferencesFinder;
285     }
286 
287     public ResourceLocalService getResourceLocalService() {
288         return resourceLocalService;
289     }
290 
291     public void setResourceLocalService(
292         ResourceLocalService resourceLocalService) {
293         this.resourceLocalService = resourceLocalService;
294     }
295 
296     public ResourceService getResourceService() {
297         return resourceService;
298     }
299 
300     public void setResourceService(ResourceService resourceService) {
301         this.resourceService = resourceService;
302     }
303 
304     public ResourcePersistence getResourcePersistence() {
305         return resourcePersistence;
306     }
307 
308     public void setResourcePersistence(ResourcePersistence resourcePersistence) {
309         this.resourcePersistence = resourcePersistence;
310     }
311 
312     public ResourceFinder getResourceFinder() {
313         return resourceFinder;
314     }
315 
316     public void setResourceFinder(ResourceFinder resourceFinder) {
317         this.resourceFinder = resourceFinder;
318     }
319 
320     public UserLocalService getUserLocalService() {
321         return userLocalService;
322     }
323 
324     public void setUserLocalService(UserLocalService userLocalService) {
325         this.userLocalService = userLocalService;
326     }
327 
328     public UserService getUserService() {
329         return userService;
330     }
331 
332     public void setUserService(UserService userService) {
333         this.userService = userService;
334     }
335 
336     public UserPersistence getUserPersistence() {
337         return userPersistence;
338     }
339 
340     public void setUserPersistence(UserPersistence userPersistence) {
341         this.userPersistence = userPersistence;
342     }
343 
344     public UserFinder getUserFinder() {
345         return userFinder;
346     }
347 
348     public void setUserFinder(UserFinder userFinder) {
349         this.userFinder = userFinder;
350     }
351 
352     public ExpandoValueLocalService getExpandoValueLocalService() {
353         return expandoValueLocalService;
354     }
355 
356     public void setExpandoValueLocalService(
357         ExpandoValueLocalService expandoValueLocalService) {
358         this.expandoValueLocalService = expandoValueLocalService;
359     }
360 
361     public ExpandoValueService getExpandoValueService() {
362         return expandoValueService;
363     }
364 
365     public void setExpandoValueService(ExpandoValueService expandoValueService) {
366         this.expandoValueService = expandoValueService;
367     }
368 
369     public ExpandoValuePersistence getExpandoValuePersistence() {
370         return expandoValuePersistence;
371     }
372 
373     public void setExpandoValuePersistence(
374         ExpandoValuePersistence expandoValuePersistence) {
375         this.expandoValuePersistence = expandoValuePersistence;
376     }
377 
378     public MBMessageLocalService getMBMessageLocalService() {
379         return mbMessageLocalService;
380     }
381 
382     public void setMBMessageLocalService(
383         MBMessageLocalService mbMessageLocalService) {
384         this.mbMessageLocalService = mbMessageLocalService;
385     }
386 
387     public MBMessageService getMBMessageService() {
388         return mbMessageService;
389     }
390 
391     public void setMBMessageService(MBMessageService mbMessageService) {
392         this.mbMessageService = mbMessageService;
393     }
394 
395     public MBMessagePersistence getMBMessagePersistence() {
396         return mbMessagePersistence;
397     }
398 
399     public void setMBMessagePersistence(
400         MBMessagePersistence mbMessagePersistence) {
401         this.mbMessagePersistence = mbMessagePersistence;
402     }
403 
404     public MBMessageFinder getMBMessageFinder() {
405         return mbMessageFinder;
406     }
407 
408     public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
409         this.mbMessageFinder = mbMessageFinder;
410     }
411 
412     public RatingsStatsLocalService getRatingsStatsLocalService() {
413         return ratingsStatsLocalService;
414     }
415 
416     public void setRatingsStatsLocalService(
417         RatingsStatsLocalService ratingsStatsLocalService) {
418         this.ratingsStatsLocalService = ratingsStatsLocalService;
419     }
420 
421     public RatingsStatsPersistence getRatingsStatsPersistence() {
422         return ratingsStatsPersistence;
423     }
424 
425     public void setRatingsStatsPersistence(
426         RatingsStatsPersistence ratingsStatsPersistence) {
427         this.ratingsStatsPersistence = ratingsStatsPersistence;
428     }
429 
430     public SocialActivityLocalService getSocialActivityLocalService() {
431         return socialActivityLocalService;
432     }
433 
434     public void setSocialActivityLocalService(
435         SocialActivityLocalService socialActivityLocalService) {
436         this.socialActivityLocalService = socialActivityLocalService;
437     }
438 
439     public SocialActivityPersistence getSocialActivityPersistence() {
440         return socialActivityPersistence;
441     }
442 
443     public void setSocialActivityPersistence(
444         SocialActivityPersistence socialActivityPersistence) {
445         this.socialActivityPersistence = socialActivityPersistence;
446     }
447 
448     public SocialActivityFinder getSocialActivityFinder() {
449         return socialActivityFinder;
450     }
451 
452     public void setSocialActivityFinder(
453         SocialActivityFinder socialActivityFinder) {
454         this.socialActivityFinder = socialActivityFinder;
455     }
456 
457     public TagsAssetLocalService getTagsAssetLocalService() {
458         return tagsAssetLocalService;
459     }
460 
461     public void setTagsAssetLocalService(
462         TagsAssetLocalService tagsAssetLocalService) {
463         this.tagsAssetLocalService = tagsAssetLocalService;
464     }
465 
466     public TagsAssetService getTagsAssetService() {
467         return tagsAssetService;
468     }
469 
470     public void setTagsAssetService(TagsAssetService tagsAssetService) {
471         this.tagsAssetService = tagsAssetService;
472     }
473 
474     public TagsAssetPersistence getTagsAssetPersistence() {
475         return tagsAssetPersistence;
476     }
477 
478     public void setTagsAssetPersistence(
479         TagsAssetPersistence tagsAssetPersistence) {
480         this.tagsAssetPersistence = tagsAssetPersistence;
481     }
482 
483     public TagsAssetFinder getTagsAssetFinder() {
484         return tagsAssetFinder;
485     }
486 
487     public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder) {
488         this.tagsAssetFinder = tagsAssetFinder;
489     }
490 
491     public TagsEntryLocalService getTagsEntryLocalService() {
492         return tagsEntryLocalService;
493     }
494 
495     public void setTagsEntryLocalService(
496         TagsEntryLocalService tagsEntryLocalService) {
497         this.tagsEntryLocalService = tagsEntryLocalService;
498     }
499 
500     public TagsEntryService getTagsEntryService() {
501         return tagsEntryService;
502     }
503 
504     public void setTagsEntryService(TagsEntryService tagsEntryService) {
505         this.tagsEntryService = tagsEntryService;
506     }
507 
508     public TagsEntryPersistence getTagsEntryPersistence() {
509         return tagsEntryPersistence;
510     }
511 
512     public void setTagsEntryPersistence(
513         TagsEntryPersistence tagsEntryPersistence) {
514         this.tagsEntryPersistence = tagsEntryPersistence;
515     }
516 
517     public TagsEntryFinder getTagsEntryFinder() {
518         return tagsEntryFinder;
519     }
520 
521     public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
522         this.tagsEntryFinder = tagsEntryFinder;
523     }
524 
525     protected void runSQL(String sql) throws SystemException {
526         try {
527             DB db = DBFactoryUtil.getDB();
528 
529             db.runSQL(sql);
530         }
531         catch (Exception e) {
532             throw new SystemException(e);
533         }
534     }
535 
536     @BeanReference(type = BlogsEntryLocalService.class)
537     protected BlogsEntryLocalService blogsEntryLocalService;
538     @BeanReference(type = BlogsEntryService.class)
539     protected BlogsEntryService blogsEntryService;
540     @BeanReference(type = BlogsEntryPersistence.class)
541     protected BlogsEntryPersistence blogsEntryPersistence;
542     @BeanReference(type = BlogsEntryFinder.class)
543     protected BlogsEntryFinder blogsEntryFinder;
544     @BeanReference(type = BlogsStatsUserLocalService.class)
545     protected BlogsStatsUserLocalService blogsStatsUserLocalService;
546     @BeanReference(type = BlogsStatsUserPersistence.class)
547     protected BlogsStatsUserPersistence blogsStatsUserPersistence;
548     @BeanReference(type = BlogsStatsUserFinder.class)
549     protected BlogsStatsUserFinder blogsStatsUserFinder;
550     @BeanReference(type = CounterLocalService.class)
551     protected CounterLocalService counterLocalService;
552     @BeanReference(type = CounterService.class)
553     protected CounterService counterService;
554     @BeanReference(type = CompanyLocalService.class)
555     protected CompanyLocalService companyLocalService;
556     @BeanReference(type = CompanyService.class)
557     protected CompanyService companyService;
558     @BeanReference(type = CompanyPersistence.class)
559     protected CompanyPersistence companyPersistence;
560     @BeanReference(type = GroupLocalService.class)
561     protected GroupLocalService groupLocalService;
562     @BeanReference(type = GroupService.class)
563     protected GroupService groupService;
564     @BeanReference(type = GroupPersistence.class)
565     protected GroupPersistence groupPersistence;
566     @BeanReference(type = GroupFinder.class)
567     protected GroupFinder groupFinder;
568     @BeanReference(type = OrganizationLocalService.class)
569     protected OrganizationLocalService organizationLocalService;
570     @BeanReference(type = OrganizationService.class)
571     protected OrganizationService organizationService;
572     @BeanReference(type = OrganizationPersistence.class)
573     protected OrganizationPersistence organizationPersistence;
574     @BeanReference(type = OrganizationFinder.class)
575     protected OrganizationFinder organizationFinder;
576     @BeanReference(type = PortletPreferencesLocalService.class)
577     protected PortletPreferencesLocalService portletPreferencesLocalService;
578     @BeanReference(type = PortletPreferencesService.class)
579     protected PortletPreferencesService portletPreferencesService;
580     @BeanReference(type = PortletPreferencesPersistence.class)
581     protected PortletPreferencesPersistence portletPreferencesPersistence;
582     @BeanReference(type = PortletPreferencesFinder.class)
583     protected PortletPreferencesFinder portletPreferencesFinder;
584     @BeanReference(type = ResourceLocalService.class)
585     protected ResourceLocalService resourceLocalService;
586     @BeanReference(type = ResourceService.class)
587     protected ResourceService resourceService;
588     @BeanReference(type = ResourcePersistence.class)
589     protected ResourcePersistence resourcePersistence;
590     @BeanReference(type = ResourceFinder.class)
591     protected ResourceFinder resourceFinder;
592     @BeanReference(type = UserLocalService.class)
593     protected UserLocalService userLocalService;
594     @BeanReference(type = UserService.class)
595     protected UserService userService;
596     @BeanReference(type = UserPersistence.class)
597     protected UserPersistence userPersistence;
598     @BeanReference(type = UserFinder.class)
599     protected UserFinder userFinder;
600     @BeanReference(type = ExpandoValueLocalService.class)
601     protected ExpandoValueLocalService expandoValueLocalService;
602     @BeanReference(type = ExpandoValueService.class)
603     protected ExpandoValueService expandoValueService;
604     @BeanReference(type = ExpandoValuePersistence.class)
605     protected ExpandoValuePersistence expandoValuePersistence;
606     @BeanReference(type = MBMessageLocalService.class)
607     protected MBMessageLocalService mbMessageLocalService;
608     @BeanReference(type = MBMessageService.class)
609     protected MBMessageService mbMessageService;
610     @BeanReference(type = MBMessagePersistence.class)
611     protected MBMessagePersistence mbMessagePersistence;
612     @BeanReference(type = MBMessageFinder.class)
613     protected MBMessageFinder mbMessageFinder;
614     @BeanReference(type = RatingsStatsLocalService.class)
615     protected RatingsStatsLocalService ratingsStatsLocalService;
616     @BeanReference(type = RatingsStatsPersistence.class)
617     protected RatingsStatsPersistence ratingsStatsPersistence;
618     @BeanReference(type = SocialActivityLocalService.class)
619     protected SocialActivityLocalService socialActivityLocalService;
620     @BeanReference(type = SocialActivityPersistence.class)
621     protected SocialActivityPersistence socialActivityPersistence;
622     @BeanReference(type = SocialActivityFinder.class)
623     protected SocialActivityFinder socialActivityFinder;
624     @BeanReference(type = TagsAssetLocalService.class)
625     protected TagsAssetLocalService tagsAssetLocalService;
626     @BeanReference(type = TagsAssetService.class)
627     protected TagsAssetService tagsAssetService;
628     @BeanReference(type = TagsAssetPersistence.class)
629     protected TagsAssetPersistence tagsAssetPersistence;
630     @BeanReference(type = TagsAssetFinder.class)
631     protected TagsAssetFinder tagsAssetFinder;
632     @BeanReference(type = TagsEntryLocalService.class)
633     protected TagsEntryLocalService tagsEntryLocalService;
634     @BeanReference(type = TagsEntryService.class)
635     protected TagsEntryService tagsEntryService;
636     @BeanReference(type = TagsEntryPersistence.class)
637     protected TagsEntryPersistence tagsEntryPersistence;
638     @BeanReference(type = TagsEntryFinder.class)
639     protected TagsEntryFinder tagsEntryFinder;
640 }