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.expando.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.expando.model.ExpandoValue;
036    import com.liferay.portlet.expando.service.ExpandoValueLocalService;
037    import com.liferay.portlet.expando.service.persistence.ExpandoColumnPersistence;
038    import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
039    import com.liferay.portlet.expando.service.persistence.ExpandoTablePersistence;
040    import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
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 expando value 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.expando.service.impl.ExpandoValueLocalServiceImpl}.
053     * </p>
054     *
055     * @author Brian Wing Shun Chan
056     * @see com.liferay.portlet.expando.service.impl.ExpandoValueLocalServiceImpl
057     * @see com.liferay.portlet.expando.service.ExpandoValueLocalServiceUtil
058     * @generated
059     */
060    public abstract class ExpandoValueLocalServiceBaseImpl
061            extends BaseLocalServiceImpl implements ExpandoValueLocalService,
062                    IdentifiableBean {
063            /*
064             * NOTE FOR DEVELOPERS:
065             *
066             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.expando.service.ExpandoValueLocalServiceUtil} to access the expando value local service.
067             */
068    
069            /**
070             * Adds the expando value to the database. Also notifies the appropriate model listeners.
071             *
072             * @param expandoValue the expando value
073             * @return the expando value that was added
074             * @throws SystemException if a system exception occurred
075             */
076            @Indexable(type = IndexableType.REINDEX)
077            @Override
078            public ExpandoValue addExpandoValue(ExpandoValue expandoValue)
079                    throws SystemException {
080                    expandoValue.setNew(true);
081    
082                    return expandoValuePersistence.update(expandoValue);
083            }
084    
085            /**
086             * Creates a new expando value with the primary key. Does not add the expando value to the database.
087             *
088             * @param valueId the primary key for the new expando value
089             * @return the new expando value
090             */
091            @Override
092            public ExpandoValue createExpandoValue(long valueId) {
093                    return expandoValuePersistence.create(valueId);
094            }
095    
096            /**
097             * Deletes the expando value with the primary key from the database. Also notifies the appropriate model listeners.
098             *
099             * @param valueId the primary key of the expando value
100             * @return the expando value that was removed
101             * @throws PortalException if a expando value 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 ExpandoValue deleteExpandoValue(long valueId)
107                    throws PortalException, SystemException {
108                    return expandoValuePersistence.remove(valueId);
109            }
110    
111            /**
112             * Deletes the expando value from the database. Also notifies the appropriate model listeners.
113             *
114             * @param expandoValue the expando value
115             * @return the expando value that was removed
116             * @throws SystemException if a system exception occurred
117             */
118            @Indexable(type = IndexableType.DELETE)
119            @Override
120            public ExpandoValue deleteExpandoValue(ExpandoValue expandoValue)
121                    throws SystemException {
122                    return expandoValuePersistence.remove(expandoValue);
123            }
124    
125            @Override
126            public DynamicQuery dynamicQuery() {
127                    Class<?> clazz = getClass();
128    
129                    return DynamicQueryFactoryUtil.forClass(ExpandoValue.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 expandoValuePersistence.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.expando.model.impl.ExpandoValueModelImpl}. 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 expandoValuePersistence.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.expando.model.impl.ExpandoValueModelImpl}. 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 expandoValuePersistence.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 expandoValuePersistence.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 expandoValuePersistence.countWithDynamicQuery(dynamicQuery,
215                            projection);
216            }
217    
218            @Override
219            public ExpandoValue fetchExpandoValue(long valueId)
220                    throws SystemException {
221                    return expandoValuePersistence.fetchByPrimaryKey(valueId);
222            }
223    
224            /**
225             * Returns the expando value with the primary key.
226             *
227             * @param valueId the primary key of the expando value
228             * @return the expando value
229             * @throws PortalException if a expando value with the primary key could not be found
230             * @throws SystemException if a system exception occurred
231             */
232            @Override
233            public ExpandoValue getExpandoValue(long valueId)
234                    throws PortalException, SystemException {
235                    return expandoValuePersistence.findByPrimaryKey(valueId);
236            }
237    
238            @Override
239            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
240                    throws PortalException, SystemException {
241                    return expandoValuePersistence.findByPrimaryKey(primaryKeyObj);
242            }
243    
244            /**
245             * Returns a range of all the expando values.
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.expando.model.impl.ExpandoValueModelImpl}. 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 expando values
252             * @param end the upper bound of the range of expando values (not inclusive)
253             * @return the range of expando values
254             * @throws SystemException if a system exception occurred
255             */
256            @Override
257            public List<ExpandoValue> getExpandoValues(int start, int end)
258                    throws SystemException {
259                    return expandoValuePersistence.findAll(start, end);
260            }
261    
262            /**
263             * Returns the number of expando values.
264             *
265             * @return the number of expando values
266             * @throws SystemException if a system exception occurred
267             */
268            @Override
269            public int getExpandoValuesCount() throws SystemException {
270                    return expandoValuePersistence.countAll();
271            }
272    
273            /**
274             * Updates the expando value in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
275             *
276             * @param expandoValue the expando value
277             * @return the expando value that was updated
278             * @throws SystemException if a system exception occurred
279             */
280            @Indexable(type = IndexableType.REINDEX)
281            @Override
282            public ExpandoValue updateExpandoValue(ExpandoValue expandoValue)
283                    throws SystemException {
284                    return expandoValuePersistence.update(expandoValue);
285            }
286    
287            /**
288             * Returns the expando column local service.
289             *
290             * @return the expando column local service
291             */
292            public com.liferay.portlet.expando.service.ExpandoColumnLocalService getExpandoColumnLocalService() {
293                    return expandoColumnLocalService;
294            }
295    
296            /**
297             * Sets the expando column local service.
298             *
299             * @param expandoColumnLocalService the expando column local service
300             */
301            public void setExpandoColumnLocalService(
302                    com.liferay.portlet.expando.service.ExpandoColumnLocalService expandoColumnLocalService) {
303                    this.expandoColumnLocalService = expandoColumnLocalService;
304            }
305    
306            /**
307             * Returns the expando column remote service.
308             *
309             * @return the expando column remote service
310             */
311            public com.liferay.portlet.expando.service.ExpandoColumnService getExpandoColumnService() {
312                    return expandoColumnService;
313            }
314    
315            /**
316             * Sets the expando column remote service.
317             *
318             * @param expandoColumnService the expando column remote service
319             */
320            public void setExpandoColumnService(
321                    com.liferay.portlet.expando.service.ExpandoColumnService expandoColumnService) {
322                    this.expandoColumnService = expandoColumnService;
323            }
324    
325            /**
326             * Returns the expando column persistence.
327             *
328             * @return the expando column persistence
329             */
330            public ExpandoColumnPersistence getExpandoColumnPersistence() {
331                    return expandoColumnPersistence;
332            }
333    
334            /**
335             * Sets the expando column persistence.
336             *
337             * @param expandoColumnPersistence the expando column persistence
338             */
339            public void setExpandoColumnPersistence(
340                    ExpandoColumnPersistence expandoColumnPersistence) {
341                    this.expandoColumnPersistence = expandoColumnPersistence;
342            }
343    
344            /**
345             * Returns the expando row local service.
346             *
347             * @return the expando row local service
348             */
349            public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
350                    return expandoRowLocalService;
351            }
352    
353            /**
354             * Sets the expando row local service.
355             *
356             * @param expandoRowLocalService the expando row local service
357             */
358            public void setExpandoRowLocalService(
359                    com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
360                    this.expandoRowLocalService = expandoRowLocalService;
361            }
362    
363            /**
364             * Returns the expando row persistence.
365             *
366             * @return the expando row persistence
367             */
368            public ExpandoRowPersistence getExpandoRowPersistence() {
369                    return expandoRowPersistence;
370            }
371    
372            /**
373             * Sets the expando row persistence.
374             *
375             * @param expandoRowPersistence the expando row persistence
376             */
377            public void setExpandoRowPersistence(
378                    ExpandoRowPersistence expandoRowPersistence) {
379                    this.expandoRowPersistence = expandoRowPersistence;
380            }
381    
382            /**
383             * Returns the expando table local service.
384             *
385             * @return the expando table local service
386             */
387            public com.liferay.portlet.expando.service.ExpandoTableLocalService getExpandoTableLocalService() {
388                    return expandoTableLocalService;
389            }
390    
391            /**
392             * Sets the expando table local service.
393             *
394             * @param expandoTableLocalService the expando table local service
395             */
396            public void setExpandoTableLocalService(
397                    com.liferay.portlet.expando.service.ExpandoTableLocalService expandoTableLocalService) {
398                    this.expandoTableLocalService = expandoTableLocalService;
399            }
400    
401            /**
402             * Returns the expando table persistence.
403             *
404             * @return the expando table persistence
405             */
406            public ExpandoTablePersistence getExpandoTablePersistence() {
407                    return expandoTablePersistence;
408            }
409    
410            /**
411             * Sets the expando table persistence.
412             *
413             * @param expandoTablePersistence the expando table persistence
414             */
415            public void setExpandoTablePersistence(
416                    ExpandoTablePersistence expandoTablePersistence) {
417                    this.expandoTablePersistence = expandoTablePersistence;
418            }
419    
420            /**
421             * Returns the expando value local service.
422             *
423             * @return the expando value local service
424             */
425            public com.liferay.portlet.expando.service.ExpandoValueLocalService getExpandoValueLocalService() {
426                    return expandoValueLocalService;
427            }
428    
429            /**
430             * Sets the expando value local service.
431             *
432             * @param expandoValueLocalService the expando value local service
433             */
434            public void setExpandoValueLocalService(
435                    com.liferay.portlet.expando.service.ExpandoValueLocalService expandoValueLocalService) {
436                    this.expandoValueLocalService = expandoValueLocalService;
437            }
438    
439            /**
440             * Returns the expando value remote service.
441             *
442             * @return the expando value remote service
443             */
444            public com.liferay.portlet.expando.service.ExpandoValueService getExpandoValueService() {
445                    return expandoValueService;
446            }
447    
448            /**
449             * Sets the expando value remote service.
450             *
451             * @param expandoValueService the expando value remote service
452             */
453            public void setExpandoValueService(
454                    com.liferay.portlet.expando.service.ExpandoValueService expandoValueService) {
455                    this.expandoValueService = expandoValueService;
456            }
457    
458            /**
459             * Returns the expando value persistence.
460             *
461             * @return the expando value persistence
462             */
463            public ExpandoValuePersistence getExpandoValuePersistence() {
464                    return expandoValuePersistence;
465            }
466    
467            /**
468             * Sets the expando value persistence.
469             *
470             * @param expandoValuePersistence the expando value persistence
471             */
472            public void setExpandoValuePersistence(
473                    ExpandoValuePersistence expandoValuePersistence) {
474                    this.expandoValuePersistence = expandoValuePersistence;
475            }
476    
477            /**
478             * Returns the counter local service.
479             *
480             * @return the counter local service
481             */
482            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
483                    return counterLocalService;
484            }
485    
486            /**
487             * Sets the counter local service.
488             *
489             * @param counterLocalService the counter local service
490             */
491            public void setCounterLocalService(
492                    com.liferay.counter.service.CounterLocalService counterLocalService) {
493                    this.counterLocalService = counterLocalService;
494            }
495    
496            /**
497             * Returns the resource local service.
498             *
499             * @return the resource local service
500             */
501            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
502                    return resourceLocalService;
503            }
504    
505            /**
506             * Sets the resource local service.
507             *
508             * @param resourceLocalService the resource local service
509             */
510            public void setResourceLocalService(
511                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
512                    this.resourceLocalService = resourceLocalService;
513            }
514    
515            /**
516             * Returns the user local service.
517             *
518             * @return the user local service
519             */
520            public com.liferay.portal.service.UserLocalService getUserLocalService() {
521                    return userLocalService;
522            }
523    
524            /**
525             * Sets the user local service.
526             *
527             * @param userLocalService the user local service
528             */
529            public void setUserLocalService(
530                    com.liferay.portal.service.UserLocalService userLocalService) {
531                    this.userLocalService = userLocalService;
532            }
533    
534            /**
535             * Returns the user remote service.
536             *
537             * @return the user remote service
538             */
539            public com.liferay.portal.service.UserService getUserService() {
540                    return userService;
541            }
542    
543            /**
544             * Sets the user remote service.
545             *
546             * @param userService the user remote service
547             */
548            public void setUserService(
549                    com.liferay.portal.service.UserService userService) {
550                    this.userService = userService;
551            }
552    
553            /**
554             * Returns the user persistence.
555             *
556             * @return the user persistence
557             */
558            public UserPersistence getUserPersistence() {
559                    return userPersistence;
560            }
561    
562            /**
563             * Sets the user persistence.
564             *
565             * @param userPersistence the user persistence
566             */
567            public void setUserPersistence(UserPersistence userPersistence) {
568                    this.userPersistence = userPersistence;
569            }
570    
571            /**
572             * Returns the user finder.
573             *
574             * @return the user finder
575             */
576            public UserFinder getUserFinder() {
577                    return userFinder;
578            }
579    
580            /**
581             * Sets the user finder.
582             *
583             * @param userFinder the user finder
584             */
585            public void setUserFinder(UserFinder userFinder) {
586                    this.userFinder = userFinder;
587            }
588    
589            public void afterPropertiesSet() {
590                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.expando.model.ExpandoValue",
591                            expandoValueLocalService);
592            }
593    
594            public void destroy() {
595                    persistedModelLocalServiceRegistry.unregister(
596                            "com.liferay.portlet.expando.model.ExpandoValue");
597            }
598    
599            /**
600             * Returns the Spring bean ID for this bean.
601             *
602             * @return the Spring bean ID for this bean
603             */
604            @Override
605            public String getBeanIdentifier() {
606                    return _beanIdentifier;
607            }
608    
609            /**
610             * Sets the Spring bean ID for this bean.
611             *
612             * @param beanIdentifier the Spring bean ID for this bean
613             */
614            @Override
615            public void setBeanIdentifier(String beanIdentifier) {
616                    _beanIdentifier = beanIdentifier;
617            }
618    
619            protected Class<?> getModelClass() {
620                    return ExpandoValue.class;
621            }
622    
623            protected String getModelClassName() {
624                    return ExpandoValue.class.getName();
625            }
626    
627            /**
628             * Performs an SQL query.
629             *
630             * @param sql the sql query
631             */
632            protected void runSQL(String sql) throws SystemException {
633                    try {
634                            DataSource dataSource = expandoValuePersistence.getDataSource();
635    
636                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
637                                            sql, new int[0]);
638    
639                            sqlUpdate.update();
640                    }
641                    catch (Exception e) {
642                            throw new SystemException(e);
643                    }
644            }
645    
646            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoColumnLocalService.class)
647            protected com.liferay.portlet.expando.service.ExpandoColumnLocalService expandoColumnLocalService;
648            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoColumnService.class)
649            protected com.liferay.portlet.expando.service.ExpandoColumnService expandoColumnService;
650            @BeanReference(type = ExpandoColumnPersistence.class)
651            protected ExpandoColumnPersistence expandoColumnPersistence;
652            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
653            protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
654            @BeanReference(type = ExpandoRowPersistence.class)
655            protected ExpandoRowPersistence expandoRowPersistence;
656            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoTableLocalService.class)
657            protected com.liferay.portlet.expando.service.ExpandoTableLocalService expandoTableLocalService;
658            @BeanReference(type = ExpandoTablePersistence.class)
659            protected ExpandoTablePersistence expandoTablePersistence;
660            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoValueLocalService.class)
661            protected com.liferay.portlet.expando.service.ExpandoValueLocalService expandoValueLocalService;
662            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoValueService.class)
663            protected com.liferay.portlet.expando.service.ExpandoValueService expandoValueService;
664            @BeanReference(type = ExpandoValuePersistence.class)
665            protected ExpandoValuePersistence expandoValuePersistence;
666            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
667            protected com.liferay.counter.service.CounterLocalService counterLocalService;
668            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
669            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
670            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
671            protected com.liferay.portal.service.UserLocalService userLocalService;
672            @BeanReference(type = com.liferay.portal.service.UserService.class)
673            protected com.liferay.portal.service.UserService userService;
674            @BeanReference(type = UserPersistence.class)
675            protected UserPersistence userPersistence;
676            @BeanReference(type = UserFinder.class)
677            protected UserFinder userFinder;
678            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
679            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
680            private String _beanIdentifier;
681    }