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.AssetCategoryProperty;
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 AssetCategoryPropertyServiceBaseImpl
078 extends BaseServiceImpl implements AssetCategoryPropertyService,
079 IdentifiableBean {
080
085
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 AssetLinkFinder getAssetLinkFinder() {
355 return assetLinkFinder;
356 }
357
358
363 public void setAssetLinkFinder(AssetLinkFinder assetLinkFinder) {
364 this.assetLinkFinder = assetLinkFinder;
365 }
366
367
372 public AssetTagLocalService getAssetTagLocalService() {
373 return assetTagLocalService;
374 }
375
376
381 public void setAssetTagLocalService(
382 AssetTagLocalService assetTagLocalService) {
383 this.assetTagLocalService = assetTagLocalService;
384 }
385
386
391 public AssetTagService getAssetTagService() {
392 return assetTagService;
393 }
394
395
400 public void setAssetTagService(AssetTagService assetTagService) {
401 this.assetTagService = assetTagService;
402 }
403
404
409 public AssetTagPersistence getAssetTagPersistence() {
410 return assetTagPersistence;
411 }
412
413
418 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
419 this.assetTagPersistence = assetTagPersistence;
420 }
421
422
427 public AssetTagFinder getAssetTagFinder() {
428 return assetTagFinder;
429 }
430
431
436 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
437 this.assetTagFinder = assetTagFinder;
438 }
439
440
445 public AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
446 return assetTagPropertyLocalService;
447 }
448
449
454 public void setAssetTagPropertyLocalService(
455 AssetTagPropertyLocalService assetTagPropertyLocalService) {
456 this.assetTagPropertyLocalService = assetTagPropertyLocalService;
457 }
458
459
464 public AssetTagPropertyService getAssetTagPropertyService() {
465 return assetTagPropertyService;
466 }
467
468
473 public void setAssetTagPropertyService(
474 AssetTagPropertyService assetTagPropertyService) {
475 this.assetTagPropertyService = assetTagPropertyService;
476 }
477
478
483 public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
484 return assetTagPropertyPersistence;
485 }
486
487
492 public void setAssetTagPropertyPersistence(
493 AssetTagPropertyPersistence assetTagPropertyPersistence) {
494 this.assetTagPropertyPersistence = assetTagPropertyPersistence;
495 }
496
497
502 public AssetTagPropertyFinder getAssetTagPropertyFinder() {
503 return assetTagPropertyFinder;
504 }
505
506
511 public void setAssetTagPropertyFinder(
512 AssetTagPropertyFinder assetTagPropertyFinder) {
513 this.assetTagPropertyFinder = assetTagPropertyFinder;
514 }
515
516
521 public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
522 return assetTagPropertyKeyFinder;
523 }
524
525
530 public void setAssetTagPropertyKeyFinder(
531 AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
532 this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
533 }
534
535
540 public AssetTagStatsLocalService getAssetTagStatsLocalService() {
541 return assetTagStatsLocalService;
542 }
543
544
549 public void setAssetTagStatsLocalService(
550 AssetTagStatsLocalService assetTagStatsLocalService) {
551 this.assetTagStatsLocalService = assetTagStatsLocalService;
552 }
553
554
559 public AssetTagStatsPersistence getAssetTagStatsPersistence() {
560 return assetTagStatsPersistence;
561 }
562
563
568 public void setAssetTagStatsPersistence(
569 AssetTagStatsPersistence assetTagStatsPersistence) {
570 this.assetTagStatsPersistence = assetTagStatsPersistence;
571 }
572
573
578 public AssetVocabularyLocalService getAssetVocabularyLocalService() {
579 return assetVocabularyLocalService;
580 }
581
582
587 public void setAssetVocabularyLocalService(
588 AssetVocabularyLocalService assetVocabularyLocalService) {
589 this.assetVocabularyLocalService = assetVocabularyLocalService;
590 }
591
592
597 public AssetVocabularyService getAssetVocabularyService() {
598 return assetVocabularyService;
599 }
600
601
606 public void setAssetVocabularyService(
607 AssetVocabularyService assetVocabularyService) {
608 this.assetVocabularyService = assetVocabularyService;
609 }
610
611
616 public AssetVocabularyPersistence getAssetVocabularyPersistence() {
617 return assetVocabularyPersistence;
618 }
619
620
625 public void setAssetVocabularyPersistence(
626 AssetVocabularyPersistence assetVocabularyPersistence) {
627 this.assetVocabularyPersistence = assetVocabularyPersistence;
628 }
629
630
635 public AssetVocabularyFinder getAssetVocabularyFinder() {
636 return assetVocabularyFinder;
637 }
638
639
644 public void setAssetVocabularyFinder(
645 AssetVocabularyFinder assetVocabularyFinder) {
646 this.assetVocabularyFinder = assetVocabularyFinder;
647 }
648
649
654 public CounterLocalService getCounterLocalService() {
655 return counterLocalService;
656 }
657
658
663 public void setCounterLocalService(CounterLocalService counterLocalService) {
664 this.counterLocalService = counterLocalService;
665 }
666
667
672 public ResourceLocalService getResourceLocalService() {
673 return resourceLocalService;
674 }
675
676
681 public void setResourceLocalService(
682 ResourceLocalService resourceLocalService) {
683 this.resourceLocalService = resourceLocalService;
684 }
685
686
691 public UserLocalService getUserLocalService() {
692 return userLocalService;
693 }
694
695
700 public void setUserLocalService(UserLocalService userLocalService) {
701 this.userLocalService = userLocalService;
702 }
703
704
709 public UserService getUserService() {
710 return userService;
711 }
712
713
718 public void setUserService(UserService userService) {
719 this.userService = userService;
720 }
721
722
727 public UserPersistence getUserPersistence() {
728 return userPersistence;
729 }
730
731
736 public void setUserPersistence(UserPersistence userPersistence) {
737 this.userPersistence = userPersistence;
738 }
739
740
745 public UserFinder getUserFinder() {
746 return userFinder;
747 }
748
749
754 public void setUserFinder(UserFinder userFinder) {
755 this.userFinder = userFinder;
756 }
757
758 public void afterPropertiesSet() {
759 }
760
761 public void destroy() {
762 }
763
764
769 public String getBeanIdentifier() {
770 return _beanIdentifier;
771 }
772
773
778 public void setBeanIdentifier(String beanIdentifier) {
779 _beanIdentifier = beanIdentifier;
780 }
781
782 protected Class<?> getModelClass() {
783 return AssetCategoryProperty.class;
784 }
785
786 protected String getModelClassName() {
787 return AssetCategoryProperty.class.getName();
788 }
789
790
795 protected void runSQL(String sql) throws SystemException {
796 try {
797 DataSource dataSource = assetCategoryPropertyPersistence.getDataSource();
798
799 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
800 sql, new int[0]);
801
802 sqlUpdate.update();
803 }
804 catch (Exception e) {
805 throw new SystemException(e);
806 }
807 }
808
809 @BeanReference(type = AssetCategoryLocalService.class)
810 protected AssetCategoryLocalService assetCategoryLocalService;
811 @BeanReference(type = AssetCategoryService.class)
812 protected AssetCategoryService assetCategoryService;
813 @BeanReference(type = AssetCategoryPersistence.class)
814 protected AssetCategoryPersistence assetCategoryPersistence;
815 @BeanReference(type = AssetCategoryFinder.class)
816 protected AssetCategoryFinder assetCategoryFinder;
817 @BeanReference(type = AssetCategoryPropertyLocalService.class)
818 protected AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
819 @BeanReference(type = AssetCategoryPropertyService.class)
820 protected AssetCategoryPropertyService assetCategoryPropertyService;
821 @BeanReference(type = AssetCategoryPropertyPersistence.class)
822 protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
823 @BeanReference(type = AssetCategoryPropertyFinder.class)
824 protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
825 @BeanReference(type = AssetEntryLocalService.class)
826 protected AssetEntryLocalService assetEntryLocalService;
827 @BeanReference(type = AssetEntryService.class)
828 protected AssetEntryService assetEntryService;
829 @BeanReference(type = AssetEntryPersistence.class)
830 protected AssetEntryPersistence assetEntryPersistence;
831 @BeanReference(type = AssetEntryFinder.class)
832 protected AssetEntryFinder assetEntryFinder;
833 @BeanReference(type = AssetLinkLocalService.class)
834 protected AssetLinkLocalService assetLinkLocalService;
835 @BeanReference(type = AssetLinkPersistence.class)
836 protected AssetLinkPersistence assetLinkPersistence;
837 @BeanReference(type = AssetLinkFinder.class)
838 protected AssetLinkFinder assetLinkFinder;
839 @BeanReference(type = AssetTagLocalService.class)
840 protected AssetTagLocalService assetTagLocalService;
841 @BeanReference(type = AssetTagService.class)
842 protected AssetTagService assetTagService;
843 @BeanReference(type = AssetTagPersistence.class)
844 protected AssetTagPersistence assetTagPersistence;
845 @BeanReference(type = AssetTagFinder.class)
846 protected AssetTagFinder assetTagFinder;
847 @BeanReference(type = AssetTagPropertyLocalService.class)
848 protected AssetTagPropertyLocalService assetTagPropertyLocalService;
849 @BeanReference(type = AssetTagPropertyService.class)
850 protected AssetTagPropertyService assetTagPropertyService;
851 @BeanReference(type = AssetTagPropertyPersistence.class)
852 protected AssetTagPropertyPersistence assetTagPropertyPersistence;
853 @BeanReference(type = AssetTagPropertyFinder.class)
854 protected AssetTagPropertyFinder assetTagPropertyFinder;
855 @BeanReference(type = AssetTagPropertyKeyFinder.class)
856 protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
857 @BeanReference(type = AssetTagStatsLocalService.class)
858 protected AssetTagStatsLocalService assetTagStatsLocalService;
859 @BeanReference(type = AssetTagStatsPersistence.class)
860 protected AssetTagStatsPersistence assetTagStatsPersistence;
861 @BeanReference(type = AssetVocabularyLocalService.class)
862 protected AssetVocabularyLocalService assetVocabularyLocalService;
863 @BeanReference(type = AssetVocabularyService.class)
864 protected AssetVocabularyService assetVocabularyService;
865 @BeanReference(type = AssetVocabularyPersistence.class)
866 protected AssetVocabularyPersistence assetVocabularyPersistence;
867 @BeanReference(type = AssetVocabularyFinder.class)
868 protected AssetVocabularyFinder assetVocabularyFinder;
869 @BeanReference(type = CounterLocalService.class)
870 protected CounterLocalService counterLocalService;
871 @BeanReference(type = ResourceLocalService.class)
872 protected ResourceLocalService resourceLocalService;
873 @BeanReference(type = UserLocalService.class)
874 protected UserLocalService userLocalService;
875 @BeanReference(type = UserService.class)
876 protected UserService userService;
877 @BeanReference(type = UserPersistence.class)
878 protected UserPersistence userPersistence;
879 @BeanReference(type = UserFinder.class)
880 protected UserFinder userFinder;
881 private String _beanIdentifier;
882 }