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.wiki.service.base;
016    
017    import com.liferay.portal.kernel.bean.BeanReference;
018    import com.liferay.portal.kernel.bean.IdentifiableBean;
019    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
020    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
021    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
022    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
023    import com.liferay.portal.kernel.dao.orm.Projection;
024    import com.liferay.portal.kernel.exception.PortalException;
025    import com.liferay.portal.kernel.exception.SystemException;
026    import com.liferay.portal.kernel.search.Indexable;
027    import com.liferay.portal.kernel.search.IndexableType;
028    import com.liferay.portal.kernel.util.OrderByComparator;
029    import com.liferay.portal.model.PersistedModel;
030    import com.liferay.portal.service.BaseLocalServiceImpl;
031    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
032    import com.liferay.portal.service.persistence.UserFinder;
033    import com.liferay.portal.service.persistence.UserPersistence;
034    
035    import com.liferay.portlet.wiki.model.WikiPageResource;
036    import com.liferay.portlet.wiki.service.WikiPageResourceLocalService;
037    import com.liferay.portlet.wiki.service.persistence.WikiNodePersistence;
038    import com.liferay.portlet.wiki.service.persistence.WikiPageFinder;
039    import com.liferay.portlet.wiki.service.persistence.WikiPagePersistence;
040    import com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence;
041    
042    import java.io.Serializable;
043    
044    import java.util.List;
045    
046    import javax.sql.DataSource;
047    
048    /**
049     * Provides the base implementation for the wiki page resource local service.
050     *
051     * <p>
052     * 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.wiki.service.impl.WikiPageResourceLocalServiceImpl}.
053     * </p>
054     *
055     * @author Brian Wing Shun Chan
056     * @see com.liferay.portlet.wiki.service.impl.WikiPageResourceLocalServiceImpl
057     * @see com.liferay.portlet.wiki.service.WikiPageResourceLocalServiceUtil
058     * @generated
059     */
060    public abstract class WikiPageResourceLocalServiceBaseImpl
061            extends BaseLocalServiceImpl implements WikiPageResourceLocalService,
062                    IdentifiableBean {
063            /*
064             * NOTE FOR DEVELOPERS:
065             *
066             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.wiki.service.WikiPageResourceLocalServiceUtil} to access the wiki page resource local service.
067             */
068    
069            /**
070             * Adds the wiki page resource to the database. Also notifies the appropriate model listeners.
071             *
072             * @param wikiPageResource the wiki page resource
073             * @return the wiki page resource that was added
074             * @throws SystemException if a system exception occurred
075             */
076            @Indexable(type = IndexableType.REINDEX)
077            @Override
078            public WikiPageResource addWikiPageResource(
079                    WikiPageResource wikiPageResource) throws SystemException {
080                    wikiPageResource.setNew(true);
081    
082                    return wikiPageResourcePersistence.update(wikiPageResource);
083            }
084    
085            /**
086             * Creates a new wiki page resource with the primary key. Does not add the wiki page resource to the database.
087             *
088             * @param resourcePrimKey the primary key for the new wiki page resource
089             * @return the new wiki page resource
090             */
091            @Override
092            public WikiPageResource createWikiPageResource(long resourcePrimKey) {
093                    return wikiPageResourcePersistence.create(resourcePrimKey);
094            }
095    
096            /**
097             * Deletes the wiki page resource with the primary key from the database. Also notifies the appropriate model listeners.
098             *
099             * @param resourcePrimKey the primary key of the wiki page resource
100             * @return the wiki page resource that was removed
101             * @throws PortalException if a wiki page resource with the primary key could not be found
102             * @throws SystemException if a system exception occurred
103             */
104            @Indexable(type = IndexableType.DELETE)
105            @Override
106            public WikiPageResource deleteWikiPageResource(long resourcePrimKey)
107                    throws PortalException, SystemException {
108                    return wikiPageResourcePersistence.remove(resourcePrimKey);
109            }
110    
111            /**
112             * Deletes the wiki page resource from the database. Also notifies the appropriate model listeners.
113             *
114             * @param wikiPageResource the wiki page resource
115             * @return the wiki page resource that was removed
116             * @throws SystemException if a system exception occurred
117             */
118            @Indexable(type = IndexableType.DELETE)
119            @Override
120            public WikiPageResource deleteWikiPageResource(
121                    WikiPageResource wikiPageResource) throws SystemException {
122                    return wikiPageResourcePersistence.remove(wikiPageResource);
123            }
124    
125            @Override
126            public DynamicQuery dynamicQuery() {
127                    Class<?> clazz = getClass();
128    
129                    return DynamicQueryFactoryUtil.forClass(WikiPageResource.class,
130                            clazz.getClassLoader());
131            }
132    
133            /**
134             * Performs a dynamic query on the database and returns the matching rows.
135             *
136             * @param dynamicQuery the dynamic query
137             * @return the matching rows
138             * @throws SystemException if a system exception occurred
139             */
140            @Override
141            @SuppressWarnings("rawtypes")
142            public List dynamicQuery(DynamicQuery dynamicQuery)
143                    throws SystemException {
144                    return wikiPageResourcePersistence.findWithDynamicQuery(dynamicQuery);
145            }
146    
147            /**
148             * Performs a dynamic query on the database and returns a range of the matching rows.
149             *
150             * <p>
151             * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageResourceModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
152             * </p>
153             *
154             * @param dynamicQuery the dynamic query
155             * @param start the lower bound of the range of model instances
156             * @param end the upper bound of the range of model instances (not inclusive)
157             * @return the range of matching rows
158             * @throws SystemException if a system exception occurred
159             */
160            @Override
161            @SuppressWarnings("rawtypes")
162            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
163                    throws SystemException {
164                    return wikiPageResourcePersistence.findWithDynamicQuery(dynamicQuery,
165                            start, end);
166            }
167    
168            /**
169             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
170             *
171             * <p>
172             * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageResourceModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
173             * </p>
174             *
175             * @param dynamicQuery the dynamic query
176             * @param start the lower bound of the range of model instances
177             * @param end the upper bound of the range of model instances (not inclusive)
178             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
179             * @return the ordered range of matching rows
180             * @throws SystemException if a system exception occurred
181             */
182            @Override
183            @SuppressWarnings("rawtypes")
184            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
185                    OrderByComparator orderByComparator) throws SystemException {
186                    return wikiPageResourcePersistence.findWithDynamicQuery(dynamicQuery,
187                            start, end, orderByComparator);
188            }
189    
190            /**
191             * Returns the number of rows that match the dynamic query.
192             *
193             * @param dynamicQuery the dynamic query
194             * @return the number of rows that match the dynamic query
195             * @throws SystemException if a system exception occurred
196             */
197            @Override
198            public long dynamicQueryCount(DynamicQuery dynamicQuery)
199                    throws SystemException {
200                    return wikiPageResourcePersistence.countWithDynamicQuery(dynamicQuery);
201            }
202    
203            /**
204             * Returns the number of rows that match the dynamic query.
205             *
206             * @param dynamicQuery the dynamic query
207             * @param projection the projection to apply to the query
208             * @return the number of rows that match the dynamic query
209             * @throws SystemException if a system exception occurred
210             */
211            @Override
212            public long dynamicQueryCount(DynamicQuery dynamicQuery,
213                    Projection projection) throws SystemException {
214                    return wikiPageResourcePersistence.countWithDynamicQuery(dynamicQuery,
215                            projection);
216            }
217    
218            @Override
219            public WikiPageResource fetchWikiPageResource(long resourcePrimKey)
220                    throws SystemException {
221                    return wikiPageResourcePersistence.fetchByPrimaryKey(resourcePrimKey);
222            }
223    
224            /**
225             * Returns the wiki page resource with the primary key.
226             *
227             * @param resourcePrimKey the primary key of the wiki page resource
228             * @return the wiki page resource
229             * @throws PortalException if a wiki page resource with the primary key could not be found
230             * @throws SystemException if a system exception occurred
231             */
232            @Override
233            public WikiPageResource getWikiPageResource(long resourcePrimKey)
234                    throws PortalException, SystemException {
235                    return wikiPageResourcePersistence.findByPrimaryKey(resourcePrimKey);
236            }
237    
238            @Override
239            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
240                    throws PortalException, SystemException {
241                    return wikiPageResourcePersistence.findByPrimaryKey(primaryKeyObj);
242            }
243    
244            /**
245             * Returns a range of all the wiki page resources.
246             *
247             * <p>
248             * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageResourceModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
249             * </p>
250             *
251             * @param start the lower bound of the range of wiki page resources
252             * @param end the upper bound of the range of wiki page resources (not inclusive)
253             * @return the range of wiki page resources
254             * @throws SystemException if a system exception occurred
255             */
256            @Override
257            public List<WikiPageResource> getWikiPageResources(int start, int end)
258                    throws SystemException {
259                    return wikiPageResourcePersistence.findAll(start, end);
260            }
261    
262            /**
263             * Returns the number of wiki page resources.
264             *
265             * @return the number of wiki page resources
266             * @throws SystemException if a system exception occurred
267             */
268            @Override
269            public int getWikiPageResourcesCount() throws SystemException {
270                    return wikiPageResourcePersistence.countAll();
271            }
272    
273            /**
274             * Updates the wiki page resource in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
275             *
276             * @param wikiPageResource the wiki page resource
277             * @return the wiki page resource that was updated
278             * @throws SystemException if a system exception occurred
279             */
280            @Indexable(type = IndexableType.REINDEX)
281            @Override
282            public WikiPageResource updateWikiPageResource(
283                    WikiPageResource wikiPageResource) throws SystemException {
284                    return wikiPageResourcePersistence.update(wikiPageResource);
285            }
286    
287            /**
288             * Returns the wiki node local service.
289             *
290             * @return the wiki node local service
291             */
292            public com.liferay.portlet.wiki.service.WikiNodeLocalService getWikiNodeLocalService() {
293                    return wikiNodeLocalService;
294            }
295    
296            /**
297             * Sets the wiki node local service.
298             *
299             * @param wikiNodeLocalService the wiki node local service
300             */
301            public void setWikiNodeLocalService(
302                    com.liferay.portlet.wiki.service.WikiNodeLocalService wikiNodeLocalService) {
303                    this.wikiNodeLocalService = wikiNodeLocalService;
304            }
305    
306            /**
307             * Returns the wiki node remote service.
308             *
309             * @return the wiki node remote service
310             */
311            public com.liferay.portlet.wiki.service.WikiNodeService getWikiNodeService() {
312                    return wikiNodeService;
313            }
314    
315            /**
316             * Sets the wiki node remote service.
317             *
318             * @param wikiNodeService the wiki node remote service
319             */
320            public void setWikiNodeService(
321                    com.liferay.portlet.wiki.service.WikiNodeService wikiNodeService) {
322                    this.wikiNodeService = wikiNodeService;
323            }
324    
325            /**
326             * Returns the wiki node persistence.
327             *
328             * @return the wiki node persistence
329             */
330            public WikiNodePersistence getWikiNodePersistence() {
331                    return wikiNodePersistence;
332            }
333    
334            /**
335             * Sets the wiki node persistence.
336             *
337             * @param wikiNodePersistence the wiki node persistence
338             */
339            public void setWikiNodePersistence(WikiNodePersistence wikiNodePersistence) {
340                    this.wikiNodePersistence = wikiNodePersistence;
341            }
342    
343            /**
344             * Returns the wiki page local service.
345             *
346             * @return the wiki page local service
347             */
348            public com.liferay.portlet.wiki.service.WikiPageLocalService getWikiPageLocalService() {
349                    return wikiPageLocalService;
350            }
351    
352            /**
353             * Sets the wiki page local service.
354             *
355             * @param wikiPageLocalService the wiki page local service
356             */
357            public void setWikiPageLocalService(
358                    com.liferay.portlet.wiki.service.WikiPageLocalService wikiPageLocalService) {
359                    this.wikiPageLocalService = wikiPageLocalService;
360            }
361    
362            /**
363             * Returns the wiki page remote service.
364             *
365             * @return the wiki page remote service
366             */
367            public com.liferay.portlet.wiki.service.WikiPageService getWikiPageService() {
368                    return wikiPageService;
369            }
370    
371            /**
372             * Sets the wiki page remote service.
373             *
374             * @param wikiPageService the wiki page remote service
375             */
376            public void setWikiPageService(
377                    com.liferay.portlet.wiki.service.WikiPageService wikiPageService) {
378                    this.wikiPageService = wikiPageService;
379            }
380    
381            /**
382             * Returns the wiki page persistence.
383             *
384             * @return the wiki page persistence
385             */
386            public WikiPagePersistence getWikiPagePersistence() {
387                    return wikiPagePersistence;
388            }
389    
390            /**
391             * Sets the wiki page persistence.
392             *
393             * @param wikiPagePersistence the wiki page persistence
394             */
395            public void setWikiPagePersistence(WikiPagePersistence wikiPagePersistence) {
396                    this.wikiPagePersistence = wikiPagePersistence;
397            }
398    
399            /**
400             * Returns the wiki page finder.
401             *
402             * @return the wiki page finder
403             */
404            public WikiPageFinder getWikiPageFinder() {
405                    return wikiPageFinder;
406            }
407    
408            /**
409             * Sets the wiki page finder.
410             *
411             * @param wikiPageFinder the wiki page finder
412             */
413            public void setWikiPageFinder(WikiPageFinder wikiPageFinder) {
414                    this.wikiPageFinder = wikiPageFinder;
415            }
416    
417            /**
418             * Returns the wiki page resource local service.
419             *
420             * @return the wiki page resource local service
421             */
422            public com.liferay.portlet.wiki.service.WikiPageResourceLocalService getWikiPageResourceLocalService() {
423                    return wikiPageResourceLocalService;
424            }
425    
426            /**
427             * Sets the wiki page resource local service.
428             *
429             * @param wikiPageResourceLocalService the wiki page resource local service
430             */
431            public void setWikiPageResourceLocalService(
432                    com.liferay.portlet.wiki.service.WikiPageResourceLocalService wikiPageResourceLocalService) {
433                    this.wikiPageResourceLocalService = wikiPageResourceLocalService;
434            }
435    
436            /**
437             * Returns the wiki page resource persistence.
438             *
439             * @return the wiki page resource persistence
440             */
441            public WikiPageResourcePersistence getWikiPageResourcePersistence() {
442                    return wikiPageResourcePersistence;
443            }
444    
445            /**
446             * Sets the wiki page resource persistence.
447             *
448             * @param wikiPageResourcePersistence the wiki page resource persistence
449             */
450            public void setWikiPageResourcePersistence(
451                    WikiPageResourcePersistence wikiPageResourcePersistence) {
452                    this.wikiPageResourcePersistence = wikiPageResourcePersistence;
453            }
454    
455            /**
456             * Returns the counter local service.
457             *
458             * @return the counter local service
459             */
460            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
461                    return counterLocalService;
462            }
463    
464            /**
465             * Sets the counter local service.
466             *
467             * @param counterLocalService the counter local service
468             */
469            public void setCounterLocalService(
470                    com.liferay.counter.service.CounterLocalService counterLocalService) {
471                    this.counterLocalService = counterLocalService;
472            }
473    
474            /**
475             * Returns the resource local service.
476             *
477             * @return the resource local service
478             */
479            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
480                    return resourceLocalService;
481            }
482    
483            /**
484             * Sets the resource local service.
485             *
486             * @param resourceLocalService the resource local service
487             */
488            public void setResourceLocalService(
489                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
490                    this.resourceLocalService = resourceLocalService;
491            }
492    
493            /**
494             * Returns the user local service.
495             *
496             * @return the user local service
497             */
498            public com.liferay.portal.service.UserLocalService getUserLocalService() {
499                    return userLocalService;
500            }
501    
502            /**
503             * Sets the user local service.
504             *
505             * @param userLocalService the user local service
506             */
507            public void setUserLocalService(
508                    com.liferay.portal.service.UserLocalService userLocalService) {
509                    this.userLocalService = userLocalService;
510            }
511    
512            /**
513             * Returns the user remote service.
514             *
515             * @return the user remote service
516             */
517            public com.liferay.portal.service.UserService getUserService() {
518                    return userService;
519            }
520    
521            /**
522             * Sets the user remote service.
523             *
524             * @param userService the user remote service
525             */
526            public void setUserService(
527                    com.liferay.portal.service.UserService userService) {
528                    this.userService = userService;
529            }
530    
531            /**
532             * Returns the user persistence.
533             *
534             * @return the user persistence
535             */
536            public UserPersistence getUserPersistence() {
537                    return userPersistence;
538            }
539    
540            /**
541             * Sets the user persistence.
542             *
543             * @param userPersistence the user persistence
544             */
545            public void setUserPersistence(UserPersistence userPersistence) {
546                    this.userPersistence = userPersistence;
547            }
548    
549            /**
550             * Returns the user finder.
551             *
552             * @return the user finder
553             */
554            public UserFinder getUserFinder() {
555                    return userFinder;
556            }
557    
558            /**
559             * Sets the user finder.
560             *
561             * @param userFinder the user finder
562             */
563            public void setUserFinder(UserFinder userFinder) {
564                    this.userFinder = userFinder;
565            }
566    
567            public void afterPropertiesSet() {
568                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.wiki.model.WikiPageResource",
569                            wikiPageResourceLocalService);
570            }
571    
572            public void destroy() {
573                    persistedModelLocalServiceRegistry.unregister(
574                            "com.liferay.portlet.wiki.model.WikiPageResource");
575            }
576    
577            /**
578             * Returns the Spring bean ID for this bean.
579             *
580             * @return the Spring bean ID for this bean
581             */
582            @Override
583            public String getBeanIdentifier() {
584                    return _beanIdentifier;
585            }
586    
587            /**
588             * Sets the Spring bean ID for this bean.
589             *
590             * @param beanIdentifier the Spring bean ID for this bean
591             */
592            @Override
593            public void setBeanIdentifier(String beanIdentifier) {
594                    _beanIdentifier = beanIdentifier;
595            }
596    
597            protected Class<?> getModelClass() {
598                    return WikiPageResource.class;
599            }
600    
601            protected String getModelClassName() {
602                    return WikiPageResource.class.getName();
603            }
604    
605            /**
606             * Performs an SQL query.
607             *
608             * @param sql the sql query
609             */
610            protected void runSQL(String sql) throws SystemException {
611                    try {
612                            DataSource dataSource = wikiPageResourcePersistence.getDataSource();
613    
614                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
615                                            sql, new int[0]);
616    
617                            sqlUpdate.update();
618                    }
619                    catch (Exception e) {
620                            throw new SystemException(e);
621                    }
622            }
623    
624            @BeanReference(type = com.liferay.portlet.wiki.service.WikiNodeLocalService.class)
625            protected com.liferay.portlet.wiki.service.WikiNodeLocalService wikiNodeLocalService;
626            @BeanReference(type = com.liferay.portlet.wiki.service.WikiNodeService.class)
627            protected com.liferay.portlet.wiki.service.WikiNodeService wikiNodeService;
628            @BeanReference(type = WikiNodePersistence.class)
629            protected WikiNodePersistence wikiNodePersistence;
630            @BeanReference(type = com.liferay.portlet.wiki.service.WikiPageLocalService.class)
631            protected com.liferay.portlet.wiki.service.WikiPageLocalService wikiPageLocalService;
632            @BeanReference(type = com.liferay.portlet.wiki.service.WikiPageService.class)
633            protected com.liferay.portlet.wiki.service.WikiPageService wikiPageService;
634            @BeanReference(type = WikiPagePersistence.class)
635            protected WikiPagePersistence wikiPagePersistence;
636            @BeanReference(type = WikiPageFinder.class)
637            protected WikiPageFinder wikiPageFinder;
638            @BeanReference(type = com.liferay.portlet.wiki.service.WikiPageResourceLocalService.class)
639            protected com.liferay.portlet.wiki.service.WikiPageResourceLocalService wikiPageResourceLocalService;
640            @BeanReference(type = WikiPageResourcePersistence.class)
641            protected WikiPageResourcePersistence wikiPageResourcePersistence;
642            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
643            protected com.liferay.counter.service.CounterLocalService counterLocalService;
644            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
645            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
646            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
647            protected com.liferay.portal.service.UserLocalService userLocalService;
648            @BeanReference(type = com.liferay.portal.service.UserService.class)
649            protected com.liferay.portal.service.UserService userService;
650            @BeanReference(type = UserPersistence.class)
651            protected UserPersistence userPersistence;
652            @BeanReference(type = UserFinder.class)
653            protected UserFinder userFinder;
654            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
655            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
656            private String _beanIdentifier;
657    }