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.annotation.BeanReference;
020 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
021 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
022 import com.liferay.portal.kernel.exception.SystemException;
023 import com.liferay.portal.service.ResourceLocalService;
024 import com.liferay.portal.service.ResourceService;
025 import com.liferay.portal.service.UserLocalService;
026 import com.liferay.portal.service.UserService;
027 import com.liferay.portal.service.base.PrincipalBean;
028 import com.liferay.portal.service.persistence.ResourceFinder;
029 import com.liferay.portal.service.persistence.ResourcePersistence;
030 import com.liferay.portal.service.persistence.UserFinder;
031 import com.liferay.portal.service.persistence.UserPersistence;
032
033 import com.liferay.portlet.asset.service.AssetCategoryLocalService;
034 import com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService;
035 import com.liferay.portlet.asset.service.AssetCategoryPropertyService;
036 import com.liferay.portlet.asset.service.AssetCategoryService;
037 import com.liferay.portlet.asset.service.AssetEntryLocalService;
038 import com.liferay.portlet.asset.service.AssetEntryService;
039 import com.liferay.portlet.asset.service.AssetLinkLocalService;
040 import com.liferay.portlet.asset.service.AssetTagLocalService;
041 import com.liferay.portlet.asset.service.AssetTagPropertyLocalService;
042 import com.liferay.portlet.asset.service.AssetTagPropertyService;
043 import com.liferay.portlet.asset.service.AssetTagService;
044 import com.liferay.portlet.asset.service.AssetTagStatsLocalService;
045 import com.liferay.portlet.asset.service.AssetVocabularyLocalService;
046 import com.liferay.portlet.asset.service.AssetVocabularyService;
047 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
048 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
049 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyFinder;
050 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence;
051 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
052 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
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.AssetVocabularyPersistence;
061
062 import javax.sql.DataSource;
063
064
080 public abstract class AssetCategoryServiceBaseImpl extends PrincipalBean
081 implements AssetCategoryService {
082
087 public AssetCategoryLocalService getAssetCategoryLocalService() {
088 return assetCategoryLocalService;
089 }
090
091
096 public void setAssetCategoryLocalService(
097 AssetCategoryLocalService assetCategoryLocalService) {
098 this.assetCategoryLocalService = assetCategoryLocalService;
099 }
100
101
106 public AssetCategoryService getAssetCategoryService() {
107 return assetCategoryService;
108 }
109
110
115 public void setAssetCategoryService(
116 AssetCategoryService assetCategoryService) {
117 this.assetCategoryService = assetCategoryService;
118 }
119
120
125 public AssetCategoryPersistence getAssetCategoryPersistence() {
126 return assetCategoryPersistence;
127 }
128
129
134 public void setAssetCategoryPersistence(
135 AssetCategoryPersistence assetCategoryPersistence) {
136 this.assetCategoryPersistence = assetCategoryPersistence;
137 }
138
139
144 public AssetCategoryFinder getAssetCategoryFinder() {
145 return assetCategoryFinder;
146 }
147
148
153 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
154 this.assetCategoryFinder = assetCategoryFinder;
155 }
156
157
162 public AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService() {
163 return assetCategoryPropertyLocalService;
164 }
165
166
171 public void setAssetCategoryPropertyLocalService(
172 AssetCategoryPropertyLocalService assetCategoryPropertyLocalService) {
173 this.assetCategoryPropertyLocalService = assetCategoryPropertyLocalService;
174 }
175
176
181 public AssetCategoryPropertyService getAssetCategoryPropertyService() {
182 return assetCategoryPropertyService;
183 }
184
185
190 public void setAssetCategoryPropertyService(
191 AssetCategoryPropertyService assetCategoryPropertyService) {
192 this.assetCategoryPropertyService = assetCategoryPropertyService;
193 }
194
195
200 public AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence() {
201 return assetCategoryPropertyPersistence;
202 }
203
204
209 public void setAssetCategoryPropertyPersistence(
210 AssetCategoryPropertyPersistence assetCategoryPropertyPersistence) {
211 this.assetCategoryPropertyPersistence = assetCategoryPropertyPersistence;
212 }
213
214
219 public AssetCategoryPropertyFinder getAssetCategoryPropertyFinder() {
220 return assetCategoryPropertyFinder;
221 }
222
223
228 public void setAssetCategoryPropertyFinder(
229 AssetCategoryPropertyFinder assetCategoryPropertyFinder) {
230 this.assetCategoryPropertyFinder = assetCategoryPropertyFinder;
231 }
232
233
238 public AssetEntryLocalService getAssetEntryLocalService() {
239 return assetEntryLocalService;
240 }
241
242
247 public void setAssetEntryLocalService(
248 AssetEntryLocalService assetEntryLocalService) {
249 this.assetEntryLocalService = assetEntryLocalService;
250 }
251
252
257 public AssetEntryService getAssetEntryService() {
258 return assetEntryService;
259 }
260
261
266 public void setAssetEntryService(AssetEntryService assetEntryService) {
267 this.assetEntryService = assetEntryService;
268 }
269
270
275 public AssetEntryPersistence getAssetEntryPersistence() {
276 return assetEntryPersistence;
277 }
278
279
284 public void setAssetEntryPersistence(
285 AssetEntryPersistence assetEntryPersistence) {
286 this.assetEntryPersistence = assetEntryPersistence;
287 }
288
289
294 public AssetEntryFinder getAssetEntryFinder() {
295 return assetEntryFinder;
296 }
297
298
303 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
304 this.assetEntryFinder = assetEntryFinder;
305 }
306
307
312 public AssetLinkLocalService getAssetLinkLocalService() {
313 return assetLinkLocalService;
314 }
315
316
321 public void setAssetLinkLocalService(
322 AssetLinkLocalService assetLinkLocalService) {
323 this.assetLinkLocalService = assetLinkLocalService;
324 }
325
326
331 public AssetLinkPersistence getAssetLinkPersistence() {
332 return assetLinkPersistence;
333 }
334
335
340 public void setAssetLinkPersistence(
341 AssetLinkPersistence assetLinkPersistence) {
342 this.assetLinkPersistence = assetLinkPersistence;
343 }
344
345
350 public AssetTagLocalService getAssetTagLocalService() {
351 return assetTagLocalService;
352 }
353
354
359 public void setAssetTagLocalService(
360 AssetTagLocalService assetTagLocalService) {
361 this.assetTagLocalService = assetTagLocalService;
362 }
363
364
369 public AssetTagService getAssetTagService() {
370 return assetTagService;
371 }
372
373
378 public void setAssetTagService(AssetTagService assetTagService) {
379 this.assetTagService = assetTagService;
380 }
381
382
387 public AssetTagPersistence getAssetTagPersistence() {
388 return assetTagPersistence;
389 }
390
391
396 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
397 this.assetTagPersistence = assetTagPersistence;
398 }
399
400
405 public AssetTagFinder getAssetTagFinder() {
406 return assetTagFinder;
407 }
408
409
414 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
415 this.assetTagFinder = assetTagFinder;
416 }
417
418
423 public AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
424 return assetTagPropertyLocalService;
425 }
426
427
432 public void setAssetTagPropertyLocalService(
433 AssetTagPropertyLocalService assetTagPropertyLocalService) {
434 this.assetTagPropertyLocalService = assetTagPropertyLocalService;
435 }
436
437
442 public AssetTagPropertyService getAssetTagPropertyService() {
443 return assetTagPropertyService;
444 }
445
446
451 public void setAssetTagPropertyService(
452 AssetTagPropertyService assetTagPropertyService) {
453 this.assetTagPropertyService = assetTagPropertyService;
454 }
455
456
461 public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
462 return assetTagPropertyPersistence;
463 }
464
465
470 public void setAssetTagPropertyPersistence(
471 AssetTagPropertyPersistence assetTagPropertyPersistence) {
472 this.assetTagPropertyPersistence = assetTagPropertyPersistence;
473 }
474
475
480 public AssetTagPropertyFinder getAssetTagPropertyFinder() {
481 return assetTagPropertyFinder;
482 }
483
484
489 public void setAssetTagPropertyFinder(
490 AssetTagPropertyFinder assetTagPropertyFinder) {
491 this.assetTagPropertyFinder = assetTagPropertyFinder;
492 }
493
494
499 public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
500 return assetTagPropertyKeyFinder;
501 }
502
503
508 public void setAssetTagPropertyKeyFinder(
509 AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
510 this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
511 }
512
513
518 public AssetTagStatsLocalService getAssetTagStatsLocalService() {
519 return assetTagStatsLocalService;
520 }
521
522
527 public void setAssetTagStatsLocalService(
528 AssetTagStatsLocalService assetTagStatsLocalService) {
529 this.assetTagStatsLocalService = assetTagStatsLocalService;
530 }
531
532
537 public AssetTagStatsPersistence getAssetTagStatsPersistence() {
538 return assetTagStatsPersistence;
539 }
540
541
546 public void setAssetTagStatsPersistence(
547 AssetTagStatsPersistence assetTagStatsPersistence) {
548 this.assetTagStatsPersistence = assetTagStatsPersistence;
549 }
550
551
556 public AssetVocabularyLocalService getAssetVocabularyLocalService() {
557 return assetVocabularyLocalService;
558 }
559
560
565 public void setAssetVocabularyLocalService(
566 AssetVocabularyLocalService assetVocabularyLocalService) {
567 this.assetVocabularyLocalService = assetVocabularyLocalService;
568 }
569
570
575 public AssetVocabularyService getAssetVocabularyService() {
576 return assetVocabularyService;
577 }
578
579
584 public void setAssetVocabularyService(
585 AssetVocabularyService assetVocabularyService) {
586 this.assetVocabularyService = assetVocabularyService;
587 }
588
589
594 public AssetVocabularyPersistence getAssetVocabularyPersistence() {
595 return assetVocabularyPersistence;
596 }
597
598
603 public void setAssetVocabularyPersistence(
604 AssetVocabularyPersistence assetVocabularyPersistence) {
605 this.assetVocabularyPersistence = assetVocabularyPersistence;
606 }
607
608
613 public CounterLocalService getCounterLocalService() {
614 return counterLocalService;
615 }
616
617
622 public void setCounterLocalService(CounterLocalService counterLocalService) {
623 this.counterLocalService = counterLocalService;
624 }
625
626
631 public ResourceLocalService getResourceLocalService() {
632 return resourceLocalService;
633 }
634
635
640 public void setResourceLocalService(
641 ResourceLocalService resourceLocalService) {
642 this.resourceLocalService = resourceLocalService;
643 }
644
645
650 public ResourceService getResourceService() {
651 return resourceService;
652 }
653
654
659 public void setResourceService(ResourceService resourceService) {
660 this.resourceService = resourceService;
661 }
662
663
668 public ResourcePersistence getResourcePersistence() {
669 return resourcePersistence;
670 }
671
672
677 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
678 this.resourcePersistence = resourcePersistence;
679 }
680
681
686 public ResourceFinder getResourceFinder() {
687 return resourceFinder;
688 }
689
690
695 public void setResourceFinder(ResourceFinder resourceFinder) {
696 this.resourceFinder = resourceFinder;
697 }
698
699
704 public UserLocalService getUserLocalService() {
705 return userLocalService;
706 }
707
708
713 public void setUserLocalService(UserLocalService userLocalService) {
714 this.userLocalService = userLocalService;
715 }
716
717
722 public UserService getUserService() {
723 return userService;
724 }
725
726
731 public void setUserService(UserService userService) {
732 this.userService = userService;
733 }
734
735
740 public UserPersistence getUserPersistence() {
741 return userPersistence;
742 }
743
744
749 public void setUserPersistence(UserPersistence userPersistence) {
750 this.userPersistence = userPersistence;
751 }
752
753
758 public UserFinder getUserFinder() {
759 return userFinder;
760 }
761
762
767 public void setUserFinder(UserFinder userFinder) {
768 this.userFinder = userFinder;
769 }
770
771
776 protected void runSQL(String sql) throws SystemException {
777 try {
778 DataSource dataSource = assetCategoryPersistence.getDataSource();
779
780 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
781 sql, new int[0]);
782
783 sqlUpdate.update();
784 }
785 catch (Exception e) {
786 throw new SystemException(e);
787 }
788 }
789
790 @BeanReference(type = AssetCategoryLocalService.class)
791 protected AssetCategoryLocalService assetCategoryLocalService;
792 @BeanReference(type = AssetCategoryService.class)
793 protected AssetCategoryService assetCategoryService;
794 @BeanReference(type = AssetCategoryPersistence.class)
795 protected AssetCategoryPersistence assetCategoryPersistence;
796 @BeanReference(type = AssetCategoryFinder.class)
797 protected AssetCategoryFinder assetCategoryFinder;
798 @BeanReference(type = AssetCategoryPropertyLocalService.class)
799 protected AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
800 @BeanReference(type = AssetCategoryPropertyService.class)
801 protected AssetCategoryPropertyService assetCategoryPropertyService;
802 @BeanReference(type = AssetCategoryPropertyPersistence.class)
803 protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
804 @BeanReference(type = AssetCategoryPropertyFinder.class)
805 protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
806 @BeanReference(type = AssetEntryLocalService.class)
807 protected AssetEntryLocalService assetEntryLocalService;
808 @BeanReference(type = AssetEntryService.class)
809 protected AssetEntryService assetEntryService;
810 @BeanReference(type = AssetEntryPersistence.class)
811 protected AssetEntryPersistence assetEntryPersistence;
812 @BeanReference(type = AssetEntryFinder.class)
813 protected AssetEntryFinder assetEntryFinder;
814 @BeanReference(type = AssetLinkLocalService.class)
815 protected AssetLinkLocalService assetLinkLocalService;
816 @BeanReference(type = AssetLinkPersistence.class)
817 protected AssetLinkPersistence assetLinkPersistence;
818 @BeanReference(type = AssetTagLocalService.class)
819 protected AssetTagLocalService assetTagLocalService;
820 @BeanReference(type = AssetTagService.class)
821 protected AssetTagService assetTagService;
822 @BeanReference(type = AssetTagPersistence.class)
823 protected AssetTagPersistence assetTagPersistence;
824 @BeanReference(type = AssetTagFinder.class)
825 protected AssetTagFinder assetTagFinder;
826 @BeanReference(type = AssetTagPropertyLocalService.class)
827 protected AssetTagPropertyLocalService assetTagPropertyLocalService;
828 @BeanReference(type = AssetTagPropertyService.class)
829 protected AssetTagPropertyService assetTagPropertyService;
830 @BeanReference(type = AssetTagPropertyPersistence.class)
831 protected AssetTagPropertyPersistence assetTagPropertyPersistence;
832 @BeanReference(type = AssetTagPropertyFinder.class)
833 protected AssetTagPropertyFinder assetTagPropertyFinder;
834 @BeanReference(type = AssetTagPropertyKeyFinder.class)
835 protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
836 @BeanReference(type = AssetTagStatsLocalService.class)
837 protected AssetTagStatsLocalService assetTagStatsLocalService;
838 @BeanReference(type = AssetTagStatsPersistence.class)
839 protected AssetTagStatsPersistence assetTagStatsPersistence;
840 @BeanReference(type = AssetVocabularyLocalService.class)
841 protected AssetVocabularyLocalService assetVocabularyLocalService;
842 @BeanReference(type = AssetVocabularyService.class)
843 protected AssetVocabularyService assetVocabularyService;
844 @BeanReference(type = AssetVocabularyPersistence.class)
845 protected AssetVocabularyPersistence assetVocabularyPersistence;
846 @BeanReference(type = CounterLocalService.class)
847 protected CounterLocalService counterLocalService;
848 @BeanReference(type = ResourceLocalService.class)
849 protected ResourceLocalService resourceLocalService;
850 @BeanReference(type = ResourceService.class)
851 protected ResourceService resourceService;
852 @BeanReference(type = ResourcePersistence.class)
853 protected ResourcePersistence resourcePersistence;
854 @BeanReference(type = ResourceFinder.class)
855 protected ResourceFinder resourceFinder;
856 @BeanReference(type = UserLocalService.class)
857 protected UserLocalService userLocalService;
858 @BeanReference(type = UserService.class)
859 protected UserService userService;
860 @BeanReference(type = UserPersistence.class)
861 protected UserPersistence userPersistence;
862 @BeanReference(type = UserFinder.class)
863 protected UserFinder userFinder;
864 }