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