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.GroupLocalService;
026 import com.liferay.portal.service.GroupService;
027 import com.liferay.portal.service.ResourceLocalService;
028 import com.liferay.portal.service.UserLocalService;
029 import com.liferay.portal.service.UserService;
030 import com.liferay.portal.service.persistence.GroupFinder;
031 import com.liferay.portal.service.persistence.GroupPersistence;
032 import com.liferay.portal.service.persistence.UserFinder;
033 import com.liferay.portal.service.persistence.UserPersistence;
034
035 import com.liferay.portlet.asset.model.AssetVocabulary;
036 import com.liferay.portlet.asset.service.AssetCategoryLocalService;
037 import com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService;
038 import com.liferay.portlet.asset.service.AssetCategoryPropertyService;
039 import com.liferay.portlet.asset.service.AssetCategoryService;
040 import com.liferay.portlet.asset.service.AssetEntryLocalService;
041 import com.liferay.portlet.asset.service.AssetEntryService;
042 import com.liferay.portlet.asset.service.AssetLinkLocalService;
043 import com.liferay.portlet.asset.service.AssetTagLocalService;
044 import com.liferay.portlet.asset.service.AssetTagPropertyLocalService;
045 import com.liferay.portlet.asset.service.AssetTagPropertyService;
046 import com.liferay.portlet.asset.service.AssetTagService;
047 import com.liferay.portlet.asset.service.AssetTagStatsLocalService;
048 import com.liferay.portlet.asset.service.AssetVocabularyLocalService;
049 import com.liferay.portlet.asset.service.AssetVocabularyService;
050 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
051 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
052 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyFinder;
053 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence;
054 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
055 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
056 import com.liferay.portlet.asset.service.persistence.AssetLinkFinder;
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.AssetVocabularyFinder;
065 import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence;
066
067 import javax.sql.DataSource;
068
069
081 public abstract class AssetVocabularyServiceBaseImpl extends BaseServiceImpl
082 implements AssetVocabularyService, IdentifiableBean {
083
088
089
094 public AssetCategoryLocalService getAssetCategoryLocalService() {
095 return assetCategoryLocalService;
096 }
097
098
103 public void setAssetCategoryLocalService(
104 AssetCategoryLocalService assetCategoryLocalService) {
105 this.assetCategoryLocalService = assetCategoryLocalService;
106 }
107
108
113 public AssetCategoryService getAssetCategoryService() {
114 return assetCategoryService;
115 }
116
117
122 public void setAssetCategoryService(
123 AssetCategoryService assetCategoryService) {
124 this.assetCategoryService = assetCategoryService;
125 }
126
127
132 public AssetCategoryPersistence getAssetCategoryPersistence() {
133 return assetCategoryPersistence;
134 }
135
136
141 public void setAssetCategoryPersistence(
142 AssetCategoryPersistence assetCategoryPersistence) {
143 this.assetCategoryPersistence = assetCategoryPersistence;
144 }
145
146
151 public AssetCategoryFinder getAssetCategoryFinder() {
152 return assetCategoryFinder;
153 }
154
155
160 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
161 this.assetCategoryFinder = assetCategoryFinder;
162 }
163
164
169 public AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService() {
170 return assetCategoryPropertyLocalService;
171 }
172
173
178 public void setAssetCategoryPropertyLocalService(
179 AssetCategoryPropertyLocalService assetCategoryPropertyLocalService) {
180 this.assetCategoryPropertyLocalService = assetCategoryPropertyLocalService;
181 }
182
183
188 public AssetCategoryPropertyService getAssetCategoryPropertyService() {
189 return assetCategoryPropertyService;
190 }
191
192
197 public void setAssetCategoryPropertyService(
198 AssetCategoryPropertyService assetCategoryPropertyService) {
199 this.assetCategoryPropertyService = assetCategoryPropertyService;
200 }
201
202
207 public AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence() {
208 return assetCategoryPropertyPersistence;
209 }
210
211
216 public void setAssetCategoryPropertyPersistence(
217 AssetCategoryPropertyPersistence assetCategoryPropertyPersistence) {
218 this.assetCategoryPropertyPersistence = assetCategoryPropertyPersistence;
219 }
220
221
226 public AssetCategoryPropertyFinder getAssetCategoryPropertyFinder() {
227 return assetCategoryPropertyFinder;
228 }
229
230
235 public void setAssetCategoryPropertyFinder(
236 AssetCategoryPropertyFinder assetCategoryPropertyFinder) {
237 this.assetCategoryPropertyFinder = assetCategoryPropertyFinder;
238 }
239
240
245 public AssetEntryLocalService getAssetEntryLocalService() {
246 return assetEntryLocalService;
247 }
248
249
254 public void setAssetEntryLocalService(
255 AssetEntryLocalService assetEntryLocalService) {
256 this.assetEntryLocalService = assetEntryLocalService;
257 }
258
259
264 public AssetEntryService getAssetEntryService() {
265 return assetEntryService;
266 }
267
268
273 public void setAssetEntryService(AssetEntryService assetEntryService) {
274 this.assetEntryService = assetEntryService;
275 }
276
277
282 public AssetEntryPersistence getAssetEntryPersistence() {
283 return assetEntryPersistence;
284 }
285
286
291 public void setAssetEntryPersistence(
292 AssetEntryPersistence assetEntryPersistence) {
293 this.assetEntryPersistence = assetEntryPersistence;
294 }
295
296
301 public AssetEntryFinder getAssetEntryFinder() {
302 return assetEntryFinder;
303 }
304
305
310 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
311 this.assetEntryFinder = assetEntryFinder;
312 }
313
314
319 public AssetLinkLocalService getAssetLinkLocalService() {
320 return assetLinkLocalService;
321 }
322
323
328 public void setAssetLinkLocalService(
329 AssetLinkLocalService assetLinkLocalService) {
330 this.assetLinkLocalService = assetLinkLocalService;
331 }
332
333
338 public AssetLinkPersistence getAssetLinkPersistence() {
339 return assetLinkPersistence;
340 }
341
342
347 public void setAssetLinkPersistence(
348 AssetLinkPersistence assetLinkPersistence) {
349 this.assetLinkPersistence = assetLinkPersistence;
350 }
351
352
357 public AssetLinkFinder getAssetLinkFinder() {
358 return assetLinkFinder;
359 }
360
361
366 public void setAssetLinkFinder(AssetLinkFinder assetLinkFinder) {
367 this.assetLinkFinder = assetLinkFinder;
368 }
369
370
375 public AssetTagLocalService getAssetTagLocalService() {
376 return assetTagLocalService;
377 }
378
379
384 public void setAssetTagLocalService(
385 AssetTagLocalService assetTagLocalService) {
386 this.assetTagLocalService = assetTagLocalService;
387 }
388
389
394 public AssetTagService getAssetTagService() {
395 return assetTagService;
396 }
397
398
403 public void setAssetTagService(AssetTagService assetTagService) {
404 this.assetTagService = assetTagService;
405 }
406
407
412 public AssetTagPersistence getAssetTagPersistence() {
413 return assetTagPersistence;
414 }
415
416
421 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
422 this.assetTagPersistence = assetTagPersistence;
423 }
424
425
430 public AssetTagFinder getAssetTagFinder() {
431 return assetTagFinder;
432 }
433
434
439 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
440 this.assetTagFinder = assetTagFinder;
441 }
442
443
448 public AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
449 return assetTagPropertyLocalService;
450 }
451
452
457 public void setAssetTagPropertyLocalService(
458 AssetTagPropertyLocalService assetTagPropertyLocalService) {
459 this.assetTagPropertyLocalService = assetTagPropertyLocalService;
460 }
461
462
467 public AssetTagPropertyService getAssetTagPropertyService() {
468 return assetTagPropertyService;
469 }
470
471
476 public void setAssetTagPropertyService(
477 AssetTagPropertyService assetTagPropertyService) {
478 this.assetTagPropertyService = assetTagPropertyService;
479 }
480
481
486 public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
487 return assetTagPropertyPersistence;
488 }
489
490
495 public void setAssetTagPropertyPersistence(
496 AssetTagPropertyPersistence assetTagPropertyPersistence) {
497 this.assetTagPropertyPersistence = assetTagPropertyPersistence;
498 }
499
500
505 public AssetTagPropertyFinder getAssetTagPropertyFinder() {
506 return assetTagPropertyFinder;
507 }
508
509
514 public void setAssetTagPropertyFinder(
515 AssetTagPropertyFinder assetTagPropertyFinder) {
516 this.assetTagPropertyFinder = assetTagPropertyFinder;
517 }
518
519
524 public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
525 return assetTagPropertyKeyFinder;
526 }
527
528
533 public void setAssetTagPropertyKeyFinder(
534 AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
535 this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
536 }
537
538
543 public AssetTagStatsLocalService getAssetTagStatsLocalService() {
544 return assetTagStatsLocalService;
545 }
546
547
552 public void setAssetTagStatsLocalService(
553 AssetTagStatsLocalService assetTagStatsLocalService) {
554 this.assetTagStatsLocalService = assetTagStatsLocalService;
555 }
556
557
562 public AssetTagStatsPersistence getAssetTagStatsPersistence() {
563 return assetTagStatsPersistence;
564 }
565
566
571 public void setAssetTagStatsPersistence(
572 AssetTagStatsPersistence assetTagStatsPersistence) {
573 this.assetTagStatsPersistence = assetTagStatsPersistence;
574 }
575
576
581 public AssetVocabularyLocalService getAssetVocabularyLocalService() {
582 return assetVocabularyLocalService;
583 }
584
585
590 public void setAssetVocabularyLocalService(
591 AssetVocabularyLocalService assetVocabularyLocalService) {
592 this.assetVocabularyLocalService = assetVocabularyLocalService;
593 }
594
595
600 public AssetVocabularyService getAssetVocabularyService() {
601 return assetVocabularyService;
602 }
603
604
609 public void setAssetVocabularyService(
610 AssetVocabularyService assetVocabularyService) {
611 this.assetVocabularyService = assetVocabularyService;
612 }
613
614
619 public AssetVocabularyPersistence getAssetVocabularyPersistence() {
620 return assetVocabularyPersistence;
621 }
622
623
628 public void setAssetVocabularyPersistence(
629 AssetVocabularyPersistence assetVocabularyPersistence) {
630 this.assetVocabularyPersistence = assetVocabularyPersistence;
631 }
632
633
638 public AssetVocabularyFinder getAssetVocabularyFinder() {
639 return assetVocabularyFinder;
640 }
641
642
647 public void setAssetVocabularyFinder(
648 AssetVocabularyFinder assetVocabularyFinder) {
649 this.assetVocabularyFinder = assetVocabularyFinder;
650 }
651
652
657 public CounterLocalService getCounterLocalService() {
658 return counterLocalService;
659 }
660
661
666 public void setCounterLocalService(CounterLocalService counterLocalService) {
667 this.counterLocalService = counterLocalService;
668 }
669
670
675 public GroupLocalService getGroupLocalService() {
676 return groupLocalService;
677 }
678
679
684 public void setGroupLocalService(GroupLocalService groupLocalService) {
685 this.groupLocalService = groupLocalService;
686 }
687
688
693 public GroupService getGroupService() {
694 return groupService;
695 }
696
697
702 public void setGroupService(GroupService groupService) {
703 this.groupService = groupService;
704 }
705
706
711 public GroupPersistence getGroupPersistence() {
712 return groupPersistence;
713 }
714
715
720 public void setGroupPersistence(GroupPersistence groupPersistence) {
721 this.groupPersistence = groupPersistence;
722 }
723
724
729 public GroupFinder getGroupFinder() {
730 return groupFinder;
731 }
732
733
738 public void setGroupFinder(GroupFinder groupFinder) {
739 this.groupFinder = groupFinder;
740 }
741
742
747 public ResourceLocalService getResourceLocalService() {
748 return resourceLocalService;
749 }
750
751
756 public void setResourceLocalService(
757 ResourceLocalService resourceLocalService) {
758 this.resourceLocalService = resourceLocalService;
759 }
760
761
766 public UserLocalService getUserLocalService() {
767 return userLocalService;
768 }
769
770
775 public void setUserLocalService(UserLocalService userLocalService) {
776 this.userLocalService = userLocalService;
777 }
778
779
784 public UserService getUserService() {
785 return userService;
786 }
787
788
793 public void setUserService(UserService userService) {
794 this.userService = userService;
795 }
796
797
802 public UserPersistence getUserPersistence() {
803 return userPersistence;
804 }
805
806
811 public void setUserPersistence(UserPersistence userPersistence) {
812 this.userPersistence = userPersistence;
813 }
814
815
820 public UserFinder getUserFinder() {
821 return userFinder;
822 }
823
824
829 public void setUserFinder(UserFinder userFinder) {
830 this.userFinder = userFinder;
831 }
832
833 public void afterPropertiesSet() {
834 }
835
836 public void destroy() {
837 }
838
839
844 public String getBeanIdentifier() {
845 return _beanIdentifier;
846 }
847
848
853 public void setBeanIdentifier(String beanIdentifier) {
854 _beanIdentifier = beanIdentifier;
855 }
856
857 protected Class<?> getModelClass() {
858 return AssetVocabulary.class;
859 }
860
861 protected String getModelClassName() {
862 return AssetVocabulary.class.getName();
863 }
864
865
870 protected void runSQL(String sql) throws SystemException {
871 try {
872 DataSource dataSource = assetVocabularyPersistence.getDataSource();
873
874 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
875 sql, new int[0]);
876
877 sqlUpdate.update();
878 }
879 catch (Exception e) {
880 throw new SystemException(e);
881 }
882 }
883
884 @BeanReference(type = AssetCategoryLocalService.class)
885 protected AssetCategoryLocalService assetCategoryLocalService;
886 @BeanReference(type = AssetCategoryService.class)
887 protected AssetCategoryService assetCategoryService;
888 @BeanReference(type = AssetCategoryPersistence.class)
889 protected AssetCategoryPersistence assetCategoryPersistence;
890 @BeanReference(type = AssetCategoryFinder.class)
891 protected AssetCategoryFinder assetCategoryFinder;
892 @BeanReference(type = AssetCategoryPropertyLocalService.class)
893 protected AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
894 @BeanReference(type = AssetCategoryPropertyService.class)
895 protected AssetCategoryPropertyService assetCategoryPropertyService;
896 @BeanReference(type = AssetCategoryPropertyPersistence.class)
897 protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
898 @BeanReference(type = AssetCategoryPropertyFinder.class)
899 protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
900 @BeanReference(type = AssetEntryLocalService.class)
901 protected AssetEntryLocalService assetEntryLocalService;
902 @BeanReference(type = AssetEntryService.class)
903 protected AssetEntryService assetEntryService;
904 @BeanReference(type = AssetEntryPersistence.class)
905 protected AssetEntryPersistence assetEntryPersistence;
906 @BeanReference(type = AssetEntryFinder.class)
907 protected AssetEntryFinder assetEntryFinder;
908 @BeanReference(type = AssetLinkLocalService.class)
909 protected AssetLinkLocalService assetLinkLocalService;
910 @BeanReference(type = AssetLinkPersistence.class)
911 protected AssetLinkPersistence assetLinkPersistence;
912 @BeanReference(type = AssetLinkFinder.class)
913 protected AssetLinkFinder assetLinkFinder;
914 @BeanReference(type = AssetTagLocalService.class)
915 protected AssetTagLocalService assetTagLocalService;
916 @BeanReference(type = AssetTagService.class)
917 protected AssetTagService assetTagService;
918 @BeanReference(type = AssetTagPersistence.class)
919 protected AssetTagPersistence assetTagPersistence;
920 @BeanReference(type = AssetTagFinder.class)
921 protected AssetTagFinder assetTagFinder;
922 @BeanReference(type = AssetTagPropertyLocalService.class)
923 protected AssetTagPropertyLocalService assetTagPropertyLocalService;
924 @BeanReference(type = AssetTagPropertyService.class)
925 protected AssetTagPropertyService assetTagPropertyService;
926 @BeanReference(type = AssetTagPropertyPersistence.class)
927 protected AssetTagPropertyPersistence assetTagPropertyPersistence;
928 @BeanReference(type = AssetTagPropertyFinder.class)
929 protected AssetTagPropertyFinder assetTagPropertyFinder;
930 @BeanReference(type = AssetTagPropertyKeyFinder.class)
931 protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
932 @BeanReference(type = AssetTagStatsLocalService.class)
933 protected AssetTagStatsLocalService assetTagStatsLocalService;
934 @BeanReference(type = AssetTagStatsPersistence.class)
935 protected AssetTagStatsPersistence assetTagStatsPersistence;
936 @BeanReference(type = AssetVocabularyLocalService.class)
937 protected AssetVocabularyLocalService assetVocabularyLocalService;
938 @BeanReference(type = AssetVocabularyService.class)
939 protected AssetVocabularyService assetVocabularyService;
940 @BeanReference(type = AssetVocabularyPersistence.class)
941 protected AssetVocabularyPersistence assetVocabularyPersistence;
942 @BeanReference(type = AssetVocabularyFinder.class)
943 protected AssetVocabularyFinder assetVocabularyFinder;
944 @BeanReference(type = CounterLocalService.class)
945 protected CounterLocalService counterLocalService;
946 @BeanReference(type = GroupLocalService.class)
947 protected GroupLocalService groupLocalService;
948 @BeanReference(type = GroupService.class)
949 protected GroupService groupService;
950 @BeanReference(type = GroupPersistence.class)
951 protected GroupPersistence groupPersistence;
952 @BeanReference(type = GroupFinder.class)
953 protected GroupFinder groupFinder;
954 @BeanReference(type = ResourceLocalService.class)
955 protected ResourceLocalService resourceLocalService;
956 @BeanReference(type = UserLocalService.class)
957 protected UserLocalService userLocalService;
958 @BeanReference(type = UserService.class)
959 protected UserService userService;
960 @BeanReference(type = UserPersistence.class)
961 protected UserPersistence userPersistence;
962 @BeanReference(type = UserFinder.class)
963 protected UserFinder userFinder;
964 private String _beanIdentifier;
965 }