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.UserFinder;
024 import com.liferay.portal.service.persistence.UserPersistence;
025
026 import com.liferay.portlet.asset.model.AssetTagProperty;
027 import com.liferay.portlet.asset.service.AssetTagPropertyService;
028 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
029 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
030 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyFinder;
031 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence;
032 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
033 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
034 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
035 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
036 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
037 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyFinder;
038 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyKeyFinder;
039 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence;
040 import com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence;
041 import com.liferay.portlet.asset.service.persistence.AssetVocabularyFinder;
042 import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence;
043
044 import javax.sql.DataSource;
045
046
058 public abstract class AssetTagPropertyServiceBaseImpl extends BaseServiceImpl
059 implements AssetTagPropertyService, IdentifiableBean {
060
065
066
071 public com.liferay.portlet.asset.service.AssetCategoryLocalService getAssetCategoryLocalService() {
072 return assetCategoryLocalService;
073 }
074
075
080 public void setAssetCategoryLocalService(
081 com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService) {
082 this.assetCategoryLocalService = assetCategoryLocalService;
083 }
084
085
090 public com.liferay.portlet.asset.service.AssetCategoryService getAssetCategoryService() {
091 return assetCategoryService;
092 }
093
094
099 public void setAssetCategoryService(
100 com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService) {
101 this.assetCategoryService = assetCategoryService;
102 }
103
104
109 public AssetCategoryPersistence getAssetCategoryPersistence() {
110 return assetCategoryPersistence;
111 }
112
113
118 public void setAssetCategoryPersistence(
119 AssetCategoryPersistence assetCategoryPersistence) {
120 this.assetCategoryPersistence = assetCategoryPersistence;
121 }
122
123
128 public AssetCategoryFinder getAssetCategoryFinder() {
129 return assetCategoryFinder;
130 }
131
132
137 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
138 this.assetCategoryFinder = assetCategoryFinder;
139 }
140
141
146 public com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService() {
147 return assetCategoryPropertyLocalService;
148 }
149
150
155 public void setAssetCategoryPropertyLocalService(
156 com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService assetCategoryPropertyLocalService) {
157 this.assetCategoryPropertyLocalService = assetCategoryPropertyLocalService;
158 }
159
160
165 public com.liferay.portlet.asset.service.AssetCategoryPropertyService getAssetCategoryPropertyService() {
166 return assetCategoryPropertyService;
167 }
168
169
174 public void setAssetCategoryPropertyService(
175 com.liferay.portlet.asset.service.AssetCategoryPropertyService assetCategoryPropertyService) {
176 this.assetCategoryPropertyService = assetCategoryPropertyService;
177 }
178
179
184 public AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence() {
185 return assetCategoryPropertyPersistence;
186 }
187
188
193 public void setAssetCategoryPropertyPersistence(
194 AssetCategoryPropertyPersistence assetCategoryPropertyPersistence) {
195 this.assetCategoryPropertyPersistence = assetCategoryPropertyPersistence;
196 }
197
198
203 public AssetCategoryPropertyFinder getAssetCategoryPropertyFinder() {
204 return assetCategoryPropertyFinder;
205 }
206
207
212 public void setAssetCategoryPropertyFinder(
213 AssetCategoryPropertyFinder assetCategoryPropertyFinder) {
214 this.assetCategoryPropertyFinder = assetCategoryPropertyFinder;
215 }
216
217
222 public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
223 return assetEntryLocalService;
224 }
225
226
231 public void setAssetEntryLocalService(
232 com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
233 this.assetEntryLocalService = assetEntryLocalService;
234 }
235
236
241 public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
242 return assetEntryService;
243 }
244
245
250 public void setAssetEntryService(
251 com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
252 this.assetEntryService = assetEntryService;
253 }
254
255
260 public AssetEntryPersistence getAssetEntryPersistence() {
261 return assetEntryPersistence;
262 }
263
264
269 public void setAssetEntryPersistence(
270 AssetEntryPersistence assetEntryPersistence) {
271 this.assetEntryPersistence = assetEntryPersistence;
272 }
273
274
279 public AssetEntryFinder getAssetEntryFinder() {
280 return assetEntryFinder;
281 }
282
283
288 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
289 this.assetEntryFinder = assetEntryFinder;
290 }
291
292
297 public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
298 return assetLinkLocalService;
299 }
300
301
306 public void setAssetLinkLocalService(
307 com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
308 this.assetLinkLocalService = assetLinkLocalService;
309 }
310
311
316 public AssetLinkPersistence getAssetLinkPersistence() {
317 return assetLinkPersistence;
318 }
319
320
325 public void setAssetLinkPersistence(
326 AssetLinkPersistence assetLinkPersistence) {
327 this.assetLinkPersistence = assetLinkPersistence;
328 }
329
330
335 public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
336 return assetTagLocalService;
337 }
338
339
344 public void setAssetTagLocalService(
345 com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
346 this.assetTagLocalService = assetTagLocalService;
347 }
348
349
354 public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
355 return assetTagService;
356 }
357
358
363 public void setAssetTagService(
364 com.liferay.portlet.asset.service.AssetTagService assetTagService) {
365 this.assetTagService = assetTagService;
366 }
367
368
373 public AssetTagPersistence getAssetTagPersistence() {
374 return assetTagPersistence;
375 }
376
377
382 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
383 this.assetTagPersistence = assetTagPersistence;
384 }
385
386
391 public AssetTagFinder getAssetTagFinder() {
392 return assetTagFinder;
393 }
394
395
400 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
401 this.assetTagFinder = assetTagFinder;
402 }
403
404
409 public com.liferay.portlet.asset.service.AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
410 return assetTagPropertyLocalService;
411 }
412
413
418 public void setAssetTagPropertyLocalService(
419 com.liferay.portlet.asset.service.AssetTagPropertyLocalService assetTagPropertyLocalService) {
420 this.assetTagPropertyLocalService = assetTagPropertyLocalService;
421 }
422
423
428 public com.liferay.portlet.asset.service.AssetTagPropertyService getAssetTagPropertyService() {
429 return assetTagPropertyService;
430 }
431
432
437 public void setAssetTagPropertyService(
438 com.liferay.portlet.asset.service.AssetTagPropertyService assetTagPropertyService) {
439 this.assetTagPropertyService = assetTagPropertyService;
440 }
441
442
447 public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
448 return assetTagPropertyPersistence;
449 }
450
451
456 public void setAssetTagPropertyPersistence(
457 AssetTagPropertyPersistence assetTagPropertyPersistence) {
458 this.assetTagPropertyPersistence = assetTagPropertyPersistence;
459 }
460
461
466 public AssetTagPropertyFinder getAssetTagPropertyFinder() {
467 return assetTagPropertyFinder;
468 }
469
470
475 public void setAssetTagPropertyFinder(
476 AssetTagPropertyFinder assetTagPropertyFinder) {
477 this.assetTagPropertyFinder = assetTagPropertyFinder;
478 }
479
480
485 public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
486 return assetTagPropertyKeyFinder;
487 }
488
489
494 public void setAssetTagPropertyKeyFinder(
495 AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
496 this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
497 }
498
499
504 public com.liferay.portlet.asset.service.AssetTagStatsLocalService getAssetTagStatsLocalService() {
505 return assetTagStatsLocalService;
506 }
507
508
513 public void setAssetTagStatsLocalService(
514 com.liferay.portlet.asset.service.AssetTagStatsLocalService assetTagStatsLocalService) {
515 this.assetTagStatsLocalService = assetTagStatsLocalService;
516 }
517
518
523 public AssetTagStatsPersistence getAssetTagStatsPersistence() {
524 return assetTagStatsPersistence;
525 }
526
527
532 public void setAssetTagStatsPersistence(
533 AssetTagStatsPersistence assetTagStatsPersistence) {
534 this.assetTagStatsPersistence = assetTagStatsPersistence;
535 }
536
537
542 public com.liferay.portlet.asset.service.AssetVocabularyLocalService getAssetVocabularyLocalService() {
543 return assetVocabularyLocalService;
544 }
545
546
551 public void setAssetVocabularyLocalService(
552 com.liferay.portlet.asset.service.AssetVocabularyLocalService assetVocabularyLocalService) {
553 this.assetVocabularyLocalService = assetVocabularyLocalService;
554 }
555
556
561 public com.liferay.portlet.asset.service.AssetVocabularyService getAssetVocabularyService() {
562 return assetVocabularyService;
563 }
564
565
570 public void setAssetVocabularyService(
571 com.liferay.portlet.asset.service.AssetVocabularyService assetVocabularyService) {
572 this.assetVocabularyService = assetVocabularyService;
573 }
574
575
580 public AssetVocabularyPersistence getAssetVocabularyPersistence() {
581 return assetVocabularyPersistence;
582 }
583
584
589 public void setAssetVocabularyPersistence(
590 AssetVocabularyPersistence assetVocabularyPersistence) {
591 this.assetVocabularyPersistence = assetVocabularyPersistence;
592 }
593
594
599 public AssetVocabularyFinder getAssetVocabularyFinder() {
600 return assetVocabularyFinder;
601 }
602
603
608 public void setAssetVocabularyFinder(
609 AssetVocabularyFinder assetVocabularyFinder) {
610 this.assetVocabularyFinder = assetVocabularyFinder;
611 }
612
613
618 public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
619 return counterLocalService;
620 }
621
622
627 public void setCounterLocalService(
628 com.liferay.counter.service.CounterLocalService counterLocalService) {
629 this.counterLocalService = counterLocalService;
630 }
631
632
637 public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
638 return resourceLocalService;
639 }
640
641
646 public void setResourceLocalService(
647 com.liferay.portal.service.ResourceLocalService resourceLocalService) {
648 this.resourceLocalService = resourceLocalService;
649 }
650
651
656 public com.liferay.portal.service.UserLocalService getUserLocalService() {
657 return userLocalService;
658 }
659
660
665 public void setUserLocalService(
666 com.liferay.portal.service.UserLocalService userLocalService) {
667 this.userLocalService = userLocalService;
668 }
669
670
675 public com.liferay.portal.service.UserService getUserService() {
676 return userService;
677 }
678
679
684 public void setUserService(
685 com.liferay.portal.service.UserService userService) {
686 this.userService = userService;
687 }
688
689
694 public UserPersistence getUserPersistence() {
695 return userPersistence;
696 }
697
698
703 public void setUserPersistence(UserPersistence userPersistence) {
704 this.userPersistence = userPersistence;
705 }
706
707
712 public UserFinder getUserFinder() {
713 return userFinder;
714 }
715
716
721 public void setUserFinder(UserFinder userFinder) {
722 this.userFinder = userFinder;
723 }
724
725 public void afterPropertiesSet() {
726 }
727
728 public void destroy() {
729 }
730
731
736 @Override
737 public String getBeanIdentifier() {
738 return _beanIdentifier;
739 }
740
741
746 @Override
747 public void setBeanIdentifier(String beanIdentifier) {
748 _beanIdentifier = beanIdentifier;
749 }
750
751 protected Class<?> getModelClass() {
752 return AssetTagProperty.class;
753 }
754
755 protected String getModelClassName() {
756 return AssetTagProperty.class.getName();
757 }
758
759
764 protected void runSQL(String sql) throws SystemException {
765 try {
766 DataSource dataSource = assetTagPropertyPersistence.getDataSource();
767
768 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
769 sql, new int[0]);
770
771 sqlUpdate.update();
772 }
773 catch (Exception e) {
774 throw new SystemException(e);
775 }
776 }
777
778 @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryLocalService.class)
779 protected com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService;
780 @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryService.class)
781 protected com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService;
782 @BeanReference(type = AssetCategoryPersistence.class)
783 protected AssetCategoryPersistence assetCategoryPersistence;
784 @BeanReference(type = AssetCategoryFinder.class)
785 protected AssetCategoryFinder assetCategoryFinder;
786 @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService.class)
787 protected com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
788 @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryPropertyService.class)
789 protected com.liferay.portlet.asset.service.AssetCategoryPropertyService assetCategoryPropertyService;
790 @BeanReference(type = AssetCategoryPropertyPersistence.class)
791 protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
792 @BeanReference(type = AssetCategoryPropertyFinder.class)
793 protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
794 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
795 protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
796 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
797 protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
798 @BeanReference(type = AssetEntryPersistence.class)
799 protected AssetEntryPersistence assetEntryPersistence;
800 @BeanReference(type = AssetEntryFinder.class)
801 protected AssetEntryFinder assetEntryFinder;
802 @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
803 protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
804 @BeanReference(type = AssetLinkPersistence.class)
805 protected AssetLinkPersistence assetLinkPersistence;
806 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
807 protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
808 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
809 protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
810 @BeanReference(type = AssetTagPersistence.class)
811 protected AssetTagPersistence assetTagPersistence;
812 @BeanReference(type = AssetTagFinder.class)
813 protected AssetTagFinder assetTagFinder;
814 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagPropertyLocalService.class)
815 protected com.liferay.portlet.asset.service.AssetTagPropertyLocalService assetTagPropertyLocalService;
816 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagPropertyService.class)
817 protected com.liferay.portlet.asset.service.AssetTagPropertyService assetTagPropertyService;
818 @BeanReference(type = AssetTagPropertyPersistence.class)
819 protected AssetTagPropertyPersistence assetTagPropertyPersistence;
820 @BeanReference(type = AssetTagPropertyFinder.class)
821 protected AssetTagPropertyFinder assetTagPropertyFinder;
822 @BeanReference(type = AssetTagPropertyKeyFinder.class)
823 protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
824 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagStatsLocalService.class)
825 protected com.liferay.portlet.asset.service.AssetTagStatsLocalService assetTagStatsLocalService;
826 @BeanReference(type = AssetTagStatsPersistence.class)
827 protected AssetTagStatsPersistence assetTagStatsPersistence;
828 @BeanReference(type = com.liferay.portlet.asset.service.AssetVocabularyLocalService.class)
829 protected com.liferay.portlet.asset.service.AssetVocabularyLocalService assetVocabularyLocalService;
830 @BeanReference(type = com.liferay.portlet.asset.service.AssetVocabularyService.class)
831 protected com.liferay.portlet.asset.service.AssetVocabularyService assetVocabularyService;
832 @BeanReference(type = AssetVocabularyPersistence.class)
833 protected AssetVocabularyPersistence assetVocabularyPersistence;
834 @BeanReference(type = AssetVocabularyFinder.class)
835 protected AssetVocabularyFinder assetVocabularyFinder;
836 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
837 protected com.liferay.counter.service.CounterLocalService counterLocalService;
838 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
839 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
840 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
841 protected com.liferay.portal.service.UserLocalService userLocalService;
842 @BeanReference(type = com.liferay.portal.service.UserService.class)
843 protected com.liferay.portal.service.UserService userService;
844 @BeanReference(type = UserPersistence.class)
845 protected UserPersistence userPersistence;
846 @BeanReference(type = UserFinder.class)
847 protected UserFinder userFinder;
848 private String _beanIdentifier;
849 }