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