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