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.ResourceService;
027 import com.liferay.portal.service.UserLocalService;
028 import com.liferay.portal.service.UserService;
029 import com.liferay.portal.service.persistence.ResourceFinder;
030 import com.liferay.portal.service.persistence.ResourcePersistence;
031 import com.liferay.portal.service.persistence.UserFinder;
032 import com.liferay.portal.service.persistence.UserPersistence;
033
034 import com.liferay.portlet.asset.model.AssetCategory;
035 import com.liferay.portlet.asset.service.AssetCategoryLocalService;
036 import com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService;
037 import com.liferay.portlet.asset.service.AssetCategoryPropertyService;
038 import com.liferay.portlet.asset.service.AssetCategoryService;
039 import com.liferay.portlet.asset.service.AssetEntryLocalService;
040 import com.liferay.portlet.asset.service.AssetEntryService;
041 import com.liferay.portlet.asset.service.AssetLinkLocalService;
042 import com.liferay.portlet.asset.service.AssetTagLocalService;
043 import com.liferay.portlet.asset.service.AssetTagPropertyLocalService;
044 import com.liferay.portlet.asset.service.AssetTagPropertyService;
045 import com.liferay.portlet.asset.service.AssetTagService;
046 import com.liferay.portlet.asset.service.AssetTagStatsLocalService;
047 import com.liferay.portlet.asset.service.AssetVocabularyLocalService;
048 import com.liferay.portlet.asset.service.AssetVocabularyService;
049 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
050 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
051 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyFinder;
052 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence;
053 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
054 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
055 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
056 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
057 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
058 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyFinder;
059 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyKeyFinder;
060 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence;
061 import com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence;
062 import com.liferay.portlet.asset.service.persistence.AssetVocabularyFinder;
063 import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence;
064
065 import javax.sql.DataSource;
066
067
079 public abstract class AssetCategoryServiceBaseImpl extends BaseServiceImpl
080 implements AssetCategoryService, IdentifiableBean {
081
086
087
092 public AssetCategoryLocalService getAssetCategoryLocalService() {
093 return assetCategoryLocalService;
094 }
095
096
101 public void setAssetCategoryLocalService(
102 AssetCategoryLocalService assetCategoryLocalService) {
103 this.assetCategoryLocalService = assetCategoryLocalService;
104 }
105
106
111 public AssetCategoryService getAssetCategoryService() {
112 return assetCategoryService;
113 }
114
115
120 public void setAssetCategoryService(
121 AssetCategoryService assetCategoryService) {
122 this.assetCategoryService = assetCategoryService;
123 }
124
125
130 public AssetCategoryPersistence getAssetCategoryPersistence() {
131 return assetCategoryPersistence;
132 }
133
134
139 public void setAssetCategoryPersistence(
140 AssetCategoryPersistence assetCategoryPersistence) {
141 this.assetCategoryPersistence = assetCategoryPersistence;
142 }
143
144
149 public AssetCategoryFinder getAssetCategoryFinder() {
150 return assetCategoryFinder;
151 }
152
153
158 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
159 this.assetCategoryFinder = assetCategoryFinder;
160 }
161
162
167 public AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService() {
168 return assetCategoryPropertyLocalService;
169 }
170
171
176 public void setAssetCategoryPropertyLocalService(
177 AssetCategoryPropertyLocalService assetCategoryPropertyLocalService) {
178 this.assetCategoryPropertyLocalService = assetCategoryPropertyLocalService;
179 }
180
181
186 public AssetCategoryPropertyService getAssetCategoryPropertyService() {
187 return assetCategoryPropertyService;
188 }
189
190
195 public void setAssetCategoryPropertyService(
196 AssetCategoryPropertyService assetCategoryPropertyService) {
197 this.assetCategoryPropertyService = assetCategoryPropertyService;
198 }
199
200
205 public AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence() {
206 return assetCategoryPropertyPersistence;
207 }
208
209
214 public void setAssetCategoryPropertyPersistence(
215 AssetCategoryPropertyPersistence assetCategoryPropertyPersistence) {
216 this.assetCategoryPropertyPersistence = assetCategoryPropertyPersistence;
217 }
218
219
224 public AssetCategoryPropertyFinder getAssetCategoryPropertyFinder() {
225 return assetCategoryPropertyFinder;
226 }
227
228
233 public void setAssetCategoryPropertyFinder(
234 AssetCategoryPropertyFinder assetCategoryPropertyFinder) {
235 this.assetCategoryPropertyFinder = assetCategoryPropertyFinder;
236 }
237
238
243 public AssetEntryLocalService getAssetEntryLocalService() {
244 return assetEntryLocalService;
245 }
246
247
252 public void setAssetEntryLocalService(
253 AssetEntryLocalService assetEntryLocalService) {
254 this.assetEntryLocalService = assetEntryLocalService;
255 }
256
257
262 public AssetEntryService getAssetEntryService() {
263 return assetEntryService;
264 }
265
266
271 public void setAssetEntryService(AssetEntryService assetEntryService) {
272 this.assetEntryService = assetEntryService;
273 }
274
275
280 public AssetEntryPersistence getAssetEntryPersistence() {
281 return assetEntryPersistence;
282 }
283
284
289 public void setAssetEntryPersistence(
290 AssetEntryPersistence assetEntryPersistence) {
291 this.assetEntryPersistence = assetEntryPersistence;
292 }
293
294
299 public AssetEntryFinder getAssetEntryFinder() {
300 return assetEntryFinder;
301 }
302
303
308 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
309 this.assetEntryFinder = assetEntryFinder;
310 }
311
312
317 public AssetLinkLocalService getAssetLinkLocalService() {
318 return assetLinkLocalService;
319 }
320
321
326 public void setAssetLinkLocalService(
327 AssetLinkLocalService assetLinkLocalService) {
328 this.assetLinkLocalService = assetLinkLocalService;
329 }
330
331
336 public AssetLinkPersistence getAssetLinkPersistence() {
337 return assetLinkPersistence;
338 }
339
340
345 public void setAssetLinkPersistence(
346 AssetLinkPersistence assetLinkPersistence) {
347 this.assetLinkPersistence = assetLinkPersistence;
348 }
349
350
355 public AssetTagLocalService getAssetTagLocalService() {
356 return assetTagLocalService;
357 }
358
359
364 public void setAssetTagLocalService(
365 AssetTagLocalService assetTagLocalService) {
366 this.assetTagLocalService = assetTagLocalService;
367 }
368
369
374 public AssetTagService getAssetTagService() {
375 return assetTagService;
376 }
377
378
383 public void setAssetTagService(AssetTagService assetTagService) {
384 this.assetTagService = assetTagService;
385 }
386
387
392 public AssetTagPersistence getAssetTagPersistence() {
393 return assetTagPersistence;
394 }
395
396
401 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
402 this.assetTagPersistence = assetTagPersistence;
403 }
404
405
410 public AssetTagFinder getAssetTagFinder() {
411 return assetTagFinder;
412 }
413
414
419 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
420 this.assetTagFinder = assetTagFinder;
421 }
422
423
428 public AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
429 return assetTagPropertyLocalService;
430 }
431
432
437 public void setAssetTagPropertyLocalService(
438 AssetTagPropertyLocalService assetTagPropertyLocalService) {
439 this.assetTagPropertyLocalService = assetTagPropertyLocalService;
440 }
441
442
447 public AssetTagPropertyService getAssetTagPropertyService() {
448 return assetTagPropertyService;
449 }
450
451
456 public void setAssetTagPropertyService(
457 AssetTagPropertyService assetTagPropertyService) {
458 this.assetTagPropertyService = assetTagPropertyService;
459 }
460
461
466 public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
467 return assetTagPropertyPersistence;
468 }
469
470
475 public void setAssetTagPropertyPersistence(
476 AssetTagPropertyPersistence assetTagPropertyPersistence) {
477 this.assetTagPropertyPersistence = assetTagPropertyPersistence;
478 }
479
480
485 public AssetTagPropertyFinder getAssetTagPropertyFinder() {
486 return assetTagPropertyFinder;
487 }
488
489
494 public void setAssetTagPropertyFinder(
495 AssetTagPropertyFinder assetTagPropertyFinder) {
496 this.assetTagPropertyFinder = assetTagPropertyFinder;
497 }
498
499
504 public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
505 return assetTagPropertyKeyFinder;
506 }
507
508
513 public void setAssetTagPropertyKeyFinder(
514 AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
515 this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
516 }
517
518
523 public AssetTagStatsLocalService getAssetTagStatsLocalService() {
524 return assetTagStatsLocalService;
525 }
526
527
532 public void setAssetTagStatsLocalService(
533 AssetTagStatsLocalService assetTagStatsLocalService) {
534 this.assetTagStatsLocalService = assetTagStatsLocalService;
535 }
536
537
542 public AssetTagStatsPersistence getAssetTagStatsPersistence() {
543 return assetTagStatsPersistence;
544 }
545
546
551 public void setAssetTagStatsPersistence(
552 AssetTagStatsPersistence assetTagStatsPersistence) {
553 this.assetTagStatsPersistence = assetTagStatsPersistence;
554 }
555
556
561 public AssetVocabularyLocalService getAssetVocabularyLocalService() {
562 return assetVocabularyLocalService;
563 }
564
565
570 public void setAssetVocabularyLocalService(
571 AssetVocabularyLocalService assetVocabularyLocalService) {
572 this.assetVocabularyLocalService = assetVocabularyLocalService;
573 }
574
575
580 public AssetVocabularyService getAssetVocabularyService() {
581 return assetVocabularyService;
582 }
583
584
589 public void setAssetVocabularyService(
590 AssetVocabularyService assetVocabularyService) {
591 this.assetVocabularyService = assetVocabularyService;
592 }
593
594
599 public AssetVocabularyPersistence getAssetVocabularyPersistence() {
600 return assetVocabularyPersistence;
601 }
602
603
608 public void setAssetVocabularyPersistence(
609 AssetVocabularyPersistence assetVocabularyPersistence) {
610 this.assetVocabularyPersistence = assetVocabularyPersistence;
611 }
612
613
618 public AssetVocabularyFinder getAssetVocabularyFinder() {
619 return assetVocabularyFinder;
620 }
621
622
627 public void setAssetVocabularyFinder(
628 AssetVocabularyFinder assetVocabularyFinder) {
629 this.assetVocabularyFinder = assetVocabularyFinder;
630 }
631
632
637 public CounterLocalService getCounterLocalService() {
638 return counterLocalService;
639 }
640
641
646 public void setCounterLocalService(CounterLocalService counterLocalService) {
647 this.counterLocalService = counterLocalService;
648 }
649
650
655 public ResourceLocalService getResourceLocalService() {
656 return resourceLocalService;
657 }
658
659
664 public void setResourceLocalService(
665 ResourceLocalService resourceLocalService) {
666 this.resourceLocalService = resourceLocalService;
667 }
668
669
674 public ResourceService getResourceService() {
675 return resourceService;
676 }
677
678
683 public void setResourceService(ResourceService resourceService) {
684 this.resourceService = resourceService;
685 }
686
687
692 public ResourcePersistence getResourcePersistence() {
693 return resourcePersistence;
694 }
695
696
701 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
702 this.resourcePersistence = resourcePersistence;
703 }
704
705
710 public ResourceFinder getResourceFinder() {
711 return resourceFinder;
712 }
713
714
719 public void setResourceFinder(ResourceFinder resourceFinder) {
720 this.resourceFinder = resourceFinder;
721 }
722
723
728 public UserLocalService getUserLocalService() {
729 return userLocalService;
730 }
731
732
737 public void setUserLocalService(UserLocalService userLocalService) {
738 this.userLocalService = userLocalService;
739 }
740
741
746 public UserService getUserService() {
747 return userService;
748 }
749
750
755 public void setUserService(UserService userService) {
756 this.userService = userService;
757 }
758
759
764 public UserPersistence getUserPersistence() {
765 return userPersistence;
766 }
767
768
773 public void setUserPersistence(UserPersistence userPersistence) {
774 this.userPersistence = userPersistence;
775 }
776
777
782 public UserFinder getUserFinder() {
783 return userFinder;
784 }
785
786
791 public void setUserFinder(UserFinder userFinder) {
792 this.userFinder = userFinder;
793 }
794
795 public void afterPropertiesSet() {
796 }
797
798 public void destroy() {
799 }
800
801
806 public String getBeanIdentifier() {
807 return _beanIdentifier;
808 }
809
810
815 public void setBeanIdentifier(String beanIdentifier) {
816 _beanIdentifier = beanIdentifier;
817 }
818
819 protected Class<?> getModelClass() {
820 return AssetCategory.class;
821 }
822
823 protected String getModelClassName() {
824 return AssetCategory.class.getName();
825 }
826
827
832 protected void runSQL(String sql) throws SystemException {
833 try {
834 DataSource dataSource = assetCategoryPersistence.getDataSource();
835
836 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
837 sql, new int[0]);
838
839 sqlUpdate.update();
840 }
841 catch (Exception e) {
842 throw new SystemException(e);
843 }
844 }
845
846 @BeanReference(type = AssetCategoryLocalService.class)
847 protected AssetCategoryLocalService assetCategoryLocalService;
848 @BeanReference(type = AssetCategoryService.class)
849 protected AssetCategoryService assetCategoryService;
850 @BeanReference(type = AssetCategoryPersistence.class)
851 protected AssetCategoryPersistence assetCategoryPersistence;
852 @BeanReference(type = AssetCategoryFinder.class)
853 protected AssetCategoryFinder assetCategoryFinder;
854 @BeanReference(type = AssetCategoryPropertyLocalService.class)
855 protected AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
856 @BeanReference(type = AssetCategoryPropertyService.class)
857 protected AssetCategoryPropertyService assetCategoryPropertyService;
858 @BeanReference(type = AssetCategoryPropertyPersistence.class)
859 protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
860 @BeanReference(type = AssetCategoryPropertyFinder.class)
861 protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
862 @BeanReference(type = AssetEntryLocalService.class)
863 protected AssetEntryLocalService assetEntryLocalService;
864 @BeanReference(type = AssetEntryService.class)
865 protected AssetEntryService assetEntryService;
866 @BeanReference(type = AssetEntryPersistence.class)
867 protected AssetEntryPersistence assetEntryPersistence;
868 @BeanReference(type = AssetEntryFinder.class)
869 protected AssetEntryFinder assetEntryFinder;
870 @BeanReference(type = AssetLinkLocalService.class)
871 protected AssetLinkLocalService assetLinkLocalService;
872 @BeanReference(type = AssetLinkPersistence.class)
873 protected AssetLinkPersistence assetLinkPersistence;
874 @BeanReference(type = AssetTagLocalService.class)
875 protected AssetTagLocalService assetTagLocalService;
876 @BeanReference(type = AssetTagService.class)
877 protected AssetTagService assetTagService;
878 @BeanReference(type = AssetTagPersistence.class)
879 protected AssetTagPersistence assetTagPersistence;
880 @BeanReference(type = AssetTagFinder.class)
881 protected AssetTagFinder assetTagFinder;
882 @BeanReference(type = AssetTagPropertyLocalService.class)
883 protected AssetTagPropertyLocalService assetTagPropertyLocalService;
884 @BeanReference(type = AssetTagPropertyService.class)
885 protected AssetTagPropertyService assetTagPropertyService;
886 @BeanReference(type = AssetTagPropertyPersistence.class)
887 protected AssetTagPropertyPersistence assetTagPropertyPersistence;
888 @BeanReference(type = AssetTagPropertyFinder.class)
889 protected AssetTagPropertyFinder assetTagPropertyFinder;
890 @BeanReference(type = AssetTagPropertyKeyFinder.class)
891 protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
892 @BeanReference(type = AssetTagStatsLocalService.class)
893 protected AssetTagStatsLocalService assetTagStatsLocalService;
894 @BeanReference(type = AssetTagStatsPersistence.class)
895 protected AssetTagStatsPersistence assetTagStatsPersistence;
896 @BeanReference(type = AssetVocabularyLocalService.class)
897 protected AssetVocabularyLocalService assetVocabularyLocalService;
898 @BeanReference(type = AssetVocabularyService.class)
899 protected AssetVocabularyService assetVocabularyService;
900 @BeanReference(type = AssetVocabularyPersistence.class)
901 protected AssetVocabularyPersistence assetVocabularyPersistence;
902 @BeanReference(type = AssetVocabularyFinder.class)
903 protected AssetVocabularyFinder assetVocabularyFinder;
904 @BeanReference(type = CounterLocalService.class)
905 protected CounterLocalService counterLocalService;
906 @BeanReference(type = ResourceLocalService.class)
907 protected ResourceLocalService resourceLocalService;
908 @BeanReference(type = ResourceService.class)
909 protected ResourceService resourceService;
910 @BeanReference(type = ResourcePersistence.class)
911 protected ResourcePersistence resourcePersistence;
912 @BeanReference(type = ResourceFinder.class)
913 protected ResourceFinder resourceFinder;
914 @BeanReference(type = UserLocalService.class)
915 protected UserLocalService userLocalService;
916 @BeanReference(type = UserService.class)
917 protected UserService userService;
918 @BeanReference(type = UserPersistence.class)
919 protected UserPersistence userPersistence;
920 @BeanReference(type = UserFinder.class)
921 protected UserFinder userFinder;
922 private String _beanIdentifier;
923 }