001
014
015 package com.liferay.portlet.softwarecatalog.service.base;
016
017 import com.liferay.portal.kernel.bean.BeanReference;
018 import com.liferay.portal.kernel.bean.IdentifiableBean;
019 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
020 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
021 import com.liferay.portal.kernel.exception.SystemException;
022 import com.liferay.portal.service.BaseServiceImpl;
023 import com.liferay.portal.service.persistence.GroupFinder;
024 import com.liferay.portal.service.persistence.GroupPersistence;
025 import com.liferay.portal.service.persistence.ImagePersistence;
026 import com.liferay.portal.service.persistence.SubscriptionPersistence;
027 import com.liferay.portal.service.persistence.UserFinder;
028 import com.liferay.portal.service.persistence.UserPersistence;
029
030 import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
031 import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
032 import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
033 import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
034 import com.liferay.portlet.softwarecatalog.model.SCProductEntry;
035 import com.liferay.portlet.softwarecatalog.service.SCProductEntryService;
036 import com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence;
037 import com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence;
038 import com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence;
039 import com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence;
040 import com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence;
041
042 import javax.sql.DataSource;
043
044
056 public abstract class SCProductEntryServiceBaseImpl extends BaseServiceImpl
057 implements SCProductEntryService, IdentifiableBean {
058
063
064
069 public com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService getSCFrameworkVersionLocalService() {
070 return scFrameworkVersionLocalService;
071 }
072
073
078 public void setSCFrameworkVersionLocalService(
079 com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService scFrameworkVersionLocalService) {
080 this.scFrameworkVersionLocalService = scFrameworkVersionLocalService;
081 }
082
083
088 public com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService getSCFrameworkVersionService() {
089 return scFrameworkVersionService;
090 }
091
092
097 public void setSCFrameworkVersionService(
098 com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService scFrameworkVersionService) {
099 this.scFrameworkVersionService = scFrameworkVersionService;
100 }
101
102
107 public SCFrameworkVersionPersistence getSCFrameworkVersionPersistence() {
108 return scFrameworkVersionPersistence;
109 }
110
111
116 public void setSCFrameworkVersionPersistence(
117 SCFrameworkVersionPersistence scFrameworkVersionPersistence) {
118 this.scFrameworkVersionPersistence = scFrameworkVersionPersistence;
119 }
120
121
126 public com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService getSCLicenseLocalService() {
127 return scLicenseLocalService;
128 }
129
130
135 public void setSCLicenseLocalService(
136 com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService scLicenseLocalService) {
137 this.scLicenseLocalService = scLicenseLocalService;
138 }
139
140
145 public com.liferay.portlet.softwarecatalog.service.SCLicenseService getSCLicenseService() {
146 return scLicenseService;
147 }
148
149
154 public void setSCLicenseService(
155 com.liferay.portlet.softwarecatalog.service.SCLicenseService scLicenseService) {
156 this.scLicenseService = scLicenseService;
157 }
158
159
164 public SCLicensePersistence getSCLicensePersistence() {
165 return scLicensePersistence;
166 }
167
168
173 public void setSCLicensePersistence(
174 SCLicensePersistence scLicensePersistence) {
175 this.scLicensePersistence = scLicensePersistence;
176 }
177
178
183 public com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService getSCProductEntryLocalService() {
184 return scProductEntryLocalService;
185 }
186
187
192 public void setSCProductEntryLocalService(
193 com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService scProductEntryLocalService) {
194 this.scProductEntryLocalService = scProductEntryLocalService;
195 }
196
197
202 public com.liferay.portlet.softwarecatalog.service.SCProductEntryService getSCProductEntryService() {
203 return scProductEntryService;
204 }
205
206
211 public void setSCProductEntryService(
212 com.liferay.portlet.softwarecatalog.service.SCProductEntryService scProductEntryService) {
213 this.scProductEntryService = scProductEntryService;
214 }
215
216
221 public SCProductEntryPersistence getSCProductEntryPersistence() {
222 return scProductEntryPersistence;
223 }
224
225
230 public void setSCProductEntryPersistence(
231 SCProductEntryPersistence scProductEntryPersistence) {
232 this.scProductEntryPersistence = scProductEntryPersistence;
233 }
234
235
240 public com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService getSCProductScreenshotLocalService() {
241 return scProductScreenshotLocalService;
242 }
243
244
249 public void setSCProductScreenshotLocalService(
250 com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService scProductScreenshotLocalService) {
251 this.scProductScreenshotLocalService = scProductScreenshotLocalService;
252 }
253
254
259 public SCProductScreenshotPersistence getSCProductScreenshotPersistence() {
260 return scProductScreenshotPersistence;
261 }
262
263
268 public void setSCProductScreenshotPersistence(
269 SCProductScreenshotPersistence scProductScreenshotPersistence) {
270 this.scProductScreenshotPersistence = scProductScreenshotPersistence;
271 }
272
273
278 public com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService getSCProductVersionLocalService() {
279 return scProductVersionLocalService;
280 }
281
282
287 public void setSCProductVersionLocalService(
288 com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService scProductVersionLocalService) {
289 this.scProductVersionLocalService = scProductVersionLocalService;
290 }
291
292
297 public com.liferay.portlet.softwarecatalog.service.SCProductVersionService getSCProductVersionService() {
298 return scProductVersionService;
299 }
300
301
306 public void setSCProductVersionService(
307 com.liferay.portlet.softwarecatalog.service.SCProductVersionService scProductVersionService) {
308 this.scProductVersionService = scProductVersionService;
309 }
310
311
316 public SCProductVersionPersistence getSCProductVersionPersistence() {
317 return scProductVersionPersistence;
318 }
319
320
325 public void setSCProductVersionPersistence(
326 SCProductVersionPersistence scProductVersionPersistence) {
327 this.scProductVersionPersistence = scProductVersionPersistence;
328 }
329
330
335 public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
336 return counterLocalService;
337 }
338
339
344 public void setCounterLocalService(
345 com.liferay.counter.service.CounterLocalService counterLocalService) {
346 this.counterLocalService = counterLocalService;
347 }
348
349
354 public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
355 return groupLocalService;
356 }
357
358
363 public void setGroupLocalService(
364 com.liferay.portal.service.GroupLocalService groupLocalService) {
365 this.groupLocalService = groupLocalService;
366 }
367
368
373 public com.liferay.portal.service.GroupService getGroupService() {
374 return groupService;
375 }
376
377
382 public void setGroupService(
383 com.liferay.portal.service.GroupService groupService) {
384 this.groupService = groupService;
385 }
386
387
392 public GroupPersistence getGroupPersistence() {
393 return groupPersistence;
394 }
395
396
401 public void setGroupPersistence(GroupPersistence groupPersistence) {
402 this.groupPersistence = groupPersistence;
403 }
404
405
410 public GroupFinder getGroupFinder() {
411 return groupFinder;
412 }
413
414
419 public void setGroupFinder(GroupFinder groupFinder) {
420 this.groupFinder = groupFinder;
421 }
422
423
428 public com.liferay.portal.service.ImageLocalService getImageLocalService() {
429 return imageLocalService;
430 }
431
432
437 public void setImageLocalService(
438 com.liferay.portal.service.ImageLocalService imageLocalService) {
439 this.imageLocalService = imageLocalService;
440 }
441
442
447 public com.liferay.portal.service.ImageService getImageService() {
448 return imageService;
449 }
450
451
456 public void setImageService(
457 com.liferay.portal.service.ImageService imageService) {
458 this.imageService = imageService;
459 }
460
461
466 public ImagePersistence getImagePersistence() {
467 return imagePersistence;
468 }
469
470
475 public void setImagePersistence(ImagePersistence imagePersistence) {
476 this.imagePersistence = imagePersistence;
477 }
478
479
484 public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
485 return resourceLocalService;
486 }
487
488
493 public void setResourceLocalService(
494 com.liferay.portal.service.ResourceLocalService resourceLocalService) {
495 this.resourceLocalService = resourceLocalService;
496 }
497
498
503 public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
504 return subscriptionLocalService;
505 }
506
507
512 public void setSubscriptionLocalService(
513 com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
514 this.subscriptionLocalService = subscriptionLocalService;
515 }
516
517
522 public SubscriptionPersistence getSubscriptionPersistence() {
523 return subscriptionPersistence;
524 }
525
526
531 public void setSubscriptionPersistence(
532 SubscriptionPersistence subscriptionPersistence) {
533 this.subscriptionPersistence = subscriptionPersistence;
534 }
535
536
541 public com.liferay.portal.service.UserLocalService getUserLocalService() {
542 return userLocalService;
543 }
544
545
550 public void setUserLocalService(
551 com.liferay.portal.service.UserLocalService userLocalService) {
552 this.userLocalService = userLocalService;
553 }
554
555
560 public com.liferay.portal.service.UserService getUserService() {
561 return userService;
562 }
563
564
569 public void setUserService(
570 com.liferay.portal.service.UserService userService) {
571 this.userService = userService;
572 }
573
574
579 public UserPersistence getUserPersistence() {
580 return userPersistence;
581 }
582
583
588 public void setUserPersistence(UserPersistence userPersistence) {
589 this.userPersistence = userPersistence;
590 }
591
592
597 public UserFinder getUserFinder() {
598 return userFinder;
599 }
600
601
606 public void setUserFinder(UserFinder userFinder) {
607 this.userFinder = userFinder;
608 }
609
610
615 public com.liferay.portlet.messageboards.service.MBMessageLocalService getMBMessageLocalService() {
616 return mbMessageLocalService;
617 }
618
619
624 public void setMBMessageLocalService(
625 com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService) {
626 this.mbMessageLocalService = mbMessageLocalService;
627 }
628
629
634 public com.liferay.portlet.messageboards.service.MBMessageService getMBMessageService() {
635 return mbMessageService;
636 }
637
638
643 public void setMBMessageService(
644 com.liferay.portlet.messageboards.service.MBMessageService mbMessageService) {
645 this.mbMessageService = mbMessageService;
646 }
647
648
653 public MBMessagePersistence getMBMessagePersistence() {
654 return mbMessagePersistence;
655 }
656
657
662 public void setMBMessagePersistence(
663 MBMessagePersistence mbMessagePersistence) {
664 this.mbMessagePersistence = mbMessagePersistence;
665 }
666
667
672 public MBMessageFinder getMBMessageFinder() {
673 return mbMessageFinder;
674 }
675
676
681 public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
682 this.mbMessageFinder = mbMessageFinder;
683 }
684
685
690 public com.liferay.portlet.ratings.service.RatingsStatsLocalService getRatingsStatsLocalService() {
691 return ratingsStatsLocalService;
692 }
693
694
699 public void setRatingsStatsLocalService(
700 com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService) {
701 this.ratingsStatsLocalService = ratingsStatsLocalService;
702 }
703
704
709 public RatingsStatsPersistence getRatingsStatsPersistence() {
710 return ratingsStatsPersistence;
711 }
712
713
718 public void setRatingsStatsPersistence(
719 RatingsStatsPersistence ratingsStatsPersistence) {
720 this.ratingsStatsPersistence = ratingsStatsPersistence;
721 }
722
723
728 public RatingsStatsFinder getRatingsStatsFinder() {
729 return ratingsStatsFinder;
730 }
731
732
737 public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
738 this.ratingsStatsFinder = ratingsStatsFinder;
739 }
740
741 public void afterPropertiesSet() {
742 }
743
744 public void destroy() {
745 }
746
747
752 @Override
753 public String getBeanIdentifier() {
754 return _beanIdentifier;
755 }
756
757
762 @Override
763 public void setBeanIdentifier(String beanIdentifier) {
764 _beanIdentifier = beanIdentifier;
765 }
766
767 protected Class<?> getModelClass() {
768 return SCProductEntry.class;
769 }
770
771 protected String getModelClassName() {
772 return SCProductEntry.class.getName();
773 }
774
775
780 protected void runSQL(String sql) throws SystemException {
781 try {
782 DataSource dataSource = scProductEntryPersistence.getDataSource();
783
784 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
785 sql, new int[0]);
786
787 sqlUpdate.update();
788 }
789 catch (Exception e) {
790 throw new SystemException(e);
791 }
792 }
793
794 @BeanReference(type = com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService.class)
795 protected com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService scFrameworkVersionLocalService;
796 @BeanReference(type = com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService.class)
797 protected com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService scFrameworkVersionService;
798 @BeanReference(type = SCFrameworkVersionPersistence.class)
799 protected SCFrameworkVersionPersistence scFrameworkVersionPersistence;
800 @BeanReference(type = com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService.class)
801 protected com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService scLicenseLocalService;
802 @BeanReference(type = com.liferay.portlet.softwarecatalog.service.SCLicenseService.class)
803 protected com.liferay.portlet.softwarecatalog.service.SCLicenseService scLicenseService;
804 @BeanReference(type = SCLicensePersistence.class)
805 protected SCLicensePersistence scLicensePersistence;
806 @BeanReference(type = com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService.class)
807 protected com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService scProductEntryLocalService;
808 @BeanReference(type = com.liferay.portlet.softwarecatalog.service.SCProductEntryService.class)
809 protected com.liferay.portlet.softwarecatalog.service.SCProductEntryService scProductEntryService;
810 @BeanReference(type = SCProductEntryPersistence.class)
811 protected SCProductEntryPersistence scProductEntryPersistence;
812 @BeanReference(type = com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService.class)
813 protected com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService scProductScreenshotLocalService;
814 @BeanReference(type = SCProductScreenshotPersistence.class)
815 protected SCProductScreenshotPersistence scProductScreenshotPersistence;
816 @BeanReference(type = com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService.class)
817 protected com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService scProductVersionLocalService;
818 @BeanReference(type = com.liferay.portlet.softwarecatalog.service.SCProductVersionService.class)
819 protected com.liferay.portlet.softwarecatalog.service.SCProductVersionService scProductVersionService;
820 @BeanReference(type = SCProductVersionPersistence.class)
821 protected SCProductVersionPersistence scProductVersionPersistence;
822 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
823 protected com.liferay.counter.service.CounterLocalService counterLocalService;
824 @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
825 protected com.liferay.portal.service.GroupLocalService groupLocalService;
826 @BeanReference(type = com.liferay.portal.service.GroupService.class)
827 protected com.liferay.portal.service.GroupService groupService;
828 @BeanReference(type = GroupPersistence.class)
829 protected GroupPersistence groupPersistence;
830 @BeanReference(type = GroupFinder.class)
831 protected GroupFinder groupFinder;
832 @BeanReference(type = com.liferay.portal.service.ImageLocalService.class)
833 protected com.liferay.portal.service.ImageLocalService imageLocalService;
834 @BeanReference(type = com.liferay.portal.service.ImageService.class)
835 protected com.liferay.portal.service.ImageService imageService;
836 @BeanReference(type = ImagePersistence.class)
837 protected ImagePersistence imagePersistence;
838 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
839 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
840 @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
841 protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
842 @BeanReference(type = SubscriptionPersistence.class)
843 protected SubscriptionPersistence subscriptionPersistence;
844 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
845 protected com.liferay.portal.service.UserLocalService userLocalService;
846 @BeanReference(type = com.liferay.portal.service.UserService.class)
847 protected com.liferay.portal.service.UserService userService;
848 @BeanReference(type = UserPersistence.class)
849 protected UserPersistence userPersistence;
850 @BeanReference(type = UserFinder.class)
851 protected UserFinder userFinder;
852 @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageLocalService.class)
853 protected com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService;
854 @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageService.class)
855 protected com.liferay.portlet.messageboards.service.MBMessageService mbMessageService;
856 @BeanReference(type = MBMessagePersistence.class)
857 protected MBMessagePersistence mbMessagePersistence;
858 @BeanReference(type = MBMessageFinder.class)
859 protected MBMessageFinder mbMessageFinder;
860 @BeanReference(type = com.liferay.portlet.ratings.service.RatingsStatsLocalService.class)
861 protected com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService;
862 @BeanReference(type = RatingsStatsPersistence.class)
863 protected RatingsStatsPersistence ratingsStatsPersistence;
864 @BeanReference(type = RatingsStatsFinder.class)
865 protected RatingsStatsFinder ratingsStatsFinder;
866 private String _beanIdentifier;
867 }