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