1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.tags.service.base;
16  
17  import com.liferay.counter.service.CounterLocalService;
18  import com.liferay.counter.service.CounterService;
19  
20  import com.liferay.portal.SystemException;
21  import com.liferay.portal.kernel.annotation.BeanReference;
22  import com.liferay.portal.kernel.dao.db.DB;
23  import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
24  import com.liferay.portal.service.ResourceLocalService;
25  import com.liferay.portal.service.ResourceService;
26  import com.liferay.portal.service.UserLocalService;
27  import com.liferay.portal.service.UserService;
28  import com.liferay.portal.service.base.PrincipalBean;
29  import com.liferay.portal.service.persistence.ResourceFinder;
30  import com.liferay.portal.service.persistence.ResourcePersistence;
31  import com.liferay.portal.service.persistence.UserFinder;
32  import com.liferay.portal.service.persistence.UserPersistence;
33  
34  import com.liferay.portlet.tags.service.TagsAssetLocalService;
35  import com.liferay.portlet.tags.service.TagsAssetService;
36  import com.liferay.portlet.tags.service.TagsEntryLocalService;
37  import com.liferay.portlet.tags.service.TagsEntryService;
38  import com.liferay.portlet.tags.service.TagsPropertyLocalService;
39  import com.liferay.portlet.tags.service.TagsPropertyService;
40  import com.liferay.portlet.tags.service.TagsSourceLocalService;
41  import com.liferay.portlet.tags.service.TagsSourceService;
42  import com.liferay.portlet.tags.service.TagsVocabularyLocalService;
43  import com.liferay.portlet.tags.service.TagsVocabularyService;
44  import com.liferay.portlet.tags.service.persistence.TagsAssetFinder;
45  import com.liferay.portlet.tags.service.persistence.TagsAssetPersistence;
46  import com.liferay.portlet.tags.service.persistence.TagsEntryFinder;
47  import com.liferay.portlet.tags.service.persistence.TagsEntryPersistence;
48  import com.liferay.portlet.tags.service.persistence.TagsPropertyFinder;
49  import com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder;
50  import com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence;
51  import com.liferay.portlet.tags.service.persistence.TagsSourcePersistence;
52  import com.liferay.portlet.tags.service.persistence.TagsVocabularyPersistence;
53  
54  /**
55   * <a href="TagsVocabularyServiceBaseImpl.java.html"><b><i>View Source</i></b>
56   * </a>
57   *
58   * @author Brian Wing Shun Chan
59   */
60  public abstract class TagsVocabularyServiceBaseImpl extends PrincipalBean
61      implements TagsVocabularyService {
62      public TagsAssetLocalService getTagsAssetLocalService() {
63          return tagsAssetLocalService;
64      }
65  
66      public void setTagsAssetLocalService(
67          TagsAssetLocalService tagsAssetLocalService) {
68          this.tagsAssetLocalService = tagsAssetLocalService;
69      }
70  
71      public TagsAssetService getTagsAssetService() {
72          return tagsAssetService;
73      }
74  
75      public void setTagsAssetService(TagsAssetService tagsAssetService) {
76          this.tagsAssetService = tagsAssetService;
77      }
78  
79      public TagsAssetPersistence getTagsAssetPersistence() {
80          return tagsAssetPersistence;
81      }
82  
83      public void setTagsAssetPersistence(
84          TagsAssetPersistence tagsAssetPersistence) {
85          this.tagsAssetPersistence = tagsAssetPersistence;
86      }
87  
88      public TagsAssetFinder getTagsAssetFinder() {
89          return tagsAssetFinder;
90      }
91  
92      public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder) {
93          this.tagsAssetFinder = tagsAssetFinder;
94      }
95  
96      public TagsEntryLocalService getTagsEntryLocalService() {
97          return tagsEntryLocalService;
98      }
99  
100     public void setTagsEntryLocalService(
101         TagsEntryLocalService tagsEntryLocalService) {
102         this.tagsEntryLocalService = tagsEntryLocalService;
103     }
104 
105     public TagsEntryService getTagsEntryService() {
106         return tagsEntryService;
107     }
108 
109     public void setTagsEntryService(TagsEntryService tagsEntryService) {
110         this.tagsEntryService = tagsEntryService;
111     }
112 
113     public TagsEntryPersistence getTagsEntryPersistence() {
114         return tagsEntryPersistence;
115     }
116 
117     public void setTagsEntryPersistence(
118         TagsEntryPersistence tagsEntryPersistence) {
119         this.tagsEntryPersistence = tagsEntryPersistence;
120     }
121 
122     public TagsEntryFinder getTagsEntryFinder() {
123         return tagsEntryFinder;
124     }
125 
126     public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
127         this.tagsEntryFinder = tagsEntryFinder;
128     }
129 
130     public TagsPropertyLocalService getTagsPropertyLocalService() {
131         return tagsPropertyLocalService;
132     }
133 
134     public void setTagsPropertyLocalService(
135         TagsPropertyLocalService tagsPropertyLocalService) {
136         this.tagsPropertyLocalService = tagsPropertyLocalService;
137     }
138 
139     public TagsPropertyService getTagsPropertyService() {
140         return tagsPropertyService;
141     }
142 
143     public void setTagsPropertyService(TagsPropertyService tagsPropertyService) {
144         this.tagsPropertyService = tagsPropertyService;
145     }
146 
147     public TagsPropertyPersistence getTagsPropertyPersistence() {
148         return tagsPropertyPersistence;
149     }
150 
151     public void setTagsPropertyPersistence(
152         TagsPropertyPersistence tagsPropertyPersistence) {
153         this.tagsPropertyPersistence = tagsPropertyPersistence;
154     }
155 
156     public TagsPropertyFinder getTagsPropertyFinder() {
157         return tagsPropertyFinder;
158     }
159 
160     public void setTagsPropertyFinder(TagsPropertyFinder tagsPropertyFinder) {
161         this.tagsPropertyFinder = tagsPropertyFinder;
162     }
163 
164     public TagsPropertyKeyFinder getTagsPropertyKeyFinder() {
165         return tagsPropertyKeyFinder;
166     }
167 
168     public void setTagsPropertyKeyFinder(
169         TagsPropertyKeyFinder tagsPropertyKeyFinder) {
170         this.tagsPropertyKeyFinder = tagsPropertyKeyFinder;
171     }
172 
173     public TagsSourceLocalService getTagsSourceLocalService() {
174         return tagsSourceLocalService;
175     }
176 
177     public void setTagsSourceLocalService(
178         TagsSourceLocalService tagsSourceLocalService) {
179         this.tagsSourceLocalService = tagsSourceLocalService;
180     }
181 
182     public TagsSourceService getTagsSourceService() {
183         return tagsSourceService;
184     }
185 
186     public void setTagsSourceService(TagsSourceService tagsSourceService) {
187         this.tagsSourceService = tagsSourceService;
188     }
189 
190     public TagsSourcePersistence getTagsSourcePersistence() {
191         return tagsSourcePersistence;
192     }
193 
194     public void setTagsSourcePersistence(
195         TagsSourcePersistence tagsSourcePersistence) {
196         this.tagsSourcePersistence = tagsSourcePersistence;
197     }
198 
199     public TagsVocabularyLocalService getTagsVocabularyLocalService() {
200         return tagsVocabularyLocalService;
201     }
202 
203     public void setTagsVocabularyLocalService(
204         TagsVocabularyLocalService tagsVocabularyLocalService) {
205         this.tagsVocabularyLocalService = tagsVocabularyLocalService;
206     }
207 
208     public TagsVocabularyService getTagsVocabularyService() {
209         return tagsVocabularyService;
210     }
211 
212     public void setTagsVocabularyService(
213         TagsVocabularyService tagsVocabularyService) {
214         this.tagsVocabularyService = tagsVocabularyService;
215     }
216 
217     public TagsVocabularyPersistence getTagsVocabularyPersistence() {
218         return tagsVocabularyPersistence;
219     }
220 
221     public void setTagsVocabularyPersistence(
222         TagsVocabularyPersistence tagsVocabularyPersistence) {
223         this.tagsVocabularyPersistence = tagsVocabularyPersistence;
224     }
225 
226     public CounterLocalService getCounterLocalService() {
227         return counterLocalService;
228     }
229 
230     public void setCounterLocalService(CounterLocalService counterLocalService) {
231         this.counterLocalService = counterLocalService;
232     }
233 
234     public CounterService getCounterService() {
235         return counterService;
236     }
237 
238     public void setCounterService(CounterService counterService) {
239         this.counterService = counterService;
240     }
241 
242     public ResourceLocalService getResourceLocalService() {
243         return resourceLocalService;
244     }
245 
246     public void setResourceLocalService(
247         ResourceLocalService resourceLocalService) {
248         this.resourceLocalService = resourceLocalService;
249     }
250 
251     public ResourceService getResourceService() {
252         return resourceService;
253     }
254 
255     public void setResourceService(ResourceService resourceService) {
256         this.resourceService = resourceService;
257     }
258 
259     public ResourcePersistence getResourcePersistence() {
260         return resourcePersistence;
261     }
262 
263     public void setResourcePersistence(ResourcePersistence resourcePersistence) {
264         this.resourcePersistence = resourcePersistence;
265     }
266 
267     public ResourceFinder getResourceFinder() {
268         return resourceFinder;
269     }
270 
271     public void setResourceFinder(ResourceFinder resourceFinder) {
272         this.resourceFinder = resourceFinder;
273     }
274 
275     public UserLocalService getUserLocalService() {
276         return userLocalService;
277     }
278 
279     public void setUserLocalService(UserLocalService userLocalService) {
280         this.userLocalService = userLocalService;
281     }
282 
283     public UserService getUserService() {
284         return userService;
285     }
286 
287     public void setUserService(UserService userService) {
288         this.userService = userService;
289     }
290 
291     public UserPersistence getUserPersistence() {
292         return userPersistence;
293     }
294 
295     public void setUserPersistence(UserPersistence userPersistence) {
296         this.userPersistence = userPersistence;
297     }
298 
299     public UserFinder getUserFinder() {
300         return userFinder;
301     }
302 
303     public void setUserFinder(UserFinder userFinder) {
304         this.userFinder = userFinder;
305     }
306 
307     protected void runSQL(String sql) throws SystemException {
308         try {
309             DB db = DBFactoryUtil.getDB();
310 
311             db.runSQL(sql);
312         }
313         catch (Exception e) {
314             throw new SystemException(e);
315         }
316     }
317 
318     @BeanReference(type = TagsAssetLocalService.class)
319     protected TagsAssetLocalService tagsAssetLocalService;
320     @BeanReference(type = TagsAssetService.class)
321     protected TagsAssetService tagsAssetService;
322     @BeanReference(type = TagsAssetPersistence.class)
323     protected TagsAssetPersistence tagsAssetPersistence;
324     @BeanReference(type = TagsAssetFinder.class)
325     protected TagsAssetFinder tagsAssetFinder;
326     @BeanReference(type = TagsEntryLocalService.class)
327     protected TagsEntryLocalService tagsEntryLocalService;
328     @BeanReference(type = TagsEntryService.class)
329     protected TagsEntryService tagsEntryService;
330     @BeanReference(type = TagsEntryPersistence.class)
331     protected TagsEntryPersistence tagsEntryPersistence;
332     @BeanReference(type = TagsEntryFinder.class)
333     protected TagsEntryFinder tagsEntryFinder;
334     @BeanReference(type = TagsPropertyLocalService.class)
335     protected TagsPropertyLocalService tagsPropertyLocalService;
336     @BeanReference(type = TagsPropertyService.class)
337     protected TagsPropertyService tagsPropertyService;
338     @BeanReference(type = TagsPropertyPersistence.class)
339     protected TagsPropertyPersistence tagsPropertyPersistence;
340     @BeanReference(type = TagsPropertyFinder.class)
341     protected TagsPropertyFinder tagsPropertyFinder;
342     @BeanReference(type = TagsPropertyKeyFinder.class)
343     protected TagsPropertyKeyFinder tagsPropertyKeyFinder;
344     @BeanReference(type = TagsSourceLocalService.class)
345     protected TagsSourceLocalService tagsSourceLocalService;
346     @BeanReference(type = TagsSourceService.class)
347     protected TagsSourceService tagsSourceService;
348     @BeanReference(type = TagsSourcePersistence.class)
349     protected TagsSourcePersistence tagsSourcePersistence;
350     @BeanReference(type = TagsVocabularyLocalService.class)
351     protected TagsVocabularyLocalService tagsVocabularyLocalService;
352     @BeanReference(type = TagsVocabularyService.class)
353     protected TagsVocabularyService tagsVocabularyService;
354     @BeanReference(type = TagsVocabularyPersistence.class)
355     protected TagsVocabularyPersistence tagsVocabularyPersistence;
356     @BeanReference(type = CounterLocalService.class)
357     protected CounterLocalService counterLocalService;
358     @BeanReference(type = CounterService.class)
359     protected CounterService counterService;
360     @BeanReference(type = ResourceLocalService.class)
361     protected ResourceLocalService resourceLocalService;
362     @BeanReference(type = ResourceService.class)
363     protected ResourceService resourceService;
364     @BeanReference(type = ResourcePersistence.class)
365     protected ResourcePersistence resourcePersistence;
366     @BeanReference(type = ResourceFinder.class)
367     protected ResourceFinder resourceFinder;
368     @BeanReference(type = UserLocalService.class)
369     protected UserLocalService userLocalService;
370     @BeanReference(type = UserService.class)
371     protected UserService userService;
372     @BeanReference(type = UserPersistence.class)
373     protected UserPersistence userPersistence;
374     @BeanReference(type = UserFinder.class)
375     protected UserFinder userFinder;
376 }