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.GroupFinder;
024 import com.liferay.portal.service.persistence.GroupPersistence;
025 import com.liferay.portal.service.persistence.UserFinder;
026 import com.liferay.portal.service.persistence.UserPersistence;
027
028 import com.liferay.portlet.asset.model.AssetTag;
029 import com.liferay.portlet.asset.service.AssetTagService;
030 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
031 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
032 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyFinder;
033 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence;
034 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
035 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
036 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
037 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
038 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
039 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyFinder;
040 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyKeyFinder;
041 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence;
042 import com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence;
043 import com.liferay.portlet.asset.service.persistence.AssetVocabularyFinder;
044 import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence;
045
046 import javax.sql.DataSource;
047
048
060 public abstract class AssetTagServiceBaseImpl extends BaseServiceImpl
061 implements AssetTagService, IdentifiableBean {
062
067
068
073 public com.liferay.portlet.asset.service.AssetCategoryLocalService getAssetCategoryLocalService() {
074 return assetCategoryLocalService;
075 }
076
077
082 public void setAssetCategoryLocalService(
083 com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService) {
084 this.assetCategoryLocalService = assetCategoryLocalService;
085 }
086
087
092 public com.liferay.portlet.asset.service.AssetCategoryService getAssetCategoryService() {
093 return assetCategoryService;
094 }
095
096
101 public void setAssetCategoryService(
102 com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService) {
103 this.assetCategoryService = assetCategoryService;
104 }
105
106
111 public AssetCategoryPersistence getAssetCategoryPersistence() {
112 return assetCategoryPersistence;
113 }
114
115
120 public void setAssetCategoryPersistence(
121 AssetCategoryPersistence assetCategoryPersistence) {
122 this.assetCategoryPersistence = assetCategoryPersistence;
123 }
124
125
130 public AssetCategoryFinder getAssetCategoryFinder() {
131 return assetCategoryFinder;
132 }
133
134
139 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
140 this.assetCategoryFinder = assetCategoryFinder;
141 }
142
143
148 public com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService() {
149 return assetCategoryPropertyLocalService;
150 }
151
152
157 public void setAssetCategoryPropertyLocalService(
158 com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService assetCategoryPropertyLocalService) {
159 this.assetCategoryPropertyLocalService = assetCategoryPropertyLocalService;
160 }
161
162
167 public com.liferay.portlet.asset.service.AssetCategoryPropertyService getAssetCategoryPropertyService() {
168 return assetCategoryPropertyService;
169 }
170
171
176 public void setAssetCategoryPropertyService(
177 com.liferay.portlet.asset.service.AssetCategoryPropertyService assetCategoryPropertyService) {
178 this.assetCategoryPropertyService = assetCategoryPropertyService;
179 }
180
181
186 public AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence() {
187 return assetCategoryPropertyPersistence;
188 }
189
190
195 public void setAssetCategoryPropertyPersistence(
196 AssetCategoryPropertyPersistence assetCategoryPropertyPersistence) {
197 this.assetCategoryPropertyPersistence = assetCategoryPropertyPersistence;
198 }
199
200
205 public AssetCategoryPropertyFinder getAssetCategoryPropertyFinder() {
206 return assetCategoryPropertyFinder;
207 }
208
209
214 public void setAssetCategoryPropertyFinder(
215 AssetCategoryPropertyFinder assetCategoryPropertyFinder) {
216 this.assetCategoryPropertyFinder = assetCategoryPropertyFinder;
217 }
218
219
224 public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
225 return assetEntryLocalService;
226 }
227
228
233 public void setAssetEntryLocalService(
234 com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
235 this.assetEntryLocalService = assetEntryLocalService;
236 }
237
238
243 public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
244 return assetEntryService;
245 }
246
247
252 public void setAssetEntryService(
253 com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
254 this.assetEntryService = assetEntryService;
255 }
256
257
262 public AssetEntryPersistence getAssetEntryPersistence() {
263 return assetEntryPersistence;
264 }
265
266
271 public void setAssetEntryPersistence(
272 AssetEntryPersistence assetEntryPersistence) {
273 this.assetEntryPersistence = assetEntryPersistence;
274 }
275
276
281 public AssetEntryFinder getAssetEntryFinder() {
282 return assetEntryFinder;
283 }
284
285
290 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
291 this.assetEntryFinder = assetEntryFinder;
292 }
293
294
299 public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
300 return assetLinkLocalService;
301 }
302
303
308 public void setAssetLinkLocalService(
309 com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
310 this.assetLinkLocalService = assetLinkLocalService;
311 }
312
313
318 public AssetLinkPersistence getAssetLinkPersistence() {
319 return assetLinkPersistence;
320 }
321
322
327 public void setAssetLinkPersistence(
328 AssetLinkPersistence assetLinkPersistence) {
329 this.assetLinkPersistence = assetLinkPersistence;
330 }
331
332
337 public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
338 return assetTagLocalService;
339 }
340
341
346 public void setAssetTagLocalService(
347 com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
348 this.assetTagLocalService = assetTagLocalService;
349 }
350
351
356 public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
357 return assetTagService;
358 }
359
360
365 public void setAssetTagService(
366 com.liferay.portlet.asset.service.AssetTagService assetTagService) {
367 this.assetTagService = assetTagService;
368 }
369
370
375 public AssetTagPersistence getAssetTagPersistence() {
376 return assetTagPersistence;
377 }
378
379
384 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
385 this.assetTagPersistence = assetTagPersistence;
386 }
387
388
393 public AssetTagFinder getAssetTagFinder() {
394 return assetTagFinder;
395 }
396
397
402 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
403 this.assetTagFinder = assetTagFinder;
404 }
405
406
411 public com.liferay.portlet.asset.service.AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
412 return assetTagPropertyLocalService;
413 }
414
415
420 public void setAssetTagPropertyLocalService(
421 com.liferay.portlet.asset.service.AssetTagPropertyLocalService assetTagPropertyLocalService) {
422 this.assetTagPropertyLocalService = assetTagPropertyLocalService;
423 }
424
425
430 public com.liferay.portlet.asset.service.AssetTagPropertyService getAssetTagPropertyService() {
431 return assetTagPropertyService;
432 }
433
434
439 public void setAssetTagPropertyService(
440 com.liferay.portlet.asset.service.AssetTagPropertyService assetTagPropertyService) {
441 this.assetTagPropertyService = assetTagPropertyService;
442 }
443
444
449 public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
450 return assetTagPropertyPersistence;
451 }
452
453
458 public void setAssetTagPropertyPersistence(
459 AssetTagPropertyPersistence assetTagPropertyPersistence) {
460 this.assetTagPropertyPersistence = assetTagPropertyPersistence;
461 }
462
463
468 public AssetTagPropertyFinder getAssetTagPropertyFinder() {
469 return assetTagPropertyFinder;
470 }
471
472
477 public void setAssetTagPropertyFinder(
478 AssetTagPropertyFinder assetTagPropertyFinder) {
479 this.assetTagPropertyFinder = assetTagPropertyFinder;
480 }
481
482
487 public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
488 return assetTagPropertyKeyFinder;
489 }
490
491
496 public void setAssetTagPropertyKeyFinder(
497 AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
498 this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
499 }
500
501
506 public com.liferay.portlet.asset.service.AssetTagStatsLocalService getAssetTagStatsLocalService() {
507 return assetTagStatsLocalService;
508 }
509
510
515 public void setAssetTagStatsLocalService(
516 com.liferay.portlet.asset.service.AssetTagStatsLocalService assetTagStatsLocalService) {
517 this.assetTagStatsLocalService = assetTagStatsLocalService;
518 }
519
520
525 public AssetTagStatsPersistence getAssetTagStatsPersistence() {
526 return assetTagStatsPersistence;
527 }
528
529
534 public void setAssetTagStatsPersistence(
535 AssetTagStatsPersistence assetTagStatsPersistence) {
536 this.assetTagStatsPersistence = assetTagStatsPersistence;
537 }
538
539
544 public com.liferay.portlet.asset.service.AssetVocabularyLocalService getAssetVocabularyLocalService() {
545 return assetVocabularyLocalService;
546 }
547
548
553 public void setAssetVocabularyLocalService(
554 com.liferay.portlet.asset.service.AssetVocabularyLocalService assetVocabularyLocalService) {
555 this.assetVocabularyLocalService = assetVocabularyLocalService;
556 }
557
558
563 public com.liferay.portlet.asset.service.AssetVocabularyService getAssetVocabularyService() {
564 return assetVocabularyService;
565 }
566
567
572 public void setAssetVocabularyService(
573 com.liferay.portlet.asset.service.AssetVocabularyService assetVocabularyService) {
574 this.assetVocabularyService = assetVocabularyService;
575 }
576
577
582 public AssetVocabularyPersistence getAssetVocabularyPersistence() {
583 return assetVocabularyPersistence;
584 }
585
586
591 public void setAssetVocabularyPersistence(
592 AssetVocabularyPersistence assetVocabularyPersistence) {
593 this.assetVocabularyPersistence = assetVocabularyPersistence;
594 }
595
596
601 public AssetVocabularyFinder getAssetVocabularyFinder() {
602 return assetVocabularyFinder;
603 }
604
605
610 public void setAssetVocabularyFinder(
611 AssetVocabularyFinder assetVocabularyFinder) {
612 this.assetVocabularyFinder = assetVocabularyFinder;
613 }
614
615
620 public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
621 return counterLocalService;
622 }
623
624
629 public void setCounterLocalService(
630 com.liferay.counter.service.CounterLocalService counterLocalService) {
631 this.counterLocalService = counterLocalService;
632 }
633
634
639 public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
640 return groupLocalService;
641 }
642
643
648 public void setGroupLocalService(
649 com.liferay.portal.service.GroupLocalService groupLocalService) {
650 this.groupLocalService = groupLocalService;
651 }
652
653
658 public com.liferay.portal.service.GroupService getGroupService() {
659 return groupService;
660 }
661
662
667 public void setGroupService(
668 com.liferay.portal.service.GroupService groupService) {
669 this.groupService = groupService;
670 }
671
672
677 public GroupPersistence getGroupPersistence() {
678 return groupPersistence;
679 }
680
681
686 public void setGroupPersistence(GroupPersistence groupPersistence) {
687 this.groupPersistence = groupPersistence;
688 }
689
690
695 public GroupFinder getGroupFinder() {
696 return groupFinder;
697 }
698
699
704 public void setGroupFinder(GroupFinder groupFinder) {
705 this.groupFinder = groupFinder;
706 }
707
708
713 public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
714 return resourceLocalService;
715 }
716
717
722 public void setResourceLocalService(
723 com.liferay.portal.service.ResourceLocalService resourceLocalService) {
724 this.resourceLocalService = resourceLocalService;
725 }
726
727
732 public com.liferay.portal.service.UserLocalService getUserLocalService() {
733 return userLocalService;
734 }
735
736
741 public void setUserLocalService(
742 com.liferay.portal.service.UserLocalService userLocalService) {
743 this.userLocalService = userLocalService;
744 }
745
746
751 public com.liferay.portal.service.UserService getUserService() {
752 return userService;
753 }
754
755
760 public void setUserService(
761 com.liferay.portal.service.UserService userService) {
762 this.userService = userService;
763 }
764
765
770 public UserPersistence getUserPersistence() {
771 return userPersistence;
772 }
773
774
779 public void setUserPersistence(UserPersistence userPersistence) {
780 this.userPersistence = userPersistence;
781 }
782
783
788 public UserFinder getUserFinder() {
789 return userFinder;
790 }
791
792
797 public void setUserFinder(UserFinder userFinder) {
798 this.userFinder = userFinder;
799 }
800
801 public void afterPropertiesSet() {
802 }
803
804 public void destroy() {
805 }
806
807
812 @Override
813 public String getBeanIdentifier() {
814 return _beanIdentifier;
815 }
816
817
822 @Override
823 public void setBeanIdentifier(String beanIdentifier) {
824 _beanIdentifier = beanIdentifier;
825 }
826
827 protected Class<?> getModelClass() {
828 return AssetTag.class;
829 }
830
831 protected String getModelClassName() {
832 return AssetTag.class.getName();
833 }
834
835
840 protected void runSQL(String sql) throws SystemException {
841 try {
842 DataSource dataSource = assetTagPersistence.getDataSource();
843
844 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
845 sql, new int[0]);
846
847 sqlUpdate.update();
848 }
849 catch (Exception e) {
850 throw new SystemException(e);
851 }
852 }
853
854 @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryLocalService.class)
855 protected com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService;
856 @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryService.class)
857 protected com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService;
858 @BeanReference(type = AssetCategoryPersistence.class)
859 protected AssetCategoryPersistence assetCategoryPersistence;
860 @BeanReference(type = AssetCategoryFinder.class)
861 protected AssetCategoryFinder assetCategoryFinder;
862 @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService.class)
863 protected com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
864 @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryPropertyService.class)
865 protected com.liferay.portlet.asset.service.AssetCategoryPropertyService assetCategoryPropertyService;
866 @BeanReference(type = AssetCategoryPropertyPersistence.class)
867 protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
868 @BeanReference(type = AssetCategoryPropertyFinder.class)
869 protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
870 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
871 protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
872 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
873 protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
874 @BeanReference(type = AssetEntryPersistence.class)
875 protected AssetEntryPersistence assetEntryPersistence;
876 @BeanReference(type = AssetEntryFinder.class)
877 protected AssetEntryFinder assetEntryFinder;
878 @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
879 protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
880 @BeanReference(type = AssetLinkPersistence.class)
881 protected AssetLinkPersistence assetLinkPersistence;
882 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
883 protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
884 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
885 protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
886 @BeanReference(type = AssetTagPersistence.class)
887 protected AssetTagPersistence assetTagPersistence;
888 @BeanReference(type = AssetTagFinder.class)
889 protected AssetTagFinder assetTagFinder;
890 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagPropertyLocalService.class)
891 protected com.liferay.portlet.asset.service.AssetTagPropertyLocalService assetTagPropertyLocalService;
892 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagPropertyService.class)
893 protected com.liferay.portlet.asset.service.AssetTagPropertyService assetTagPropertyService;
894 @BeanReference(type = AssetTagPropertyPersistence.class)
895 protected AssetTagPropertyPersistence assetTagPropertyPersistence;
896 @BeanReference(type = AssetTagPropertyFinder.class)
897 protected AssetTagPropertyFinder assetTagPropertyFinder;
898 @BeanReference(type = AssetTagPropertyKeyFinder.class)
899 protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
900 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagStatsLocalService.class)
901 protected com.liferay.portlet.asset.service.AssetTagStatsLocalService assetTagStatsLocalService;
902 @BeanReference(type = AssetTagStatsPersistence.class)
903 protected AssetTagStatsPersistence assetTagStatsPersistence;
904 @BeanReference(type = com.liferay.portlet.asset.service.AssetVocabularyLocalService.class)
905 protected com.liferay.portlet.asset.service.AssetVocabularyLocalService assetVocabularyLocalService;
906 @BeanReference(type = com.liferay.portlet.asset.service.AssetVocabularyService.class)
907 protected com.liferay.portlet.asset.service.AssetVocabularyService assetVocabularyService;
908 @BeanReference(type = AssetVocabularyPersistence.class)
909 protected AssetVocabularyPersistence assetVocabularyPersistence;
910 @BeanReference(type = AssetVocabularyFinder.class)
911 protected AssetVocabularyFinder assetVocabularyFinder;
912 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
913 protected com.liferay.counter.service.CounterLocalService counterLocalService;
914 @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
915 protected com.liferay.portal.service.GroupLocalService groupLocalService;
916 @BeanReference(type = com.liferay.portal.service.GroupService.class)
917 protected com.liferay.portal.service.GroupService groupService;
918 @BeanReference(type = GroupPersistence.class)
919 protected GroupPersistence groupPersistence;
920 @BeanReference(type = GroupFinder.class)
921 protected GroupFinder groupFinder;
922 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
923 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
924 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
925 protected com.liferay.portal.service.UserLocalService userLocalService;
926 @BeanReference(type = com.liferay.portal.service.UserService.class)
927 protected com.liferay.portal.service.UserService userService;
928 @BeanReference(type = UserPersistence.class)
929 protected UserPersistence userPersistence;
930 @BeanReference(type = UserFinder.class)
931 protected UserFinder userFinder;
932 private String _beanIdentifier;
933 }