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.GroupLocalService;
024 import com.liferay.portal.service.GroupService;
025 import com.liferay.portal.service.ImageLocalService;
026 import com.liferay.portal.service.ImageService;
027 import com.liferay.portal.service.LayoutLocalService;
028 import com.liferay.portal.service.LayoutService;
029 import com.liferay.portal.service.ResourceLocalService;
030 import com.liferay.portal.service.ResourceService;
031 import com.liferay.portal.service.UserLocalService;
032 import com.liferay.portal.service.UserService;
033 import com.liferay.portal.service.base.PrincipalBean;
034 import com.liferay.portal.service.persistence.GroupFinder;
035 import com.liferay.portal.service.persistence.GroupPersistence;
036 import com.liferay.portal.service.persistence.ImagePersistence;
037 import com.liferay.portal.service.persistence.LayoutFinder;
038 import com.liferay.portal.service.persistence.LayoutPersistence;
039 import com.liferay.portal.service.persistence.ResourceFinder;
040 import com.liferay.portal.service.persistence.ResourcePersistence;
041 import com.liferay.portal.service.persistence.UserFinder;
042 import com.liferay.portal.service.persistence.UserPersistence;
043
044 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
045 import com.liferay.portlet.expando.service.ExpandoValueService;
046 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
047 import com.liferay.portlet.imagegallery.service.IGFolderLocalService;
048 import com.liferay.portlet.imagegallery.service.IGFolderService;
049 import com.liferay.portlet.imagegallery.service.IGImageLocalService;
050 import com.liferay.portlet.imagegallery.service.IGImageService;
051 import com.liferay.portlet.imagegallery.service.persistence.IGFolderPersistence;
052 import com.liferay.portlet.imagegallery.service.persistence.IGImageFinder;
053 import com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence;
054
055 import javax.sql.DataSource;
056
057
073 public abstract class IGFolderServiceBaseImpl extends PrincipalBean
074 implements IGFolderService {
075
080 public IGFolderLocalService getIGFolderLocalService() {
081 return igFolderLocalService;
082 }
083
084
089 public void setIGFolderLocalService(
090 IGFolderLocalService igFolderLocalService) {
091 this.igFolderLocalService = igFolderLocalService;
092 }
093
094
099 public IGFolderService getIGFolderService() {
100 return igFolderService;
101 }
102
103
108 public void setIGFolderService(IGFolderService igFolderService) {
109 this.igFolderService = igFolderService;
110 }
111
112
117 public IGFolderPersistence getIGFolderPersistence() {
118 return igFolderPersistence;
119 }
120
121
126 public void setIGFolderPersistence(IGFolderPersistence igFolderPersistence) {
127 this.igFolderPersistence = igFolderPersistence;
128 }
129
130
135 public IGImageLocalService getIGImageLocalService() {
136 return igImageLocalService;
137 }
138
139
144 public void setIGImageLocalService(IGImageLocalService igImageLocalService) {
145 this.igImageLocalService = igImageLocalService;
146 }
147
148
153 public IGImageService getIGImageService() {
154 return igImageService;
155 }
156
157
162 public void setIGImageService(IGImageService igImageService) {
163 this.igImageService = igImageService;
164 }
165
166
171 public IGImagePersistence getIGImagePersistence() {
172 return igImagePersistence;
173 }
174
175
180 public void setIGImagePersistence(IGImagePersistence igImagePersistence) {
181 this.igImagePersistence = igImagePersistence;
182 }
183
184
189 public IGImageFinder getIGImageFinder() {
190 return igImageFinder;
191 }
192
193
198 public void setIGImageFinder(IGImageFinder igImageFinder) {
199 this.igImageFinder = igImageFinder;
200 }
201
202
207 public CounterLocalService getCounterLocalService() {
208 return counterLocalService;
209 }
210
211
216 public void setCounterLocalService(CounterLocalService counterLocalService) {
217 this.counterLocalService = counterLocalService;
218 }
219
220
225 public GroupLocalService getGroupLocalService() {
226 return groupLocalService;
227 }
228
229
234 public void setGroupLocalService(GroupLocalService groupLocalService) {
235 this.groupLocalService = groupLocalService;
236 }
237
238
243 public GroupService getGroupService() {
244 return groupService;
245 }
246
247
252 public void setGroupService(GroupService groupService) {
253 this.groupService = groupService;
254 }
255
256
261 public GroupPersistence getGroupPersistence() {
262 return groupPersistence;
263 }
264
265
270 public void setGroupPersistence(GroupPersistence groupPersistence) {
271 this.groupPersistence = groupPersistence;
272 }
273
274
279 public GroupFinder getGroupFinder() {
280 return groupFinder;
281 }
282
283
288 public void setGroupFinder(GroupFinder groupFinder) {
289 this.groupFinder = groupFinder;
290 }
291
292
297 public ImageLocalService getImageLocalService() {
298 return imageLocalService;
299 }
300
301
306 public void setImageLocalService(ImageLocalService imageLocalService) {
307 this.imageLocalService = imageLocalService;
308 }
309
310
315 public ImageService getImageService() {
316 return imageService;
317 }
318
319
324 public void setImageService(ImageService imageService) {
325 this.imageService = imageService;
326 }
327
328
333 public ImagePersistence getImagePersistence() {
334 return imagePersistence;
335 }
336
337
342 public void setImagePersistence(ImagePersistence imagePersistence) {
343 this.imagePersistence = imagePersistence;
344 }
345
346
351 public LayoutLocalService getLayoutLocalService() {
352 return layoutLocalService;
353 }
354
355
360 public void setLayoutLocalService(LayoutLocalService layoutLocalService) {
361 this.layoutLocalService = layoutLocalService;
362 }
363
364
369 public LayoutService getLayoutService() {
370 return layoutService;
371 }
372
373
378 public void setLayoutService(LayoutService layoutService) {
379 this.layoutService = layoutService;
380 }
381
382
387 public LayoutPersistence getLayoutPersistence() {
388 return layoutPersistence;
389 }
390
391
396 public void setLayoutPersistence(LayoutPersistence layoutPersistence) {
397 this.layoutPersistence = layoutPersistence;
398 }
399
400
405 public LayoutFinder getLayoutFinder() {
406 return layoutFinder;
407 }
408
409
414 public void setLayoutFinder(LayoutFinder layoutFinder) {
415 this.layoutFinder = layoutFinder;
416 }
417
418
423 public ResourceLocalService getResourceLocalService() {
424 return resourceLocalService;
425 }
426
427
432 public void setResourceLocalService(
433 ResourceLocalService resourceLocalService) {
434 this.resourceLocalService = resourceLocalService;
435 }
436
437
442 public ResourceService getResourceService() {
443 return resourceService;
444 }
445
446
451 public void setResourceService(ResourceService resourceService) {
452 this.resourceService = resourceService;
453 }
454
455
460 public ResourcePersistence getResourcePersistence() {
461 return resourcePersistence;
462 }
463
464
469 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
470 this.resourcePersistence = resourcePersistence;
471 }
472
473
478 public ResourceFinder getResourceFinder() {
479 return resourceFinder;
480 }
481
482
487 public void setResourceFinder(ResourceFinder resourceFinder) {
488 this.resourceFinder = resourceFinder;
489 }
490
491
496 public UserLocalService getUserLocalService() {
497 return userLocalService;
498 }
499
500
505 public void setUserLocalService(UserLocalService userLocalService) {
506 this.userLocalService = userLocalService;
507 }
508
509
514 public UserService getUserService() {
515 return userService;
516 }
517
518
523 public void setUserService(UserService userService) {
524 this.userService = userService;
525 }
526
527
532 public UserPersistence getUserPersistence() {
533 return userPersistence;
534 }
535
536
541 public void setUserPersistence(UserPersistence userPersistence) {
542 this.userPersistence = userPersistence;
543 }
544
545
550 public UserFinder getUserFinder() {
551 return userFinder;
552 }
553
554
559 public void setUserFinder(UserFinder userFinder) {
560 this.userFinder = userFinder;
561 }
562
563
568 public ExpandoValueLocalService getExpandoValueLocalService() {
569 return expandoValueLocalService;
570 }
571
572
577 public void setExpandoValueLocalService(
578 ExpandoValueLocalService expandoValueLocalService) {
579 this.expandoValueLocalService = expandoValueLocalService;
580 }
581
582
587 public ExpandoValueService getExpandoValueService() {
588 return expandoValueService;
589 }
590
591
596 public void setExpandoValueService(ExpandoValueService expandoValueService) {
597 this.expandoValueService = expandoValueService;
598 }
599
600
605 public ExpandoValuePersistence getExpandoValuePersistence() {
606 return expandoValuePersistence;
607 }
608
609
614 public void setExpandoValuePersistence(
615 ExpandoValuePersistence expandoValuePersistence) {
616 this.expandoValuePersistence = expandoValuePersistence;
617 }
618
619
624 protected void runSQL(String sql) throws SystemException {
625 try {
626 DataSource dataSource = igFolderPersistence.getDataSource();
627
628 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
629 sql, new int[0]);
630
631 sqlUpdate.update();
632 }
633 catch (Exception e) {
634 throw new SystemException(e);
635 }
636 }
637
638 @BeanReference(type = IGFolderLocalService.class)
639 protected IGFolderLocalService igFolderLocalService;
640 @BeanReference(type = IGFolderService.class)
641 protected IGFolderService igFolderService;
642 @BeanReference(type = IGFolderPersistence.class)
643 protected IGFolderPersistence igFolderPersistence;
644 @BeanReference(type = IGImageLocalService.class)
645 protected IGImageLocalService igImageLocalService;
646 @BeanReference(type = IGImageService.class)
647 protected IGImageService igImageService;
648 @BeanReference(type = IGImagePersistence.class)
649 protected IGImagePersistence igImagePersistence;
650 @BeanReference(type = IGImageFinder.class)
651 protected IGImageFinder igImageFinder;
652 @BeanReference(type = CounterLocalService.class)
653 protected CounterLocalService counterLocalService;
654 @BeanReference(type = GroupLocalService.class)
655 protected GroupLocalService groupLocalService;
656 @BeanReference(type = GroupService.class)
657 protected GroupService groupService;
658 @BeanReference(type = GroupPersistence.class)
659 protected GroupPersistence groupPersistence;
660 @BeanReference(type = GroupFinder.class)
661 protected GroupFinder groupFinder;
662 @BeanReference(type = ImageLocalService.class)
663 protected ImageLocalService imageLocalService;
664 @BeanReference(type = ImageService.class)
665 protected ImageService imageService;
666 @BeanReference(type = ImagePersistence.class)
667 protected ImagePersistence imagePersistence;
668 @BeanReference(type = LayoutLocalService.class)
669 protected LayoutLocalService layoutLocalService;
670 @BeanReference(type = LayoutService.class)
671 protected LayoutService layoutService;
672 @BeanReference(type = LayoutPersistence.class)
673 protected LayoutPersistence layoutPersistence;
674 @BeanReference(type = LayoutFinder.class)
675 protected LayoutFinder layoutFinder;
676 @BeanReference(type = ResourceLocalService.class)
677 protected ResourceLocalService resourceLocalService;
678 @BeanReference(type = ResourceService.class)
679 protected ResourceService resourceService;
680 @BeanReference(type = ResourcePersistence.class)
681 protected ResourcePersistence resourcePersistence;
682 @BeanReference(type = ResourceFinder.class)
683 protected ResourceFinder resourceFinder;
684 @BeanReference(type = UserLocalService.class)
685 protected UserLocalService userLocalService;
686 @BeanReference(type = UserService.class)
687 protected UserService userService;
688 @BeanReference(type = UserPersistence.class)
689 protected UserPersistence userPersistence;
690 @BeanReference(type = UserFinder.class)
691 protected UserFinder userFinder;
692 @BeanReference(type = ExpandoValueLocalService.class)
693 protected ExpandoValueLocalService expandoValueLocalService;
694 @BeanReference(type = ExpandoValueService.class)
695 protected ExpandoValueService expandoValueService;
696 @BeanReference(type = ExpandoValuePersistence.class)
697 protected ExpandoValuePersistence expandoValuePersistence;
698 }