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