001    /**
002     * Copyright (c) 2000-2012 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.dao.orm.DynamicQuery;
024    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
025    import com.liferay.portal.kernel.exception.PortalException;
026    import com.liferay.portal.kernel.exception.SystemException;
027    import com.liferay.portal.kernel.search.Indexable;
028    import com.liferay.portal.kernel.search.IndexableType;
029    import com.liferay.portal.kernel.util.OrderByComparator;
030    import com.liferay.portal.model.PersistedModel;
031    import com.liferay.portal.service.BaseLocalServiceImpl;
032    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
033    import com.liferay.portal.service.ResourceLocalService;
034    import com.liferay.portal.service.UserLocalService;
035    import com.liferay.portal.service.UserService;
036    import com.liferay.portal.service.persistence.UserFinder;
037    import com.liferay.portal.service.persistence.UserPersistence;
038    
039    import com.liferay.portlet.softwarecatalog.model.SCLicense;
040    import com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService;
041    import com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService;
042    import com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService;
043    import com.liferay.portlet.softwarecatalog.service.SCLicenseService;
044    import com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService;
045    import com.liferay.portlet.softwarecatalog.service.SCProductEntryService;
046    import com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService;
047    import com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService;
048    import com.liferay.portlet.softwarecatalog.service.SCProductVersionService;
049    import com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence;
050    import com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence;
051    import com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence;
052    import com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence;
053    import com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence;
054    
055    import java.io.Serializable;
056    
057    import java.util.List;
058    
059    import javax.sql.DataSource;
060    
061    /**
062     * The base implementation of the s c license local service.
063     *
064     * <p>
065     * 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.SCLicenseLocalServiceImpl}.
066     * </p>
067     *
068     * @author Brian Wing Shun Chan
069     * @see com.liferay.portlet.softwarecatalog.service.impl.SCLicenseLocalServiceImpl
070     * @see com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServiceUtil
071     * @generated
072     */
073    public abstract class SCLicenseLocalServiceBaseImpl extends BaseLocalServiceImpl
074            implements SCLicenseLocalService, IdentifiableBean {
075            /*
076             * NOTE FOR DEVELOPERS:
077             *
078             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServiceUtil} to access the s c license local service.
079             */
080    
081            /**
082             * Adds the s c license to the database. Also notifies the appropriate model listeners.
083             *
084             * @param scLicense the s c license
085             * @return the s c license that was added
086             * @throws SystemException if a system exception occurred
087             */
088            @Indexable(type = IndexableType.REINDEX)
089            public SCLicense addSCLicense(SCLicense scLicense)
090                    throws SystemException {
091                    scLicense.setNew(true);
092    
093                    return scLicensePersistence.update(scLicense);
094            }
095    
096            /**
097             * Creates a new s c license with the primary key. Does not add the s c license to the database.
098             *
099             * @param licenseId the primary key for the new s c license
100             * @return the new s c license
101             */
102            public SCLicense createSCLicense(long licenseId) {
103                    return scLicensePersistence.create(licenseId);
104            }
105    
106            /**
107             * Deletes the s c license with the primary key from the database. Also notifies the appropriate model listeners.
108             *
109             * @param licenseId the primary key of the s c license
110             * @return the s c license that was removed
111             * @throws PortalException if a s c license with the primary key could not be found
112             * @throws SystemException if a system exception occurred
113             */
114            @Indexable(type = IndexableType.DELETE)
115            public SCLicense deleteSCLicense(long licenseId)
116                    throws PortalException, SystemException {
117                    return scLicensePersistence.remove(licenseId);
118            }
119    
120            /**
121             * Deletes the s c license from the database. Also notifies the appropriate model listeners.
122             *
123             * @param scLicense the s c license
124             * @return the s c license that was removed
125             * @throws SystemException if a system exception occurred
126             */
127            @Indexable(type = IndexableType.DELETE)
128            public SCLicense deleteSCLicense(SCLicense scLicense)
129                    throws SystemException {
130                    return scLicensePersistence.remove(scLicense);
131            }
132    
133            public DynamicQuery dynamicQuery() {
134                    Class<?> clazz = getClass();
135    
136                    return DynamicQueryFactoryUtil.forClass(SCLicense.class,
137                            clazz.getClassLoader());
138            }
139    
140            /**
141             * Performs a dynamic query on the database and returns the matching rows.
142             *
143             * @param dynamicQuery the dynamic query
144             * @return the matching rows
145             * @throws SystemException if a system exception occurred
146             */
147            @SuppressWarnings("rawtypes")
148            public List dynamicQuery(DynamicQuery dynamicQuery)
149                    throws SystemException {
150                    return scLicensePersistence.findWithDynamicQuery(dynamicQuery);
151            }
152    
153            /**
154             * Performs a dynamic query on the database and returns a range of the matching rows.
155             *
156             * <p>
157             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
158             * </p>
159             *
160             * @param dynamicQuery the dynamic query
161             * @param start the lower bound of the range of model instances
162             * @param end the upper bound of the range of model instances (not inclusive)
163             * @return the range of matching rows
164             * @throws SystemException if a system exception occurred
165             */
166            @SuppressWarnings("rawtypes")
167            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
168                    throws SystemException {
169                    return scLicensePersistence.findWithDynamicQuery(dynamicQuery, start,
170                            end);
171            }
172    
173            /**
174             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
175             *
176             * <p>
177             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
178             * </p>
179             *
180             * @param dynamicQuery the dynamic query
181             * @param start the lower bound of the range of model instances
182             * @param end the upper bound of the range of model instances (not inclusive)
183             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
184             * @return the ordered range of matching rows
185             * @throws SystemException if a system exception occurred
186             */
187            @SuppressWarnings("rawtypes")
188            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
189                    OrderByComparator orderByComparator) throws SystemException {
190                    return scLicensePersistence.findWithDynamicQuery(dynamicQuery, start,
191                            end, orderByComparator);
192            }
193    
194            /**
195             * Returns the number of rows that match the dynamic query.
196             *
197             * @param dynamicQuery the dynamic query
198             * @return the number of rows that match the dynamic query
199             * @throws SystemException if a system exception occurred
200             */
201            public long dynamicQueryCount(DynamicQuery dynamicQuery)
202                    throws SystemException {
203                    return scLicensePersistence.countWithDynamicQuery(dynamicQuery);
204            }
205    
206            public SCLicense fetchSCLicense(long licenseId) throws SystemException {
207                    return scLicensePersistence.fetchByPrimaryKey(licenseId);
208            }
209    
210            /**
211             * Returns the s c license with the primary key.
212             *
213             * @param licenseId the primary key of the s c license
214             * @return the s c license
215             * @throws PortalException if a s c license with the primary key could not be found
216             * @throws SystemException if a system exception occurred
217             */
218            public SCLicense getSCLicense(long licenseId)
219                    throws PortalException, SystemException {
220                    return scLicensePersistence.findByPrimaryKey(licenseId);
221            }
222    
223            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
224                    throws PortalException, SystemException {
225                    return scLicensePersistence.findByPrimaryKey(primaryKeyObj);
226            }
227    
228            /**
229             * Returns a range of all the s c licenses.
230             *
231             * <p>
232             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
233             * </p>
234             *
235             * @param start the lower bound of the range of s c licenses
236             * @param end the upper bound of the range of s c licenses (not inclusive)
237             * @return the range of s c licenses
238             * @throws SystemException if a system exception occurred
239             */
240            public List<SCLicense> getSCLicenses(int start, int end)
241                    throws SystemException {
242                    return scLicensePersistence.findAll(start, end);
243            }
244    
245            /**
246             * Returns the number of s c licenses.
247             *
248             * @return the number of s c licenses
249             * @throws SystemException if a system exception occurred
250             */
251            public int getSCLicensesCount() throws SystemException {
252                    return scLicensePersistence.countAll();
253            }
254    
255            /**
256             * Updates the s c license in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
257             *
258             * @param scLicense the s c license
259             * @return the s c license that was updated
260             * @throws SystemException if a system exception occurred
261             */
262            @Indexable(type = IndexableType.REINDEX)
263            public SCLicense updateSCLicense(SCLicense scLicense)
264                    throws SystemException {
265                    return scLicensePersistence.update(scLicense);
266            }
267    
268            /**
269             * Returns the s c framework version local service.
270             *
271             * @return the s c framework version local service
272             */
273            public SCFrameworkVersionLocalService getSCFrameworkVersionLocalService() {
274                    return scFrameworkVersionLocalService;
275            }
276    
277            /**
278             * Sets the s c framework version local service.
279             *
280             * @param scFrameworkVersionLocalService the s c framework version local service
281             */
282            public void setSCFrameworkVersionLocalService(
283                    SCFrameworkVersionLocalService scFrameworkVersionLocalService) {
284                    this.scFrameworkVersionLocalService = scFrameworkVersionLocalService;
285            }
286    
287            /**
288             * Returns the s c framework version remote service.
289             *
290             * @return the s c framework version remote service
291             */
292            public SCFrameworkVersionService getSCFrameworkVersionService() {
293                    return scFrameworkVersionService;
294            }
295    
296            /**
297             * Sets the s c framework version remote service.
298             *
299             * @param scFrameworkVersionService the s c framework version remote service
300             */
301            public void setSCFrameworkVersionService(
302                    SCFrameworkVersionService scFrameworkVersionService) {
303                    this.scFrameworkVersionService = scFrameworkVersionService;
304            }
305    
306            /**
307             * Returns the s c framework version persistence.
308             *
309             * @return the s c framework version persistence
310             */
311            public SCFrameworkVersionPersistence getSCFrameworkVersionPersistence() {
312                    return scFrameworkVersionPersistence;
313            }
314    
315            /**
316             * Sets the s c framework version persistence.
317             *
318             * @param scFrameworkVersionPersistence the s c framework version persistence
319             */
320            public void setSCFrameworkVersionPersistence(
321                    SCFrameworkVersionPersistence scFrameworkVersionPersistence) {
322                    this.scFrameworkVersionPersistence = scFrameworkVersionPersistence;
323            }
324    
325            /**
326             * Returns the s c license local service.
327             *
328             * @return the s c license local service
329             */
330            public SCLicenseLocalService getSCLicenseLocalService() {
331                    return scLicenseLocalService;
332            }
333    
334            /**
335             * Sets the s c license local service.
336             *
337             * @param scLicenseLocalService the s c license local service
338             */
339            public void setSCLicenseLocalService(
340                    SCLicenseLocalService scLicenseLocalService) {
341                    this.scLicenseLocalService = scLicenseLocalService;
342            }
343    
344            /**
345             * Returns the s c license remote service.
346             *
347             * @return the s c license remote service
348             */
349            public SCLicenseService getSCLicenseService() {
350                    return scLicenseService;
351            }
352    
353            /**
354             * Sets the s c license remote service.
355             *
356             * @param scLicenseService the s c license remote service
357             */
358            public void setSCLicenseService(SCLicenseService scLicenseService) {
359                    this.scLicenseService = scLicenseService;
360            }
361    
362            /**
363             * Returns the s c license persistence.
364             *
365             * @return the s c license persistence
366             */
367            public SCLicensePersistence getSCLicensePersistence() {
368                    return scLicensePersistence;
369            }
370    
371            /**
372             * Sets the s c license persistence.
373             *
374             * @param scLicensePersistence the s c license persistence
375             */
376            public void setSCLicensePersistence(
377                    SCLicensePersistence scLicensePersistence) {
378                    this.scLicensePersistence = scLicensePersistence;
379            }
380    
381            /**
382             * Returns the s c product entry local service.
383             *
384             * @return the s c product entry local service
385             */
386            public SCProductEntryLocalService getSCProductEntryLocalService() {
387                    return scProductEntryLocalService;
388            }
389    
390            /**
391             * Sets the s c product entry local service.
392             *
393             * @param scProductEntryLocalService the s c product entry local service
394             */
395            public void setSCProductEntryLocalService(
396                    SCProductEntryLocalService scProductEntryLocalService) {
397                    this.scProductEntryLocalService = scProductEntryLocalService;
398            }
399    
400            /**
401             * Returns the s c product entry remote service.
402             *
403             * @return the s c product entry remote service
404             */
405            public SCProductEntryService getSCProductEntryService() {
406                    return scProductEntryService;
407            }
408    
409            /**
410             * Sets the s c product entry remote service.
411             *
412             * @param scProductEntryService the s c product entry remote service
413             */
414            public void setSCProductEntryService(
415                    SCProductEntryService scProductEntryService) {
416                    this.scProductEntryService = scProductEntryService;
417            }
418    
419            /**
420             * Returns the s c product entry persistence.
421             *
422             * @return the s c product entry persistence
423             */
424            public SCProductEntryPersistence getSCProductEntryPersistence() {
425                    return scProductEntryPersistence;
426            }
427    
428            /**
429             * Sets the s c product entry persistence.
430             *
431             * @param scProductEntryPersistence the s c product entry persistence
432             */
433            public void setSCProductEntryPersistence(
434                    SCProductEntryPersistence scProductEntryPersistence) {
435                    this.scProductEntryPersistence = scProductEntryPersistence;
436            }
437    
438            /**
439             * Returns the s c product screenshot local service.
440             *
441             * @return the s c product screenshot local service
442             */
443            public SCProductScreenshotLocalService getSCProductScreenshotLocalService() {
444                    return scProductScreenshotLocalService;
445            }
446    
447            /**
448             * Sets the s c product screenshot local service.
449             *
450             * @param scProductScreenshotLocalService the s c product screenshot local service
451             */
452            public void setSCProductScreenshotLocalService(
453                    SCProductScreenshotLocalService scProductScreenshotLocalService) {
454                    this.scProductScreenshotLocalService = scProductScreenshotLocalService;
455            }
456    
457            /**
458             * Returns the s c product screenshot persistence.
459             *
460             * @return the s c product screenshot persistence
461             */
462            public SCProductScreenshotPersistence getSCProductScreenshotPersistence() {
463                    return scProductScreenshotPersistence;
464            }
465    
466            /**
467             * Sets the s c product screenshot persistence.
468             *
469             * @param scProductScreenshotPersistence the s c product screenshot persistence
470             */
471            public void setSCProductScreenshotPersistence(
472                    SCProductScreenshotPersistence scProductScreenshotPersistence) {
473                    this.scProductScreenshotPersistence = scProductScreenshotPersistence;
474            }
475    
476            /**
477             * Returns the s c product version local service.
478             *
479             * @return the s c product version local service
480             */
481            public SCProductVersionLocalService getSCProductVersionLocalService() {
482                    return scProductVersionLocalService;
483            }
484    
485            /**
486             * Sets the s c product version local service.
487             *
488             * @param scProductVersionLocalService the s c product version local service
489             */
490            public void setSCProductVersionLocalService(
491                    SCProductVersionLocalService scProductVersionLocalService) {
492                    this.scProductVersionLocalService = scProductVersionLocalService;
493            }
494    
495            /**
496             * Returns the s c product version remote service.
497             *
498             * @return the s c product version remote service
499             */
500            public SCProductVersionService getSCProductVersionService() {
501                    return scProductVersionService;
502            }
503    
504            /**
505             * Sets the s c product version remote service.
506             *
507             * @param scProductVersionService the s c product version remote service
508             */
509            public void setSCProductVersionService(
510                    SCProductVersionService scProductVersionService) {
511                    this.scProductVersionService = scProductVersionService;
512            }
513    
514            /**
515             * Returns the s c product version persistence.
516             *
517             * @return the s c product version persistence
518             */
519            public SCProductVersionPersistence getSCProductVersionPersistence() {
520                    return scProductVersionPersistence;
521            }
522    
523            /**
524             * Sets the s c product version persistence.
525             *
526             * @param scProductVersionPersistence the s c product version persistence
527             */
528            public void setSCProductVersionPersistence(
529                    SCProductVersionPersistence scProductVersionPersistence) {
530                    this.scProductVersionPersistence = scProductVersionPersistence;
531            }
532    
533            /**
534             * Returns the counter local service.
535             *
536             * @return the counter local service
537             */
538            public CounterLocalService getCounterLocalService() {
539                    return counterLocalService;
540            }
541    
542            /**
543             * Sets the counter local service.
544             *
545             * @param counterLocalService the counter local service
546             */
547            public void setCounterLocalService(CounterLocalService counterLocalService) {
548                    this.counterLocalService = counterLocalService;
549            }
550    
551            /**
552             * Returns the resource local service.
553             *
554             * @return the resource local service
555             */
556            public ResourceLocalService getResourceLocalService() {
557                    return resourceLocalService;
558            }
559    
560            /**
561             * Sets the resource local service.
562             *
563             * @param resourceLocalService the resource local service
564             */
565            public void setResourceLocalService(
566                    ResourceLocalService resourceLocalService) {
567                    this.resourceLocalService = resourceLocalService;
568            }
569    
570            /**
571             * Returns the user local service.
572             *
573             * @return the user local service
574             */
575            public UserLocalService getUserLocalService() {
576                    return userLocalService;
577            }
578    
579            /**
580             * Sets the user local service.
581             *
582             * @param userLocalService the user local service
583             */
584            public void setUserLocalService(UserLocalService userLocalService) {
585                    this.userLocalService = userLocalService;
586            }
587    
588            /**
589             * Returns the user remote service.
590             *
591             * @return the user remote service
592             */
593            public UserService getUserService() {
594                    return userService;
595            }
596    
597            /**
598             * Sets the user remote service.
599             *
600             * @param userService the user remote service
601             */
602            public void setUserService(UserService userService) {
603                    this.userService = userService;
604            }
605    
606            /**
607             * Returns the user persistence.
608             *
609             * @return the user persistence
610             */
611            public UserPersistence getUserPersistence() {
612                    return userPersistence;
613            }
614    
615            /**
616             * Sets the user persistence.
617             *
618             * @param userPersistence the user persistence
619             */
620            public void setUserPersistence(UserPersistence userPersistence) {
621                    this.userPersistence = userPersistence;
622            }
623    
624            /**
625             * Returns the user finder.
626             *
627             * @return the user finder
628             */
629            public UserFinder getUserFinder() {
630                    return userFinder;
631            }
632    
633            /**
634             * Sets the user finder.
635             *
636             * @param userFinder the user finder
637             */
638            public void setUserFinder(UserFinder userFinder) {
639                    this.userFinder = userFinder;
640            }
641    
642            public void afterPropertiesSet() {
643                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.softwarecatalog.model.SCLicense",
644                            scLicenseLocalService);
645            }
646    
647            public void destroy() {
648                    persistedModelLocalServiceRegistry.unregister(
649                            "com.liferay.portlet.softwarecatalog.model.SCLicense");
650            }
651    
652            /**
653             * Returns the Spring bean ID for this bean.
654             *
655             * @return the Spring bean ID for this bean
656             */
657            public String getBeanIdentifier() {
658                    return _beanIdentifier;
659            }
660    
661            /**
662             * Sets the Spring bean ID for this bean.
663             *
664             * @param beanIdentifier the Spring bean ID for this bean
665             */
666            public void setBeanIdentifier(String beanIdentifier) {
667                    _beanIdentifier = beanIdentifier;
668            }
669    
670            protected Class<?> getModelClass() {
671                    return SCLicense.class;
672            }
673    
674            protected String getModelClassName() {
675                    return SCLicense.class.getName();
676            }
677    
678            /**
679             * Performs an SQL query.
680             *
681             * @param sql the sql query
682             */
683            protected void runSQL(String sql) throws SystemException {
684                    try {
685                            DataSource dataSource = scLicensePersistence.getDataSource();
686    
687                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
688                                            sql, new int[0]);
689    
690                            sqlUpdate.update();
691                    }
692                    catch (Exception e) {
693                            throw new SystemException(e);
694                    }
695            }
696    
697            @BeanReference(type = SCFrameworkVersionLocalService.class)
698            protected SCFrameworkVersionLocalService scFrameworkVersionLocalService;
699            @BeanReference(type = SCFrameworkVersionService.class)
700            protected SCFrameworkVersionService scFrameworkVersionService;
701            @BeanReference(type = SCFrameworkVersionPersistence.class)
702            protected SCFrameworkVersionPersistence scFrameworkVersionPersistence;
703            @BeanReference(type = SCLicenseLocalService.class)
704            protected SCLicenseLocalService scLicenseLocalService;
705            @BeanReference(type = SCLicenseService.class)
706            protected SCLicenseService scLicenseService;
707            @BeanReference(type = SCLicensePersistence.class)
708            protected SCLicensePersistence scLicensePersistence;
709            @BeanReference(type = SCProductEntryLocalService.class)
710            protected SCProductEntryLocalService scProductEntryLocalService;
711            @BeanReference(type = SCProductEntryService.class)
712            protected SCProductEntryService scProductEntryService;
713            @BeanReference(type = SCProductEntryPersistence.class)
714            protected SCProductEntryPersistence scProductEntryPersistence;
715            @BeanReference(type = SCProductScreenshotLocalService.class)
716            protected SCProductScreenshotLocalService scProductScreenshotLocalService;
717            @BeanReference(type = SCProductScreenshotPersistence.class)
718            protected SCProductScreenshotPersistence scProductScreenshotPersistence;
719            @BeanReference(type = SCProductVersionLocalService.class)
720            protected SCProductVersionLocalService scProductVersionLocalService;
721            @BeanReference(type = SCProductVersionService.class)
722            protected SCProductVersionService scProductVersionService;
723            @BeanReference(type = SCProductVersionPersistence.class)
724            protected SCProductVersionPersistence scProductVersionPersistence;
725            @BeanReference(type = CounterLocalService.class)
726            protected CounterLocalService counterLocalService;
727            @BeanReference(type = ResourceLocalService.class)
728            protected ResourceLocalService resourceLocalService;
729            @BeanReference(type = UserLocalService.class)
730            protected UserLocalService userLocalService;
731            @BeanReference(type = UserService.class)
732            protected UserService userService;
733            @BeanReference(type = UserPersistence.class)
734            protected UserPersistence userPersistence;
735            @BeanReference(type = UserFinder.class)
736            protected UserFinder userFinder;
737            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
738            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
739            private String _beanIdentifier;
740    }