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.asset.service.base;
16  
17  import com.liferay.counter.service.CounterLocalService;
18  
19  import com.liferay.portal.kernel.annotation.BeanReference;
20  import com.liferay.portal.kernel.dao.db.DB;
21  import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
22  import com.liferay.portal.kernel.exception.SystemException;
23  import com.liferay.portal.service.GroupLocalService;
24  import com.liferay.portal.service.GroupService;
25  import com.liferay.portal.service.ResourceLocalService;
26  import com.liferay.portal.service.ResourceService;
27  import com.liferay.portal.service.UserLocalService;
28  import com.liferay.portal.service.UserService;
29  import com.liferay.portal.service.base.PrincipalBean;
30  import com.liferay.portal.service.persistence.GroupFinder;
31  import com.liferay.portal.service.persistence.GroupPersistence;
32  import com.liferay.portal.service.persistence.ResourceFinder;
33  import com.liferay.portal.service.persistence.ResourcePersistence;
34  import com.liferay.portal.service.persistence.UserFinder;
35  import com.liferay.portal.service.persistence.UserPersistence;
36  
37  import com.liferay.portlet.asset.service.AssetCategoryLocalService;
38  import com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService;
39  import com.liferay.portlet.asset.service.AssetCategoryPropertyService;
40  import com.liferay.portlet.asset.service.AssetCategoryService;
41  import com.liferay.portlet.asset.service.AssetEntryLocalService;
42  import com.liferay.portlet.asset.service.AssetEntryService;
43  import com.liferay.portlet.asset.service.AssetLinkLocalService;
44  import com.liferay.portlet.asset.service.AssetTagLocalService;
45  import com.liferay.portlet.asset.service.AssetTagPropertyLocalService;
46  import com.liferay.portlet.asset.service.AssetTagPropertyService;
47  import com.liferay.portlet.asset.service.AssetTagService;
48  import com.liferay.portlet.asset.service.AssetTagStatsLocalService;
49  import com.liferay.portlet.asset.service.AssetVocabularyLocalService;
50  import com.liferay.portlet.asset.service.AssetVocabularyService;
51  import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
52  import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
53  import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyFinder;
54  import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence;
55  import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
56  import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
57  import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
58  import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
59  import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
60  import com.liferay.portlet.asset.service.persistence.AssetTagPropertyFinder;
61  import com.liferay.portlet.asset.service.persistence.AssetTagPropertyKeyFinder;
62  import com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence;
63  import com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence;
64  import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence;
65  
66  /**
67   * <a href="AssetVocabularyServiceBaseImpl.java.html"><b><i>View Source</i></b>
68   * </a>
69   *
70   * @author Brian Wing Shun Chan
71   */
72  public abstract class AssetVocabularyServiceBaseImpl extends PrincipalBean
73      implements AssetVocabularyService {
74      public AssetCategoryLocalService getAssetCategoryLocalService() {
75          return assetCategoryLocalService;
76      }
77  
78      public void setAssetCategoryLocalService(
79          AssetCategoryLocalService assetCategoryLocalService) {
80          this.assetCategoryLocalService = assetCategoryLocalService;
81      }
82  
83      public AssetCategoryService getAssetCategoryService() {
84          return assetCategoryService;
85      }
86  
87      public void setAssetCategoryService(
88          AssetCategoryService assetCategoryService) {
89          this.assetCategoryService = assetCategoryService;
90      }
91  
92      public AssetCategoryPersistence getAssetCategoryPersistence() {
93          return assetCategoryPersistence;
94      }
95  
96      public void setAssetCategoryPersistence(
97          AssetCategoryPersistence assetCategoryPersistence) {
98          this.assetCategoryPersistence = assetCategoryPersistence;
99      }
100 
101     public AssetCategoryFinder getAssetCategoryFinder() {
102         return assetCategoryFinder;
103     }
104 
105     public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
106         this.assetCategoryFinder = assetCategoryFinder;
107     }
108 
109     public AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService() {
110         return assetCategoryPropertyLocalService;
111     }
112 
113     public void setAssetCategoryPropertyLocalService(
114         AssetCategoryPropertyLocalService assetCategoryPropertyLocalService) {
115         this.assetCategoryPropertyLocalService = assetCategoryPropertyLocalService;
116     }
117 
118     public AssetCategoryPropertyService getAssetCategoryPropertyService() {
119         return assetCategoryPropertyService;
120     }
121 
122     public void setAssetCategoryPropertyService(
123         AssetCategoryPropertyService assetCategoryPropertyService) {
124         this.assetCategoryPropertyService = assetCategoryPropertyService;
125     }
126 
127     public AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence() {
128         return assetCategoryPropertyPersistence;
129     }
130 
131     public void setAssetCategoryPropertyPersistence(
132         AssetCategoryPropertyPersistence assetCategoryPropertyPersistence) {
133         this.assetCategoryPropertyPersistence = assetCategoryPropertyPersistence;
134     }
135 
136     public AssetCategoryPropertyFinder getAssetCategoryPropertyFinder() {
137         return assetCategoryPropertyFinder;
138     }
139 
140     public void setAssetCategoryPropertyFinder(
141         AssetCategoryPropertyFinder assetCategoryPropertyFinder) {
142         this.assetCategoryPropertyFinder = assetCategoryPropertyFinder;
143     }
144 
145     public AssetEntryLocalService getAssetEntryLocalService() {
146         return assetEntryLocalService;
147     }
148 
149     public void setAssetEntryLocalService(
150         AssetEntryLocalService assetEntryLocalService) {
151         this.assetEntryLocalService = assetEntryLocalService;
152     }
153 
154     public AssetEntryService getAssetEntryService() {
155         return assetEntryService;
156     }
157 
158     public void setAssetEntryService(AssetEntryService assetEntryService) {
159         this.assetEntryService = assetEntryService;
160     }
161 
162     public AssetEntryPersistence getAssetEntryPersistence() {
163         return assetEntryPersistence;
164     }
165 
166     public void setAssetEntryPersistence(
167         AssetEntryPersistence assetEntryPersistence) {
168         this.assetEntryPersistence = assetEntryPersistence;
169     }
170 
171     public AssetEntryFinder getAssetEntryFinder() {
172         return assetEntryFinder;
173     }
174 
175     public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
176         this.assetEntryFinder = assetEntryFinder;
177     }
178 
179     public AssetLinkLocalService getAssetLinkLocalService() {
180         return assetLinkLocalService;
181     }
182 
183     public void setAssetLinkLocalService(
184         AssetLinkLocalService assetLinkLocalService) {
185         this.assetLinkLocalService = assetLinkLocalService;
186     }
187 
188     public AssetLinkPersistence getAssetLinkPersistence() {
189         return assetLinkPersistence;
190     }
191 
192     public void setAssetLinkPersistence(
193         AssetLinkPersistence assetLinkPersistence) {
194         this.assetLinkPersistence = assetLinkPersistence;
195     }
196 
197     public AssetTagLocalService getAssetTagLocalService() {
198         return assetTagLocalService;
199     }
200 
201     public void setAssetTagLocalService(
202         AssetTagLocalService assetTagLocalService) {
203         this.assetTagLocalService = assetTagLocalService;
204     }
205 
206     public AssetTagService getAssetTagService() {
207         return assetTagService;
208     }
209 
210     public void setAssetTagService(AssetTagService assetTagService) {
211         this.assetTagService = assetTagService;
212     }
213 
214     public AssetTagPersistence getAssetTagPersistence() {
215         return assetTagPersistence;
216     }
217 
218     public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
219         this.assetTagPersistence = assetTagPersistence;
220     }
221 
222     public AssetTagFinder getAssetTagFinder() {
223         return assetTagFinder;
224     }
225 
226     public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
227         this.assetTagFinder = assetTagFinder;
228     }
229 
230     public AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
231         return assetTagPropertyLocalService;
232     }
233 
234     public void setAssetTagPropertyLocalService(
235         AssetTagPropertyLocalService assetTagPropertyLocalService) {
236         this.assetTagPropertyLocalService = assetTagPropertyLocalService;
237     }
238 
239     public AssetTagPropertyService getAssetTagPropertyService() {
240         return assetTagPropertyService;
241     }
242 
243     public void setAssetTagPropertyService(
244         AssetTagPropertyService assetTagPropertyService) {
245         this.assetTagPropertyService = assetTagPropertyService;
246     }
247 
248     public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
249         return assetTagPropertyPersistence;
250     }
251 
252     public void setAssetTagPropertyPersistence(
253         AssetTagPropertyPersistence assetTagPropertyPersistence) {
254         this.assetTagPropertyPersistence = assetTagPropertyPersistence;
255     }
256 
257     public AssetTagPropertyFinder getAssetTagPropertyFinder() {
258         return assetTagPropertyFinder;
259     }
260 
261     public void setAssetTagPropertyFinder(
262         AssetTagPropertyFinder assetTagPropertyFinder) {
263         this.assetTagPropertyFinder = assetTagPropertyFinder;
264     }
265 
266     public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
267         return assetTagPropertyKeyFinder;
268     }
269 
270     public void setAssetTagPropertyKeyFinder(
271         AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
272         this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
273     }
274 
275     public AssetTagStatsLocalService getAssetTagStatsLocalService() {
276         return assetTagStatsLocalService;
277     }
278 
279     public void setAssetTagStatsLocalService(
280         AssetTagStatsLocalService assetTagStatsLocalService) {
281         this.assetTagStatsLocalService = assetTagStatsLocalService;
282     }
283 
284     public AssetTagStatsPersistence getAssetTagStatsPersistence() {
285         return assetTagStatsPersistence;
286     }
287 
288     public void setAssetTagStatsPersistence(
289         AssetTagStatsPersistence assetTagStatsPersistence) {
290         this.assetTagStatsPersistence = assetTagStatsPersistence;
291     }
292 
293     public AssetVocabularyLocalService getAssetVocabularyLocalService() {
294         return assetVocabularyLocalService;
295     }
296 
297     public void setAssetVocabularyLocalService(
298         AssetVocabularyLocalService assetVocabularyLocalService) {
299         this.assetVocabularyLocalService = assetVocabularyLocalService;
300     }
301 
302     public AssetVocabularyService getAssetVocabularyService() {
303         return assetVocabularyService;
304     }
305 
306     public void setAssetVocabularyService(
307         AssetVocabularyService assetVocabularyService) {
308         this.assetVocabularyService = assetVocabularyService;
309     }
310 
311     public AssetVocabularyPersistence getAssetVocabularyPersistence() {
312         return assetVocabularyPersistence;
313     }
314 
315     public void setAssetVocabularyPersistence(
316         AssetVocabularyPersistence assetVocabularyPersistence) {
317         this.assetVocabularyPersistence = assetVocabularyPersistence;
318     }
319 
320     public CounterLocalService getCounterLocalService() {
321         return counterLocalService;
322     }
323 
324     public void setCounterLocalService(CounterLocalService counterLocalService) {
325         this.counterLocalService = counterLocalService;
326     }
327 
328     public GroupLocalService getGroupLocalService() {
329         return groupLocalService;
330     }
331 
332     public void setGroupLocalService(GroupLocalService groupLocalService) {
333         this.groupLocalService = groupLocalService;
334     }
335 
336     public GroupService getGroupService() {
337         return groupService;
338     }
339 
340     public void setGroupService(GroupService groupService) {
341         this.groupService = groupService;
342     }
343 
344     public GroupPersistence getGroupPersistence() {
345         return groupPersistence;
346     }
347 
348     public void setGroupPersistence(GroupPersistence groupPersistence) {
349         this.groupPersistence = groupPersistence;
350     }
351 
352     public GroupFinder getGroupFinder() {
353         return groupFinder;
354     }
355 
356     public void setGroupFinder(GroupFinder groupFinder) {
357         this.groupFinder = groupFinder;
358     }
359 
360     public ResourceLocalService getResourceLocalService() {
361         return resourceLocalService;
362     }
363 
364     public void setResourceLocalService(
365         ResourceLocalService resourceLocalService) {
366         this.resourceLocalService = resourceLocalService;
367     }
368 
369     public ResourceService getResourceService() {
370         return resourceService;
371     }
372 
373     public void setResourceService(ResourceService resourceService) {
374         this.resourceService = resourceService;
375     }
376 
377     public ResourcePersistence getResourcePersistence() {
378         return resourcePersistence;
379     }
380 
381     public void setResourcePersistence(ResourcePersistence resourcePersistence) {
382         this.resourcePersistence = resourcePersistence;
383     }
384 
385     public ResourceFinder getResourceFinder() {
386         return resourceFinder;
387     }
388 
389     public void setResourceFinder(ResourceFinder resourceFinder) {
390         this.resourceFinder = resourceFinder;
391     }
392 
393     public UserLocalService getUserLocalService() {
394         return userLocalService;
395     }
396 
397     public void setUserLocalService(UserLocalService userLocalService) {
398         this.userLocalService = userLocalService;
399     }
400 
401     public UserService getUserService() {
402         return userService;
403     }
404 
405     public void setUserService(UserService userService) {
406         this.userService = userService;
407     }
408 
409     public UserPersistence getUserPersistence() {
410         return userPersistence;
411     }
412 
413     public void setUserPersistence(UserPersistence userPersistence) {
414         this.userPersistence = userPersistence;
415     }
416 
417     public UserFinder getUserFinder() {
418         return userFinder;
419     }
420 
421     public void setUserFinder(UserFinder userFinder) {
422         this.userFinder = userFinder;
423     }
424 
425     protected void runSQL(String sql) throws SystemException {
426         try {
427             DB db = DBFactoryUtil.getDB();
428 
429             db.runSQL(sql);
430         }
431         catch (Exception e) {
432             throw new SystemException(e);
433         }
434     }
435 
436     @BeanReference(type = AssetCategoryLocalService.class)
437     protected AssetCategoryLocalService assetCategoryLocalService;
438     @BeanReference(type = AssetCategoryService.class)
439     protected AssetCategoryService assetCategoryService;
440     @BeanReference(type = AssetCategoryPersistence.class)
441     protected AssetCategoryPersistence assetCategoryPersistence;
442     @BeanReference(type = AssetCategoryFinder.class)
443     protected AssetCategoryFinder assetCategoryFinder;
444     @BeanReference(type = AssetCategoryPropertyLocalService.class)
445     protected AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
446     @BeanReference(type = AssetCategoryPropertyService.class)
447     protected AssetCategoryPropertyService assetCategoryPropertyService;
448     @BeanReference(type = AssetCategoryPropertyPersistence.class)
449     protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
450     @BeanReference(type = AssetCategoryPropertyFinder.class)
451     protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
452     @BeanReference(type = AssetEntryLocalService.class)
453     protected AssetEntryLocalService assetEntryLocalService;
454     @BeanReference(type = AssetEntryService.class)
455     protected AssetEntryService assetEntryService;
456     @BeanReference(type = AssetEntryPersistence.class)
457     protected AssetEntryPersistence assetEntryPersistence;
458     @BeanReference(type = AssetEntryFinder.class)
459     protected AssetEntryFinder assetEntryFinder;
460     @BeanReference(type = AssetLinkLocalService.class)
461     protected AssetLinkLocalService assetLinkLocalService;
462     @BeanReference(type = AssetLinkPersistence.class)
463     protected AssetLinkPersistence assetLinkPersistence;
464     @BeanReference(type = AssetTagLocalService.class)
465     protected AssetTagLocalService assetTagLocalService;
466     @BeanReference(type = AssetTagService.class)
467     protected AssetTagService assetTagService;
468     @BeanReference(type = AssetTagPersistence.class)
469     protected AssetTagPersistence assetTagPersistence;
470     @BeanReference(type = AssetTagFinder.class)
471     protected AssetTagFinder assetTagFinder;
472     @BeanReference(type = AssetTagPropertyLocalService.class)
473     protected AssetTagPropertyLocalService assetTagPropertyLocalService;
474     @BeanReference(type = AssetTagPropertyService.class)
475     protected AssetTagPropertyService assetTagPropertyService;
476     @BeanReference(type = AssetTagPropertyPersistence.class)
477     protected AssetTagPropertyPersistence assetTagPropertyPersistence;
478     @BeanReference(type = AssetTagPropertyFinder.class)
479     protected AssetTagPropertyFinder assetTagPropertyFinder;
480     @BeanReference(type = AssetTagPropertyKeyFinder.class)
481     protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
482     @BeanReference(type = AssetTagStatsLocalService.class)
483     protected AssetTagStatsLocalService assetTagStatsLocalService;
484     @BeanReference(type = AssetTagStatsPersistence.class)
485     protected AssetTagStatsPersistence assetTagStatsPersistence;
486     @BeanReference(type = AssetVocabularyLocalService.class)
487     protected AssetVocabularyLocalService assetVocabularyLocalService;
488     @BeanReference(type = AssetVocabularyService.class)
489     protected AssetVocabularyService assetVocabularyService;
490     @BeanReference(type = AssetVocabularyPersistence.class)
491     protected AssetVocabularyPersistence assetVocabularyPersistence;
492     @BeanReference(type = CounterLocalService.class)
493     protected CounterLocalService counterLocalService;
494     @BeanReference(type = GroupLocalService.class)
495     protected GroupLocalService groupLocalService;
496     @BeanReference(type = GroupService.class)
497     protected GroupService groupService;
498     @BeanReference(type = GroupPersistence.class)
499     protected GroupPersistence groupPersistence;
500     @BeanReference(type = GroupFinder.class)
501     protected GroupFinder groupFinder;
502     @BeanReference(type = ResourceLocalService.class)
503     protected ResourceLocalService resourceLocalService;
504     @BeanReference(type = ResourceService.class)
505     protected ResourceService resourceService;
506     @BeanReference(type = ResourcePersistence.class)
507     protected ResourcePersistence resourcePersistence;
508     @BeanReference(type = ResourceFinder.class)
509     protected ResourceFinder resourceFinder;
510     @BeanReference(type = UserLocalService.class)
511     protected UserLocalService userLocalService;
512     @BeanReference(type = UserService.class)
513     protected UserService userService;
514     @BeanReference(type = UserPersistence.class)
515     protected UserPersistence userPersistence;
516     @BeanReference(type = UserFinder.class)
517     protected UserFinder userFinder;
518 }