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