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