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.annotation.BeanReference;
020 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
021 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
022 import com.liferay.portal.kernel.exception.SystemException;
023 import com.liferay.portal.service.GroupLocalService;
024 import com.liferay.portal.service.GroupService;
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.base.PrincipalBean;
030 import com.liferay.portal.service.persistence.GroupFinder;
031 import com.liferay.portal.service.persistence.GroupPersistence;
032 import com.liferay.portal.service.persistence.ResourceFinder;
033 import com.liferay.portal.service.persistence.ResourcePersistence;
034 import com.liferay.portal.service.persistence.UserFinder;
035 import com.liferay.portal.service.persistence.UserPersistence;
036
037 import com.liferay.portlet.asset.service.AssetCategoryLocalService;
038 import com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService;
039 import com.liferay.portlet.asset.service.AssetCategoryPropertyService;
040 import com.liferay.portlet.asset.service.AssetCategoryService;
041 import com.liferay.portlet.asset.service.AssetEntryLocalService;
042 import com.liferay.portlet.asset.service.AssetEntryService;
043 import com.liferay.portlet.asset.service.AssetLinkLocalService;
044 import com.liferay.portlet.asset.service.AssetTagLocalService;
045 import com.liferay.portlet.asset.service.AssetTagPropertyLocalService;
046 import com.liferay.portlet.asset.service.AssetTagPropertyService;
047 import com.liferay.portlet.asset.service.AssetTagService;
048 import com.liferay.portlet.asset.service.AssetTagStatsLocalService;
049 import com.liferay.portlet.asset.service.AssetVocabularyLocalService;
050 import com.liferay.portlet.asset.service.AssetVocabularyService;
051 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
052 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
053 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyFinder;
054 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence;
055 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
056 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
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.AssetVocabularyPersistence;
065
066 import javax.sql.DataSource;
067
068
084 public abstract class AssetVocabularyServiceBaseImpl extends PrincipalBean
085 implements AssetVocabularyService {
086
091 public AssetCategoryLocalService getAssetCategoryLocalService() {
092 return assetCategoryLocalService;
093 }
094
095
100 public void setAssetCategoryLocalService(
101 AssetCategoryLocalService assetCategoryLocalService) {
102 this.assetCategoryLocalService = assetCategoryLocalService;
103 }
104
105
110 public AssetCategoryService getAssetCategoryService() {
111 return assetCategoryService;
112 }
113
114
119 public void setAssetCategoryService(
120 AssetCategoryService assetCategoryService) {
121 this.assetCategoryService = assetCategoryService;
122 }
123
124
129 public AssetCategoryPersistence getAssetCategoryPersistence() {
130 return assetCategoryPersistence;
131 }
132
133
138 public void setAssetCategoryPersistence(
139 AssetCategoryPersistence assetCategoryPersistence) {
140 this.assetCategoryPersistence = assetCategoryPersistence;
141 }
142
143
148 public AssetCategoryFinder getAssetCategoryFinder() {
149 return assetCategoryFinder;
150 }
151
152
157 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
158 this.assetCategoryFinder = assetCategoryFinder;
159 }
160
161
166 public AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService() {
167 return assetCategoryPropertyLocalService;
168 }
169
170
175 public void setAssetCategoryPropertyLocalService(
176 AssetCategoryPropertyLocalService assetCategoryPropertyLocalService) {
177 this.assetCategoryPropertyLocalService = assetCategoryPropertyLocalService;
178 }
179
180
185 public AssetCategoryPropertyService getAssetCategoryPropertyService() {
186 return assetCategoryPropertyService;
187 }
188
189
194 public void setAssetCategoryPropertyService(
195 AssetCategoryPropertyService assetCategoryPropertyService) {
196 this.assetCategoryPropertyService = assetCategoryPropertyService;
197 }
198
199
204 public AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence() {
205 return assetCategoryPropertyPersistence;
206 }
207
208
213 public void setAssetCategoryPropertyPersistence(
214 AssetCategoryPropertyPersistence assetCategoryPropertyPersistence) {
215 this.assetCategoryPropertyPersistence = assetCategoryPropertyPersistence;
216 }
217
218
223 public AssetCategoryPropertyFinder getAssetCategoryPropertyFinder() {
224 return assetCategoryPropertyFinder;
225 }
226
227
232 public void setAssetCategoryPropertyFinder(
233 AssetCategoryPropertyFinder assetCategoryPropertyFinder) {
234 this.assetCategoryPropertyFinder = assetCategoryPropertyFinder;
235 }
236
237
242 public AssetEntryLocalService getAssetEntryLocalService() {
243 return assetEntryLocalService;
244 }
245
246
251 public void setAssetEntryLocalService(
252 AssetEntryLocalService assetEntryLocalService) {
253 this.assetEntryLocalService = assetEntryLocalService;
254 }
255
256
261 public AssetEntryService getAssetEntryService() {
262 return assetEntryService;
263 }
264
265
270 public void setAssetEntryService(AssetEntryService assetEntryService) {
271 this.assetEntryService = assetEntryService;
272 }
273
274
279 public AssetEntryPersistence getAssetEntryPersistence() {
280 return assetEntryPersistence;
281 }
282
283
288 public void setAssetEntryPersistence(
289 AssetEntryPersistence assetEntryPersistence) {
290 this.assetEntryPersistence = assetEntryPersistence;
291 }
292
293
298 public AssetEntryFinder getAssetEntryFinder() {
299 return assetEntryFinder;
300 }
301
302
307 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
308 this.assetEntryFinder = assetEntryFinder;
309 }
310
311
316 public AssetLinkLocalService getAssetLinkLocalService() {
317 return assetLinkLocalService;
318 }
319
320
325 public void setAssetLinkLocalService(
326 AssetLinkLocalService assetLinkLocalService) {
327 this.assetLinkLocalService = assetLinkLocalService;
328 }
329
330
335 public AssetLinkPersistence getAssetLinkPersistence() {
336 return assetLinkPersistence;
337 }
338
339
344 public void setAssetLinkPersistence(
345 AssetLinkPersistence assetLinkPersistence) {
346 this.assetLinkPersistence = assetLinkPersistence;
347 }
348
349
354 public AssetTagLocalService getAssetTagLocalService() {
355 return assetTagLocalService;
356 }
357
358
363 public void setAssetTagLocalService(
364 AssetTagLocalService assetTagLocalService) {
365 this.assetTagLocalService = assetTagLocalService;
366 }
367
368
373 public AssetTagService getAssetTagService() {
374 return assetTagService;
375 }
376
377
382 public void setAssetTagService(AssetTagService assetTagService) {
383 this.assetTagService = assetTagService;
384 }
385
386
391 public AssetTagPersistence getAssetTagPersistence() {
392 return assetTagPersistence;
393 }
394
395
400 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
401 this.assetTagPersistence = assetTagPersistence;
402 }
403
404
409 public AssetTagFinder getAssetTagFinder() {
410 return assetTagFinder;
411 }
412
413
418 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
419 this.assetTagFinder = assetTagFinder;
420 }
421
422
427 public AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
428 return assetTagPropertyLocalService;
429 }
430
431
436 public void setAssetTagPropertyLocalService(
437 AssetTagPropertyLocalService assetTagPropertyLocalService) {
438 this.assetTagPropertyLocalService = assetTagPropertyLocalService;
439 }
440
441
446 public AssetTagPropertyService getAssetTagPropertyService() {
447 return assetTagPropertyService;
448 }
449
450
455 public void setAssetTagPropertyService(
456 AssetTagPropertyService assetTagPropertyService) {
457 this.assetTagPropertyService = assetTagPropertyService;
458 }
459
460
465 public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
466 return assetTagPropertyPersistence;
467 }
468
469
474 public void setAssetTagPropertyPersistence(
475 AssetTagPropertyPersistence assetTagPropertyPersistence) {
476 this.assetTagPropertyPersistence = assetTagPropertyPersistence;
477 }
478
479
484 public AssetTagPropertyFinder getAssetTagPropertyFinder() {
485 return assetTagPropertyFinder;
486 }
487
488
493 public void setAssetTagPropertyFinder(
494 AssetTagPropertyFinder assetTagPropertyFinder) {
495 this.assetTagPropertyFinder = assetTagPropertyFinder;
496 }
497
498
503 public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
504 return assetTagPropertyKeyFinder;
505 }
506
507
512 public void setAssetTagPropertyKeyFinder(
513 AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
514 this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
515 }
516
517
522 public AssetTagStatsLocalService getAssetTagStatsLocalService() {
523 return assetTagStatsLocalService;
524 }
525
526
531 public void setAssetTagStatsLocalService(
532 AssetTagStatsLocalService assetTagStatsLocalService) {
533 this.assetTagStatsLocalService = assetTagStatsLocalService;
534 }
535
536
541 public AssetTagStatsPersistence getAssetTagStatsPersistence() {
542 return assetTagStatsPersistence;
543 }
544
545
550 public void setAssetTagStatsPersistence(
551 AssetTagStatsPersistence assetTagStatsPersistence) {
552 this.assetTagStatsPersistence = assetTagStatsPersistence;
553 }
554
555
560 public AssetVocabularyLocalService getAssetVocabularyLocalService() {
561 return assetVocabularyLocalService;
562 }
563
564
569 public void setAssetVocabularyLocalService(
570 AssetVocabularyLocalService assetVocabularyLocalService) {
571 this.assetVocabularyLocalService = assetVocabularyLocalService;
572 }
573
574
579 public AssetVocabularyService getAssetVocabularyService() {
580 return assetVocabularyService;
581 }
582
583
588 public void setAssetVocabularyService(
589 AssetVocabularyService assetVocabularyService) {
590 this.assetVocabularyService = assetVocabularyService;
591 }
592
593
598 public AssetVocabularyPersistence getAssetVocabularyPersistence() {
599 return assetVocabularyPersistence;
600 }
601
602
607 public void setAssetVocabularyPersistence(
608 AssetVocabularyPersistence assetVocabularyPersistence) {
609 this.assetVocabularyPersistence = assetVocabularyPersistence;
610 }
611
612
617 public CounterLocalService getCounterLocalService() {
618 return counterLocalService;
619 }
620
621
626 public void setCounterLocalService(CounterLocalService counterLocalService) {
627 this.counterLocalService = counterLocalService;
628 }
629
630
635 public GroupLocalService getGroupLocalService() {
636 return groupLocalService;
637 }
638
639
644 public void setGroupLocalService(GroupLocalService groupLocalService) {
645 this.groupLocalService = groupLocalService;
646 }
647
648
653 public GroupService getGroupService() {
654 return groupService;
655 }
656
657
662 public void setGroupService(GroupService groupService) {
663 this.groupService = groupService;
664 }
665
666
671 public GroupPersistence getGroupPersistence() {
672 return groupPersistence;
673 }
674
675
680 public void setGroupPersistence(GroupPersistence groupPersistence) {
681 this.groupPersistence = groupPersistence;
682 }
683
684
689 public GroupFinder getGroupFinder() {
690 return groupFinder;
691 }
692
693
698 public void setGroupFinder(GroupFinder groupFinder) {
699 this.groupFinder = groupFinder;
700 }
701
702
707 public ResourceLocalService getResourceLocalService() {
708 return resourceLocalService;
709 }
710
711
716 public void setResourceLocalService(
717 ResourceLocalService resourceLocalService) {
718 this.resourceLocalService = resourceLocalService;
719 }
720
721
726 public ResourceService getResourceService() {
727 return resourceService;
728 }
729
730
735 public void setResourceService(ResourceService resourceService) {
736 this.resourceService = resourceService;
737 }
738
739
744 public ResourcePersistence getResourcePersistence() {
745 return resourcePersistence;
746 }
747
748
753 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
754 this.resourcePersistence = resourcePersistence;
755 }
756
757
762 public ResourceFinder getResourceFinder() {
763 return resourceFinder;
764 }
765
766
771 public void setResourceFinder(ResourceFinder resourceFinder) {
772 this.resourceFinder = resourceFinder;
773 }
774
775
780 public UserLocalService getUserLocalService() {
781 return userLocalService;
782 }
783
784
789 public void setUserLocalService(UserLocalService userLocalService) {
790 this.userLocalService = userLocalService;
791 }
792
793
798 public UserService getUserService() {
799 return userService;
800 }
801
802
807 public void setUserService(UserService userService) {
808 this.userService = userService;
809 }
810
811
816 public UserPersistence getUserPersistence() {
817 return userPersistence;
818 }
819
820
825 public void setUserPersistence(UserPersistence userPersistence) {
826 this.userPersistence = userPersistence;
827 }
828
829
834 public UserFinder getUserFinder() {
835 return userFinder;
836 }
837
838
843 public void setUserFinder(UserFinder userFinder) {
844 this.userFinder = userFinder;
845 }
846
847
852 protected void runSQL(String sql) throws SystemException {
853 try {
854 DataSource dataSource = assetVocabularyPersistence.getDataSource();
855
856 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
857 sql, new int[0]);
858
859 sqlUpdate.update();
860 }
861 catch (Exception e) {
862 throw new SystemException(e);
863 }
864 }
865
866 @BeanReference(type = AssetCategoryLocalService.class)
867 protected AssetCategoryLocalService assetCategoryLocalService;
868 @BeanReference(type = AssetCategoryService.class)
869 protected AssetCategoryService assetCategoryService;
870 @BeanReference(type = AssetCategoryPersistence.class)
871 protected AssetCategoryPersistence assetCategoryPersistence;
872 @BeanReference(type = AssetCategoryFinder.class)
873 protected AssetCategoryFinder assetCategoryFinder;
874 @BeanReference(type = AssetCategoryPropertyLocalService.class)
875 protected AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
876 @BeanReference(type = AssetCategoryPropertyService.class)
877 protected AssetCategoryPropertyService assetCategoryPropertyService;
878 @BeanReference(type = AssetCategoryPropertyPersistence.class)
879 protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
880 @BeanReference(type = AssetCategoryPropertyFinder.class)
881 protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
882 @BeanReference(type = AssetEntryLocalService.class)
883 protected AssetEntryLocalService assetEntryLocalService;
884 @BeanReference(type = AssetEntryService.class)
885 protected AssetEntryService assetEntryService;
886 @BeanReference(type = AssetEntryPersistence.class)
887 protected AssetEntryPersistence assetEntryPersistence;
888 @BeanReference(type = AssetEntryFinder.class)
889 protected AssetEntryFinder assetEntryFinder;
890 @BeanReference(type = AssetLinkLocalService.class)
891 protected AssetLinkLocalService assetLinkLocalService;
892 @BeanReference(type = AssetLinkPersistence.class)
893 protected AssetLinkPersistence assetLinkPersistence;
894 @BeanReference(type = AssetTagLocalService.class)
895 protected AssetTagLocalService assetTagLocalService;
896 @BeanReference(type = AssetTagService.class)
897 protected AssetTagService assetTagService;
898 @BeanReference(type = AssetTagPersistence.class)
899 protected AssetTagPersistence assetTagPersistence;
900 @BeanReference(type = AssetTagFinder.class)
901 protected AssetTagFinder assetTagFinder;
902 @BeanReference(type = AssetTagPropertyLocalService.class)
903 protected AssetTagPropertyLocalService assetTagPropertyLocalService;
904 @BeanReference(type = AssetTagPropertyService.class)
905 protected AssetTagPropertyService assetTagPropertyService;
906 @BeanReference(type = AssetTagPropertyPersistence.class)
907 protected AssetTagPropertyPersistence assetTagPropertyPersistence;
908 @BeanReference(type = AssetTagPropertyFinder.class)
909 protected AssetTagPropertyFinder assetTagPropertyFinder;
910 @BeanReference(type = AssetTagPropertyKeyFinder.class)
911 protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
912 @BeanReference(type = AssetTagStatsLocalService.class)
913 protected AssetTagStatsLocalService assetTagStatsLocalService;
914 @BeanReference(type = AssetTagStatsPersistence.class)
915 protected AssetTagStatsPersistence assetTagStatsPersistence;
916 @BeanReference(type = AssetVocabularyLocalService.class)
917 protected AssetVocabularyLocalService assetVocabularyLocalService;
918 @BeanReference(type = AssetVocabularyService.class)
919 protected AssetVocabularyService assetVocabularyService;
920 @BeanReference(type = AssetVocabularyPersistence.class)
921 protected AssetVocabularyPersistence assetVocabularyPersistence;
922 @BeanReference(type = CounterLocalService.class)
923 protected CounterLocalService counterLocalService;
924 @BeanReference(type = GroupLocalService.class)
925 protected GroupLocalService groupLocalService;
926 @BeanReference(type = GroupService.class)
927 protected GroupService groupService;
928 @BeanReference(type = GroupPersistence.class)
929 protected GroupPersistence groupPersistence;
930 @BeanReference(type = GroupFinder.class)
931 protected GroupFinder groupFinder;
932 @BeanReference(type = ResourceLocalService.class)
933 protected ResourceLocalService resourceLocalService;
934 @BeanReference(type = ResourceService.class)
935 protected ResourceService resourceService;
936 @BeanReference(type = ResourcePersistence.class)
937 protected ResourcePersistence resourcePersistence;
938 @BeanReference(type = ResourceFinder.class)
939 protected ResourceFinder resourceFinder;
940 @BeanReference(type = UserLocalService.class)
941 protected UserLocalService userLocalService;
942 @BeanReference(type = UserService.class)
943 protected UserService userService;
944 @BeanReference(type = UserPersistence.class)
945 protected UserPersistence userPersistence;
946 @BeanReference(type = UserFinder.class)
947 protected UserFinder userFinder;
948 }