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