001
014
015 package com.liferay.portlet.asset.service.base;
016
017 import com.liferay.portal.kernel.bean.BeanReference;
018 import com.liferay.portal.kernel.bean.IdentifiableBean;
019 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
020 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
021 import com.liferay.portal.kernel.exception.SystemException;
022 import com.liferay.portal.service.BaseServiceImpl;
023 import com.liferay.portal.service.persistence.UserFinder;
024 import com.liferay.portal.service.persistence.UserPersistence;
025
026 import com.liferay.portlet.asset.model.AssetCategoryProperty;
027 import com.liferay.portlet.asset.service.AssetCategoryPropertyService;
028 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
029 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
030 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyFinder;
031 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence;
032 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
033 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
034 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
035 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
036 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
037 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyFinder;
038 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyKeyFinder;
039 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence;
040 import com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence;
041 import com.liferay.portlet.asset.service.persistence.AssetVocabularyFinder;
042 import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence;
043
044 import javax.sql.DataSource;
045
046
058 public abstract class AssetCategoryPropertyServiceBaseImpl
059 extends BaseServiceImpl implements AssetCategoryPropertyService,
060 IdentifiableBean {
061
066
067
072 public com.liferay.portlet.asset.service.AssetCategoryLocalService getAssetCategoryLocalService() {
073 return assetCategoryLocalService;
074 }
075
076
081 public void setAssetCategoryLocalService(
082 com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService) {
083 this.assetCategoryLocalService = assetCategoryLocalService;
084 }
085
086
091 public com.liferay.portlet.asset.service.AssetCategoryService getAssetCategoryService() {
092 return assetCategoryService;
093 }
094
095
100 public void setAssetCategoryService(
101 com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService) {
102 this.assetCategoryService = assetCategoryService;
103 }
104
105
110 public AssetCategoryPersistence getAssetCategoryPersistence() {
111 return assetCategoryPersistence;
112 }
113
114
119 public void setAssetCategoryPersistence(
120 AssetCategoryPersistence assetCategoryPersistence) {
121 this.assetCategoryPersistence = assetCategoryPersistence;
122 }
123
124
129 public AssetCategoryFinder getAssetCategoryFinder() {
130 return assetCategoryFinder;
131 }
132
133
138 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
139 this.assetCategoryFinder = assetCategoryFinder;
140 }
141
142
147 public com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService() {
148 return assetCategoryPropertyLocalService;
149 }
150
151
156 public void setAssetCategoryPropertyLocalService(
157 com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService assetCategoryPropertyLocalService) {
158 this.assetCategoryPropertyLocalService = assetCategoryPropertyLocalService;
159 }
160
161
166 public com.liferay.portlet.asset.service.AssetCategoryPropertyService getAssetCategoryPropertyService() {
167 return assetCategoryPropertyService;
168 }
169
170
175 public void setAssetCategoryPropertyService(
176 com.liferay.portlet.asset.service.AssetCategoryPropertyService assetCategoryPropertyService) {
177 this.assetCategoryPropertyService = assetCategoryPropertyService;
178 }
179
180
185 public AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence() {
186 return assetCategoryPropertyPersistence;
187 }
188
189
194 public void setAssetCategoryPropertyPersistence(
195 AssetCategoryPropertyPersistence assetCategoryPropertyPersistence) {
196 this.assetCategoryPropertyPersistence = assetCategoryPropertyPersistence;
197 }
198
199
204 public AssetCategoryPropertyFinder getAssetCategoryPropertyFinder() {
205 return assetCategoryPropertyFinder;
206 }
207
208
213 public void setAssetCategoryPropertyFinder(
214 AssetCategoryPropertyFinder assetCategoryPropertyFinder) {
215 this.assetCategoryPropertyFinder = assetCategoryPropertyFinder;
216 }
217
218
223 public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
224 return assetEntryLocalService;
225 }
226
227
232 public void setAssetEntryLocalService(
233 com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
234 this.assetEntryLocalService = assetEntryLocalService;
235 }
236
237
242 public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
243 return assetEntryService;
244 }
245
246
251 public void setAssetEntryService(
252 com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
253 this.assetEntryService = assetEntryService;
254 }
255
256
261 public AssetEntryPersistence getAssetEntryPersistence() {
262 return assetEntryPersistence;
263 }
264
265
270 public void setAssetEntryPersistence(
271 AssetEntryPersistence assetEntryPersistence) {
272 this.assetEntryPersistence = assetEntryPersistence;
273 }
274
275
280 public AssetEntryFinder getAssetEntryFinder() {
281 return assetEntryFinder;
282 }
283
284
289 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
290 this.assetEntryFinder = assetEntryFinder;
291 }
292
293
298 public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
299 return assetLinkLocalService;
300 }
301
302
307 public void setAssetLinkLocalService(
308 com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
309 this.assetLinkLocalService = assetLinkLocalService;
310 }
311
312
317 public AssetLinkPersistence getAssetLinkPersistence() {
318 return assetLinkPersistence;
319 }
320
321
326 public void setAssetLinkPersistence(
327 AssetLinkPersistence assetLinkPersistence) {
328 this.assetLinkPersistence = assetLinkPersistence;
329 }
330
331
336 public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
337 return assetTagLocalService;
338 }
339
340
345 public void setAssetTagLocalService(
346 com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
347 this.assetTagLocalService = assetTagLocalService;
348 }
349
350
355 public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
356 return assetTagService;
357 }
358
359
364 public void setAssetTagService(
365 com.liferay.portlet.asset.service.AssetTagService assetTagService) {
366 this.assetTagService = assetTagService;
367 }
368
369
374 public AssetTagPersistence getAssetTagPersistence() {
375 return assetTagPersistence;
376 }
377
378
383 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
384 this.assetTagPersistence = assetTagPersistence;
385 }
386
387
392 public AssetTagFinder getAssetTagFinder() {
393 return assetTagFinder;
394 }
395
396
401 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
402 this.assetTagFinder = assetTagFinder;
403 }
404
405
410 public com.liferay.portlet.asset.service.AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
411 return assetTagPropertyLocalService;
412 }
413
414
419 public void setAssetTagPropertyLocalService(
420 com.liferay.portlet.asset.service.AssetTagPropertyLocalService assetTagPropertyLocalService) {
421 this.assetTagPropertyLocalService = assetTagPropertyLocalService;
422 }
423
424
429 public com.liferay.portlet.asset.service.AssetTagPropertyService getAssetTagPropertyService() {
430 return assetTagPropertyService;
431 }
432
433
438 public void setAssetTagPropertyService(
439 com.liferay.portlet.asset.service.AssetTagPropertyService assetTagPropertyService) {
440 this.assetTagPropertyService = assetTagPropertyService;
441 }
442
443
448 public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
449 return assetTagPropertyPersistence;
450 }
451
452
457 public void setAssetTagPropertyPersistence(
458 AssetTagPropertyPersistence assetTagPropertyPersistence) {
459 this.assetTagPropertyPersistence = assetTagPropertyPersistence;
460 }
461
462
467 public AssetTagPropertyFinder getAssetTagPropertyFinder() {
468 return assetTagPropertyFinder;
469 }
470
471
476 public void setAssetTagPropertyFinder(
477 AssetTagPropertyFinder assetTagPropertyFinder) {
478 this.assetTagPropertyFinder = assetTagPropertyFinder;
479 }
480
481
486 public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
487 return assetTagPropertyKeyFinder;
488 }
489
490
495 public void setAssetTagPropertyKeyFinder(
496 AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
497 this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
498 }
499
500
505 public com.liferay.portlet.asset.service.AssetTagStatsLocalService getAssetTagStatsLocalService() {
506 return assetTagStatsLocalService;
507 }
508
509
514 public void setAssetTagStatsLocalService(
515 com.liferay.portlet.asset.service.AssetTagStatsLocalService assetTagStatsLocalService) {
516 this.assetTagStatsLocalService = assetTagStatsLocalService;
517 }
518
519
524 public AssetTagStatsPersistence getAssetTagStatsPersistence() {
525 return assetTagStatsPersistence;
526 }
527
528
533 public void setAssetTagStatsPersistence(
534 AssetTagStatsPersistence assetTagStatsPersistence) {
535 this.assetTagStatsPersistence = assetTagStatsPersistence;
536 }
537
538
543 public com.liferay.portlet.asset.service.AssetVocabularyLocalService getAssetVocabularyLocalService() {
544 return assetVocabularyLocalService;
545 }
546
547
552 public void setAssetVocabularyLocalService(
553 com.liferay.portlet.asset.service.AssetVocabularyLocalService assetVocabularyLocalService) {
554 this.assetVocabularyLocalService = assetVocabularyLocalService;
555 }
556
557
562 public com.liferay.portlet.asset.service.AssetVocabularyService getAssetVocabularyService() {
563 return assetVocabularyService;
564 }
565
566
571 public void setAssetVocabularyService(
572 com.liferay.portlet.asset.service.AssetVocabularyService assetVocabularyService) {
573 this.assetVocabularyService = assetVocabularyService;
574 }
575
576
581 public AssetVocabularyPersistence getAssetVocabularyPersistence() {
582 return assetVocabularyPersistence;
583 }
584
585
590 public void setAssetVocabularyPersistence(
591 AssetVocabularyPersistence assetVocabularyPersistence) {
592 this.assetVocabularyPersistence = assetVocabularyPersistence;
593 }
594
595
600 public AssetVocabularyFinder getAssetVocabularyFinder() {
601 return assetVocabularyFinder;
602 }
603
604
609 public void setAssetVocabularyFinder(
610 AssetVocabularyFinder assetVocabularyFinder) {
611 this.assetVocabularyFinder = assetVocabularyFinder;
612 }
613
614
619 public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
620 return counterLocalService;
621 }
622
623
628 public void setCounterLocalService(
629 com.liferay.counter.service.CounterLocalService counterLocalService) {
630 this.counterLocalService = counterLocalService;
631 }
632
633
638 public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
639 return resourceLocalService;
640 }
641
642
647 public void setResourceLocalService(
648 com.liferay.portal.service.ResourceLocalService resourceLocalService) {
649 this.resourceLocalService = resourceLocalService;
650 }
651
652
657 public com.liferay.portal.service.UserLocalService getUserLocalService() {
658 return userLocalService;
659 }
660
661
666 public void setUserLocalService(
667 com.liferay.portal.service.UserLocalService userLocalService) {
668 this.userLocalService = userLocalService;
669 }
670
671
676 public com.liferay.portal.service.UserService getUserService() {
677 return userService;
678 }
679
680
685 public void setUserService(
686 com.liferay.portal.service.UserService userService) {
687 this.userService = userService;
688 }
689
690
695 public UserPersistence getUserPersistence() {
696 return userPersistence;
697 }
698
699
704 public void setUserPersistence(UserPersistence userPersistence) {
705 this.userPersistence = userPersistence;
706 }
707
708
713 public UserFinder getUserFinder() {
714 return userFinder;
715 }
716
717
722 public void setUserFinder(UserFinder userFinder) {
723 this.userFinder = userFinder;
724 }
725
726 public void afterPropertiesSet() {
727 }
728
729 public void destroy() {
730 }
731
732
737 @Override
738 public String getBeanIdentifier() {
739 return _beanIdentifier;
740 }
741
742
747 @Override
748 public void setBeanIdentifier(String beanIdentifier) {
749 _beanIdentifier = beanIdentifier;
750 }
751
752 protected Class<?> getModelClass() {
753 return AssetCategoryProperty.class;
754 }
755
756 protected String getModelClassName() {
757 return AssetCategoryProperty.class.getName();
758 }
759
760
765 protected void runSQL(String sql) throws SystemException {
766 try {
767 DataSource dataSource = assetCategoryPropertyPersistence.getDataSource();
768
769 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
770 sql, new int[0]);
771
772 sqlUpdate.update();
773 }
774 catch (Exception e) {
775 throw new SystemException(e);
776 }
777 }
778
779 @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryLocalService.class)
780 protected com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService;
781 @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryService.class)
782 protected com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService;
783 @BeanReference(type = AssetCategoryPersistence.class)
784 protected AssetCategoryPersistence assetCategoryPersistence;
785 @BeanReference(type = AssetCategoryFinder.class)
786 protected AssetCategoryFinder assetCategoryFinder;
787 @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService.class)
788 protected com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
789 @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryPropertyService.class)
790 protected com.liferay.portlet.asset.service.AssetCategoryPropertyService assetCategoryPropertyService;
791 @BeanReference(type = AssetCategoryPropertyPersistence.class)
792 protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
793 @BeanReference(type = AssetCategoryPropertyFinder.class)
794 protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
795 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
796 protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
797 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
798 protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
799 @BeanReference(type = AssetEntryPersistence.class)
800 protected AssetEntryPersistence assetEntryPersistence;
801 @BeanReference(type = AssetEntryFinder.class)
802 protected AssetEntryFinder assetEntryFinder;
803 @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
804 protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
805 @BeanReference(type = AssetLinkPersistence.class)
806 protected AssetLinkPersistence assetLinkPersistence;
807 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
808 protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
809 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
810 protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
811 @BeanReference(type = AssetTagPersistence.class)
812 protected AssetTagPersistence assetTagPersistence;
813 @BeanReference(type = AssetTagFinder.class)
814 protected AssetTagFinder assetTagFinder;
815 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagPropertyLocalService.class)
816 protected com.liferay.portlet.asset.service.AssetTagPropertyLocalService assetTagPropertyLocalService;
817 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagPropertyService.class)
818 protected com.liferay.portlet.asset.service.AssetTagPropertyService assetTagPropertyService;
819 @BeanReference(type = AssetTagPropertyPersistence.class)
820 protected AssetTagPropertyPersistence assetTagPropertyPersistence;
821 @BeanReference(type = AssetTagPropertyFinder.class)
822 protected AssetTagPropertyFinder assetTagPropertyFinder;
823 @BeanReference(type = AssetTagPropertyKeyFinder.class)
824 protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
825 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagStatsLocalService.class)
826 protected com.liferay.portlet.asset.service.AssetTagStatsLocalService assetTagStatsLocalService;
827 @BeanReference(type = AssetTagStatsPersistence.class)
828 protected AssetTagStatsPersistence assetTagStatsPersistence;
829 @BeanReference(type = com.liferay.portlet.asset.service.AssetVocabularyLocalService.class)
830 protected com.liferay.portlet.asset.service.AssetVocabularyLocalService assetVocabularyLocalService;
831 @BeanReference(type = com.liferay.portlet.asset.service.AssetVocabularyService.class)
832 protected com.liferay.portlet.asset.service.AssetVocabularyService assetVocabularyService;
833 @BeanReference(type = AssetVocabularyPersistence.class)
834 protected AssetVocabularyPersistence assetVocabularyPersistence;
835 @BeanReference(type = AssetVocabularyFinder.class)
836 protected AssetVocabularyFinder assetVocabularyFinder;
837 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
838 protected com.liferay.counter.service.CounterLocalService counterLocalService;
839 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
840 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
841 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
842 protected com.liferay.portal.service.UserLocalService userLocalService;
843 @BeanReference(type = com.liferay.portal.service.UserService.class)
844 protected com.liferay.portal.service.UserService userService;
845 @BeanReference(type = UserPersistence.class)
846 protected UserPersistence userPersistence;
847 @BeanReference(type = UserFinder.class)
848 protected UserFinder userFinder;
849 private String _beanIdentifier;
850 }