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.documentlibrary.service.base;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.bean.IdentifiableBean;
021    import com.liferay.portal.kernel.dao.db.DB;
022    import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
023    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
024    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
025    import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery;
026    import com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery;
027    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
028    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
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.search.Indexable;
033    import com.liferay.portal.kernel.search.IndexableType;
034    import com.liferay.portal.kernel.util.OrderByComparator;
035    import com.liferay.portal.model.PersistedModel;
036    import com.liferay.portal.service.BaseLocalServiceImpl;
037    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
038    import com.liferay.portal.service.persistence.ClassNamePersistence;
039    import com.liferay.portal.util.PortalUtil;
040    
041    import com.liferay.portlet.documentlibrary.model.DLFileEntryMetadata;
042    import com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService;
043    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataFinder;
044    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
045    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
046    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
047    
048    import java.io.Serializable;
049    
050    import java.util.List;
051    
052    import javax.sql.DataSource;
053    
054    /**
055     * Provides the base implementation for the document library file entry metadata local service.
056     *
057     * <p>
058     * 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.documentlibrary.service.impl.DLFileEntryMetadataLocalServiceImpl}.
059     * </p>
060     *
061     * @author Brian Wing Shun Chan
062     * @see com.liferay.portlet.documentlibrary.service.impl.DLFileEntryMetadataLocalServiceImpl
063     * @see com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalServiceUtil
064     * @generated
065     */
066    @ProviderType
067    public abstract class DLFileEntryMetadataLocalServiceBaseImpl
068            extends BaseLocalServiceImpl implements DLFileEntryMetadataLocalService,
069                    IdentifiableBean {
070            /*
071             * NOTE FOR DEVELOPERS:
072             *
073             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalServiceUtil} to access the document library file entry metadata local service.
074             */
075    
076            /**
077             * Adds the document library file entry metadata to the database. Also notifies the appropriate model listeners.
078             *
079             * @param dlFileEntryMetadata the document library file entry metadata
080             * @return the document library file entry metadata that was added
081             */
082            @Indexable(type = IndexableType.REINDEX)
083            @Override
084            public DLFileEntryMetadata addDLFileEntryMetadata(
085                    DLFileEntryMetadata dlFileEntryMetadata) {
086                    dlFileEntryMetadata.setNew(true);
087    
088                    return dlFileEntryMetadataPersistence.update(dlFileEntryMetadata);
089            }
090    
091            /**
092             * Creates a new document library file entry metadata with the primary key. Does not add the document library file entry metadata to the database.
093             *
094             * @param fileEntryMetadataId the primary key for the new document library file entry metadata
095             * @return the new document library file entry metadata
096             */
097            @Override
098            public DLFileEntryMetadata createDLFileEntryMetadata(
099                    long fileEntryMetadataId) {
100                    return dlFileEntryMetadataPersistence.create(fileEntryMetadataId);
101            }
102    
103            /**
104             * Deletes the document library file entry metadata with the primary key from the database. Also notifies the appropriate model listeners.
105             *
106             * @param fileEntryMetadataId the primary key of the document library file entry metadata
107             * @return the document library file entry metadata that was removed
108             * @throws PortalException if a document library file entry metadata with the primary key could not be found
109             */
110            @Indexable(type = IndexableType.DELETE)
111            @Override
112            public DLFileEntryMetadata deleteDLFileEntryMetadata(
113                    long fileEntryMetadataId) throws PortalException {
114                    return dlFileEntryMetadataPersistence.remove(fileEntryMetadataId);
115            }
116    
117            /**
118             * Deletes the document library file entry metadata from the database. Also notifies the appropriate model listeners.
119             *
120             * @param dlFileEntryMetadata the document library file entry metadata
121             * @return the document library file entry metadata that was removed
122             */
123            @Indexable(type = IndexableType.DELETE)
124            @Override
125            public DLFileEntryMetadata deleteDLFileEntryMetadata(
126                    DLFileEntryMetadata dlFileEntryMetadata) {
127                    return dlFileEntryMetadataPersistence.remove(dlFileEntryMetadata);
128            }
129    
130            @Override
131            public DynamicQuery dynamicQuery() {
132                    Class<?> clazz = getClass();
133    
134                    return DynamicQueryFactoryUtil.forClass(DLFileEntryMetadata.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 dlFileEntryMetadataPersistence.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.documentlibrary.model.impl.DLFileEntryMetadataModelImpl}. 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 dlFileEntryMetadataPersistence.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.documentlibrary.model.impl.DLFileEntryMetadataModelImpl}. 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 dlFileEntryMetadataPersistence.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 dlFileEntryMetadataPersistence.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 dlFileEntryMetadataPersistence.countWithDynamicQuery(dynamicQuery,
210                            projection);
211            }
212    
213            @Override
214            public DLFileEntryMetadata fetchDLFileEntryMetadata(
215                    long fileEntryMetadataId) {
216                    return dlFileEntryMetadataPersistence.fetchByPrimaryKey(fileEntryMetadataId);
217            }
218    
219            /**
220             * Returns the document library file entry metadata with the primary key.
221             *
222             * @param fileEntryMetadataId the primary key of the document library file entry metadata
223             * @return the document library file entry metadata
224             * @throws PortalException if a document library file entry metadata with the primary key could not be found
225             */
226            @Override
227            public DLFileEntryMetadata getDLFileEntryMetadata(long fileEntryMetadataId)
228                    throws PortalException {
229                    return dlFileEntryMetadataPersistence.findByPrimaryKey(fileEntryMetadataId);
230            }
231    
232            @Override
233            public ActionableDynamicQuery getActionableDynamicQuery() {
234                    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
235    
236                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalServiceUtil.getService());
237                    actionableDynamicQuery.setClass(DLFileEntryMetadata.class);
238                    actionableDynamicQuery.setClassLoader(getClassLoader());
239    
240                    actionableDynamicQuery.setPrimaryKeyPropertyName("fileEntryMetadataId");
241    
242                    return actionableDynamicQuery;
243            }
244    
245            protected void initActionableDynamicQuery(
246                    ActionableDynamicQuery actionableDynamicQuery) {
247                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalServiceUtil.getService());
248                    actionableDynamicQuery.setClass(DLFileEntryMetadata.class);
249                    actionableDynamicQuery.setClassLoader(getClassLoader());
250    
251                    actionableDynamicQuery.setPrimaryKeyPropertyName("fileEntryMetadataId");
252            }
253    
254            /**
255             * @throws PortalException
256             */
257            @Override
258            public PersistedModel deletePersistedModel(PersistedModel persistedModel)
259                    throws PortalException {
260                    return dlFileEntryMetadataLocalService.deleteDLFileEntryMetadata((DLFileEntryMetadata)persistedModel);
261            }
262    
263            @Override
264            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
265                    throws PortalException {
266                    return dlFileEntryMetadataPersistence.findByPrimaryKey(primaryKeyObj);
267            }
268    
269            /**
270             * Returns a range of all the document library file entry metadatas.
271             *
272             * <p>
273             * 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.documentlibrary.model.impl.DLFileEntryMetadataModelImpl}. 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.
274             * </p>
275             *
276             * @param start the lower bound of the range of document library file entry metadatas
277             * @param end the upper bound of the range of document library file entry metadatas (not inclusive)
278             * @return the range of document library file entry metadatas
279             */
280            @Override
281            public List<DLFileEntryMetadata> getDLFileEntryMetadatas(int start, int end) {
282                    return dlFileEntryMetadataPersistence.findAll(start, end);
283            }
284    
285            /**
286             * Returns the number of document library file entry metadatas.
287             *
288             * @return the number of document library file entry metadatas
289             */
290            @Override
291            public int getDLFileEntryMetadatasCount() {
292                    return dlFileEntryMetadataPersistence.countAll();
293            }
294    
295            /**
296             * Updates the document library file entry metadata in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
297             *
298             * @param dlFileEntryMetadata the document library file entry metadata
299             * @return the document library file entry metadata that was updated
300             */
301            @Indexable(type = IndexableType.REINDEX)
302            @Override
303            public DLFileEntryMetadata updateDLFileEntryMetadata(
304                    DLFileEntryMetadata dlFileEntryMetadata) {
305                    return dlFileEntryMetadataPersistence.update(dlFileEntryMetadata);
306            }
307    
308            /**
309             * Returns the document library file entry metadata local service.
310             *
311             * @return the document library file entry metadata local service
312             */
313            public DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
314                    return dlFileEntryMetadataLocalService;
315            }
316    
317            /**
318             * Sets the document library file entry metadata local service.
319             *
320             * @param dlFileEntryMetadataLocalService the document library file entry metadata local service
321             */
322            public void setDLFileEntryMetadataLocalService(
323                    DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
324                    this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
325            }
326    
327            /**
328             * Returns the document library file entry metadata persistence.
329             *
330             * @return the document library file entry metadata persistence
331             */
332            public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
333                    return dlFileEntryMetadataPersistence;
334            }
335    
336            /**
337             * Sets the document library file entry metadata persistence.
338             *
339             * @param dlFileEntryMetadataPersistence the document library file entry metadata persistence
340             */
341            public void setDLFileEntryMetadataPersistence(
342                    DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
343                    this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
344            }
345    
346            /**
347             * Returns the document library file entry metadata finder.
348             *
349             * @return the document library file entry metadata finder
350             */
351            public DLFileEntryMetadataFinder getDLFileEntryMetadataFinder() {
352                    return dlFileEntryMetadataFinder;
353            }
354    
355            /**
356             * Sets the document library file entry metadata finder.
357             *
358             * @param dlFileEntryMetadataFinder the document library file entry metadata finder
359             */
360            public void setDLFileEntryMetadataFinder(
361                    DLFileEntryMetadataFinder dlFileEntryMetadataFinder) {
362                    this.dlFileEntryMetadataFinder = dlFileEntryMetadataFinder;
363            }
364    
365            /**
366             * Returns the counter local service.
367             *
368             * @return the counter local service
369             */
370            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
371                    return counterLocalService;
372            }
373    
374            /**
375             * Sets the counter local service.
376             *
377             * @param counterLocalService the counter local service
378             */
379            public void setCounterLocalService(
380                    com.liferay.counter.service.CounterLocalService counterLocalService) {
381                    this.counterLocalService = counterLocalService;
382            }
383    
384            /**
385             * Returns the class name local service.
386             *
387             * @return the class name local service
388             */
389            public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
390                    return classNameLocalService;
391            }
392    
393            /**
394             * Sets the class name local service.
395             *
396             * @param classNameLocalService the class name local service
397             */
398            public void setClassNameLocalService(
399                    com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
400                    this.classNameLocalService = classNameLocalService;
401            }
402    
403            /**
404             * Returns the class name remote service.
405             *
406             * @return the class name remote service
407             */
408            public com.liferay.portal.service.ClassNameService getClassNameService() {
409                    return classNameService;
410            }
411    
412            /**
413             * Sets the class name remote service.
414             *
415             * @param classNameService the class name remote service
416             */
417            public void setClassNameService(
418                    com.liferay.portal.service.ClassNameService classNameService) {
419                    this.classNameService = classNameService;
420            }
421    
422            /**
423             * Returns the class name persistence.
424             *
425             * @return the class name persistence
426             */
427            public ClassNamePersistence getClassNamePersistence() {
428                    return classNamePersistence;
429            }
430    
431            /**
432             * Sets the class name persistence.
433             *
434             * @param classNamePersistence the class name persistence
435             */
436            public void setClassNamePersistence(
437                    ClassNamePersistence classNamePersistence) {
438                    this.classNamePersistence = classNamePersistence;
439            }
440    
441            /**
442             * Returns the document library file entry type local service.
443             *
444             * @return the document library file entry type local service
445             */
446            public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
447                    return dlFileEntryTypeLocalService;
448            }
449    
450            /**
451             * Sets the document library file entry type local service.
452             *
453             * @param dlFileEntryTypeLocalService the document library file entry type local service
454             */
455            public void setDLFileEntryTypeLocalService(
456                    com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
457                    this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
458            }
459    
460            /**
461             * Returns the document library file entry type remote service.
462             *
463             * @return the document library file entry type remote service
464             */
465            public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService getDLFileEntryTypeService() {
466                    return dlFileEntryTypeService;
467            }
468    
469            /**
470             * Sets the document library file entry type remote service.
471             *
472             * @param dlFileEntryTypeService the document library file entry type remote service
473             */
474            public void setDLFileEntryTypeService(
475                    com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService) {
476                    this.dlFileEntryTypeService = dlFileEntryTypeService;
477            }
478    
479            /**
480             * Returns the document library file entry type persistence.
481             *
482             * @return the document library file entry type persistence
483             */
484            public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
485                    return dlFileEntryTypePersistence;
486            }
487    
488            /**
489             * Sets the document library file entry type persistence.
490             *
491             * @param dlFileEntryTypePersistence the document library file entry type persistence
492             */
493            public void setDLFileEntryTypePersistence(
494                    DLFileEntryTypePersistence dlFileEntryTypePersistence) {
495                    this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
496            }
497    
498            /**
499             * Returns the document library file entry type finder.
500             *
501             * @return the document library file entry type finder
502             */
503            public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
504                    return dlFileEntryTypeFinder;
505            }
506    
507            /**
508             * Sets the document library file entry type finder.
509             *
510             * @param dlFileEntryTypeFinder the document library file entry type finder
511             */
512            public void setDLFileEntryTypeFinder(
513                    DLFileEntryTypeFinder dlFileEntryTypeFinder) {
514                    this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
515            }
516    
517            public void afterPropertiesSet() {
518                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFileEntryMetadata",
519                            dlFileEntryMetadataLocalService);
520            }
521    
522            public void destroy() {
523                    persistedModelLocalServiceRegistry.unregister(
524                            "com.liferay.portlet.documentlibrary.model.DLFileEntryMetadata");
525            }
526    
527            /**
528             * Returns the Spring bean ID for this bean.
529             *
530             * @return the Spring bean ID for this bean
531             */
532            @Override
533            public String getBeanIdentifier() {
534                    return _beanIdentifier;
535            }
536    
537            /**
538             * Sets the Spring bean ID for this bean.
539             *
540             * @param beanIdentifier the Spring bean ID for this bean
541             */
542            @Override
543            public void setBeanIdentifier(String beanIdentifier) {
544                    _beanIdentifier = beanIdentifier;
545            }
546    
547            protected Class<?> getModelClass() {
548                    return DLFileEntryMetadata.class;
549            }
550    
551            protected String getModelClassName() {
552                    return DLFileEntryMetadata.class.getName();
553            }
554    
555            /**
556             * Performs a SQL query.
557             *
558             * @param sql the sql query
559             */
560            protected void runSQL(String sql) {
561                    try {
562                            DataSource dataSource = dlFileEntryMetadataPersistence.getDataSource();
563    
564                            DB db = DBFactoryUtil.getDB();
565    
566                            sql = db.buildSQL(sql);
567                            sql = PortalUtil.transformSQL(sql);
568    
569                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
570                                            sql, new int[0]);
571    
572                            sqlUpdate.update();
573                    }
574                    catch (Exception e) {
575                            throw new SystemException(e);
576                    }
577            }
578    
579            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService.class)
580            protected DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
581            @BeanReference(type = DLFileEntryMetadataPersistence.class)
582            protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
583            @BeanReference(type = DLFileEntryMetadataFinder.class)
584            protected DLFileEntryMetadataFinder dlFileEntryMetadataFinder;
585            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
586            protected com.liferay.counter.service.CounterLocalService counterLocalService;
587            @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
588            protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
589            @BeanReference(type = com.liferay.portal.service.ClassNameService.class)
590            protected com.liferay.portal.service.ClassNameService classNameService;
591            @BeanReference(type = ClassNamePersistence.class)
592            protected ClassNamePersistence classNamePersistence;
593            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService.class)
594            protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
595            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService.class)
596            protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService;
597            @BeanReference(type = DLFileEntryTypePersistence.class)
598            protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
599            @BeanReference(type = DLFileEntryTypeFinder.class)
600            protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
601            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
602            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
603            private String _beanIdentifier;
604    }