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