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