1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions 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.calendar.service.base;
24  
25  import com.liferay.counter.service.CounterLocalService;
26  import com.liferay.counter.service.CounterService;
27  
28  import com.liferay.mail.service.MailService;
29  
30  import com.liferay.portal.SystemException;
31  import com.liferay.portal.kernel.annotation.BeanReference;
32  import com.liferay.portal.service.CompanyLocalService;
33  import com.liferay.portal.service.CompanyService;
34  import com.liferay.portal.service.PortletPreferencesLocalService;
35  import com.liferay.portal.service.PortletPreferencesService;
36  import com.liferay.portal.service.ResourceLocalService;
37  import com.liferay.portal.service.ResourceService;
38  import com.liferay.portal.service.UserLocalService;
39  import com.liferay.portal.service.UserService;
40  import com.liferay.portal.service.base.PrincipalBean;
41  import com.liferay.portal.service.persistence.CompanyPersistence;
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  import com.liferay.portal.util.PortalUtil;
49  
50  import com.liferay.portlet.calendar.service.CalEventLocalService;
51  import com.liferay.portlet.calendar.service.CalEventService;
52  import com.liferay.portlet.calendar.service.persistence.CalEventFinder;
53  import com.liferay.portlet.calendar.service.persistence.CalEventPersistence;
54  import com.liferay.portlet.expando.service.ExpandoValueLocalService;
55  import com.liferay.portlet.expando.service.ExpandoValueService;
56  import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
57  import com.liferay.portlet.social.service.SocialActivityLocalService;
58  import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
59  import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
60  import com.liferay.portlet.tags.service.TagsAssetLocalService;
61  import com.liferay.portlet.tags.service.TagsAssetService;
62  import com.liferay.portlet.tags.service.TagsEntryLocalService;
63  import com.liferay.portlet.tags.service.TagsEntryService;
64  import com.liferay.portlet.tags.service.persistence.TagsAssetFinder;
65  import com.liferay.portlet.tags.service.persistence.TagsAssetPersistence;
66  import com.liferay.portlet.tags.service.persistence.TagsEntryFinder;
67  import com.liferay.portlet.tags.service.persistence.TagsEntryPersistence;
68  
69  /**
70   * <a href="CalEventServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
71   *
72   * @author Brian Wing Shun Chan
73   *
74   */
75  public abstract class CalEventServiceBaseImpl extends PrincipalBean
76      implements CalEventService {
77      public CalEventLocalService getCalEventLocalService() {
78          return calEventLocalService;
79      }
80  
81      public void setCalEventLocalService(
82          CalEventLocalService calEventLocalService) {
83          this.calEventLocalService = calEventLocalService;
84      }
85  
86      public CalEventService getCalEventService() {
87          return calEventService;
88      }
89  
90      public void setCalEventService(CalEventService calEventService) {
91          this.calEventService = calEventService;
92      }
93  
94      public CalEventPersistence getCalEventPersistence() {
95          return calEventPersistence;
96      }
97  
98      public void setCalEventPersistence(CalEventPersistence calEventPersistence) {
99          this.calEventPersistence = calEventPersistence;
100     }
101 
102     public CalEventFinder getCalEventFinder() {
103         return calEventFinder;
104     }
105 
106     public void setCalEventFinder(CalEventFinder calEventFinder) {
107         this.calEventFinder = calEventFinder;
108     }
109 
110     public CounterLocalService getCounterLocalService() {
111         return counterLocalService;
112     }
113 
114     public void setCounterLocalService(CounterLocalService counterLocalService) {
115         this.counterLocalService = counterLocalService;
116     }
117 
118     public CounterService getCounterService() {
119         return counterService;
120     }
121 
122     public void setCounterService(CounterService counterService) {
123         this.counterService = counterService;
124     }
125 
126     public MailService getMailService() {
127         return mailService;
128     }
129 
130     public void setMailService(MailService mailService) {
131         this.mailService = mailService;
132     }
133 
134     public CompanyLocalService getCompanyLocalService() {
135         return companyLocalService;
136     }
137 
138     public void setCompanyLocalService(CompanyLocalService companyLocalService) {
139         this.companyLocalService = companyLocalService;
140     }
141 
142     public CompanyService getCompanyService() {
143         return companyService;
144     }
145 
146     public void setCompanyService(CompanyService companyService) {
147         this.companyService = companyService;
148     }
149 
150     public CompanyPersistence getCompanyPersistence() {
151         return companyPersistence;
152     }
153 
154     public void setCompanyPersistence(CompanyPersistence companyPersistence) {
155         this.companyPersistence = companyPersistence;
156     }
157 
158     public PortletPreferencesLocalService getPortletPreferencesLocalService() {
159         return portletPreferencesLocalService;
160     }
161 
162     public void setPortletPreferencesLocalService(
163         PortletPreferencesLocalService portletPreferencesLocalService) {
164         this.portletPreferencesLocalService = portletPreferencesLocalService;
165     }
166 
167     public PortletPreferencesService getPortletPreferencesService() {
168         return portletPreferencesService;
169     }
170 
171     public void setPortletPreferencesService(
172         PortletPreferencesService portletPreferencesService) {
173         this.portletPreferencesService = portletPreferencesService;
174     }
175 
176     public PortletPreferencesPersistence getPortletPreferencesPersistence() {
177         return portletPreferencesPersistence;
178     }
179 
180     public void setPortletPreferencesPersistence(
181         PortletPreferencesPersistence portletPreferencesPersistence) {
182         this.portletPreferencesPersistence = portletPreferencesPersistence;
183     }
184 
185     public PortletPreferencesFinder getPortletPreferencesFinder() {
186         return portletPreferencesFinder;
187     }
188 
189     public void setPortletPreferencesFinder(
190         PortletPreferencesFinder portletPreferencesFinder) {
191         this.portletPreferencesFinder = portletPreferencesFinder;
192     }
193 
194     public ResourceLocalService getResourceLocalService() {
195         return resourceLocalService;
196     }
197 
198     public void setResourceLocalService(
199         ResourceLocalService resourceLocalService) {
200         this.resourceLocalService = resourceLocalService;
201     }
202 
203     public ResourceService getResourceService() {
204         return resourceService;
205     }
206 
207     public void setResourceService(ResourceService resourceService) {
208         this.resourceService = resourceService;
209     }
210 
211     public ResourcePersistence getResourcePersistence() {
212         return resourcePersistence;
213     }
214 
215     public void setResourcePersistence(ResourcePersistence resourcePersistence) {
216         this.resourcePersistence = resourcePersistence;
217     }
218 
219     public ResourceFinder getResourceFinder() {
220         return resourceFinder;
221     }
222 
223     public void setResourceFinder(ResourceFinder resourceFinder) {
224         this.resourceFinder = resourceFinder;
225     }
226 
227     public ExpandoValueLocalService getExpandoValueLocalService() {
228         return expandoValueLocalService;
229     }
230 
231     public void setExpandoValueLocalService(
232         ExpandoValueLocalService expandoValueLocalService) {
233         this.expandoValueLocalService = expandoValueLocalService;
234     }
235 
236     public ExpandoValueService getExpandoValueService() {
237         return expandoValueService;
238     }
239 
240     public void setExpandoValueService(ExpandoValueService expandoValueService) {
241         this.expandoValueService = expandoValueService;
242     }
243 
244     public ExpandoValuePersistence getExpandoValuePersistence() {
245         return expandoValuePersistence;
246     }
247 
248     public void setExpandoValuePersistence(
249         ExpandoValuePersistence expandoValuePersistence) {
250         this.expandoValuePersistence = expandoValuePersistence;
251     }
252 
253     public SocialActivityLocalService getSocialActivityLocalService() {
254         return socialActivityLocalService;
255     }
256 
257     public void setSocialActivityLocalService(
258         SocialActivityLocalService socialActivityLocalService) {
259         this.socialActivityLocalService = socialActivityLocalService;
260     }
261 
262     public SocialActivityPersistence getSocialActivityPersistence() {
263         return socialActivityPersistence;
264     }
265 
266     public void setSocialActivityPersistence(
267         SocialActivityPersistence socialActivityPersistence) {
268         this.socialActivityPersistence = socialActivityPersistence;
269     }
270 
271     public SocialActivityFinder getSocialActivityFinder() {
272         return socialActivityFinder;
273     }
274 
275     public void setSocialActivityFinder(
276         SocialActivityFinder socialActivityFinder) {
277         this.socialActivityFinder = socialActivityFinder;
278     }
279 
280     public TagsAssetLocalService getTagsAssetLocalService() {
281         return tagsAssetLocalService;
282     }
283 
284     public void setTagsAssetLocalService(
285         TagsAssetLocalService tagsAssetLocalService) {
286         this.tagsAssetLocalService = tagsAssetLocalService;
287     }
288 
289     public TagsAssetService getTagsAssetService() {
290         return tagsAssetService;
291     }
292 
293     public void setTagsAssetService(TagsAssetService tagsAssetService) {
294         this.tagsAssetService = tagsAssetService;
295     }
296 
297     public TagsAssetPersistence getTagsAssetPersistence() {
298         return tagsAssetPersistence;
299     }
300 
301     public void setTagsAssetPersistence(
302         TagsAssetPersistence tagsAssetPersistence) {
303         this.tagsAssetPersistence = tagsAssetPersistence;
304     }
305 
306     public TagsAssetFinder getTagsAssetFinder() {
307         return tagsAssetFinder;
308     }
309 
310     public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder) {
311         this.tagsAssetFinder = tagsAssetFinder;
312     }
313 
314     public TagsEntryLocalService getTagsEntryLocalService() {
315         return tagsEntryLocalService;
316     }
317 
318     public void setTagsEntryLocalService(
319         TagsEntryLocalService tagsEntryLocalService) {
320         this.tagsEntryLocalService = tagsEntryLocalService;
321     }
322 
323     public TagsEntryService getTagsEntryService() {
324         return tagsEntryService;
325     }
326 
327     public void setTagsEntryService(TagsEntryService tagsEntryService) {
328         this.tagsEntryService = tagsEntryService;
329     }
330 
331     public TagsEntryPersistence getTagsEntryPersistence() {
332         return tagsEntryPersistence;
333     }
334 
335     public void setTagsEntryPersistence(
336         TagsEntryPersistence tagsEntryPersistence) {
337         this.tagsEntryPersistence = tagsEntryPersistence;
338     }
339 
340     public TagsEntryFinder getTagsEntryFinder() {
341         return tagsEntryFinder;
342     }
343 
344     public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
345         this.tagsEntryFinder = tagsEntryFinder;
346     }
347 
348     public UserLocalService getUserLocalService() {
349         return userLocalService;
350     }
351 
352     public void setUserLocalService(UserLocalService userLocalService) {
353         this.userLocalService = userLocalService;
354     }
355 
356     public UserService getUserService() {
357         return userService;
358     }
359 
360     public void setUserService(UserService userService) {
361         this.userService = userService;
362     }
363 
364     public UserPersistence getUserPersistence() {
365         return userPersistence;
366     }
367 
368     public void setUserPersistence(UserPersistence userPersistence) {
369         this.userPersistence = userPersistence;
370     }
371 
372     public UserFinder getUserFinder() {
373         return userFinder;
374     }
375 
376     public void setUserFinder(UserFinder userFinder) {
377         this.userFinder = userFinder;
378     }
379 
380     protected void runSQL(String sql) throws SystemException {
381         try {
382             PortalUtil.runSQL(sql);
383         }
384         catch (Exception e) {
385             throw new SystemException(e);
386         }
387     }
388 
389     @BeanReference(name = "com.liferay.portlet.calendar.service.CalEventLocalService.impl")
390     protected CalEventLocalService calEventLocalService;
391     @BeanReference(name = "com.liferay.portlet.calendar.service.CalEventService.impl")
392     protected CalEventService calEventService;
393     @BeanReference(name = "com.liferay.portlet.calendar.service.persistence.CalEventPersistence.impl")
394     protected CalEventPersistence calEventPersistence;
395     @BeanReference(name = "com.liferay.portlet.calendar.service.persistence.CalEventFinder.impl")
396     protected CalEventFinder calEventFinder;
397     @BeanReference(name = "com.liferay.counter.service.CounterLocalService.impl")
398     protected CounterLocalService counterLocalService;
399     @BeanReference(name = "com.liferay.counter.service.CounterService.impl")
400     protected CounterService counterService;
401     @BeanReference(name = "com.liferay.mail.service.MailService.impl")
402     protected MailService mailService;
403     @BeanReference(name = "com.liferay.portal.service.CompanyLocalService.impl")
404     protected CompanyLocalService companyLocalService;
405     @BeanReference(name = "com.liferay.portal.service.CompanyService.impl")
406     protected CompanyService companyService;
407     @BeanReference(name = "com.liferay.portal.service.persistence.CompanyPersistence.impl")
408     protected CompanyPersistence companyPersistence;
409     @BeanReference(name = "com.liferay.portal.service.PortletPreferencesLocalService.impl")
410     protected PortletPreferencesLocalService portletPreferencesLocalService;
411     @BeanReference(name = "com.liferay.portal.service.PortletPreferencesService.impl")
412     protected PortletPreferencesService portletPreferencesService;
413     @BeanReference(name = "com.liferay.portal.service.persistence.PortletPreferencesPersistence.impl")
414     protected PortletPreferencesPersistence portletPreferencesPersistence;
415     @BeanReference(name = "com.liferay.portal.service.persistence.PortletPreferencesFinder.impl")
416     protected PortletPreferencesFinder portletPreferencesFinder;
417     @BeanReference(name = "com.liferay.portal.service.ResourceLocalService.impl")
418     protected ResourceLocalService resourceLocalService;
419     @BeanReference(name = "com.liferay.portal.service.ResourceService.impl")
420     protected ResourceService resourceService;
421     @BeanReference(name = "com.liferay.portal.service.persistence.ResourcePersistence.impl")
422     protected ResourcePersistence resourcePersistence;
423     @BeanReference(name = "com.liferay.portal.service.persistence.ResourceFinder.impl")
424     protected ResourceFinder resourceFinder;
425     @BeanReference(name = "com.liferay.portlet.expando.service.ExpandoValueLocalService.impl")
426     protected ExpandoValueLocalService expandoValueLocalService;
427     @BeanReference(name = "com.liferay.portlet.expando.service.ExpandoValueService.impl")
428     protected ExpandoValueService expandoValueService;
429     @BeanReference(name = "com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence.impl")
430     protected ExpandoValuePersistence expandoValuePersistence;
431     @BeanReference(name = "com.liferay.portlet.social.service.SocialActivityLocalService.impl")
432     protected SocialActivityLocalService socialActivityLocalService;
433     @BeanReference(name = "com.liferay.portlet.social.service.persistence.SocialActivityPersistence.impl")
434     protected SocialActivityPersistence socialActivityPersistence;
435     @BeanReference(name = "com.liferay.portlet.social.service.persistence.SocialActivityFinder.impl")
436     protected SocialActivityFinder socialActivityFinder;
437     @BeanReference(name = "com.liferay.portlet.tags.service.TagsAssetLocalService.impl")
438     protected TagsAssetLocalService tagsAssetLocalService;
439     @BeanReference(name = "com.liferay.portlet.tags.service.TagsAssetService.impl")
440     protected TagsAssetService tagsAssetService;
441     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsAssetPersistence.impl")
442     protected TagsAssetPersistence tagsAssetPersistence;
443     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsAssetFinder.impl")
444     protected TagsAssetFinder tagsAssetFinder;
445     @BeanReference(name = "com.liferay.portlet.tags.service.TagsEntryLocalService.impl")
446     protected TagsEntryLocalService tagsEntryLocalService;
447     @BeanReference(name = "com.liferay.portlet.tags.service.TagsEntryService.impl")
448     protected TagsEntryService tagsEntryService;
449     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsEntryPersistence.impl")
450     protected TagsEntryPersistence tagsEntryPersistence;
451     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsEntryFinder.impl")
452     protected TagsEntryFinder tagsEntryFinder;
453     @BeanReference(name = "com.liferay.portal.service.UserLocalService.impl")
454     protected UserLocalService userLocalService;
455     @BeanReference(name = "com.liferay.portal.service.UserService.impl")
456     protected UserService userService;
457     @BeanReference(name = "com.liferay.portal.service.persistence.UserPersistence.impl")
458     protected UserPersistence userPersistence;
459     @BeanReference(name = "com.liferay.portal.service.persistence.UserFinder.impl")
460     protected UserFinder userFinder;
461 }