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