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.social.service.SocialActivityLocalService;
55  import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
56  import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
57  
58  /**
59   * <a href="CalEventServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
60   *
61   * @author Brian Wing Shun Chan
62   *
63   */
64  public abstract class CalEventServiceBaseImpl extends PrincipalBean
65      implements CalEventService {
66      public CalEventLocalService getCalEventLocalService() {
67          return calEventLocalService;
68      }
69  
70      public void setCalEventLocalService(
71          CalEventLocalService calEventLocalService) {
72          this.calEventLocalService = calEventLocalService;
73      }
74  
75      public CalEventService getCalEventService() {
76          return calEventService;
77      }
78  
79      public void setCalEventService(CalEventService calEventService) {
80          this.calEventService = calEventService;
81      }
82  
83      public CalEventPersistence getCalEventPersistence() {
84          return calEventPersistence;
85      }
86  
87      public void setCalEventPersistence(CalEventPersistence calEventPersistence) {
88          this.calEventPersistence = calEventPersistence;
89      }
90  
91      public CalEventFinder getCalEventFinder() {
92          return calEventFinder;
93      }
94  
95      public void setCalEventFinder(CalEventFinder calEventFinder) {
96          this.calEventFinder = calEventFinder;
97      }
98  
99      public CounterLocalService getCounterLocalService() {
100         return counterLocalService;
101     }
102 
103     public void setCounterLocalService(CounterLocalService counterLocalService) {
104         this.counterLocalService = counterLocalService;
105     }
106 
107     public CounterService getCounterService() {
108         return counterService;
109     }
110 
111     public void setCounterService(CounterService counterService) {
112         this.counterService = counterService;
113     }
114 
115     public MailService getMailService() {
116         return mailService;
117     }
118 
119     public void setMailService(MailService mailService) {
120         this.mailService = mailService;
121     }
122 
123     public CompanyLocalService getCompanyLocalService() {
124         return companyLocalService;
125     }
126 
127     public void setCompanyLocalService(CompanyLocalService companyLocalService) {
128         this.companyLocalService = companyLocalService;
129     }
130 
131     public CompanyService getCompanyService() {
132         return companyService;
133     }
134 
135     public void setCompanyService(CompanyService companyService) {
136         this.companyService = companyService;
137     }
138 
139     public CompanyPersistence getCompanyPersistence() {
140         return companyPersistence;
141     }
142 
143     public void setCompanyPersistence(CompanyPersistence companyPersistence) {
144         this.companyPersistence = companyPersistence;
145     }
146 
147     public PortletPreferencesLocalService getPortletPreferencesLocalService() {
148         return portletPreferencesLocalService;
149     }
150 
151     public void setPortletPreferencesLocalService(
152         PortletPreferencesLocalService portletPreferencesLocalService) {
153         this.portletPreferencesLocalService = portletPreferencesLocalService;
154     }
155 
156     public PortletPreferencesService getPortletPreferencesService() {
157         return portletPreferencesService;
158     }
159 
160     public void setPortletPreferencesService(
161         PortletPreferencesService portletPreferencesService) {
162         this.portletPreferencesService = portletPreferencesService;
163     }
164 
165     public PortletPreferencesPersistence getPortletPreferencesPersistence() {
166         return portletPreferencesPersistence;
167     }
168 
169     public void setPortletPreferencesPersistence(
170         PortletPreferencesPersistence portletPreferencesPersistence) {
171         this.portletPreferencesPersistence = portletPreferencesPersistence;
172     }
173 
174     public PortletPreferencesFinder getPortletPreferencesFinder() {
175         return portletPreferencesFinder;
176     }
177 
178     public void setPortletPreferencesFinder(
179         PortletPreferencesFinder portletPreferencesFinder) {
180         this.portletPreferencesFinder = portletPreferencesFinder;
181     }
182 
183     public ResourceLocalService getResourceLocalService() {
184         return resourceLocalService;
185     }
186 
187     public void setResourceLocalService(
188         ResourceLocalService resourceLocalService) {
189         this.resourceLocalService = resourceLocalService;
190     }
191 
192     public ResourceService getResourceService() {
193         return resourceService;
194     }
195 
196     public void setResourceService(ResourceService resourceService) {
197         this.resourceService = resourceService;
198     }
199 
200     public ResourcePersistence getResourcePersistence() {
201         return resourcePersistence;
202     }
203 
204     public void setResourcePersistence(ResourcePersistence resourcePersistence) {
205         this.resourcePersistence = resourcePersistence;
206     }
207 
208     public ResourceFinder getResourceFinder() {
209         return resourceFinder;
210     }
211 
212     public void setResourceFinder(ResourceFinder resourceFinder) {
213         this.resourceFinder = resourceFinder;
214     }
215 
216     public SocialActivityLocalService getSocialActivityLocalService() {
217         return socialActivityLocalService;
218     }
219 
220     public void setSocialActivityLocalService(
221         SocialActivityLocalService socialActivityLocalService) {
222         this.socialActivityLocalService = socialActivityLocalService;
223     }
224 
225     public SocialActivityPersistence getSocialActivityPersistence() {
226         return socialActivityPersistence;
227     }
228 
229     public void setSocialActivityPersistence(
230         SocialActivityPersistence socialActivityPersistence) {
231         this.socialActivityPersistence = socialActivityPersistence;
232     }
233 
234     public SocialActivityFinder getSocialActivityFinder() {
235         return socialActivityFinder;
236     }
237 
238     public void setSocialActivityFinder(
239         SocialActivityFinder socialActivityFinder) {
240         this.socialActivityFinder = socialActivityFinder;
241     }
242 
243     public UserLocalService getUserLocalService() {
244         return userLocalService;
245     }
246 
247     public void setUserLocalService(UserLocalService userLocalService) {
248         this.userLocalService = userLocalService;
249     }
250 
251     public UserService getUserService() {
252         return userService;
253     }
254 
255     public void setUserService(UserService userService) {
256         this.userService = userService;
257     }
258 
259     public UserPersistence getUserPersistence() {
260         return userPersistence;
261     }
262 
263     public void setUserPersistence(UserPersistence userPersistence) {
264         this.userPersistence = userPersistence;
265     }
266 
267     public UserFinder getUserFinder() {
268         return userFinder;
269     }
270 
271     public void setUserFinder(UserFinder userFinder) {
272         this.userFinder = userFinder;
273     }
274 
275     protected void runSQL(String sql) throws SystemException {
276         try {
277             PortalUtil.runSQL(sql);
278         }
279         catch (Exception e) {
280             throw new SystemException(e);
281         }
282     }
283 
284     @BeanReference(name = "com.liferay.portlet.calendar.service.CalEventLocalService.impl")
285     protected CalEventLocalService calEventLocalService;
286     @BeanReference(name = "com.liferay.portlet.calendar.service.CalEventService.impl")
287     protected CalEventService calEventService;
288     @BeanReference(name = "com.liferay.portlet.calendar.service.persistence.CalEventPersistence.impl")
289     protected CalEventPersistence calEventPersistence;
290     @BeanReference(name = "com.liferay.portlet.calendar.service.persistence.CalEventFinder.impl")
291     protected CalEventFinder calEventFinder;
292     @BeanReference(name = "com.liferay.counter.service.CounterLocalService.impl")
293     protected CounterLocalService counterLocalService;
294     @BeanReference(name = "com.liferay.counter.service.CounterService.impl")
295     protected CounterService counterService;
296     @BeanReference(name = "com.liferay.mail.service.MailService.impl")
297     protected MailService mailService;
298     @BeanReference(name = "com.liferay.portal.service.CompanyLocalService.impl")
299     protected CompanyLocalService companyLocalService;
300     @BeanReference(name = "com.liferay.portal.service.CompanyService.impl")
301     protected CompanyService companyService;
302     @BeanReference(name = "com.liferay.portal.service.persistence.CompanyPersistence.impl")
303     protected CompanyPersistence companyPersistence;
304     @BeanReference(name = "com.liferay.portal.service.PortletPreferencesLocalService.impl")
305     protected PortletPreferencesLocalService portletPreferencesLocalService;
306     @BeanReference(name = "com.liferay.portal.service.PortletPreferencesService.impl")
307     protected PortletPreferencesService portletPreferencesService;
308     @BeanReference(name = "com.liferay.portal.service.persistence.PortletPreferencesPersistence.impl")
309     protected PortletPreferencesPersistence portletPreferencesPersistence;
310     @BeanReference(name = "com.liferay.portal.service.persistence.PortletPreferencesFinder.impl")
311     protected PortletPreferencesFinder portletPreferencesFinder;
312     @BeanReference(name = "com.liferay.portal.service.ResourceLocalService.impl")
313     protected ResourceLocalService resourceLocalService;
314     @BeanReference(name = "com.liferay.portal.service.ResourceService.impl")
315     protected ResourceService resourceService;
316     @BeanReference(name = "com.liferay.portal.service.persistence.ResourcePersistence.impl")
317     protected ResourcePersistence resourcePersistence;
318     @BeanReference(name = "com.liferay.portal.service.persistence.ResourceFinder.impl")
319     protected ResourceFinder resourceFinder;
320     @BeanReference(name = "com.liferay.portlet.social.service.SocialActivityLocalService.impl")
321     protected SocialActivityLocalService socialActivityLocalService;
322     @BeanReference(name = "com.liferay.portlet.social.service.persistence.SocialActivityPersistence.impl")
323     protected SocialActivityPersistence socialActivityPersistence;
324     @BeanReference(name = "com.liferay.portlet.social.service.persistence.SocialActivityFinder.impl")
325     protected SocialActivityFinder socialActivityFinder;
326     @BeanReference(name = "com.liferay.portal.service.UserLocalService.impl")
327     protected UserLocalService userLocalService;
328     @BeanReference(name = "com.liferay.portal.service.UserService.impl")
329     protected UserService userService;
330     @BeanReference(name = "com.liferay.portal.service.persistence.UserPersistence.impl")
331     protected UserPersistence userPersistence;
332     @BeanReference(name = "com.liferay.portal.service.persistence.UserFinder.impl")
333     protected UserFinder userFinder;
334 }