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.calendar.service.base;
16  
17  import com.liferay.counter.service.CounterLocalService;
18  import com.liferay.counter.service.CounterService;
19  
20  import com.liferay.mail.service.MailService;
21  
22  import com.liferay.portal.kernel.annotation.BeanReference;
23  import com.liferay.portal.kernel.dao.db.DB;
24  import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
25  import com.liferay.portal.kernel.exception.SystemException;
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.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.PortletPreferencesFinder;
41  import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
42  import com.liferay.portal.service.persistence.ResourceFinder;
43  import com.liferay.portal.service.persistence.ResourcePersistence;
44  import com.liferay.portal.service.persistence.UserFinder;
45  import com.liferay.portal.service.persistence.UserPersistence;
46  
47  import com.liferay.portlet.asset.service.AssetEntryLocalService;
48  import com.liferay.portlet.asset.service.AssetEntryService;
49  import com.liferay.portlet.asset.service.AssetTagLocalService;
50  import com.liferay.portlet.asset.service.AssetTagService;
51  import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
52  import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
53  import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
54  import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
55  import com.liferay.portlet.calendar.service.CalEventLocalService;
56  import com.liferay.portlet.calendar.service.CalEventService;
57  import com.liferay.portlet.calendar.service.persistence.CalEventFinder;
58  import com.liferay.portlet.calendar.service.persistence.CalEventPersistence;
59  import com.liferay.portlet.expando.service.ExpandoValueLocalService;
60  import com.liferay.portlet.expando.service.ExpandoValueService;
61  import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
62  import com.liferay.portlet.social.service.SocialActivityLocalService;
63  import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
64  import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
65  
66  /**
67   * <a href="CalEventServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
68   *
69   * @author Brian Wing Shun Chan
70   */
71  public abstract class CalEventServiceBaseImpl extends PrincipalBean
72      implements CalEventService {
73      public CalEventLocalService getCalEventLocalService() {
74          return calEventLocalService;
75      }
76  
77      public void setCalEventLocalService(
78          CalEventLocalService calEventLocalService) {
79          this.calEventLocalService = calEventLocalService;
80      }
81  
82      public CalEventService getCalEventService() {
83          return calEventService;
84      }
85  
86      public void setCalEventService(CalEventService calEventService) {
87          this.calEventService = calEventService;
88      }
89  
90      public CalEventPersistence getCalEventPersistence() {
91          return calEventPersistence;
92      }
93  
94      public void setCalEventPersistence(CalEventPersistence calEventPersistence) {
95          this.calEventPersistence = calEventPersistence;
96      }
97  
98      public CalEventFinder getCalEventFinder() {
99          return calEventFinder;
100     }
101 
102     public void setCalEventFinder(CalEventFinder calEventFinder) {
103         this.calEventFinder = calEventFinder;
104     }
105 
106     public CounterLocalService getCounterLocalService() {
107         return counterLocalService;
108     }
109 
110     public void setCounterLocalService(CounterLocalService counterLocalService) {
111         this.counterLocalService = counterLocalService;
112     }
113 
114     public CounterService getCounterService() {
115         return counterService;
116     }
117 
118     public void setCounterService(CounterService counterService) {
119         this.counterService = counterService;
120     }
121 
122     public MailService getMailService() {
123         return mailService;
124     }
125 
126     public void setMailService(MailService mailService) {
127         this.mailService = mailService;
128     }
129 
130     public CompanyLocalService getCompanyLocalService() {
131         return companyLocalService;
132     }
133 
134     public void setCompanyLocalService(CompanyLocalService companyLocalService) {
135         this.companyLocalService = companyLocalService;
136     }
137 
138     public CompanyService getCompanyService() {
139         return companyService;
140     }
141 
142     public void setCompanyService(CompanyService companyService) {
143         this.companyService = companyService;
144     }
145 
146     public CompanyPersistence getCompanyPersistence() {
147         return companyPersistence;
148     }
149 
150     public void setCompanyPersistence(CompanyPersistence companyPersistence) {
151         this.companyPersistence = companyPersistence;
152     }
153 
154     public GroupLocalService getGroupLocalService() {
155         return groupLocalService;
156     }
157 
158     public void setGroupLocalService(GroupLocalService groupLocalService) {
159         this.groupLocalService = groupLocalService;
160     }
161 
162     public GroupService getGroupService() {
163         return groupService;
164     }
165 
166     public void setGroupService(GroupService groupService) {
167         this.groupService = groupService;
168     }
169 
170     public GroupPersistence getGroupPersistence() {
171         return groupPersistence;
172     }
173 
174     public void setGroupPersistence(GroupPersistence groupPersistence) {
175         this.groupPersistence = groupPersistence;
176     }
177 
178     public GroupFinder getGroupFinder() {
179         return groupFinder;
180     }
181 
182     public void setGroupFinder(GroupFinder groupFinder) {
183         this.groupFinder = groupFinder;
184     }
185 
186     public PortletPreferencesLocalService getPortletPreferencesLocalService() {
187         return portletPreferencesLocalService;
188     }
189 
190     public void setPortletPreferencesLocalService(
191         PortletPreferencesLocalService portletPreferencesLocalService) {
192         this.portletPreferencesLocalService = portletPreferencesLocalService;
193     }
194 
195     public PortletPreferencesService getPortletPreferencesService() {
196         return portletPreferencesService;
197     }
198 
199     public void setPortletPreferencesService(
200         PortletPreferencesService portletPreferencesService) {
201         this.portletPreferencesService = portletPreferencesService;
202     }
203 
204     public PortletPreferencesPersistence getPortletPreferencesPersistence() {
205         return portletPreferencesPersistence;
206     }
207 
208     public void setPortletPreferencesPersistence(
209         PortletPreferencesPersistence portletPreferencesPersistence) {
210         this.portletPreferencesPersistence = portletPreferencesPersistence;
211     }
212 
213     public PortletPreferencesFinder getPortletPreferencesFinder() {
214         return portletPreferencesFinder;
215     }
216 
217     public void setPortletPreferencesFinder(
218         PortletPreferencesFinder portletPreferencesFinder) {
219         this.portletPreferencesFinder = portletPreferencesFinder;
220     }
221 
222     public ResourceLocalService getResourceLocalService() {
223         return resourceLocalService;
224     }
225 
226     public void setResourceLocalService(
227         ResourceLocalService resourceLocalService) {
228         this.resourceLocalService = resourceLocalService;
229     }
230 
231     public ResourceService getResourceService() {
232         return resourceService;
233     }
234 
235     public void setResourceService(ResourceService resourceService) {
236         this.resourceService = resourceService;
237     }
238 
239     public ResourcePersistence getResourcePersistence() {
240         return resourcePersistence;
241     }
242 
243     public void setResourcePersistence(ResourcePersistence resourcePersistence) {
244         this.resourcePersistence = resourcePersistence;
245     }
246 
247     public ResourceFinder getResourceFinder() {
248         return resourceFinder;
249     }
250 
251     public void setResourceFinder(ResourceFinder resourceFinder) {
252         this.resourceFinder = resourceFinder;
253     }
254 
255     public UserLocalService getUserLocalService() {
256         return userLocalService;
257     }
258 
259     public void setUserLocalService(UserLocalService userLocalService) {
260         this.userLocalService = userLocalService;
261     }
262 
263     public UserService getUserService() {
264         return userService;
265     }
266 
267     public void setUserService(UserService userService) {
268         this.userService = userService;
269     }
270 
271     public UserPersistence getUserPersistence() {
272         return userPersistence;
273     }
274 
275     public void setUserPersistence(UserPersistence userPersistence) {
276         this.userPersistence = userPersistence;
277     }
278 
279     public UserFinder getUserFinder() {
280         return userFinder;
281     }
282 
283     public void setUserFinder(UserFinder userFinder) {
284         this.userFinder = userFinder;
285     }
286 
287     public AssetEntryLocalService getAssetEntryLocalService() {
288         return assetEntryLocalService;
289     }
290 
291     public void setAssetEntryLocalService(
292         AssetEntryLocalService assetEntryLocalService) {
293         this.assetEntryLocalService = assetEntryLocalService;
294     }
295 
296     public AssetEntryService getAssetEntryService() {
297         return assetEntryService;
298     }
299 
300     public void setAssetEntryService(AssetEntryService assetEntryService) {
301         this.assetEntryService = assetEntryService;
302     }
303 
304     public AssetEntryPersistence getAssetEntryPersistence() {
305         return assetEntryPersistence;
306     }
307 
308     public void setAssetEntryPersistence(
309         AssetEntryPersistence assetEntryPersistence) {
310         this.assetEntryPersistence = assetEntryPersistence;
311     }
312 
313     public AssetEntryFinder getAssetEntryFinder() {
314         return assetEntryFinder;
315     }
316 
317     public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
318         this.assetEntryFinder = assetEntryFinder;
319     }
320 
321     public AssetTagLocalService getAssetTagLocalService() {
322         return assetTagLocalService;
323     }
324 
325     public void setAssetTagLocalService(
326         AssetTagLocalService assetTagLocalService) {
327         this.assetTagLocalService = assetTagLocalService;
328     }
329 
330     public AssetTagService getAssetTagService() {
331         return assetTagService;
332     }
333 
334     public void setAssetTagService(AssetTagService assetTagService) {
335         this.assetTagService = assetTagService;
336     }
337 
338     public AssetTagPersistence getAssetTagPersistence() {
339         return assetTagPersistence;
340     }
341 
342     public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
343         this.assetTagPersistence = assetTagPersistence;
344     }
345 
346     public AssetTagFinder getAssetTagFinder() {
347         return assetTagFinder;
348     }
349 
350     public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
351         this.assetTagFinder = assetTagFinder;
352     }
353 
354     public ExpandoValueLocalService getExpandoValueLocalService() {
355         return expandoValueLocalService;
356     }
357 
358     public void setExpandoValueLocalService(
359         ExpandoValueLocalService expandoValueLocalService) {
360         this.expandoValueLocalService = expandoValueLocalService;
361     }
362 
363     public ExpandoValueService getExpandoValueService() {
364         return expandoValueService;
365     }
366 
367     public void setExpandoValueService(ExpandoValueService expandoValueService) {
368         this.expandoValueService = expandoValueService;
369     }
370 
371     public ExpandoValuePersistence getExpandoValuePersistence() {
372         return expandoValuePersistence;
373     }
374 
375     public void setExpandoValuePersistence(
376         ExpandoValuePersistence expandoValuePersistence) {
377         this.expandoValuePersistence = expandoValuePersistence;
378     }
379 
380     public SocialActivityLocalService getSocialActivityLocalService() {
381         return socialActivityLocalService;
382     }
383 
384     public void setSocialActivityLocalService(
385         SocialActivityLocalService socialActivityLocalService) {
386         this.socialActivityLocalService = socialActivityLocalService;
387     }
388 
389     public SocialActivityPersistence getSocialActivityPersistence() {
390         return socialActivityPersistence;
391     }
392 
393     public void setSocialActivityPersistence(
394         SocialActivityPersistence socialActivityPersistence) {
395         this.socialActivityPersistence = socialActivityPersistence;
396     }
397 
398     public SocialActivityFinder getSocialActivityFinder() {
399         return socialActivityFinder;
400     }
401 
402     public void setSocialActivityFinder(
403         SocialActivityFinder socialActivityFinder) {
404         this.socialActivityFinder = socialActivityFinder;
405     }
406 
407     protected void runSQL(String sql) throws SystemException {
408         try {
409             DB db = DBFactoryUtil.getDB();
410 
411             db.runSQL(sql);
412         }
413         catch (Exception e) {
414             throw new SystemException(e);
415         }
416     }
417 
418     @BeanReference(name = "com.liferay.portlet.calendar.service.CalEventLocalService")
419     protected CalEventLocalService calEventLocalService;
420     @BeanReference(name = "com.liferay.portlet.calendar.service.CalEventService")
421     protected CalEventService calEventService;
422     @BeanReference(name = "com.liferay.portlet.calendar.service.persistence.CalEventPersistence")
423     protected CalEventPersistence calEventPersistence;
424     @BeanReference(name = "com.liferay.portlet.calendar.service.persistence.CalEventFinder")
425     protected CalEventFinder calEventFinder;
426     @BeanReference(name = "com.liferay.counter.service.CounterLocalService")
427     protected CounterLocalService counterLocalService;
428     @BeanReference(name = "com.liferay.counter.service.CounterService")
429     protected CounterService counterService;
430     @BeanReference(name = "com.liferay.mail.service.MailService")
431     protected MailService mailService;
432     @BeanReference(name = "com.liferay.portal.service.CompanyLocalService")
433     protected CompanyLocalService companyLocalService;
434     @BeanReference(name = "com.liferay.portal.service.CompanyService")
435     protected CompanyService companyService;
436     @BeanReference(name = "com.liferay.portal.service.persistence.CompanyPersistence")
437     protected CompanyPersistence companyPersistence;
438     @BeanReference(name = "com.liferay.portal.service.GroupLocalService")
439     protected GroupLocalService groupLocalService;
440     @BeanReference(name = "com.liferay.portal.service.GroupService")
441     protected GroupService groupService;
442     @BeanReference(name = "com.liferay.portal.service.persistence.GroupPersistence")
443     protected GroupPersistence groupPersistence;
444     @BeanReference(name = "com.liferay.portal.service.persistence.GroupFinder")
445     protected GroupFinder groupFinder;
446     @BeanReference(name = "com.liferay.portal.service.PortletPreferencesLocalService")
447     protected PortletPreferencesLocalService portletPreferencesLocalService;
448     @BeanReference(name = "com.liferay.portal.service.PortletPreferencesService")
449     protected PortletPreferencesService portletPreferencesService;
450     @BeanReference(name = "com.liferay.portal.service.persistence.PortletPreferencesPersistence")
451     protected PortletPreferencesPersistence portletPreferencesPersistence;
452     @BeanReference(name = "com.liferay.portal.service.persistence.PortletPreferencesFinder")
453     protected PortletPreferencesFinder portletPreferencesFinder;
454     @BeanReference(name = "com.liferay.portal.service.ResourceLocalService")
455     protected ResourceLocalService resourceLocalService;
456     @BeanReference(name = "com.liferay.portal.service.ResourceService")
457     protected ResourceService resourceService;
458     @BeanReference(name = "com.liferay.portal.service.persistence.ResourcePersistence")
459     protected ResourcePersistence resourcePersistence;
460     @BeanReference(name = "com.liferay.portal.service.persistence.ResourceFinder")
461     protected ResourceFinder resourceFinder;
462     @BeanReference(name = "com.liferay.portal.service.UserLocalService")
463     protected UserLocalService userLocalService;
464     @BeanReference(name = "com.liferay.portal.service.UserService")
465     protected UserService userService;
466     @BeanReference(name = "com.liferay.portal.service.persistence.UserPersistence")
467     protected UserPersistence userPersistence;
468     @BeanReference(name = "com.liferay.portal.service.persistence.UserFinder")
469     protected UserFinder userFinder;
470     @BeanReference(name = "com.liferay.portlet.asset.service.AssetEntryLocalService")
471     protected AssetEntryLocalService assetEntryLocalService;
472     @BeanReference(name = "com.liferay.portlet.asset.service.AssetEntryService")
473     protected AssetEntryService assetEntryService;
474     @BeanReference(name = "com.liferay.portlet.asset.service.persistence.AssetEntryPersistence")
475     protected AssetEntryPersistence assetEntryPersistence;
476     @BeanReference(name = "com.liferay.portlet.asset.service.persistence.AssetEntryFinder")
477     protected AssetEntryFinder assetEntryFinder;
478     @BeanReference(name = "com.liferay.portlet.asset.service.AssetTagLocalService")
479     protected AssetTagLocalService assetTagLocalService;
480     @BeanReference(name = "com.liferay.portlet.asset.service.AssetTagService")
481     protected AssetTagService assetTagService;
482     @BeanReference(name = "com.liferay.portlet.asset.service.persistence.AssetTagPersistence")
483     protected AssetTagPersistence assetTagPersistence;
484     @BeanReference(name = "com.liferay.portlet.asset.service.persistence.AssetTagFinder")
485     protected AssetTagFinder assetTagFinder;
486     @BeanReference(name = "com.liferay.portlet.expando.service.ExpandoValueLocalService")
487     protected ExpandoValueLocalService expandoValueLocalService;
488     @BeanReference(name = "com.liferay.portlet.expando.service.ExpandoValueService")
489     protected ExpandoValueService expandoValueService;
490     @BeanReference(name = "com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence")
491     protected ExpandoValuePersistence expandoValuePersistence;
492     @BeanReference(name = "com.liferay.portlet.social.service.SocialActivityLocalService")
493     protected SocialActivityLocalService socialActivityLocalService;
494     @BeanReference(name = "com.liferay.portlet.social.service.persistence.SocialActivityPersistence")
495     protected SocialActivityPersistence socialActivityPersistence;
496     @BeanReference(name = "com.liferay.portlet.social.service.persistence.SocialActivityFinder")
497     protected SocialActivityFinder socialActivityFinder;
498 }