001    /**
002     * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.dao.db.DB;
021    import com.liferay.portal.kernel.dao.db.DBManagerUtil;
022    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
023    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
024    import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery;
025    import com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery;
026    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
027    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
028    import com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery;
029    import com.liferay.portal.kernel.dao.orm.Projection;
030    import com.liferay.portal.kernel.exception.PortalException;
031    import com.liferay.portal.kernel.exception.SystemException;
032    import com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService;
033    import com.liferay.portal.kernel.search.Indexable;
034    import com.liferay.portal.kernel.search.IndexableType;
035    import com.liferay.portal.kernel.util.OrderByComparator;
036    import com.liferay.portal.model.PersistedModel;
037    import com.liferay.portal.service.BaseLocalServiceImpl;
038    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
039    import com.liferay.portal.service.persistence.ClassNamePersistence;
040    import com.liferay.portal.service.persistence.UserFinder;
041    import com.liferay.portal.service.persistence.UserPersistence;
042    import com.liferay.portal.util.PortalUtil;
043    
044    import com.liferay.portlet.expando.model.ExpandoValue;
045    import com.liferay.portlet.expando.service.ExpandoValueLocalService;
046    import com.liferay.portlet.expando.service.persistence.ExpandoColumnPersistence;
047    import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
048    import com.liferay.portlet.expando.service.persistence.ExpandoTablePersistence;
049    import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
050    
051    import java.io.Serializable;
052    
053    import java.util.List;
054    
055    import javax.sql.DataSource;
056    
057    /**
058     * Provides the base implementation for the expando value local service.
059     *
060     * <p>
061     * 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}.
062     * </p>
063     *
064     * @author Brian Wing Shun Chan
065     * @see com.liferay.portlet.expando.service.impl.ExpandoValueLocalServiceImpl
066     * @see com.liferay.portlet.expando.service.ExpandoValueLocalServiceUtil
067     * @generated
068     */
069    @ProviderType
070    public abstract class ExpandoValueLocalServiceBaseImpl
071            extends BaseLocalServiceImpl implements ExpandoValueLocalService,
072                    IdentifiableOSGiService {
073            /*
074             * NOTE FOR DEVELOPERS:
075             *
076             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.expando.service.ExpandoValueLocalServiceUtil} to access the expando value local service.
077             */
078    
079            /**
080             * Adds the expando value to the database. Also notifies the appropriate model listeners.
081             *
082             * @param expandoValue the expando value
083             * @return the expando value that was added
084             */
085            @Indexable(type = IndexableType.REINDEX)
086            @Override
087            public ExpandoValue addExpandoValue(ExpandoValue expandoValue) {
088                    expandoValue.setNew(true);
089    
090                    return expandoValuePersistence.update(expandoValue);
091            }
092    
093            /**
094             * Creates a new expando value with the primary key. Does not add the expando value to the database.
095             *
096             * @param valueId the primary key for the new expando value
097             * @return the new expando value
098             */
099            @Override
100            public ExpandoValue createExpandoValue(long valueId) {
101                    return expandoValuePersistence.create(valueId);
102            }
103    
104            /**
105             * Deletes the expando value with the primary key from the database. Also notifies the appropriate model listeners.
106             *
107             * @param valueId the primary key of the expando value
108             * @return the expando value that was removed
109             * @throws PortalException if a expando value with the primary key could not be found
110             */
111            @Indexable(type = IndexableType.DELETE)
112            @Override
113            public ExpandoValue deleteExpandoValue(long valueId)
114                    throws PortalException {
115                    return expandoValuePersistence.remove(valueId);
116            }
117    
118            /**
119             * Deletes the expando value from the database. Also notifies the appropriate model listeners.
120             *
121             * @param expandoValue the expando value
122             * @return the expando value that was removed
123             */
124            @Indexable(type = IndexableType.DELETE)
125            @Override
126            public ExpandoValue deleteExpandoValue(ExpandoValue expandoValue) {
127                    return expandoValuePersistence.remove(expandoValue);
128            }
129    
130            @Override
131            public DynamicQuery dynamicQuery() {
132                    Class<?> clazz = getClass();
133    
134                    return DynamicQueryFactoryUtil.forClass(ExpandoValue.class,
135                            clazz.getClassLoader());
136            }
137    
138            /**
139             * Performs a dynamic query on the database and returns the matching rows.
140             *
141             * @param dynamicQuery the dynamic query
142             * @return the matching rows
143             */
144            @Override
145            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery) {
146                    return expandoValuePersistence.findWithDynamicQuery(dynamicQuery);
147            }
148    
149            /**
150             * Performs a dynamic query on the database and returns a range of the matching rows.
151             *
152             * <p>
153             * 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.
154             * </p>
155             *
156             * @param dynamicQuery the dynamic query
157             * @param start the lower bound of the range of model instances
158             * @param end the upper bound of the range of model instances (not inclusive)
159             * @return the range of matching rows
160             */
161            @Override
162            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
163                    int end) {
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             */
181            @Override
182            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
183                    int end, OrderByComparator<T> orderByComparator) {
184                    return expandoValuePersistence.findWithDynamicQuery(dynamicQuery,
185                            start, end, orderByComparator);
186            }
187    
188            /**
189             * Returns the number of rows matching the dynamic query.
190             *
191             * @param dynamicQuery the dynamic query
192             * @return the number of rows matching the dynamic query
193             */
194            @Override
195            public long dynamicQueryCount(DynamicQuery dynamicQuery) {
196                    return expandoValuePersistence.countWithDynamicQuery(dynamicQuery);
197            }
198    
199            /**
200             * Returns the number of rows matching the dynamic query.
201             *
202             * @param dynamicQuery the dynamic query
203             * @param projection the projection to apply to the query
204             * @return the number of rows matching the dynamic query
205             */
206            @Override
207            public long dynamicQueryCount(DynamicQuery dynamicQuery,
208                    Projection projection) {
209                    return expandoValuePersistence.countWithDynamicQuery(dynamicQuery,
210                            projection);
211            }
212    
213            @Override
214            public ExpandoValue fetchExpandoValue(long valueId) {
215                    return expandoValuePersistence.fetchByPrimaryKey(valueId);
216            }
217    
218            /**
219             * Returns the expando value with the primary key.
220             *
221             * @param valueId the primary key of the expando value
222             * @return the expando value
223             * @throws PortalException if a expando value with the primary key could not be found
224             */
225            @Override
226            public ExpandoValue getExpandoValue(long valueId) throws PortalException {
227                    return expandoValuePersistence.findByPrimaryKey(valueId);
228            }
229    
230            @Override
231            public ActionableDynamicQuery getActionableDynamicQuery() {
232                    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
233    
234                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.expando.service.ExpandoValueLocalServiceUtil.getService());
235                    actionableDynamicQuery.setClassLoader(getClassLoader());
236                    actionableDynamicQuery.setModelClass(ExpandoValue.class);
237    
238                    actionableDynamicQuery.setPrimaryKeyPropertyName("valueId");
239    
240                    return actionableDynamicQuery;
241            }
242    
243            @Override
244            public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
245                    IndexableActionableDynamicQuery indexableActionableDynamicQuery = new IndexableActionableDynamicQuery();
246    
247                    indexableActionableDynamicQuery.setBaseLocalService(com.liferay.portlet.expando.service.ExpandoValueLocalServiceUtil.getService());
248                    indexableActionableDynamicQuery.setClassLoader(getClassLoader());
249                    indexableActionableDynamicQuery.setModelClass(ExpandoValue.class);
250    
251                    indexableActionableDynamicQuery.setPrimaryKeyPropertyName("valueId");
252    
253                    return indexableActionableDynamicQuery;
254            }
255    
256            protected void initActionableDynamicQuery(
257                    ActionableDynamicQuery actionableDynamicQuery) {
258                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.expando.service.ExpandoValueLocalServiceUtil.getService());
259                    actionableDynamicQuery.setClassLoader(getClassLoader());
260                    actionableDynamicQuery.setModelClass(ExpandoValue.class);
261    
262                    actionableDynamicQuery.setPrimaryKeyPropertyName("valueId");
263            }
264    
265            /**
266             * @throws PortalException
267             */
268            @Override
269            public PersistedModel deletePersistedModel(PersistedModel persistedModel)
270                    throws PortalException {
271                    return expandoValueLocalService.deleteExpandoValue((ExpandoValue)persistedModel);
272            }
273    
274            @Override
275            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
276                    throws PortalException {
277                    return expandoValuePersistence.findByPrimaryKey(primaryKeyObj);
278            }
279    
280            /**
281             * Returns a range of all the expando values.
282             *
283             * <p>
284             * 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.
285             * </p>
286             *
287             * @param start the lower bound of the range of expando values
288             * @param end the upper bound of the range of expando values (not inclusive)
289             * @return the range of expando values
290             */
291            @Override
292            public List<ExpandoValue> getExpandoValues(int start, int end) {
293                    return expandoValuePersistence.findAll(start, end);
294            }
295    
296            /**
297             * Returns the number of expando values.
298             *
299             * @return the number of expando values
300             */
301            @Override
302            public int getExpandoValuesCount() {
303                    return expandoValuePersistence.countAll();
304            }
305    
306            /**
307             * Updates the expando value in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
308             *
309             * @param expandoValue the expando value
310             * @return the expando value that was updated
311             */
312            @Indexable(type = IndexableType.REINDEX)
313            @Override
314            public ExpandoValue updateExpandoValue(ExpandoValue expandoValue) {
315                    return expandoValuePersistence.update(expandoValue);
316            }
317    
318            /**
319             * Returns the expando column local service.
320             *
321             * @return the expando column local service
322             */
323            public com.liferay.portlet.expando.service.ExpandoColumnLocalService getExpandoColumnLocalService() {
324                    return expandoColumnLocalService;
325            }
326    
327            /**
328             * Sets the expando column local service.
329             *
330             * @param expandoColumnLocalService the expando column local service
331             */
332            public void setExpandoColumnLocalService(
333                    com.liferay.portlet.expando.service.ExpandoColumnLocalService expandoColumnLocalService) {
334                    this.expandoColumnLocalService = expandoColumnLocalService;
335            }
336    
337            /**
338             * Returns the expando column persistence.
339             *
340             * @return the expando column persistence
341             */
342            public ExpandoColumnPersistence getExpandoColumnPersistence() {
343                    return expandoColumnPersistence;
344            }
345    
346            /**
347             * Sets the expando column persistence.
348             *
349             * @param expandoColumnPersistence the expando column persistence
350             */
351            public void setExpandoColumnPersistence(
352                    ExpandoColumnPersistence expandoColumnPersistence) {
353                    this.expandoColumnPersistence = expandoColumnPersistence;
354            }
355    
356            /**
357             * Returns the expando row local service.
358             *
359             * @return the expando row local service
360             */
361            public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
362                    return expandoRowLocalService;
363            }
364    
365            /**
366             * Sets the expando row local service.
367             *
368             * @param expandoRowLocalService the expando row local service
369             */
370            public void setExpandoRowLocalService(
371                    com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
372                    this.expandoRowLocalService = expandoRowLocalService;
373            }
374    
375            /**
376             * Returns the expando row persistence.
377             *
378             * @return the expando row persistence
379             */
380            public ExpandoRowPersistence getExpandoRowPersistence() {
381                    return expandoRowPersistence;
382            }
383    
384            /**
385             * Sets the expando row persistence.
386             *
387             * @param expandoRowPersistence the expando row persistence
388             */
389            public void setExpandoRowPersistence(
390                    ExpandoRowPersistence expandoRowPersistence) {
391                    this.expandoRowPersistence = expandoRowPersistence;
392            }
393    
394            /**
395             * Returns the expando table local service.
396             *
397             * @return the expando table local service
398             */
399            public com.liferay.portlet.expando.service.ExpandoTableLocalService getExpandoTableLocalService() {
400                    return expandoTableLocalService;
401            }
402    
403            /**
404             * Sets the expando table local service.
405             *
406             * @param expandoTableLocalService the expando table local service
407             */
408            public void setExpandoTableLocalService(
409                    com.liferay.portlet.expando.service.ExpandoTableLocalService expandoTableLocalService) {
410                    this.expandoTableLocalService = expandoTableLocalService;
411            }
412    
413            /**
414             * Returns the expando table persistence.
415             *
416             * @return the expando table persistence
417             */
418            public ExpandoTablePersistence getExpandoTablePersistence() {
419                    return expandoTablePersistence;
420            }
421    
422            /**
423             * Sets the expando table persistence.
424             *
425             * @param expandoTablePersistence the expando table persistence
426             */
427            public void setExpandoTablePersistence(
428                    ExpandoTablePersistence expandoTablePersistence) {
429                    this.expandoTablePersistence = expandoTablePersistence;
430            }
431    
432            /**
433             * Returns the expando value local service.
434             *
435             * @return the expando value local service
436             */
437            public ExpandoValueLocalService getExpandoValueLocalService() {
438                    return expandoValueLocalService;
439            }
440    
441            /**
442             * Sets the expando value local service.
443             *
444             * @param expandoValueLocalService the expando value local service
445             */
446            public void setExpandoValueLocalService(
447                    ExpandoValueLocalService expandoValueLocalService) {
448                    this.expandoValueLocalService = expandoValueLocalService;
449            }
450    
451            /**
452             * Returns the expando value persistence.
453             *
454             * @return the expando value persistence
455             */
456            public ExpandoValuePersistence getExpandoValuePersistence() {
457                    return expandoValuePersistence;
458            }
459    
460            /**
461             * Sets the expando value persistence.
462             *
463             * @param expandoValuePersistence the expando value persistence
464             */
465            public void setExpandoValuePersistence(
466                    ExpandoValuePersistence expandoValuePersistence) {
467                    this.expandoValuePersistence = expandoValuePersistence;
468            }
469    
470            /**
471             * Returns the counter local service.
472             *
473             * @return the counter local service
474             */
475            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
476                    return counterLocalService;
477            }
478    
479            /**
480             * Sets the counter local service.
481             *
482             * @param counterLocalService the counter local service
483             */
484            public void setCounterLocalService(
485                    com.liferay.counter.service.CounterLocalService counterLocalService) {
486                    this.counterLocalService = counterLocalService;
487            }
488    
489            /**
490             * Returns the class name local service.
491             *
492             * @return the class name local service
493             */
494            public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
495                    return classNameLocalService;
496            }
497    
498            /**
499             * Sets the class name local service.
500             *
501             * @param classNameLocalService the class name local service
502             */
503            public void setClassNameLocalService(
504                    com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
505                    this.classNameLocalService = classNameLocalService;
506            }
507    
508            /**
509             * Returns the class name persistence.
510             *
511             * @return the class name persistence
512             */
513            public ClassNamePersistence getClassNamePersistence() {
514                    return classNamePersistence;
515            }
516    
517            /**
518             * Sets the class name persistence.
519             *
520             * @param classNamePersistence the class name persistence
521             */
522            public void setClassNamePersistence(
523                    ClassNamePersistence classNamePersistence) {
524                    this.classNamePersistence = classNamePersistence;
525            }
526    
527            /**
528             * Returns the resource local service.
529             *
530             * @return the resource local service
531             */
532            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
533                    return resourceLocalService;
534            }
535    
536            /**
537             * Sets the resource local service.
538             *
539             * @param resourceLocalService the resource local service
540             */
541            public void setResourceLocalService(
542                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
543                    this.resourceLocalService = resourceLocalService;
544            }
545    
546            /**
547             * Returns the user local service.
548             *
549             * @return the user local service
550             */
551            public com.liferay.portal.service.UserLocalService getUserLocalService() {
552                    return userLocalService;
553            }
554    
555            /**
556             * Sets the user local service.
557             *
558             * @param userLocalService the user local service
559             */
560            public void setUserLocalService(
561                    com.liferay.portal.service.UserLocalService userLocalService) {
562                    this.userLocalService = userLocalService;
563            }
564    
565            /**
566             * Returns the user persistence.
567             *
568             * @return the user persistence
569             */
570            public UserPersistence getUserPersistence() {
571                    return userPersistence;
572            }
573    
574            /**
575             * Sets the user persistence.
576             *
577             * @param userPersistence the user persistence
578             */
579            public void setUserPersistence(UserPersistence userPersistence) {
580                    this.userPersistence = userPersistence;
581            }
582    
583            /**
584             * Returns the user finder.
585             *
586             * @return the user finder
587             */
588            public UserFinder getUserFinder() {
589                    return userFinder;
590            }
591    
592            /**
593             * Sets the user finder.
594             *
595             * @param userFinder the user finder
596             */
597            public void setUserFinder(UserFinder userFinder) {
598                    this.userFinder = userFinder;
599            }
600    
601            public void afterPropertiesSet() {
602                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.expando.model.ExpandoValue",
603                            expandoValueLocalService);
604            }
605    
606            public void destroy() {
607                    persistedModelLocalServiceRegistry.unregister(
608                            "com.liferay.portlet.expando.model.ExpandoValue");
609            }
610    
611            /**
612             * Returns the OSGi service identifier.
613             *
614             * @return the OSGi service identifier
615             */
616            @Override
617            public String getOSGiServiceIdentifier() {
618                    return ExpandoValueLocalService.class.getName();
619            }
620    
621            protected Class<?> getModelClass() {
622                    return ExpandoValue.class;
623            }
624    
625            protected String getModelClassName() {
626                    return ExpandoValue.class.getName();
627            }
628    
629            /**
630             * Performs a SQL query.
631             *
632             * @param sql the sql query
633             */
634            protected void runSQL(String sql) {
635                    try {
636                            DataSource dataSource = expandoValuePersistence.getDataSource();
637    
638                            DB db = DBManagerUtil.getDB();
639    
640                            sql = db.buildSQL(sql);
641                            sql = PortalUtil.transformSQL(sql);
642    
643                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
644                                            sql, new int[0]);
645    
646                            sqlUpdate.update();
647                    }
648                    catch (Exception e) {
649                            throw new SystemException(e);
650                    }
651            }
652    
653            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoColumnLocalService.class)
654            protected com.liferay.portlet.expando.service.ExpandoColumnLocalService expandoColumnLocalService;
655            @BeanReference(type = ExpandoColumnPersistence.class)
656            protected ExpandoColumnPersistence expandoColumnPersistence;
657            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
658            protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
659            @BeanReference(type = ExpandoRowPersistence.class)
660            protected ExpandoRowPersistence expandoRowPersistence;
661            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoTableLocalService.class)
662            protected com.liferay.portlet.expando.service.ExpandoTableLocalService expandoTableLocalService;
663            @BeanReference(type = ExpandoTablePersistence.class)
664            protected ExpandoTablePersistence expandoTablePersistence;
665            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoValueLocalService.class)
666            protected ExpandoValueLocalService expandoValueLocalService;
667            @BeanReference(type = ExpandoValuePersistence.class)
668            protected ExpandoValuePersistence expandoValuePersistence;
669            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
670            protected com.liferay.counter.service.CounterLocalService counterLocalService;
671            @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
672            protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
673            @BeanReference(type = ClassNamePersistence.class)
674            protected ClassNamePersistence classNamePersistence;
675            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
676            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
677            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
678            protected com.liferay.portal.service.UserLocalService userLocalService;
679            @BeanReference(type = UserPersistence.class)
680            protected UserPersistence userPersistence;
681            @BeanReference(type = UserFinder.class)
682            protected UserFinder userFinder;
683            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
684            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
685    }