001
014
015 package com.liferay.portlet.imagegallery.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.ImageLocalService;
024 import com.liferay.portal.service.ImageService;
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.base.PrincipalBean;
030 import com.liferay.portal.service.persistence.ImagePersistence;
031 import com.liferay.portal.service.persistence.ResourceFinder;
032 import com.liferay.portal.service.persistence.ResourcePersistence;
033 import com.liferay.portal.service.persistence.UserFinder;
034 import com.liferay.portal.service.persistence.UserPersistence;
035
036 import com.liferay.portlet.asset.service.AssetCategoryLocalService;
037 import com.liferay.portlet.asset.service.AssetCategoryService;
038 import com.liferay.portlet.asset.service.AssetEntryLocalService;
039 import com.liferay.portlet.asset.service.AssetEntryService;
040 import com.liferay.portlet.asset.service.AssetTagLocalService;
041 import com.liferay.portlet.asset.service.AssetTagService;
042 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
043 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
044 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
045 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
046 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
047 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
048 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
049 import com.liferay.portlet.expando.service.ExpandoValueService;
050 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
051 import com.liferay.portlet.imagegallery.service.IGFolderLocalService;
052 import com.liferay.portlet.imagegallery.service.IGFolderService;
053 import com.liferay.portlet.imagegallery.service.IGImageLocalService;
054 import com.liferay.portlet.imagegallery.service.IGImageService;
055 import com.liferay.portlet.imagegallery.service.persistence.IGFolderPersistence;
056 import com.liferay.portlet.imagegallery.service.persistence.IGImageFinder;
057 import com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence;
058 import com.liferay.portlet.social.service.SocialActivityLocalService;
059 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
060 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
061
062 import javax.sql.DataSource;
063
064
080 public abstract class IGImageServiceBaseImpl extends PrincipalBean
081 implements IGImageService {
082
087 public IGFolderLocalService getIGFolderLocalService() {
088 return igFolderLocalService;
089 }
090
091
096 public void setIGFolderLocalService(
097 IGFolderLocalService igFolderLocalService) {
098 this.igFolderLocalService = igFolderLocalService;
099 }
100
101
106 public IGFolderService getIGFolderService() {
107 return igFolderService;
108 }
109
110
115 public void setIGFolderService(IGFolderService igFolderService) {
116 this.igFolderService = igFolderService;
117 }
118
119
124 public IGFolderPersistence getIGFolderPersistence() {
125 return igFolderPersistence;
126 }
127
128
133 public void setIGFolderPersistence(IGFolderPersistence igFolderPersistence) {
134 this.igFolderPersistence = igFolderPersistence;
135 }
136
137
142 public IGImageLocalService getIGImageLocalService() {
143 return igImageLocalService;
144 }
145
146
151 public void setIGImageLocalService(IGImageLocalService igImageLocalService) {
152 this.igImageLocalService = igImageLocalService;
153 }
154
155
160 public IGImageService getIGImageService() {
161 return igImageService;
162 }
163
164
169 public void setIGImageService(IGImageService igImageService) {
170 this.igImageService = igImageService;
171 }
172
173
178 public IGImagePersistence getIGImagePersistence() {
179 return igImagePersistence;
180 }
181
182
187 public void setIGImagePersistence(IGImagePersistence igImagePersistence) {
188 this.igImagePersistence = igImagePersistence;
189 }
190
191
196 public IGImageFinder getIGImageFinder() {
197 return igImageFinder;
198 }
199
200
205 public void setIGImageFinder(IGImageFinder igImageFinder) {
206 this.igImageFinder = igImageFinder;
207 }
208
209
214 public CounterLocalService getCounterLocalService() {
215 return counterLocalService;
216 }
217
218
223 public void setCounterLocalService(CounterLocalService counterLocalService) {
224 this.counterLocalService = counterLocalService;
225 }
226
227
232 public ImageLocalService getImageLocalService() {
233 return imageLocalService;
234 }
235
236
241 public void setImageLocalService(ImageLocalService imageLocalService) {
242 this.imageLocalService = imageLocalService;
243 }
244
245
250 public ImageService getImageService() {
251 return imageService;
252 }
253
254
259 public void setImageService(ImageService imageService) {
260 this.imageService = imageService;
261 }
262
263
268 public ImagePersistence getImagePersistence() {
269 return imagePersistence;
270 }
271
272
277 public void setImagePersistence(ImagePersistence imagePersistence) {
278 this.imagePersistence = imagePersistence;
279 }
280
281
286 public ResourceLocalService getResourceLocalService() {
287 return resourceLocalService;
288 }
289
290
295 public void setResourceLocalService(
296 ResourceLocalService resourceLocalService) {
297 this.resourceLocalService = resourceLocalService;
298 }
299
300
305 public ResourceService getResourceService() {
306 return resourceService;
307 }
308
309
314 public void setResourceService(ResourceService resourceService) {
315 this.resourceService = resourceService;
316 }
317
318
323 public ResourcePersistence getResourcePersistence() {
324 return resourcePersistence;
325 }
326
327
332 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
333 this.resourcePersistence = resourcePersistence;
334 }
335
336
341 public ResourceFinder getResourceFinder() {
342 return resourceFinder;
343 }
344
345
350 public void setResourceFinder(ResourceFinder resourceFinder) {
351 this.resourceFinder = resourceFinder;
352 }
353
354
359 public UserLocalService getUserLocalService() {
360 return userLocalService;
361 }
362
363
368 public void setUserLocalService(UserLocalService userLocalService) {
369 this.userLocalService = userLocalService;
370 }
371
372
377 public UserService getUserService() {
378 return userService;
379 }
380
381
386 public void setUserService(UserService userService) {
387 this.userService = userService;
388 }
389
390
395 public UserPersistence getUserPersistence() {
396 return userPersistence;
397 }
398
399
404 public void setUserPersistence(UserPersistence userPersistence) {
405 this.userPersistence = userPersistence;
406 }
407
408
413 public UserFinder getUserFinder() {
414 return userFinder;
415 }
416
417
422 public void setUserFinder(UserFinder userFinder) {
423 this.userFinder = userFinder;
424 }
425
426
431 public AssetCategoryLocalService getAssetCategoryLocalService() {
432 return assetCategoryLocalService;
433 }
434
435
440 public void setAssetCategoryLocalService(
441 AssetCategoryLocalService assetCategoryLocalService) {
442 this.assetCategoryLocalService = assetCategoryLocalService;
443 }
444
445
450 public AssetCategoryService getAssetCategoryService() {
451 return assetCategoryService;
452 }
453
454
459 public void setAssetCategoryService(
460 AssetCategoryService assetCategoryService) {
461 this.assetCategoryService = assetCategoryService;
462 }
463
464
469 public AssetCategoryPersistence getAssetCategoryPersistence() {
470 return assetCategoryPersistence;
471 }
472
473
478 public void setAssetCategoryPersistence(
479 AssetCategoryPersistence assetCategoryPersistence) {
480 this.assetCategoryPersistence = assetCategoryPersistence;
481 }
482
483
488 public AssetCategoryFinder getAssetCategoryFinder() {
489 return assetCategoryFinder;
490 }
491
492
497 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
498 this.assetCategoryFinder = assetCategoryFinder;
499 }
500
501
506 public AssetEntryLocalService getAssetEntryLocalService() {
507 return assetEntryLocalService;
508 }
509
510
515 public void setAssetEntryLocalService(
516 AssetEntryLocalService assetEntryLocalService) {
517 this.assetEntryLocalService = assetEntryLocalService;
518 }
519
520
525 public AssetEntryService getAssetEntryService() {
526 return assetEntryService;
527 }
528
529
534 public void setAssetEntryService(AssetEntryService assetEntryService) {
535 this.assetEntryService = assetEntryService;
536 }
537
538
543 public AssetEntryPersistence getAssetEntryPersistence() {
544 return assetEntryPersistence;
545 }
546
547
552 public void setAssetEntryPersistence(
553 AssetEntryPersistence assetEntryPersistence) {
554 this.assetEntryPersistence = assetEntryPersistence;
555 }
556
557
562 public AssetEntryFinder getAssetEntryFinder() {
563 return assetEntryFinder;
564 }
565
566
571 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
572 this.assetEntryFinder = assetEntryFinder;
573 }
574
575
580 public AssetTagLocalService getAssetTagLocalService() {
581 return assetTagLocalService;
582 }
583
584
589 public void setAssetTagLocalService(
590 AssetTagLocalService assetTagLocalService) {
591 this.assetTagLocalService = assetTagLocalService;
592 }
593
594
599 public AssetTagService getAssetTagService() {
600 return assetTagService;
601 }
602
603
608 public void setAssetTagService(AssetTagService assetTagService) {
609 this.assetTagService = assetTagService;
610 }
611
612
617 public AssetTagPersistence getAssetTagPersistence() {
618 return assetTagPersistence;
619 }
620
621
626 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
627 this.assetTagPersistence = assetTagPersistence;
628 }
629
630
635 public AssetTagFinder getAssetTagFinder() {
636 return assetTagFinder;
637 }
638
639
644 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
645 this.assetTagFinder = assetTagFinder;
646 }
647
648
653 public ExpandoValueLocalService getExpandoValueLocalService() {
654 return expandoValueLocalService;
655 }
656
657
662 public void setExpandoValueLocalService(
663 ExpandoValueLocalService expandoValueLocalService) {
664 this.expandoValueLocalService = expandoValueLocalService;
665 }
666
667
672 public ExpandoValueService getExpandoValueService() {
673 return expandoValueService;
674 }
675
676
681 public void setExpandoValueService(ExpandoValueService expandoValueService) {
682 this.expandoValueService = expandoValueService;
683 }
684
685
690 public ExpandoValuePersistence getExpandoValuePersistence() {
691 return expandoValuePersistence;
692 }
693
694
699 public void setExpandoValuePersistence(
700 ExpandoValuePersistence expandoValuePersistence) {
701 this.expandoValuePersistence = expandoValuePersistence;
702 }
703
704
709 public SocialActivityLocalService getSocialActivityLocalService() {
710 return socialActivityLocalService;
711 }
712
713
718 public void setSocialActivityLocalService(
719 SocialActivityLocalService socialActivityLocalService) {
720 this.socialActivityLocalService = socialActivityLocalService;
721 }
722
723
728 public SocialActivityPersistence getSocialActivityPersistence() {
729 return socialActivityPersistence;
730 }
731
732
737 public void setSocialActivityPersistence(
738 SocialActivityPersistence socialActivityPersistence) {
739 this.socialActivityPersistence = socialActivityPersistence;
740 }
741
742
747 public SocialActivityFinder getSocialActivityFinder() {
748 return socialActivityFinder;
749 }
750
751
756 public void setSocialActivityFinder(
757 SocialActivityFinder socialActivityFinder) {
758 this.socialActivityFinder = socialActivityFinder;
759 }
760
761
766 protected void runSQL(String sql) throws SystemException {
767 try {
768 DataSource dataSource = igImagePersistence.getDataSource();
769
770 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
771 sql, new int[0]);
772
773 sqlUpdate.update();
774 }
775 catch (Exception e) {
776 throw new SystemException(e);
777 }
778 }
779
780 @BeanReference(type = IGFolderLocalService.class)
781 protected IGFolderLocalService igFolderLocalService;
782 @BeanReference(type = IGFolderService.class)
783 protected IGFolderService igFolderService;
784 @BeanReference(type = IGFolderPersistence.class)
785 protected IGFolderPersistence igFolderPersistence;
786 @BeanReference(type = IGImageLocalService.class)
787 protected IGImageLocalService igImageLocalService;
788 @BeanReference(type = IGImageService.class)
789 protected IGImageService igImageService;
790 @BeanReference(type = IGImagePersistence.class)
791 protected IGImagePersistence igImagePersistence;
792 @BeanReference(type = IGImageFinder.class)
793 protected IGImageFinder igImageFinder;
794 @BeanReference(type = CounterLocalService.class)
795 protected CounterLocalService counterLocalService;
796 @BeanReference(type = ImageLocalService.class)
797 protected ImageLocalService imageLocalService;
798 @BeanReference(type = ImageService.class)
799 protected ImageService imageService;
800 @BeanReference(type = ImagePersistence.class)
801 protected ImagePersistence imagePersistence;
802 @BeanReference(type = ResourceLocalService.class)
803 protected ResourceLocalService resourceLocalService;
804 @BeanReference(type = ResourceService.class)
805 protected ResourceService resourceService;
806 @BeanReference(type = ResourcePersistence.class)
807 protected ResourcePersistence resourcePersistence;
808 @BeanReference(type = ResourceFinder.class)
809 protected ResourceFinder resourceFinder;
810 @BeanReference(type = UserLocalService.class)
811 protected UserLocalService userLocalService;
812 @BeanReference(type = UserService.class)
813 protected UserService userService;
814 @BeanReference(type = UserPersistence.class)
815 protected UserPersistence userPersistence;
816 @BeanReference(type = UserFinder.class)
817 protected UserFinder userFinder;
818 @BeanReference(type = AssetCategoryLocalService.class)
819 protected AssetCategoryLocalService assetCategoryLocalService;
820 @BeanReference(type = AssetCategoryService.class)
821 protected AssetCategoryService assetCategoryService;
822 @BeanReference(type = AssetCategoryPersistence.class)
823 protected AssetCategoryPersistence assetCategoryPersistence;
824 @BeanReference(type = AssetCategoryFinder.class)
825 protected AssetCategoryFinder assetCategoryFinder;
826 @BeanReference(type = AssetEntryLocalService.class)
827 protected AssetEntryLocalService assetEntryLocalService;
828 @BeanReference(type = AssetEntryService.class)
829 protected AssetEntryService assetEntryService;
830 @BeanReference(type = AssetEntryPersistence.class)
831 protected AssetEntryPersistence assetEntryPersistence;
832 @BeanReference(type = AssetEntryFinder.class)
833 protected AssetEntryFinder assetEntryFinder;
834 @BeanReference(type = AssetTagLocalService.class)
835 protected AssetTagLocalService assetTagLocalService;
836 @BeanReference(type = AssetTagService.class)
837 protected AssetTagService assetTagService;
838 @BeanReference(type = AssetTagPersistence.class)
839 protected AssetTagPersistence assetTagPersistence;
840 @BeanReference(type = AssetTagFinder.class)
841 protected AssetTagFinder assetTagFinder;
842 @BeanReference(type = ExpandoValueLocalService.class)
843 protected ExpandoValueLocalService expandoValueLocalService;
844 @BeanReference(type = ExpandoValueService.class)
845 protected ExpandoValueService expandoValueService;
846 @BeanReference(type = ExpandoValuePersistence.class)
847 protected ExpandoValuePersistence expandoValuePersistence;
848 @BeanReference(type = SocialActivityLocalService.class)
849 protected SocialActivityLocalService socialActivityLocalService;
850 @BeanReference(type = SocialActivityPersistence.class)
851 protected SocialActivityPersistence socialActivityPersistence;
852 @BeanReference(type = SocialActivityFinder.class)
853 protected SocialActivityFinder socialActivityFinder;
854 }