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.ResourceService;
029 import com.liferay.portal.service.UserLocalService;
030 import com.liferay.portal.service.UserService;
031 import com.liferay.portal.service.persistence.GroupFinder;
032 import com.liferay.portal.service.persistence.GroupPersistence;
033 import com.liferay.portal.service.persistence.ResourceFinder;
034 import com.liferay.portal.service.persistence.ResourcePersistence;
035 import com.liferay.portal.service.persistence.UserFinder;
036 import com.liferay.portal.service.persistence.UserPersistence;
037
038 import com.liferay.portlet.asset.model.AssetVocabulary;
039 import com.liferay.portlet.asset.service.AssetCategoryLocalService;
040 import com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService;
041 import com.liferay.portlet.asset.service.AssetCategoryPropertyService;
042 import com.liferay.portlet.asset.service.AssetCategoryService;
043 import com.liferay.portlet.asset.service.AssetEntryLocalService;
044 import com.liferay.portlet.asset.service.AssetEntryService;
045 import com.liferay.portlet.asset.service.AssetLinkLocalService;
046 import com.liferay.portlet.asset.service.AssetTagLocalService;
047 import com.liferay.portlet.asset.service.AssetTagPropertyLocalService;
048 import com.liferay.portlet.asset.service.AssetTagPropertyService;
049 import com.liferay.portlet.asset.service.AssetTagService;
050 import com.liferay.portlet.asset.service.AssetTagStatsLocalService;
051 import com.liferay.portlet.asset.service.AssetVocabularyLocalService;
052 import com.liferay.portlet.asset.service.AssetVocabularyService;
053 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
054 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
055 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyFinder;
056 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence;
057 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
058 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
059 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
060 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
061 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
062 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyFinder;
063 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyKeyFinder;
064 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence;
065 import com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence;
066 import com.liferay.portlet.asset.service.persistence.AssetVocabularyFinder;
067 import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence;
068
069 import javax.sql.DataSource;
070
071
083 public abstract class AssetVocabularyServiceBaseImpl extends BaseServiceImpl
084 implements AssetVocabularyService, IdentifiableBean {
085
090
091
096 public AssetCategoryLocalService getAssetCategoryLocalService() {
097 return assetCategoryLocalService;
098 }
099
100
105 public void setAssetCategoryLocalService(
106 AssetCategoryLocalService assetCategoryLocalService) {
107 this.assetCategoryLocalService = assetCategoryLocalService;
108 }
109
110
115 public AssetCategoryService getAssetCategoryService() {
116 return assetCategoryService;
117 }
118
119
124 public void setAssetCategoryService(
125 AssetCategoryService assetCategoryService) {
126 this.assetCategoryService = assetCategoryService;
127 }
128
129
134 public AssetCategoryPersistence getAssetCategoryPersistence() {
135 return assetCategoryPersistence;
136 }
137
138
143 public void setAssetCategoryPersistence(
144 AssetCategoryPersistence assetCategoryPersistence) {
145 this.assetCategoryPersistence = assetCategoryPersistence;
146 }
147
148
153 public AssetCategoryFinder getAssetCategoryFinder() {
154 return assetCategoryFinder;
155 }
156
157
162 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
163 this.assetCategoryFinder = assetCategoryFinder;
164 }
165
166
171 public AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService() {
172 return assetCategoryPropertyLocalService;
173 }
174
175
180 public void setAssetCategoryPropertyLocalService(
181 AssetCategoryPropertyLocalService assetCategoryPropertyLocalService) {
182 this.assetCategoryPropertyLocalService = assetCategoryPropertyLocalService;
183 }
184
185
190 public AssetCategoryPropertyService getAssetCategoryPropertyService() {
191 return assetCategoryPropertyService;
192 }
193
194
199 public void setAssetCategoryPropertyService(
200 AssetCategoryPropertyService assetCategoryPropertyService) {
201 this.assetCategoryPropertyService = assetCategoryPropertyService;
202 }
203
204
209 public AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence() {
210 return assetCategoryPropertyPersistence;
211 }
212
213
218 public void setAssetCategoryPropertyPersistence(
219 AssetCategoryPropertyPersistence assetCategoryPropertyPersistence) {
220 this.assetCategoryPropertyPersistence = assetCategoryPropertyPersistence;
221 }
222
223
228 public AssetCategoryPropertyFinder getAssetCategoryPropertyFinder() {
229 return assetCategoryPropertyFinder;
230 }
231
232
237 public void setAssetCategoryPropertyFinder(
238 AssetCategoryPropertyFinder assetCategoryPropertyFinder) {
239 this.assetCategoryPropertyFinder = assetCategoryPropertyFinder;
240 }
241
242
247 public AssetEntryLocalService getAssetEntryLocalService() {
248 return assetEntryLocalService;
249 }
250
251
256 public void setAssetEntryLocalService(
257 AssetEntryLocalService assetEntryLocalService) {
258 this.assetEntryLocalService = assetEntryLocalService;
259 }
260
261
266 public AssetEntryService getAssetEntryService() {
267 return assetEntryService;
268 }
269
270
275 public void setAssetEntryService(AssetEntryService assetEntryService) {
276 this.assetEntryService = assetEntryService;
277 }
278
279
284 public AssetEntryPersistence getAssetEntryPersistence() {
285 return assetEntryPersistence;
286 }
287
288
293 public void setAssetEntryPersistence(
294 AssetEntryPersistence assetEntryPersistence) {
295 this.assetEntryPersistence = assetEntryPersistence;
296 }
297
298
303 public AssetEntryFinder getAssetEntryFinder() {
304 return assetEntryFinder;
305 }
306
307
312 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
313 this.assetEntryFinder = assetEntryFinder;
314 }
315
316
321 public AssetLinkLocalService getAssetLinkLocalService() {
322 return assetLinkLocalService;
323 }
324
325
330 public void setAssetLinkLocalService(
331 AssetLinkLocalService assetLinkLocalService) {
332 this.assetLinkLocalService = assetLinkLocalService;
333 }
334
335
340 public AssetLinkPersistence getAssetLinkPersistence() {
341 return assetLinkPersistence;
342 }
343
344
349 public void setAssetLinkPersistence(
350 AssetLinkPersistence assetLinkPersistence) {
351 this.assetLinkPersistence = assetLinkPersistence;
352 }
353
354
359 public AssetTagLocalService getAssetTagLocalService() {
360 return assetTagLocalService;
361 }
362
363
368 public void setAssetTagLocalService(
369 AssetTagLocalService assetTagLocalService) {
370 this.assetTagLocalService = assetTagLocalService;
371 }
372
373
378 public AssetTagService getAssetTagService() {
379 return assetTagService;
380 }
381
382
387 public void setAssetTagService(AssetTagService assetTagService) {
388 this.assetTagService = assetTagService;
389 }
390
391
396 public AssetTagPersistence getAssetTagPersistence() {
397 return assetTagPersistence;
398 }
399
400
405 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
406 this.assetTagPersistence = assetTagPersistence;
407 }
408
409
414 public AssetTagFinder getAssetTagFinder() {
415 return assetTagFinder;
416 }
417
418
423 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
424 this.assetTagFinder = assetTagFinder;
425 }
426
427
432 public AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
433 return assetTagPropertyLocalService;
434 }
435
436
441 public void setAssetTagPropertyLocalService(
442 AssetTagPropertyLocalService assetTagPropertyLocalService) {
443 this.assetTagPropertyLocalService = assetTagPropertyLocalService;
444 }
445
446
451 public AssetTagPropertyService getAssetTagPropertyService() {
452 return assetTagPropertyService;
453 }
454
455
460 public void setAssetTagPropertyService(
461 AssetTagPropertyService assetTagPropertyService) {
462 this.assetTagPropertyService = assetTagPropertyService;
463 }
464
465
470 public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
471 return assetTagPropertyPersistence;
472 }
473
474
479 public void setAssetTagPropertyPersistence(
480 AssetTagPropertyPersistence assetTagPropertyPersistence) {
481 this.assetTagPropertyPersistence = assetTagPropertyPersistence;
482 }
483
484
489 public AssetTagPropertyFinder getAssetTagPropertyFinder() {
490 return assetTagPropertyFinder;
491 }
492
493
498 public void setAssetTagPropertyFinder(
499 AssetTagPropertyFinder assetTagPropertyFinder) {
500 this.assetTagPropertyFinder = assetTagPropertyFinder;
501 }
502
503
508 public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
509 return assetTagPropertyKeyFinder;
510 }
511
512
517 public void setAssetTagPropertyKeyFinder(
518 AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
519 this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
520 }
521
522
527 public AssetTagStatsLocalService getAssetTagStatsLocalService() {
528 return assetTagStatsLocalService;
529 }
530
531
536 public void setAssetTagStatsLocalService(
537 AssetTagStatsLocalService assetTagStatsLocalService) {
538 this.assetTagStatsLocalService = assetTagStatsLocalService;
539 }
540
541
546 public AssetTagStatsPersistence getAssetTagStatsPersistence() {
547 return assetTagStatsPersistence;
548 }
549
550
555 public void setAssetTagStatsPersistence(
556 AssetTagStatsPersistence assetTagStatsPersistence) {
557 this.assetTagStatsPersistence = assetTagStatsPersistence;
558 }
559
560
565 public AssetVocabularyLocalService getAssetVocabularyLocalService() {
566 return assetVocabularyLocalService;
567 }
568
569
574 public void setAssetVocabularyLocalService(
575 AssetVocabularyLocalService assetVocabularyLocalService) {
576 this.assetVocabularyLocalService = assetVocabularyLocalService;
577 }
578
579
584 public AssetVocabularyService getAssetVocabularyService() {
585 return assetVocabularyService;
586 }
587
588
593 public void setAssetVocabularyService(
594 AssetVocabularyService assetVocabularyService) {
595 this.assetVocabularyService = assetVocabularyService;
596 }
597
598
603 public AssetVocabularyPersistence getAssetVocabularyPersistence() {
604 return assetVocabularyPersistence;
605 }
606
607
612 public void setAssetVocabularyPersistence(
613 AssetVocabularyPersistence assetVocabularyPersistence) {
614 this.assetVocabularyPersistence = assetVocabularyPersistence;
615 }
616
617
622 public AssetVocabularyFinder getAssetVocabularyFinder() {
623 return assetVocabularyFinder;
624 }
625
626
631 public void setAssetVocabularyFinder(
632 AssetVocabularyFinder assetVocabularyFinder) {
633 this.assetVocabularyFinder = assetVocabularyFinder;
634 }
635
636
641 public CounterLocalService getCounterLocalService() {
642 return counterLocalService;
643 }
644
645
650 public void setCounterLocalService(CounterLocalService counterLocalService) {
651 this.counterLocalService = counterLocalService;
652 }
653
654
659 public GroupLocalService getGroupLocalService() {
660 return groupLocalService;
661 }
662
663
668 public void setGroupLocalService(GroupLocalService groupLocalService) {
669 this.groupLocalService = groupLocalService;
670 }
671
672
677 public GroupService getGroupService() {
678 return groupService;
679 }
680
681
686 public void setGroupService(GroupService groupService) {
687 this.groupService = groupService;
688 }
689
690
695 public GroupPersistence getGroupPersistence() {
696 return groupPersistence;
697 }
698
699
704 public void setGroupPersistence(GroupPersistence groupPersistence) {
705 this.groupPersistence = groupPersistence;
706 }
707
708
713 public GroupFinder getGroupFinder() {
714 return groupFinder;
715 }
716
717
722 public void setGroupFinder(GroupFinder groupFinder) {
723 this.groupFinder = groupFinder;
724 }
725
726
731 public ResourceLocalService getResourceLocalService() {
732 return resourceLocalService;
733 }
734
735
740 public void setResourceLocalService(
741 ResourceLocalService resourceLocalService) {
742 this.resourceLocalService = resourceLocalService;
743 }
744
745
750 public ResourceService getResourceService() {
751 return resourceService;
752 }
753
754
759 public void setResourceService(ResourceService resourceService) {
760 this.resourceService = resourceService;
761 }
762
763
768 public ResourcePersistence getResourcePersistence() {
769 return resourcePersistence;
770 }
771
772
777 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
778 this.resourcePersistence = resourcePersistence;
779 }
780
781
786 public ResourceFinder getResourceFinder() {
787 return resourceFinder;
788 }
789
790
795 public void setResourceFinder(ResourceFinder resourceFinder) {
796 this.resourceFinder = resourceFinder;
797 }
798
799
804 public UserLocalService getUserLocalService() {
805 return userLocalService;
806 }
807
808
813 public void setUserLocalService(UserLocalService userLocalService) {
814 this.userLocalService = userLocalService;
815 }
816
817
822 public UserService getUserService() {
823 return userService;
824 }
825
826
831 public void setUserService(UserService userService) {
832 this.userService = userService;
833 }
834
835
840 public UserPersistence getUserPersistence() {
841 return userPersistence;
842 }
843
844
849 public void setUserPersistence(UserPersistence userPersistence) {
850 this.userPersistence = userPersistence;
851 }
852
853
858 public UserFinder getUserFinder() {
859 return userFinder;
860 }
861
862
867 public void setUserFinder(UserFinder userFinder) {
868 this.userFinder = userFinder;
869 }
870
871 public void afterPropertiesSet() {
872 }
873
874 public void destroy() {
875 }
876
877
882 public String getBeanIdentifier() {
883 return _beanIdentifier;
884 }
885
886
891 public void setBeanIdentifier(String beanIdentifier) {
892 _beanIdentifier = beanIdentifier;
893 }
894
895 protected Class<?> getModelClass() {
896 return AssetVocabulary.class;
897 }
898
899 protected String getModelClassName() {
900 return AssetVocabulary.class.getName();
901 }
902
903
908 protected void runSQL(String sql) throws SystemException {
909 try {
910 DataSource dataSource = assetVocabularyPersistence.getDataSource();
911
912 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
913 sql, new int[0]);
914
915 sqlUpdate.update();
916 }
917 catch (Exception e) {
918 throw new SystemException(e);
919 }
920 }
921
922 @BeanReference(type = AssetCategoryLocalService.class)
923 protected AssetCategoryLocalService assetCategoryLocalService;
924 @BeanReference(type = AssetCategoryService.class)
925 protected AssetCategoryService assetCategoryService;
926 @BeanReference(type = AssetCategoryPersistence.class)
927 protected AssetCategoryPersistence assetCategoryPersistence;
928 @BeanReference(type = AssetCategoryFinder.class)
929 protected AssetCategoryFinder assetCategoryFinder;
930 @BeanReference(type = AssetCategoryPropertyLocalService.class)
931 protected AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
932 @BeanReference(type = AssetCategoryPropertyService.class)
933 protected AssetCategoryPropertyService assetCategoryPropertyService;
934 @BeanReference(type = AssetCategoryPropertyPersistence.class)
935 protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
936 @BeanReference(type = AssetCategoryPropertyFinder.class)
937 protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
938 @BeanReference(type = AssetEntryLocalService.class)
939 protected AssetEntryLocalService assetEntryLocalService;
940 @BeanReference(type = AssetEntryService.class)
941 protected AssetEntryService assetEntryService;
942 @BeanReference(type = AssetEntryPersistence.class)
943 protected AssetEntryPersistence assetEntryPersistence;
944 @BeanReference(type = AssetEntryFinder.class)
945 protected AssetEntryFinder assetEntryFinder;
946 @BeanReference(type = AssetLinkLocalService.class)
947 protected AssetLinkLocalService assetLinkLocalService;
948 @BeanReference(type = AssetLinkPersistence.class)
949 protected AssetLinkPersistence assetLinkPersistence;
950 @BeanReference(type = AssetTagLocalService.class)
951 protected AssetTagLocalService assetTagLocalService;
952 @BeanReference(type = AssetTagService.class)
953 protected AssetTagService assetTagService;
954 @BeanReference(type = AssetTagPersistence.class)
955 protected AssetTagPersistence assetTagPersistence;
956 @BeanReference(type = AssetTagFinder.class)
957 protected AssetTagFinder assetTagFinder;
958 @BeanReference(type = AssetTagPropertyLocalService.class)
959 protected AssetTagPropertyLocalService assetTagPropertyLocalService;
960 @BeanReference(type = AssetTagPropertyService.class)
961 protected AssetTagPropertyService assetTagPropertyService;
962 @BeanReference(type = AssetTagPropertyPersistence.class)
963 protected AssetTagPropertyPersistence assetTagPropertyPersistence;
964 @BeanReference(type = AssetTagPropertyFinder.class)
965 protected AssetTagPropertyFinder assetTagPropertyFinder;
966 @BeanReference(type = AssetTagPropertyKeyFinder.class)
967 protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
968 @BeanReference(type = AssetTagStatsLocalService.class)
969 protected AssetTagStatsLocalService assetTagStatsLocalService;
970 @BeanReference(type = AssetTagStatsPersistence.class)
971 protected AssetTagStatsPersistence assetTagStatsPersistence;
972 @BeanReference(type = AssetVocabularyLocalService.class)
973 protected AssetVocabularyLocalService assetVocabularyLocalService;
974 @BeanReference(type = AssetVocabularyService.class)
975 protected AssetVocabularyService assetVocabularyService;
976 @BeanReference(type = AssetVocabularyPersistence.class)
977 protected AssetVocabularyPersistence assetVocabularyPersistence;
978 @BeanReference(type = AssetVocabularyFinder.class)
979 protected AssetVocabularyFinder assetVocabularyFinder;
980 @BeanReference(type = CounterLocalService.class)
981 protected CounterLocalService counterLocalService;
982 @BeanReference(type = GroupLocalService.class)
983 protected GroupLocalService groupLocalService;
984 @BeanReference(type = GroupService.class)
985 protected GroupService groupService;
986 @BeanReference(type = GroupPersistence.class)
987 protected GroupPersistence groupPersistence;
988 @BeanReference(type = GroupFinder.class)
989 protected GroupFinder groupFinder;
990 @BeanReference(type = ResourceLocalService.class)
991 protected ResourceLocalService resourceLocalService;
992 @BeanReference(type = ResourceService.class)
993 protected ResourceService resourceService;
994 @BeanReference(type = ResourcePersistence.class)
995 protected ResourcePersistence resourcePersistence;
996 @BeanReference(type = ResourceFinder.class)
997 protected ResourceFinder resourceFinder;
998 @BeanReference(type = UserLocalService.class)
999 protected UserLocalService userLocalService;
1000 @BeanReference(type = UserService.class)
1001 protected UserService userService;
1002 @BeanReference(type = UserPersistence.class)
1003 protected UserPersistence userPersistence;
1004 @BeanReference(type = UserFinder.class)
1005 protected UserFinder userFinder;
1006 private String _beanIdentifier;
1007 }