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