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