001
014
015 package com.liferay.portlet.asset.service.base;
016
017 import com.liferay.counter.service.CounterLocalService;
018
019 import com.liferay.portal.kernel.annotation.BeanReference;
020 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
021 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
022 import com.liferay.portal.kernel.exception.SystemException;
023 import com.liferay.portal.service.GroupLocalService;
024 import com.liferay.portal.service.GroupService;
025 import com.liferay.portal.service.ResourceLocalService;
026 import com.liferay.portal.service.ResourceService;
027 import com.liferay.portal.service.UserLocalService;
028 import com.liferay.portal.service.UserService;
029 import com.liferay.portal.service.base.PrincipalBean;
030 import com.liferay.portal.service.persistence.GroupFinder;
031 import com.liferay.portal.service.persistence.GroupPersistence;
032 import com.liferay.portal.service.persistence.ResourceFinder;
033 import com.liferay.portal.service.persistence.ResourcePersistence;
034 import com.liferay.portal.service.persistence.UserFinder;
035 import com.liferay.portal.service.persistence.UserPersistence;
036
037 import com.liferay.portlet.asset.service.AssetCategoryLocalService;
038 import com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService;
039 import com.liferay.portlet.asset.service.AssetCategoryPropertyService;
040 import com.liferay.portlet.asset.service.AssetCategoryService;
041 import com.liferay.portlet.asset.service.AssetEntryLocalService;
042 import com.liferay.portlet.asset.service.AssetEntryService;
043 import com.liferay.portlet.asset.service.AssetLinkLocalService;
044 import com.liferay.portlet.asset.service.AssetTagLocalService;
045 import com.liferay.portlet.asset.service.AssetTagPropertyLocalService;
046 import com.liferay.portlet.asset.service.AssetTagPropertyService;
047 import com.liferay.portlet.asset.service.AssetTagService;
048 import com.liferay.portlet.asset.service.AssetTagStatsLocalService;
049 import com.liferay.portlet.asset.service.AssetVocabularyLocalService;
050 import com.liferay.portlet.asset.service.AssetVocabularyService;
051 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
052 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
053 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyFinder;
054 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence;
055 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
056 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
057 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
058 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
059 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
060 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyFinder;
061 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyKeyFinder;
062 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence;
063 import com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence;
064 import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence;
065
066 import javax.sql.DataSource;
067
068
071 public abstract class AssetVocabularyServiceBaseImpl extends PrincipalBean
072 implements AssetVocabularyService {
073 public AssetCategoryLocalService getAssetCategoryLocalService() {
074 return assetCategoryLocalService;
075 }
076
077 public void setAssetCategoryLocalService(
078 AssetCategoryLocalService assetCategoryLocalService) {
079 this.assetCategoryLocalService = assetCategoryLocalService;
080 }
081
082 public AssetCategoryService getAssetCategoryService() {
083 return assetCategoryService;
084 }
085
086 public void setAssetCategoryService(
087 AssetCategoryService assetCategoryService) {
088 this.assetCategoryService = assetCategoryService;
089 }
090
091 public AssetCategoryPersistence getAssetCategoryPersistence() {
092 return assetCategoryPersistence;
093 }
094
095 public void setAssetCategoryPersistence(
096 AssetCategoryPersistence assetCategoryPersistence) {
097 this.assetCategoryPersistence = assetCategoryPersistence;
098 }
099
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 AssetLinkLocalService getAssetLinkLocalService() {
179 return assetLinkLocalService;
180 }
181
182 public void setAssetLinkLocalService(
183 AssetLinkLocalService assetLinkLocalService) {
184 this.assetLinkLocalService = assetLinkLocalService;
185 }
186
187 public AssetLinkPersistence getAssetLinkPersistence() {
188 return assetLinkPersistence;
189 }
190
191 public void setAssetLinkPersistence(
192 AssetLinkPersistence assetLinkPersistence) {
193 this.assetLinkPersistence = assetLinkPersistence;
194 }
195
196 public AssetTagLocalService getAssetTagLocalService() {
197 return assetTagLocalService;
198 }
199
200 public void setAssetTagLocalService(
201 AssetTagLocalService assetTagLocalService) {
202 this.assetTagLocalService = assetTagLocalService;
203 }
204
205 public AssetTagService getAssetTagService() {
206 return assetTagService;
207 }
208
209 public void setAssetTagService(AssetTagService assetTagService) {
210 this.assetTagService = assetTagService;
211 }
212
213 public AssetTagPersistence getAssetTagPersistence() {
214 return assetTagPersistence;
215 }
216
217 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
218 this.assetTagPersistence = assetTagPersistence;
219 }
220
221 public AssetTagFinder getAssetTagFinder() {
222 return assetTagFinder;
223 }
224
225 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
226 this.assetTagFinder = assetTagFinder;
227 }
228
229 public AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
230 return assetTagPropertyLocalService;
231 }
232
233 public void setAssetTagPropertyLocalService(
234 AssetTagPropertyLocalService assetTagPropertyLocalService) {
235 this.assetTagPropertyLocalService = assetTagPropertyLocalService;
236 }
237
238 public AssetTagPropertyService getAssetTagPropertyService() {
239 return assetTagPropertyService;
240 }
241
242 public void setAssetTagPropertyService(
243 AssetTagPropertyService assetTagPropertyService) {
244 this.assetTagPropertyService = assetTagPropertyService;
245 }
246
247 public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
248 return assetTagPropertyPersistence;
249 }
250
251 public void setAssetTagPropertyPersistence(
252 AssetTagPropertyPersistence assetTagPropertyPersistence) {
253 this.assetTagPropertyPersistence = assetTagPropertyPersistence;
254 }
255
256 public AssetTagPropertyFinder getAssetTagPropertyFinder() {
257 return assetTagPropertyFinder;
258 }
259
260 public void setAssetTagPropertyFinder(
261 AssetTagPropertyFinder assetTagPropertyFinder) {
262 this.assetTagPropertyFinder = assetTagPropertyFinder;
263 }
264
265 public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
266 return assetTagPropertyKeyFinder;
267 }
268
269 public void setAssetTagPropertyKeyFinder(
270 AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
271 this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
272 }
273
274 public AssetTagStatsLocalService getAssetTagStatsLocalService() {
275 return assetTagStatsLocalService;
276 }
277
278 public void setAssetTagStatsLocalService(
279 AssetTagStatsLocalService assetTagStatsLocalService) {
280 this.assetTagStatsLocalService = assetTagStatsLocalService;
281 }
282
283 public AssetTagStatsPersistence getAssetTagStatsPersistence() {
284 return assetTagStatsPersistence;
285 }
286
287 public void setAssetTagStatsPersistence(
288 AssetTagStatsPersistence assetTagStatsPersistence) {
289 this.assetTagStatsPersistence = assetTagStatsPersistence;
290 }
291
292 public AssetVocabularyLocalService getAssetVocabularyLocalService() {
293 return assetVocabularyLocalService;
294 }
295
296 public void setAssetVocabularyLocalService(
297 AssetVocabularyLocalService assetVocabularyLocalService) {
298 this.assetVocabularyLocalService = assetVocabularyLocalService;
299 }
300
301 public AssetVocabularyService getAssetVocabularyService() {
302 return assetVocabularyService;
303 }
304
305 public void setAssetVocabularyService(
306 AssetVocabularyService assetVocabularyService) {
307 this.assetVocabularyService = assetVocabularyService;
308 }
309
310 public AssetVocabularyPersistence getAssetVocabularyPersistence() {
311 return assetVocabularyPersistence;
312 }
313
314 public void setAssetVocabularyPersistence(
315 AssetVocabularyPersistence assetVocabularyPersistence) {
316 this.assetVocabularyPersistence = assetVocabularyPersistence;
317 }
318
319 public CounterLocalService getCounterLocalService() {
320 return counterLocalService;
321 }
322
323 public void setCounterLocalService(CounterLocalService counterLocalService) {
324 this.counterLocalService = counterLocalService;
325 }
326
327 public GroupLocalService getGroupLocalService() {
328 return groupLocalService;
329 }
330
331 public void setGroupLocalService(GroupLocalService groupLocalService) {
332 this.groupLocalService = groupLocalService;
333 }
334
335 public GroupService getGroupService() {
336 return groupService;
337 }
338
339 public void setGroupService(GroupService groupService) {
340 this.groupService = groupService;
341 }
342
343 public GroupPersistence getGroupPersistence() {
344 return groupPersistence;
345 }
346
347 public void setGroupPersistence(GroupPersistence groupPersistence) {
348 this.groupPersistence = groupPersistence;
349 }
350
351 public GroupFinder getGroupFinder() {
352 return groupFinder;
353 }
354
355 public void setGroupFinder(GroupFinder groupFinder) {
356 this.groupFinder = groupFinder;
357 }
358
359 public ResourceLocalService getResourceLocalService() {
360 return resourceLocalService;
361 }
362
363 public void setResourceLocalService(
364 ResourceLocalService resourceLocalService) {
365 this.resourceLocalService = resourceLocalService;
366 }
367
368 public ResourceService getResourceService() {
369 return resourceService;
370 }
371
372 public void setResourceService(ResourceService resourceService) {
373 this.resourceService = resourceService;
374 }
375
376 public ResourcePersistence getResourcePersistence() {
377 return resourcePersistence;
378 }
379
380 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
381 this.resourcePersistence = resourcePersistence;
382 }
383
384 public ResourceFinder getResourceFinder() {
385 return resourceFinder;
386 }
387
388 public void setResourceFinder(ResourceFinder resourceFinder) {
389 this.resourceFinder = resourceFinder;
390 }
391
392 public UserLocalService getUserLocalService() {
393 return userLocalService;
394 }
395
396 public void setUserLocalService(UserLocalService userLocalService) {
397 this.userLocalService = userLocalService;
398 }
399
400 public UserService getUserService() {
401 return userService;
402 }
403
404 public void setUserService(UserService userService) {
405 this.userService = userService;
406 }
407
408 public UserPersistence getUserPersistence() {
409 return userPersistence;
410 }
411
412 public void setUserPersistence(UserPersistence userPersistence) {
413 this.userPersistence = userPersistence;
414 }
415
416 public UserFinder getUserFinder() {
417 return userFinder;
418 }
419
420 public void setUserFinder(UserFinder userFinder) {
421 this.userFinder = userFinder;
422 }
423
424 protected void runSQL(String sql) throws SystemException {
425 try {
426 DataSource dataSource = assetVocabularyPersistence.getDataSource();
427
428 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
429 sql, new int[0]);
430
431 sqlUpdate.update();
432 }
433 catch (Exception e) {
434 throw new SystemException(e);
435 }
436 }
437
438 @BeanReference(type = AssetCategoryLocalService.class)
439 protected AssetCategoryLocalService assetCategoryLocalService;
440 @BeanReference(type = AssetCategoryService.class)
441 protected AssetCategoryService assetCategoryService;
442 @BeanReference(type = AssetCategoryPersistence.class)
443 protected AssetCategoryPersistence assetCategoryPersistence;
444 @BeanReference(type = AssetCategoryFinder.class)
445 protected AssetCategoryFinder assetCategoryFinder;
446 @BeanReference(type = AssetCategoryPropertyLocalService.class)
447 protected AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
448 @BeanReference(type = AssetCategoryPropertyService.class)
449 protected AssetCategoryPropertyService assetCategoryPropertyService;
450 @BeanReference(type = AssetCategoryPropertyPersistence.class)
451 protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
452 @BeanReference(type = AssetCategoryPropertyFinder.class)
453 protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
454 @BeanReference(type = AssetEntryLocalService.class)
455 protected AssetEntryLocalService assetEntryLocalService;
456 @BeanReference(type = AssetEntryService.class)
457 protected AssetEntryService assetEntryService;
458 @BeanReference(type = AssetEntryPersistence.class)
459 protected AssetEntryPersistence assetEntryPersistence;
460 @BeanReference(type = AssetEntryFinder.class)
461 protected AssetEntryFinder assetEntryFinder;
462 @BeanReference(type = AssetLinkLocalService.class)
463 protected AssetLinkLocalService assetLinkLocalService;
464 @BeanReference(type = AssetLinkPersistence.class)
465 protected AssetLinkPersistence assetLinkPersistence;
466 @BeanReference(type = AssetTagLocalService.class)
467 protected AssetTagLocalService assetTagLocalService;
468 @BeanReference(type = AssetTagService.class)
469 protected AssetTagService assetTagService;
470 @BeanReference(type = AssetTagPersistence.class)
471 protected AssetTagPersistence assetTagPersistence;
472 @BeanReference(type = AssetTagFinder.class)
473 protected AssetTagFinder assetTagFinder;
474 @BeanReference(type = AssetTagPropertyLocalService.class)
475 protected AssetTagPropertyLocalService assetTagPropertyLocalService;
476 @BeanReference(type = AssetTagPropertyService.class)
477 protected AssetTagPropertyService assetTagPropertyService;
478 @BeanReference(type = AssetTagPropertyPersistence.class)
479 protected AssetTagPropertyPersistence assetTagPropertyPersistence;
480 @BeanReference(type = AssetTagPropertyFinder.class)
481 protected AssetTagPropertyFinder assetTagPropertyFinder;
482 @BeanReference(type = AssetTagPropertyKeyFinder.class)
483 protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
484 @BeanReference(type = AssetTagStatsLocalService.class)
485 protected AssetTagStatsLocalService assetTagStatsLocalService;
486 @BeanReference(type = AssetTagStatsPersistence.class)
487 protected AssetTagStatsPersistence assetTagStatsPersistence;
488 @BeanReference(type = AssetVocabularyLocalService.class)
489 protected AssetVocabularyLocalService assetVocabularyLocalService;
490 @BeanReference(type = AssetVocabularyService.class)
491 protected AssetVocabularyService assetVocabularyService;
492 @BeanReference(type = AssetVocabularyPersistence.class)
493 protected AssetVocabularyPersistence assetVocabularyPersistence;
494 @BeanReference(type = CounterLocalService.class)
495 protected CounterLocalService counterLocalService;
496 @BeanReference(type = GroupLocalService.class)
497 protected GroupLocalService groupLocalService;
498 @BeanReference(type = GroupService.class)
499 protected GroupService groupService;
500 @BeanReference(type = GroupPersistence.class)
501 protected GroupPersistence groupPersistence;
502 @BeanReference(type = GroupFinder.class)
503 protected GroupFinder groupFinder;
504 @BeanReference(type = ResourceLocalService.class)
505 protected ResourceLocalService resourceLocalService;
506 @BeanReference(type = ResourceService.class)
507 protected ResourceService resourceService;
508 @BeanReference(type = ResourcePersistence.class)
509 protected ResourcePersistence resourcePersistence;
510 @BeanReference(type = ResourceFinder.class)
511 protected ResourceFinder resourceFinder;
512 @BeanReference(type = UserLocalService.class)
513 protected UserLocalService userLocalService;
514 @BeanReference(type = UserService.class)
515 protected UserService userService;
516 @BeanReference(type = UserPersistence.class)
517 protected UserPersistence userPersistence;
518 @BeanReference(type = UserFinder.class)
519 protected UserFinder userFinder;
520 }