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.bean.BeanReference;
020 import com.liferay.portal.kernel.bean.IdentifiableBean;
021 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
022 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
023 import com.liferay.portal.kernel.exception.SystemException;
024 import com.liferay.portal.service.BaseServiceImpl;
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.persistence.ResourceFinder;
030 import com.liferay.portal.service.persistence.ResourcePersistence;
031 import com.liferay.portal.service.persistence.UserFinder;
032 import com.liferay.portal.service.persistence.UserPersistence;
033
034 import com.liferay.portlet.asset.model.AssetCategoryProperty;
035 import com.liferay.portlet.asset.service.AssetCategoryLocalService;
036 import com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService;
037 import com.liferay.portlet.asset.service.AssetCategoryPropertyService;
038 import com.liferay.portlet.asset.service.AssetCategoryService;
039 import com.liferay.portlet.asset.service.AssetEntryLocalService;
040 import com.liferay.portlet.asset.service.AssetEntryService;
041 import com.liferay.portlet.asset.service.AssetLinkLocalService;
042 import com.liferay.portlet.asset.service.AssetTagLocalService;
043 import com.liferay.portlet.asset.service.AssetTagPropertyLocalService;
044 import com.liferay.portlet.asset.service.AssetTagPropertyService;
045 import com.liferay.portlet.asset.service.AssetTagService;
046 import com.liferay.portlet.asset.service.AssetTagStatsLocalService;
047 import com.liferay.portlet.asset.service.AssetVocabularyLocalService;
048 import com.liferay.portlet.asset.service.AssetVocabularyService;
049 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
050 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
051 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyFinder;
052 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence;
053 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
054 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
055 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
056 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
057 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
058 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyFinder;
059 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyKeyFinder;
060 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence;
061 import com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence;
062 import com.liferay.portlet.asset.service.persistence.AssetVocabularyFinder;
063 import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence;
064
065 import javax.sql.DataSource;
066
067
079 public abstract class AssetCategoryPropertyServiceBaseImpl
080 extends BaseServiceImpl implements AssetCategoryPropertyService,
081 IdentifiableBean {
082
087
088
093 public AssetCategoryLocalService getAssetCategoryLocalService() {
094 return assetCategoryLocalService;
095 }
096
097
102 public void setAssetCategoryLocalService(
103 AssetCategoryLocalService assetCategoryLocalService) {
104 this.assetCategoryLocalService = assetCategoryLocalService;
105 }
106
107
112 public AssetCategoryService getAssetCategoryService() {
113 return assetCategoryService;
114 }
115
116
121 public void setAssetCategoryService(
122 AssetCategoryService assetCategoryService) {
123 this.assetCategoryService = assetCategoryService;
124 }
125
126
131 public AssetCategoryPersistence getAssetCategoryPersistence() {
132 return assetCategoryPersistence;
133 }
134
135
140 public void setAssetCategoryPersistence(
141 AssetCategoryPersistence assetCategoryPersistence) {
142 this.assetCategoryPersistence = assetCategoryPersistence;
143 }
144
145
150 public AssetCategoryFinder getAssetCategoryFinder() {
151 return assetCategoryFinder;
152 }
153
154
159 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
160 this.assetCategoryFinder = assetCategoryFinder;
161 }
162
163
168 public AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService() {
169 return assetCategoryPropertyLocalService;
170 }
171
172
177 public void setAssetCategoryPropertyLocalService(
178 AssetCategoryPropertyLocalService assetCategoryPropertyLocalService) {
179 this.assetCategoryPropertyLocalService = assetCategoryPropertyLocalService;
180 }
181
182
187 public AssetCategoryPropertyService getAssetCategoryPropertyService() {
188 return assetCategoryPropertyService;
189 }
190
191
196 public void setAssetCategoryPropertyService(
197 AssetCategoryPropertyService assetCategoryPropertyService) {
198 this.assetCategoryPropertyService = assetCategoryPropertyService;
199 }
200
201
206 public AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence() {
207 return assetCategoryPropertyPersistence;
208 }
209
210
215 public void setAssetCategoryPropertyPersistence(
216 AssetCategoryPropertyPersistence assetCategoryPropertyPersistence) {
217 this.assetCategoryPropertyPersistence = assetCategoryPropertyPersistence;
218 }
219
220
225 public AssetCategoryPropertyFinder getAssetCategoryPropertyFinder() {
226 return assetCategoryPropertyFinder;
227 }
228
229
234 public void setAssetCategoryPropertyFinder(
235 AssetCategoryPropertyFinder assetCategoryPropertyFinder) {
236 this.assetCategoryPropertyFinder = assetCategoryPropertyFinder;
237 }
238
239
244 public AssetEntryLocalService getAssetEntryLocalService() {
245 return assetEntryLocalService;
246 }
247
248
253 public void setAssetEntryLocalService(
254 AssetEntryLocalService assetEntryLocalService) {
255 this.assetEntryLocalService = assetEntryLocalService;
256 }
257
258
263 public AssetEntryService getAssetEntryService() {
264 return assetEntryService;
265 }
266
267
272 public void setAssetEntryService(AssetEntryService assetEntryService) {
273 this.assetEntryService = assetEntryService;
274 }
275
276
281 public AssetEntryPersistence getAssetEntryPersistence() {
282 return assetEntryPersistence;
283 }
284
285
290 public void setAssetEntryPersistence(
291 AssetEntryPersistence assetEntryPersistence) {
292 this.assetEntryPersistence = assetEntryPersistence;
293 }
294
295
300 public AssetEntryFinder getAssetEntryFinder() {
301 return assetEntryFinder;
302 }
303
304
309 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
310 this.assetEntryFinder = assetEntryFinder;
311 }
312
313
318 public AssetLinkLocalService getAssetLinkLocalService() {
319 return assetLinkLocalService;
320 }
321
322
327 public void setAssetLinkLocalService(
328 AssetLinkLocalService assetLinkLocalService) {
329 this.assetLinkLocalService = assetLinkLocalService;
330 }
331
332
337 public AssetLinkPersistence getAssetLinkPersistence() {
338 return assetLinkPersistence;
339 }
340
341
346 public void setAssetLinkPersistence(
347 AssetLinkPersistence assetLinkPersistence) {
348 this.assetLinkPersistence = assetLinkPersistence;
349 }
350
351
356 public AssetTagLocalService getAssetTagLocalService() {
357 return assetTagLocalService;
358 }
359
360
365 public void setAssetTagLocalService(
366 AssetTagLocalService assetTagLocalService) {
367 this.assetTagLocalService = assetTagLocalService;
368 }
369
370
375 public AssetTagService getAssetTagService() {
376 return assetTagService;
377 }
378
379
384 public void setAssetTagService(AssetTagService assetTagService) {
385 this.assetTagService = assetTagService;
386 }
387
388
393 public AssetTagPersistence getAssetTagPersistence() {
394 return assetTagPersistence;
395 }
396
397
402 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
403 this.assetTagPersistence = assetTagPersistence;
404 }
405
406
411 public AssetTagFinder getAssetTagFinder() {
412 return assetTagFinder;
413 }
414
415
420 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
421 this.assetTagFinder = assetTagFinder;
422 }
423
424
429 public AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
430 return assetTagPropertyLocalService;
431 }
432
433
438 public void setAssetTagPropertyLocalService(
439 AssetTagPropertyLocalService assetTagPropertyLocalService) {
440 this.assetTagPropertyLocalService = assetTagPropertyLocalService;
441 }
442
443
448 public AssetTagPropertyService getAssetTagPropertyService() {
449 return assetTagPropertyService;
450 }
451
452
457 public void setAssetTagPropertyService(
458 AssetTagPropertyService assetTagPropertyService) {
459 this.assetTagPropertyService = assetTagPropertyService;
460 }
461
462
467 public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
468 return assetTagPropertyPersistence;
469 }
470
471
476 public void setAssetTagPropertyPersistence(
477 AssetTagPropertyPersistence assetTagPropertyPersistence) {
478 this.assetTagPropertyPersistence = assetTagPropertyPersistence;
479 }
480
481
486 public AssetTagPropertyFinder getAssetTagPropertyFinder() {
487 return assetTagPropertyFinder;
488 }
489
490
495 public void setAssetTagPropertyFinder(
496 AssetTagPropertyFinder assetTagPropertyFinder) {
497 this.assetTagPropertyFinder = assetTagPropertyFinder;
498 }
499
500
505 public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
506 return assetTagPropertyKeyFinder;
507 }
508
509
514 public void setAssetTagPropertyKeyFinder(
515 AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
516 this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
517 }
518
519
524 public AssetTagStatsLocalService getAssetTagStatsLocalService() {
525 return assetTagStatsLocalService;
526 }
527
528
533 public void setAssetTagStatsLocalService(
534 AssetTagStatsLocalService assetTagStatsLocalService) {
535 this.assetTagStatsLocalService = assetTagStatsLocalService;
536 }
537
538
543 public AssetTagStatsPersistence getAssetTagStatsPersistence() {
544 return assetTagStatsPersistence;
545 }
546
547
552 public void setAssetTagStatsPersistence(
553 AssetTagStatsPersistence assetTagStatsPersistence) {
554 this.assetTagStatsPersistence = assetTagStatsPersistence;
555 }
556
557
562 public AssetVocabularyLocalService getAssetVocabularyLocalService() {
563 return assetVocabularyLocalService;
564 }
565
566
571 public void setAssetVocabularyLocalService(
572 AssetVocabularyLocalService assetVocabularyLocalService) {
573 this.assetVocabularyLocalService = assetVocabularyLocalService;
574 }
575
576
581 public AssetVocabularyService getAssetVocabularyService() {
582 return assetVocabularyService;
583 }
584
585
590 public void setAssetVocabularyService(
591 AssetVocabularyService assetVocabularyService) {
592 this.assetVocabularyService = assetVocabularyService;
593 }
594
595
600 public AssetVocabularyPersistence getAssetVocabularyPersistence() {
601 return assetVocabularyPersistence;
602 }
603
604
609 public void setAssetVocabularyPersistence(
610 AssetVocabularyPersistence assetVocabularyPersistence) {
611 this.assetVocabularyPersistence = assetVocabularyPersistence;
612 }
613
614
619 public AssetVocabularyFinder getAssetVocabularyFinder() {
620 return assetVocabularyFinder;
621 }
622
623
628 public void setAssetVocabularyFinder(
629 AssetVocabularyFinder assetVocabularyFinder) {
630 this.assetVocabularyFinder = assetVocabularyFinder;
631 }
632
633
638 public CounterLocalService getCounterLocalService() {
639 return counterLocalService;
640 }
641
642
647 public void setCounterLocalService(CounterLocalService counterLocalService) {
648 this.counterLocalService = counterLocalService;
649 }
650
651
656 public ResourceLocalService getResourceLocalService() {
657 return resourceLocalService;
658 }
659
660
665 public void setResourceLocalService(
666 ResourceLocalService resourceLocalService) {
667 this.resourceLocalService = resourceLocalService;
668 }
669
670
675 public ResourceService getResourceService() {
676 return resourceService;
677 }
678
679
684 public void setResourceService(ResourceService resourceService) {
685 this.resourceService = resourceService;
686 }
687
688
693 public ResourcePersistence getResourcePersistence() {
694 return resourcePersistence;
695 }
696
697
702 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
703 this.resourcePersistence = resourcePersistence;
704 }
705
706
711 public ResourceFinder getResourceFinder() {
712 return resourceFinder;
713 }
714
715
720 public void setResourceFinder(ResourceFinder resourceFinder) {
721 this.resourceFinder = resourceFinder;
722 }
723
724
729 public UserLocalService getUserLocalService() {
730 return userLocalService;
731 }
732
733
738 public void setUserLocalService(UserLocalService userLocalService) {
739 this.userLocalService = userLocalService;
740 }
741
742
747 public UserService getUserService() {
748 return userService;
749 }
750
751
756 public void setUserService(UserService userService) {
757 this.userService = userService;
758 }
759
760
765 public UserPersistence getUserPersistence() {
766 return userPersistence;
767 }
768
769
774 public void setUserPersistence(UserPersistence userPersistence) {
775 this.userPersistence = userPersistence;
776 }
777
778
783 public UserFinder getUserFinder() {
784 return userFinder;
785 }
786
787
792 public void setUserFinder(UserFinder userFinder) {
793 this.userFinder = userFinder;
794 }
795
796 public void afterPropertiesSet() {
797 }
798
799 public void destroy() {
800 }
801
802
807 public String getBeanIdentifier() {
808 return _beanIdentifier;
809 }
810
811
816 public void setBeanIdentifier(String beanIdentifier) {
817 _beanIdentifier = beanIdentifier;
818 }
819
820 protected Class<?> getModelClass() {
821 return AssetCategoryProperty.class;
822 }
823
824 protected String getModelClassName() {
825 return AssetCategoryProperty.class.getName();
826 }
827
828
833 protected void runSQL(String sql) throws SystemException {
834 try {
835 DataSource dataSource = assetCategoryPropertyPersistence.getDataSource();
836
837 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
838 sql, new int[0]);
839
840 sqlUpdate.update();
841 }
842 catch (Exception e) {
843 throw new SystemException(e);
844 }
845 }
846
847 @BeanReference(type = AssetCategoryLocalService.class)
848 protected AssetCategoryLocalService assetCategoryLocalService;
849 @BeanReference(type = AssetCategoryService.class)
850 protected AssetCategoryService assetCategoryService;
851 @BeanReference(type = AssetCategoryPersistence.class)
852 protected AssetCategoryPersistence assetCategoryPersistence;
853 @BeanReference(type = AssetCategoryFinder.class)
854 protected AssetCategoryFinder assetCategoryFinder;
855 @BeanReference(type = AssetCategoryPropertyLocalService.class)
856 protected AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
857 @BeanReference(type = AssetCategoryPropertyService.class)
858 protected AssetCategoryPropertyService assetCategoryPropertyService;
859 @BeanReference(type = AssetCategoryPropertyPersistence.class)
860 protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
861 @BeanReference(type = AssetCategoryPropertyFinder.class)
862 protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
863 @BeanReference(type = AssetEntryLocalService.class)
864 protected AssetEntryLocalService assetEntryLocalService;
865 @BeanReference(type = AssetEntryService.class)
866 protected AssetEntryService assetEntryService;
867 @BeanReference(type = AssetEntryPersistence.class)
868 protected AssetEntryPersistence assetEntryPersistence;
869 @BeanReference(type = AssetEntryFinder.class)
870 protected AssetEntryFinder assetEntryFinder;
871 @BeanReference(type = AssetLinkLocalService.class)
872 protected AssetLinkLocalService assetLinkLocalService;
873 @BeanReference(type = AssetLinkPersistence.class)
874 protected AssetLinkPersistence assetLinkPersistence;
875 @BeanReference(type = AssetTagLocalService.class)
876 protected AssetTagLocalService assetTagLocalService;
877 @BeanReference(type = AssetTagService.class)
878 protected AssetTagService assetTagService;
879 @BeanReference(type = AssetTagPersistence.class)
880 protected AssetTagPersistence assetTagPersistence;
881 @BeanReference(type = AssetTagFinder.class)
882 protected AssetTagFinder assetTagFinder;
883 @BeanReference(type = AssetTagPropertyLocalService.class)
884 protected AssetTagPropertyLocalService assetTagPropertyLocalService;
885 @BeanReference(type = AssetTagPropertyService.class)
886 protected AssetTagPropertyService assetTagPropertyService;
887 @BeanReference(type = AssetTagPropertyPersistence.class)
888 protected AssetTagPropertyPersistence assetTagPropertyPersistence;
889 @BeanReference(type = AssetTagPropertyFinder.class)
890 protected AssetTagPropertyFinder assetTagPropertyFinder;
891 @BeanReference(type = AssetTagPropertyKeyFinder.class)
892 protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
893 @BeanReference(type = AssetTagStatsLocalService.class)
894 protected AssetTagStatsLocalService assetTagStatsLocalService;
895 @BeanReference(type = AssetTagStatsPersistence.class)
896 protected AssetTagStatsPersistence assetTagStatsPersistence;
897 @BeanReference(type = AssetVocabularyLocalService.class)
898 protected AssetVocabularyLocalService assetVocabularyLocalService;
899 @BeanReference(type = AssetVocabularyService.class)
900 protected AssetVocabularyService assetVocabularyService;
901 @BeanReference(type = AssetVocabularyPersistence.class)
902 protected AssetVocabularyPersistence assetVocabularyPersistence;
903 @BeanReference(type = AssetVocabularyFinder.class)
904 protected AssetVocabularyFinder assetVocabularyFinder;
905 @BeanReference(type = CounterLocalService.class)
906 protected CounterLocalService counterLocalService;
907 @BeanReference(type = ResourceLocalService.class)
908 protected ResourceLocalService resourceLocalService;
909 @BeanReference(type = ResourceService.class)
910 protected ResourceService resourceService;
911 @BeanReference(type = ResourcePersistence.class)
912 protected ResourcePersistence resourcePersistence;
913 @BeanReference(type = ResourceFinder.class)
914 protected ResourceFinder resourceFinder;
915 @BeanReference(type = UserLocalService.class)
916 protected UserLocalService userLocalService;
917 @BeanReference(type = UserService.class)
918 protected UserService userService;
919 @BeanReference(type = UserPersistence.class)
920 protected UserPersistence userPersistence;
921 @BeanReference(type = UserFinder.class)
922 protected UserFinder userFinder;
923 private String _beanIdentifier;
924 }