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.ResourceLocalService;
026 import com.liferay.portal.service.UserLocalService;
027 import com.liferay.portal.service.UserService;
028 import com.liferay.portal.service.persistence.UserFinder;
029 import com.liferay.portal.service.persistence.UserPersistence;
030
031 import com.liferay.portlet.asset.model.AssetTagProperty;
032 import com.liferay.portlet.asset.service.AssetCategoryLocalService;
033 import com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService;
034 import com.liferay.portlet.asset.service.AssetCategoryPropertyService;
035 import com.liferay.portlet.asset.service.AssetCategoryService;
036 import com.liferay.portlet.asset.service.AssetEntryLocalService;
037 import com.liferay.portlet.asset.service.AssetEntryService;
038 import com.liferay.portlet.asset.service.AssetLinkLocalService;
039 import com.liferay.portlet.asset.service.AssetTagLocalService;
040 import com.liferay.portlet.asset.service.AssetTagPropertyLocalService;
041 import com.liferay.portlet.asset.service.AssetTagPropertyService;
042 import com.liferay.portlet.asset.service.AssetTagService;
043 import com.liferay.portlet.asset.service.AssetTagStatsLocalService;
044 import com.liferay.portlet.asset.service.AssetVocabularyLocalService;
045 import com.liferay.portlet.asset.service.AssetVocabularyService;
046 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
047 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
048 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyFinder;
049 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence;
050 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
051 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
052 import com.liferay.portlet.asset.service.persistence.AssetLinkFinder;
053 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
054 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
055 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
056 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyFinder;
057 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyKeyFinder;
058 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence;
059 import com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence;
060 import com.liferay.portlet.asset.service.persistence.AssetVocabularyFinder;
061 import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence;
062
063 import javax.sql.DataSource;
064
065
077 public abstract class AssetTagPropertyServiceBaseImpl extends BaseServiceImpl
078 implements AssetTagPropertyService, IdentifiableBean {
079
084
085
090 public AssetCategoryLocalService getAssetCategoryLocalService() {
091 return assetCategoryLocalService;
092 }
093
094
099 public void setAssetCategoryLocalService(
100 AssetCategoryLocalService assetCategoryLocalService) {
101 this.assetCategoryLocalService = assetCategoryLocalService;
102 }
103
104
109 public AssetCategoryService getAssetCategoryService() {
110 return assetCategoryService;
111 }
112
113
118 public void setAssetCategoryService(
119 AssetCategoryService assetCategoryService) {
120 this.assetCategoryService = assetCategoryService;
121 }
122
123
128 public AssetCategoryPersistence getAssetCategoryPersistence() {
129 return assetCategoryPersistence;
130 }
131
132
137 public void setAssetCategoryPersistence(
138 AssetCategoryPersistence assetCategoryPersistence) {
139 this.assetCategoryPersistence = assetCategoryPersistence;
140 }
141
142
147 public AssetCategoryFinder getAssetCategoryFinder() {
148 return assetCategoryFinder;
149 }
150
151
156 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
157 this.assetCategoryFinder = assetCategoryFinder;
158 }
159
160
165 public AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService() {
166 return assetCategoryPropertyLocalService;
167 }
168
169
174 public void setAssetCategoryPropertyLocalService(
175 AssetCategoryPropertyLocalService assetCategoryPropertyLocalService) {
176 this.assetCategoryPropertyLocalService = assetCategoryPropertyLocalService;
177 }
178
179
184 public AssetCategoryPropertyService getAssetCategoryPropertyService() {
185 return assetCategoryPropertyService;
186 }
187
188
193 public void setAssetCategoryPropertyService(
194 AssetCategoryPropertyService assetCategoryPropertyService) {
195 this.assetCategoryPropertyService = assetCategoryPropertyService;
196 }
197
198
203 public AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence() {
204 return assetCategoryPropertyPersistence;
205 }
206
207
212 public void setAssetCategoryPropertyPersistence(
213 AssetCategoryPropertyPersistence assetCategoryPropertyPersistence) {
214 this.assetCategoryPropertyPersistence = assetCategoryPropertyPersistence;
215 }
216
217
222 public AssetCategoryPropertyFinder getAssetCategoryPropertyFinder() {
223 return assetCategoryPropertyFinder;
224 }
225
226
231 public void setAssetCategoryPropertyFinder(
232 AssetCategoryPropertyFinder assetCategoryPropertyFinder) {
233 this.assetCategoryPropertyFinder = assetCategoryPropertyFinder;
234 }
235
236
241 public AssetEntryLocalService getAssetEntryLocalService() {
242 return assetEntryLocalService;
243 }
244
245
250 public void setAssetEntryLocalService(
251 AssetEntryLocalService assetEntryLocalService) {
252 this.assetEntryLocalService = assetEntryLocalService;
253 }
254
255
260 public AssetEntryService getAssetEntryService() {
261 return assetEntryService;
262 }
263
264
269 public void setAssetEntryService(AssetEntryService assetEntryService) {
270 this.assetEntryService = assetEntryService;
271 }
272
273
278 public AssetEntryPersistence getAssetEntryPersistence() {
279 return assetEntryPersistence;
280 }
281
282
287 public void setAssetEntryPersistence(
288 AssetEntryPersistence assetEntryPersistence) {
289 this.assetEntryPersistence = assetEntryPersistence;
290 }
291
292
297 public AssetEntryFinder getAssetEntryFinder() {
298 return assetEntryFinder;
299 }
300
301
306 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
307 this.assetEntryFinder = assetEntryFinder;
308 }
309
310
315 public AssetLinkLocalService getAssetLinkLocalService() {
316 return assetLinkLocalService;
317 }
318
319
324 public void setAssetLinkLocalService(
325 AssetLinkLocalService assetLinkLocalService) {
326 this.assetLinkLocalService = assetLinkLocalService;
327 }
328
329
334 public AssetLinkPersistence getAssetLinkPersistence() {
335 return assetLinkPersistence;
336 }
337
338
343 public void setAssetLinkPersistence(
344 AssetLinkPersistence assetLinkPersistence) {
345 this.assetLinkPersistence = assetLinkPersistence;
346 }
347
348
353 public AssetLinkFinder getAssetLinkFinder() {
354 return assetLinkFinder;
355 }
356
357
362 public void setAssetLinkFinder(AssetLinkFinder assetLinkFinder) {
363 this.assetLinkFinder = assetLinkFinder;
364 }
365
366
371 public AssetTagLocalService getAssetTagLocalService() {
372 return assetTagLocalService;
373 }
374
375
380 public void setAssetTagLocalService(
381 AssetTagLocalService assetTagLocalService) {
382 this.assetTagLocalService = assetTagLocalService;
383 }
384
385
390 public AssetTagService getAssetTagService() {
391 return assetTagService;
392 }
393
394
399 public void setAssetTagService(AssetTagService assetTagService) {
400 this.assetTagService = assetTagService;
401 }
402
403
408 public AssetTagPersistence getAssetTagPersistence() {
409 return assetTagPersistence;
410 }
411
412
417 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
418 this.assetTagPersistence = assetTagPersistence;
419 }
420
421
426 public AssetTagFinder getAssetTagFinder() {
427 return assetTagFinder;
428 }
429
430
435 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
436 this.assetTagFinder = assetTagFinder;
437 }
438
439
444 public AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
445 return assetTagPropertyLocalService;
446 }
447
448
453 public void setAssetTagPropertyLocalService(
454 AssetTagPropertyLocalService assetTagPropertyLocalService) {
455 this.assetTagPropertyLocalService = assetTagPropertyLocalService;
456 }
457
458
463 public AssetTagPropertyService getAssetTagPropertyService() {
464 return assetTagPropertyService;
465 }
466
467
472 public void setAssetTagPropertyService(
473 AssetTagPropertyService assetTagPropertyService) {
474 this.assetTagPropertyService = assetTagPropertyService;
475 }
476
477
482 public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
483 return assetTagPropertyPersistence;
484 }
485
486
491 public void setAssetTagPropertyPersistence(
492 AssetTagPropertyPersistence assetTagPropertyPersistence) {
493 this.assetTagPropertyPersistence = assetTagPropertyPersistence;
494 }
495
496
501 public AssetTagPropertyFinder getAssetTagPropertyFinder() {
502 return assetTagPropertyFinder;
503 }
504
505
510 public void setAssetTagPropertyFinder(
511 AssetTagPropertyFinder assetTagPropertyFinder) {
512 this.assetTagPropertyFinder = assetTagPropertyFinder;
513 }
514
515
520 public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
521 return assetTagPropertyKeyFinder;
522 }
523
524
529 public void setAssetTagPropertyKeyFinder(
530 AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
531 this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
532 }
533
534
539 public AssetTagStatsLocalService getAssetTagStatsLocalService() {
540 return assetTagStatsLocalService;
541 }
542
543
548 public void setAssetTagStatsLocalService(
549 AssetTagStatsLocalService assetTagStatsLocalService) {
550 this.assetTagStatsLocalService = assetTagStatsLocalService;
551 }
552
553
558 public AssetTagStatsPersistence getAssetTagStatsPersistence() {
559 return assetTagStatsPersistence;
560 }
561
562
567 public void setAssetTagStatsPersistence(
568 AssetTagStatsPersistence assetTagStatsPersistence) {
569 this.assetTagStatsPersistence = assetTagStatsPersistence;
570 }
571
572
577 public AssetVocabularyLocalService getAssetVocabularyLocalService() {
578 return assetVocabularyLocalService;
579 }
580
581
586 public void setAssetVocabularyLocalService(
587 AssetVocabularyLocalService assetVocabularyLocalService) {
588 this.assetVocabularyLocalService = assetVocabularyLocalService;
589 }
590
591
596 public AssetVocabularyService getAssetVocabularyService() {
597 return assetVocabularyService;
598 }
599
600
605 public void setAssetVocabularyService(
606 AssetVocabularyService assetVocabularyService) {
607 this.assetVocabularyService = assetVocabularyService;
608 }
609
610
615 public AssetVocabularyPersistence getAssetVocabularyPersistence() {
616 return assetVocabularyPersistence;
617 }
618
619
624 public void setAssetVocabularyPersistence(
625 AssetVocabularyPersistence assetVocabularyPersistence) {
626 this.assetVocabularyPersistence = assetVocabularyPersistence;
627 }
628
629
634 public AssetVocabularyFinder getAssetVocabularyFinder() {
635 return assetVocabularyFinder;
636 }
637
638
643 public void setAssetVocabularyFinder(
644 AssetVocabularyFinder assetVocabularyFinder) {
645 this.assetVocabularyFinder = assetVocabularyFinder;
646 }
647
648
653 public CounterLocalService getCounterLocalService() {
654 return counterLocalService;
655 }
656
657
662 public void setCounterLocalService(CounterLocalService counterLocalService) {
663 this.counterLocalService = counterLocalService;
664 }
665
666
671 public ResourceLocalService getResourceLocalService() {
672 return resourceLocalService;
673 }
674
675
680 public void setResourceLocalService(
681 ResourceLocalService resourceLocalService) {
682 this.resourceLocalService = resourceLocalService;
683 }
684
685
690 public UserLocalService getUserLocalService() {
691 return userLocalService;
692 }
693
694
699 public void setUserLocalService(UserLocalService userLocalService) {
700 this.userLocalService = userLocalService;
701 }
702
703
708 public UserService getUserService() {
709 return userService;
710 }
711
712
717 public void setUserService(UserService userService) {
718 this.userService = userService;
719 }
720
721
726 public UserPersistence getUserPersistence() {
727 return userPersistence;
728 }
729
730
735 public void setUserPersistence(UserPersistence userPersistence) {
736 this.userPersistence = userPersistence;
737 }
738
739
744 public UserFinder getUserFinder() {
745 return userFinder;
746 }
747
748
753 public void setUserFinder(UserFinder userFinder) {
754 this.userFinder = userFinder;
755 }
756
757 public void afterPropertiesSet() {
758 }
759
760 public void destroy() {
761 }
762
763
768 public String getBeanIdentifier() {
769 return _beanIdentifier;
770 }
771
772
777 public void setBeanIdentifier(String beanIdentifier) {
778 _beanIdentifier = beanIdentifier;
779 }
780
781 protected Class<?> getModelClass() {
782 return AssetTagProperty.class;
783 }
784
785 protected String getModelClassName() {
786 return AssetTagProperty.class.getName();
787 }
788
789
794 protected void runSQL(String sql) throws SystemException {
795 try {
796 DataSource dataSource = assetTagPropertyPersistence.getDataSource();
797
798 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
799 sql, new int[0]);
800
801 sqlUpdate.update();
802 }
803 catch (Exception e) {
804 throw new SystemException(e);
805 }
806 }
807
808 @BeanReference(type = AssetCategoryLocalService.class)
809 protected AssetCategoryLocalService assetCategoryLocalService;
810 @BeanReference(type = AssetCategoryService.class)
811 protected AssetCategoryService assetCategoryService;
812 @BeanReference(type = AssetCategoryPersistence.class)
813 protected AssetCategoryPersistence assetCategoryPersistence;
814 @BeanReference(type = AssetCategoryFinder.class)
815 protected AssetCategoryFinder assetCategoryFinder;
816 @BeanReference(type = AssetCategoryPropertyLocalService.class)
817 protected AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
818 @BeanReference(type = AssetCategoryPropertyService.class)
819 protected AssetCategoryPropertyService assetCategoryPropertyService;
820 @BeanReference(type = AssetCategoryPropertyPersistence.class)
821 protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
822 @BeanReference(type = AssetCategoryPropertyFinder.class)
823 protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
824 @BeanReference(type = AssetEntryLocalService.class)
825 protected AssetEntryLocalService assetEntryLocalService;
826 @BeanReference(type = AssetEntryService.class)
827 protected AssetEntryService assetEntryService;
828 @BeanReference(type = AssetEntryPersistence.class)
829 protected AssetEntryPersistence assetEntryPersistence;
830 @BeanReference(type = AssetEntryFinder.class)
831 protected AssetEntryFinder assetEntryFinder;
832 @BeanReference(type = AssetLinkLocalService.class)
833 protected AssetLinkLocalService assetLinkLocalService;
834 @BeanReference(type = AssetLinkPersistence.class)
835 protected AssetLinkPersistence assetLinkPersistence;
836 @BeanReference(type = AssetLinkFinder.class)
837 protected AssetLinkFinder assetLinkFinder;
838 @BeanReference(type = AssetTagLocalService.class)
839 protected AssetTagLocalService assetTagLocalService;
840 @BeanReference(type = AssetTagService.class)
841 protected AssetTagService assetTagService;
842 @BeanReference(type = AssetTagPersistence.class)
843 protected AssetTagPersistence assetTagPersistence;
844 @BeanReference(type = AssetTagFinder.class)
845 protected AssetTagFinder assetTagFinder;
846 @BeanReference(type = AssetTagPropertyLocalService.class)
847 protected AssetTagPropertyLocalService assetTagPropertyLocalService;
848 @BeanReference(type = AssetTagPropertyService.class)
849 protected AssetTagPropertyService assetTagPropertyService;
850 @BeanReference(type = AssetTagPropertyPersistence.class)
851 protected AssetTagPropertyPersistence assetTagPropertyPersistence;
852 @BeanReference(type = AssetTagPropertyFinder.class)
853 protected AssetTagPropertyFinder assetTagPropertyFinder;
854 @BeanReference(type = AssetTagPropertyKeyFinder.class)
855 protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
856 @BeanReference(type = AssetTagStatsLocalService.class)
857 protected AssetTagStatsLocalService assetTagStatsLocalService;
858 @BeanReference(type = AssetTagStatsPersistence.class)
859 protected AssetTagStatsPersistence assetTagStatsPersistence;
860 @BeanReference(type = AssetVocabularyLocalService.class)
861 protected AssetVocabularyLocalService assetVocabularyLocalService;
862 @BeanReference(type = AssetVocabularyService.class)
863 protected AssetVocabularyService assetVocabularyService;
864 @BeanReference(type = AssetVocabularyPersistence.class)
865 protected AssetVocabularyPersistence assetVocabularyPersistence;
866 @BeanReference(type = AssetVocabularyFinder.class)
867 protected AssetVocabularyFinder assetVocabularyFinder;
868 @BeanReference(type = CounterLocalService.class)
869 protected CounterLocalService counterLocalService;
870 @BeanReference(type = ResourceLocalService.class)
871 protected ResourceLocalService resourceLocalService;
872 @BeanReference(type = UserLocalService.class)
873 protected UserLocalService userLocalService;
874 @BeanReference(type = UserService.class)
875 protected UserService userService;
876 @BeanReference(type = UserPersistence.class)
877 protected UserPersistence userPersistence;
878 @BeanReference(type = UserFinder.class)
879 protected UserFinder userFinder;
880 private String _beanIdentifier;
881 }