001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.softwarecatalog.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.GroupLocalService;
026    import com.liferay.portal.service.GroupService;
027    import com.liferay.portal.service.ImageLocalService;
028    import com.liferay.portal.service.ImageService;
029    import com.liferay.portal.service.ResourceLocalService;
030    import com.liferay.portal.service.ResourceService;
031    import com.liferay.portal.service.SubscriptionLocalService;
032    import com.liferay.portal.service.UserLocalService;
033    import com.liferay.portal.service.UserService;
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.ResourceFinder;
038    import com.liferay.portal.service.persistence.ResourcePersistence;
039    import com.liferay.portal.service.persistence.SubscriptionPersistence;
040    import com.liferay.portal.service.persistence.UserFinder;
041    import com.liferay.portal.service.persistence.UserPersistence;
042    
043    import com.liferay.portlet.messageboards.service.MBMessageLocalService;
044    import com.liferay.portlet.messageboards.service.MBMessageService;
045    import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
046    import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
047    import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
048    import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
049    import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
050    import com.liferay.portlet.softwarecatalog.model.SCProductEntry;
051    import com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService;
052    import com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService;
053    import com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService;
054    import com.liferay.portlet.softwarecatalog.service.SCLicenseService;
055    import com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService;
056    import com.liferay.portlet.softwarecatalog.service.SCProductEntryService;
057    import com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService;
058    import com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService;
059    import com.liferay.portlet.softwarecatalog.service.SCProductVersionService;
060    import com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence;
061    import com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence;
062    import com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence;
063    import com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence;
064    import com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence;
065    
066    import javax.sql.DataSource;
067    
068    /**
069     * The base implementation of the s c product entry remote service.
070     *
071     * <p>
072     * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link com.liferay.portlet.softwarecatalog.service.impl.SCProductEntryServiceImpl}.
073     * </p>
074     *
075     * @author Brian Wing Shun Chan
076     * @see com.liferay.portlet.softwarecatalog.service.impl.SCProductEntryServiceImpl
077     * @see com.liferay.portlet.softwarecatalog.service.SCProductEntryServiceUtil
078     * @generated
079     */
080    public abstract class SCProductEntryServiceBaseImpl extends BaseServiceImpl
081            implements SCProductEntryService, IdentifiableBean {
082            /*
083             * NOTE FOR DEVELOPERS:
084             *
085             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.softwarecatalog.service.SCProductEntryServiceUtil} to access the s c product entry remote service.
086             */
087    
088            /**
089             * Returns the s c framework version local service.
090             *
091             * @return the s c framework version local service
092             */
093            public SCFrameworkVersionLocalService getSCFrameworkVersionLocalService() {
094                    return scFrameworkVersionLocalService;
095            }
096    
097            /**
098             * Sets the s c framework version local service.
099             *
100             * @param scFrameworkVersionLocalService the s c framework version local service
101             */
102            public void setSCFrameworkVersionLocalService(
103                    SCFrameworkVersionLocalService scFrameworkVersionLocalService) {
104                    this.scFrameworkVersionLocalService = scFrameworkVersionLocalService;
105            }
106    
107            /**
108             * Returns the s c framework version remote service.
109             *
110             * @return the s c framework version remote service
111             */
112            public SCFrameworkVersionService getSCFrameworkVersionService() {
113                    return scFrameworkVersionService;
114            }
115    
116            /**
117             * Sets the s c framework version remote service.
118             *
119             * @param scFrameworkVersionService the s c framework version remote service
120             */
121            public void setSCFrameworkVersionService(
122                    SCFrameworkVersionService scFrameworkVersionService) {
123                    this.scFrameworkVersionService = scFrameworkVersionService;
124            }
125    
126            /**
127             * Returns the s c framework version persistence.
128             *
129             * @return the s c framework version persistence
130             */
131            public SCFrameworkVersionPersistence getSCFrameworkVersionPersistence() {
132                    return scFrameworkVersionPersistence;
133            }
134    
135            /**
136             * Sets the s c framework version persistence.
137             *
138             * @param scFrameworkVersionPersistence the s c framework version persistence
139             */
140            public void setSCFrameworkVersionPersistence(
141                    SCFrameworkVersionPersistence scFrameworkVersionPersistence) {
142                    this.scFrameworkVersionPersistence = scFrameworkVersionPersistence;
143            }
144    
145            /**
146             * Returns the s c license local service.
147             *
148             * @return the s c license local service
149             */
150            public SCLicenseLocalService getSCLicenseLocalService() {
151                    return scLicenseLocalService;
152            }
153    
154            /**
155             * Sets the s c license local service.
156             *
157             * @param scLicenseLocalService the s c license local service
158             */
159            public void setSCLicenseLocalService(
160                    SCLicenseLocalService scLicenseLocalService) {
161                    this.scLicenseLocalService = scLicenseLocalService;
162            }
163    
164            /**
165             * Returns the s c license remote service.
166             *
167             * @return the s c license remote service
168             */
169            public SCLicenseService getSCLicenseService() {
170                    return scLicenseService;
171            }
172    
173            /**
174             * Sets the s c license remote service.
175             *
176             * @param scLicenseService the s c license remote service
177             */
178            public void setSCLicenseService(SCLicenseService scLicenseService) {
179                    this.scLicenseService = scLicenseService;
180            }
181    
182            /**
183             * Returns the s c license persistence.
184             *
185             * @return the s c license persistence
186             */
187            public SCLicensePersistence getSCLicensePersistence() {
188                    return scLicensePersistence;
189            }
190    
191            /**
192             * Sets the s c license persistence.
193             *
194             * @param scLicensePersistence the s c license persistence
195             */
196            public void setSCLicensePersistence(
197                    SCLicensePersistence scLicensePersistence) {
198                    this.scLicensePersistence = scLicensePersistence;
199            }
200    
201            /**
202             * Returns the s c product entry local service.
203             *
204             * @return the s c product entry local service
205             */
206            public SCProductEntryLocalService getSCProductEntryLocalService() {
207                    return scProductEntryLocalService;
208            }
209    
210            /**
211             * Sets the s c product entry local service.
212             *
213             * @param scProductEntryLocalService the s c product entry local service
214             */
215            public void setSCProductEntryLocalService(
216                    SCProductEntryLocalService scProductEntryLocalService) {
217                    this.scProductEntryLocalService = scProductEntryLocalService;
218            }
219    
220            /**
221             * Returns the s c product entry remote service.
222             *
223             * @return the s c product entry remote service
224             */
225            public SCProductEntryService getSCProductEntryService() {
226                    return scProductEntryService;
227            }
228    
229            /**
230             * Sets the s c product entry remote service.
231             *
232             * @param scProductEntryService the s c product entry remote service
233             */
234            public void setSCProductEntryService(
235                    SCProductEntryService scProductEntryService) {
236                    this.scProductEntryService = scProductEntryService;
237            }
238    
239            /**
240             * Returns the s c product entry persistence.
241             *
242             * @return the s c product entry persistence
243             */
244            public SCProductEntryPersistence getSCProductEntryPersistence() {
245                    return scProductEntryPersistence;
246            }
247    
248            /**
249             * Sets the s c product entry persistence.
250             *
251             * @param scProductEntryPersistence the s c product entry persistence
252             */
253            public void setSCProductEntryPersistence(
254                    SCProductEntryPersistence scProductEntryPersistence) {
255                    this.scProductEntryPersistence = scProductEntryPersistence;
256            }
257    
258            /**
259             * Returns the s c product screenshot local service.
260             *
261             * @return the s c product screenshot local service
262             */
263            public SCProductScreenshotLocalService getSCProductScreenshotLocalService() {
264                    return scProductScreenshotLocalService;
265            }
266    
267            /**
268             * Sets the s c product screenshot local service.
269             *
270             * @param scProductScreenshotLocalService the s c product screenshot local service
271             */
272            public void setSCProductScreenshotLocalService(
273                    SCProductScreenshotLocalService scProductScreenshotLocalService) {
274                    this.scProductScreenshotLocalService = scProductScreenshotLocalService;
275            }
276    
277            /**
278             * Returns the s c product screenshot persistence.
279             *
280             * @return the s c product screenshot persistence
281             */
282            public SCProductScreenshotPersistence getSCProductScreenshotPersistence() {
283                    return scProductScreenshotPersistence;
284            }
285    
286            /**
287             * Sets the s c product screenshot persistence.
288             *
289             * @param scProductScreenshotPersistence the s c product screenshot persistence
290             */
291            public void setSCProductScreenshotPersistence(
292                    SCProductScreenshotPersistence scProductScreenshotPersistence) {
293                    this.scProductScreenshotPersistence = scProductScreenshotPersistence;
294            }
295    
296            /**
297             * Returns the s c product version local service.
298             *
299             * @return the s c product version local service
300             */
301            public SCProductVersionLocalService getSCProductVersionLocalService() {
302                    return scProductVersionLocalService;
303            }
304    
305            /**
306             * Sets the s c product version local service.
307             *
308             * @param scProductVersionLocalService the s c product version local service
309             */
310            public void setSCProductVersionLocalService(
311                    SCProductVersionLocalService scProductVersionLocalService) {
312                    this.scProductVersionLocalService = scProductVersionLocalService;
313            }
314    
315            /**
316             * Returns the s c product version remote service.
317             *
318             * @return the s c product version remote service
319             */
320            public SCProductVersionService getSCProductVersionService() {
321                    return scProductVersionService;
322            }
323    
324            /**
325             * Sets the s c product version remote service.
326             *
327             * @param scProductVersionService the s c product version remote service
328             */
329            public void setSCProductVersionService(
330                    SCProductVersionService scProductVersionService) {
331                    this.scProductVersionService = scProductVersionService;
332            }
333    
334            /**
335             * Returns the s c product version persistence.
336             *
337             * @return the s c product version persistence
338             */
339            public SCProductVersionPersistence getSCProductVersionPersistence() {
340                    return scProductVersionPersistence;
341            }
342    
343            /**
344             * Sets the s c product version persistence.
345             *
346             * @param scProductVersionPersistence the s c product version persistence
347             */
348            public void setSCProductVersionPersistence(
349                    SCProductVersionPersistence scProductVersionPersistence) {
350                    this.scProductVersionPersistence = scProductVersionPersistence;
351            }
352    
353            /**
354             * Returns the counter local service.
355             *
356             * @return the counter local service
357             */
358            public CounterLocalService getCounterLocalService() {
359                    return counterLocalService;
360            }
361    
362            /**
363             * Sets the counter local service.
364             *
365             * @param counterLocalService the counter local service
366             */
367            public void setCounterLocalService(CounterLocalService counterLocalService) {
368                    this.counterLocalService = counterLocalService;
369            }
370    
371            /**
372             * Returns the group local service.
373             *
374             * @return the group local service
375             */
376            public GroupLocalService getGroupLocalService() {
377                    return groupLocalService;
378            }
379    
380            /**
381             * Sets the group local service.
382             *
383             * @param groupLocalService the group local service
384             */
385            public void setGroupLocalService(GroupLocalService groupLocalService) {
386                    this.groupLocalService = groupLocalService;
387            }
388    
389            /**
390             * Returns the group remote service.
391             *
392             * @return the group remote service
393             */
394            public GroupService getGroupService() {
395                    return groupService;
396            }
397    
398            /**
399             * Sets the group remote service.
400             *
401             * @param groupService the group remote service
402             */
403            public void setGroupService(GroupService groupService) {
404                    this.groupService = groupService;
405            }
406    
407            /**
408             * Returns the group persistence.
409             *
410             * @return the group persistence
411             */
412            public GroupPersistence getGroupPersistence() {
413                    return groupPersistence;
414            }
415    
416            /**
417             * Sets the group persistence.
418             *
419             * @param groupPersistence the group persistence
420             */
421            public void setGroupPersistence(GroupPersistence groupPersistence) {
422                    this.groupPersistence = groupPersistence;
423            }
424    
425            /**
426             * Returns the group finder.
427             *
428             * @return the group finder
429             */
430            public GroupFinder getGroupFinder() {
431                    return groupFinder;
432            }
433    
434            /**
435             * Sets the group finder.
436             *
437             * @param groupFinder the group finder
438             */
439            public void setGroupFinder(GroupFinder groupFinder) {
440                    this.groupFinder = groupFinder;
441            }
442    
443            /**
444             * Returns the image local service.
445             *
446             * @return the image local service
447             */
448            public ImageLocalService getImageLocalService() {
449                    return imageLocalService;
450            }
451    
452            /**
453             * Sets the image local service.
454             *
455             * @param imageLocalService the image local service
456             */
457            public void setImageLocalService(ImageLocalService imageLocalService) {
458                    this.imageLocalService = imageLocalService;
459            }
460    
461            /**
462             * Returns the image remote service.
463             *
464             * @return the image remote service
465             */
466            public ImageService getImageService() {
467                    return imageService;
468            }
469    
470            /**
471             * Sets the image remote service.
472             *
473             * @param imageService the image remote service
474             */
475            public void setImageService(ImageService imageService) {
476                    this.imageService = imageService;
477            }
478    
479            /**
480             * Returns the image persistence.
481             *
482             * @return the image persistence
483             */
484            public ImagePersistence getImagePersistence() {
485                    return imagePersistence;
486            }
487    
488            /**
489             * Sets the image persistence.
490             *
491             * @param imagePersistence the image persistence
492             */
493            public void setImagePersistence(ImagePersistence imagePersistence) {
494                    this.imagePersistence = imagePersistence;
495            }
496    
497            /**
498             * Returns the resource local service.
499             *
500             * @return the resource local service
501             */
502            public ResourceLocalService getResourceLocalService() {
503                    return resourceLocalService;
504            }
505    
506            /**
507             * Sets the resource local service.
508             *
509             * @param resourceLocalService the resource local service
510             */
511            public void setResourceLocalService(
512                    ResourceLocalService resourceLocalService) {
513                    this.resourceLocalService = resourceLocalService;
514            }
515    
516            /**
517             * Returns the resource remote service.
518             *
519             * @return the resource remote service
520             */
521            public ResourceService getResourceService() {
522                    return resourceService;
523            }
524    
525            /**
526             * Sets the resource remote service.
527             *
528             * @param resourceService the resource remote service
529             */
530            public void setResourceService(ResourceService resourceService) {
531                    this.resourceService = resourceService;
532            }
533    
534            /**
535             * Returns the resource persistence.
536             *
537             * @return the resource persistence
538             */
539            public ResourcePersistence getResourcePersistence() {
540                    return resourcePersistence;
541            }
542    
543            /**
544             * Sets the resource persistence.
545             *
546             * @param resourcePersistence the resource persistence
547             */
548            public void setResourcePersistence(ResourcePersistence resourcePersistence) {
549                    this.resourcePersistence = resourcePersistence;
550            }
551    
552            /**
553             * Returns the resource finder.
554             *
555             * @return the resource finder
556             */
557            public ResourceFinder getResourceFinder() {
558                    return resourceFinder;
559            }
560    
561            /**
562             * Sets the resource finder.
563             *
564             * @param resourceFinder the resource finder
565             */
566            public void setResourceFinder(ResourceFinder resourceFinder) {
567                    this.resourceFinder = resourceFinder;
568            }
569    
570            /**
571             * Returns the subscription local service.
572             *
573             * @return the subscription local service
574             */
575            public SubscriptionLocalService getSubscriptionLocalService() {
576                    return subscriptionLocalService;
577            }
578    
579            /**
580             * Sets the subscription local service.
581             *
582             * @param subscriptionLocalService the subscription local service
583             */
584            public void setSubscriptionLocalService(
585                    SubscriptionLocalService subscriptionLocalService) {
586                    this.subscriptionLocalService = subscriptionLocalService;
587            }
588    
589            /**
590             * Returns the subscription persistence.
591             *
592             * @return the subscription persistence
593             */
594            public SubscriptionPersistence getSubscriptionPersistence() {
595                    return subscriptionPersistence;
596            }
597    
598            /**
599             * Sets the subscription persistence.
600             *
601             * @param subscriptionPersistence the subscription persistence
602             */
603            public void setSubscriptionPersistence(
604                    SubscriptionPersistence subscriptionPersistence) {
605                    this.subscriptionPersistence = subscriptionPersistence;
606            }
607    
608            /**
609             * Returns the user local service.
610             *
611             * @return the user local service
612             */
613            public UserLocalService getUserLocalService() {
614                    return userLocalService;
615            }
616    
617            /**
618             * Sets the user local service.
619             *
620             * @param userLocalService the user local service
621             */
622            public void setUserLocalService(UserLocalService userLocalService) {
623                    this.userLocalService = userLocalService;
624            }
625    
626            /**
627             * Returns the user remote service.
628             *
629             * @return the user remote service
630             */
631            public UserService getUserService() {
632                    return userService;
633            }
634    
635            /**
636             * Sets the user remote service.
637             *
638             * @param userService the user remote service
639             */
640            public void setUserService(UserService userService) {
641                    this.userService = userService;
642            }
643    
644            /**
645             * Returns the user persistence.
646             *
647             * @return the user persistence
648             */
649            public UserPersistence getUserPersistence() {
650                    return userPersistence;
651            }
652    
653            /**
654             * Sets the user persistence.
655             *
656             * @param userPersistence the user persistence
657             */
658            public void setUserPersistence(UserPersistence userPersistence) {
659                    this.userPersistence = userPersistence;
660            }
661    
662            /**
663             * Returns the user finder.
664             *
665             * @return the user finder
666             */
667            public UserFinder getUserFinder() {
668                    return userFinder;
669            }
670    
671            /**
672             * Sets the user finder.
673             *
674             * @param userFinder the user finder
675             */
676            public void setUserFinder(UserFinder userFinder) {
677                    this.userFinder = userFinder;
678            }
679    
680            /**
681             * Returns the message-boards message local service.
682             *
683             * @return the message-boards message local service
684             */
685            public MBMessageLocalService getMBMessageLocalService() {
686                    return mbMessageLocalService;
687            }
688    
689            /**
690             * Sets the message-boards message local service.
691             *
692             * @param mbMessageLocalService the message-boards message local service
693             */
694            public void setMBMessageLocalService(
695                    MBMessageLocalService mbMessageLocalService) {
696                    this.mbMessageLocalService = mbMessageLocalService;
697            }
698    
699            /**
700             * Returns the message-boards message remote service.
701             *
702             * @return the message-boards message remote service
703             */
704            public MBMessageService getMBMessageService() {
705                    return mbMessageService;
706            }
707    
708            /**
709             * Sets the message-boards message remote service.
710             *
711             * @param mbMessageService the message-boards message remote service
712             */
713            public void setMBMessageService(MBMessageService mbMessageService) {
714                    this.mbMessageService = mbMessageService;
715            }
716    
717            /**
718             * Returns the message-boards message persistence.
719             *
720             * @return the message-boards message persistence
721             */
722            public MBMessagePersistence getMBMessagePersistence() {
723                    return mbMessagePersistence;
724            }
725    
726            /**
727             * Sets the message-boards message persistence.
728             *
729             * @param mbMessagePersistence the message-boards message persistence
730             */
731            public void setMBMessagePersistence(
732                    MBMessagePersistence mbMessagePersistence) {
733                    this.mbMessagePersistence = mbMessagePersistence;
734            }
735    
736            /**
737             * Returns the message-boards message finder.
738             *
739             * @return the message-boards message finder
740             */
741            public MBMessageFinder getMBMessageFinder() {
742                    return mbMessageFinder;
743            }
744    
745            /**
746             * Sets the message-boards message finder.
747             *
748             * @param mbMessageFinder the message-boards message finder
749             */
750            public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
751                    this.mbMessageFinder = mbMessageFinder;
752            }
753    
754            /**
755             * Returns the ratings stats local service.
756             *
757             * @return the ratings stats local service
758             */
759            public RatingsStatsLocalService getRatingsStatsLocalService() {
760                    return ratingsStatsLocalService;
761            }
762    
763            /**
764             * Sets the ratings stats local service.
765             *
766             * @param ratingsStatsLocalService the ratings stats local service
767             */
768            public void setRatingsStatsLocalService(
769                    RatingsStatsLocalService ratingsStatsLocalService) {
770                    this.ratingsStatsLocalService = ratingsStatsLocalService;
771            }
772    
773            /**
774             * Returns the ratings stats persistence.
775             *
776             * @return the ratings stats persistence
777             */
778            public RatingsStatsPersistence getRatingsStatsPersistence() {
779                    return ratingsStatsPersistence;
780            }
781    
782            /**
783             * Sets the ratings stats persistence.
784             *
785             * @param ratingsStatsPersistence the ratings stats persistence
786             */
787            public void setRatingsStatsPersistence(
788                    RatingsStatsPersistence ratingsStatsPersistence) {
789                    this.ratingsStatsPersistence = ratingsStatsPersistence;
790            }
791    
792            /**
793             * Returns the ratings stats finder.
794             *
795             * @return the ratings stats finder
796             */
797            public RatingsStatsFinder getRatingsStatsFinder() {
798                    return ratingsStatsFinder;
799            }
800    
801            /**
802             * Sets the ratings stats finder.
803             *
804             * @param ratingsStatsFinder the ratings stats finder
805             */
806            public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
807                    this.ratingsStatsFinder = ratingsStatsFinder;
808            }
809    
810            public void afterPropertiesSet() {
811            }
812    
813            public void destroy() {
814            }
815    
816            /**
817             * Returns the Spring bean ID for this bean.
818             *
819             * @return the Spring bean ID for this bean
820             */
821            public String getBeanIdentifier() {
822                    return _beanIdentifier;
823            }
824    
825            /**
826             * Sets the Spring bean ID for this bean.
827             *
828             * @param beanIdentifier the Spring bean ID for this bean
829             */
830            public void setBeanIdentifier(String beanIdentifier) {
831                    _beanIdentifier = beanIdentifier;
832            }
833    
834            protected Class<?> getModelClass() {
835                    return SCProductEntry.class;
836            }
837    
838            protected String getModelClassName() {
839                    return SCProductEntry.class.getName();
840            }
841    
842            /**
843             * Performs an SQL query.
844             *
845             * @param sql the sql query
846             */
847            protected void runSQL(String sql) throws SystemException {
848                    try {
849                            DataSource dataSource = scProductEntryPersistence.getDataSource();
850    
851                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
852                                            sql, new int[0]);
853    
854                            sqlUpdate.update();
855                    }
856                    catch (Exception e) {
857                            throw new SystemException(e);
858                    }
859            }
860    
861            @BeanReference(type = SCFrameworkVersionLocalService.class)
862            protected SCFrameworkVersionLocalService scFrameworkVersionLocalService;
863            @BeanReference(type = SCFrameworkVersionService.class)
864            protected SCFrameworkVersionService scFrameworkVersionService;
865            @BeanReference(type = SCFrameworkVersionPersistence.class)
866            protected SCFrameworkVersionPersistence scFrameworkVersionPersistence;
867            @BeanReference(type = SCLicenseLocalService.class)
868            protected SCLicenseLocalService scLicenseLocalService;
869            @BeanReference(type = SCLicenseService.class)
870            protected SCLicenseService scLicenseService;
871            @BeanReference(type = SCLicensePersistence.class)
872            protected SCLicensePersistence scLicensePersistence;
873            @BeanReference(type = SCProductEntryLocalService.class)
874            protected SCProductEntryLocalService scProductEntryLocalService;
875            @BeanReference(type = SCProductEntryService.class)
876            protected SCProductEntryService scProductEntryService;
877            @BeanReference(type = SCProductEntryPersistence.class)
878            protected SCProductEntryPersistence scProductEntryPersistence;
879            @BeanReference(type = SCProductScreenshotLocalService.class)
880            protected SCProductScreenshotLocalService scProductScreenshotLocalService;
881            @BeanReference(type = SCProductScreenshotPersistence.class)
882            protected SCProductScreenshotPersistence scProductScreenshotPersistence;
883            @BeanReference(type = SCProductVersionLocalService.class)
884            protected SCProductVersionLocalService scProductVersionLocalService;
885            @BeanReference(type = SCProductVersionService.class)
886            protected SCProductVersionService scProductVersionService;
887            @BeanReference(type = SCProductVersionPersistence.class)
888            protected SCProductVersionPersistence scProductVersionPersistence;
889            @BeanReference(type = CounterLocalService.class)
890            protected CounterLocalService counterLocalService;
891            @BeanReference(type = GroupLocalService.class)
892            protected GroupLocalService groupLocalService;
893            @BeanReference(type = GroupService.class)
894            protected GroupService groupService;
895            @BeanReference(type = GroupPersistence.class)
896            protected GroupPersistence groupPersistence;
897            @BeanReference(type = GroupFinder.class)
898            protected GroupFinder groupFinder;
899            @BeanReference(type = ImageLocalService.class)
900            protected ImageLocalService imageLocalService;
901            @BeanReference(type = ImageService.class)
902            protected ImageService imageService;
903            @BeanReference(type = ImagePersistence.class)
904            protected ImagePersistence imagePersistence;
905            @BeanReference(type = ResourceLocalService.class)
906            protected ResourceLocalService resourceLocalService;
907            @BeanReference(type = ResourceService.class)
908            protected ResourceService resourceService;
909            @BeanReference(type = ResourcePersistence.class)
910            protected ResourcePersistence resourcePersistence;
911            @BeanReference(type = ResourceFinder.class)
912            protected ResourceFinder resourceFinder;
913            @BeanReference(type = SubscriptionLocalService.class)
914            protected SubscriptionLocalService subscriptionLocalService;
915            @BeanReference(type = SubscriptionPersistence.class)
916            protected SubscriptionPersistence subscriptionPersistence;
917            @BeanReference(type = UserLocalService.class)
918            protected UserLocalService userLocalService;
919            @BeanReference(type = UserService.class)
920            protected UserService userService;
921            @BeanReference(type = UserPersistence.class)
922            protected UserPersistence userPersistence;
923            @BeanReference(type = UserFinder.class)
924            protected UserFinder userFinder;
925            @BeanReference(type = MBMessageLocalService.class)
926            protected MBMessageLocalService mbMessageLocalService;
927            @BeanReference(type = MBMessageService.class)
928            protected MBMessageService mbMessageService;
929            @BeanReference(type = MBMessagePersistence.class)
930            protected MBMessagePersistence mbMessagePersistence;
931            @BeanReference(type = MBMessageFinder.class)
932            protected MBMessageFinder mbMessageFinder;
933            @BeanReference(type = RatingsStatsLocalService.class)
934            protected RatingsStatsLocalService ratingsStatsLocalService;
935            @BeanReference(type = RatingsStatsPersistence.class)
936            protected RatingsStatsPersistence ratingsStatsPersistence;
937            @BeanReference(type = RatingsStatsFinder.class)
938            protected RatingsStatsFinder ratingsStatsFinder;
939            private String _beanIdentifier;
940    }