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.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.util.PortalUtil;
041    
042    import com.liferay.portlet.documentlibrary.model.DLFileEntryMetadata;
043    import com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService;
044    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataFinder;
045    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
046    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
047    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
048    
049    import java.io.Serializable;
050    
051    import java.util.List;
052    
053    import javax.sql.DataSource;
054    
055    /**
056     * Provides the base implementation for the document library file entry metadata local service.
057     *
058     * <p>
059     * 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}.
060     * </p>
061     *
062     * @author Brian Wing Shun Chan
063     * @see com.liferay.portlet.documentlibrary.service.impl.DLFileEntryMetadataLocalServiceImpl
064     * @see com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalServiceUtil
065     * @generated
066     */
067    @ProviderType
068    public abstract class DLFileEntryMetadataLocalServiceBaseImpl
069            extends BaseLocalServiceImpl implements DLFileEntryMetadataLocalService,
070                    IdentifiableOSGiService {
071            /*
072             * NOTE FOR DEVELOPERS:
073             *
074             * 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.
075             */
076    
077            /**
078             * Adds the document library file entry metadata to the database. Also notifies the appropriate model listeners.
079             *
080             * @param dlFileEntryMetadata the document library file entry metadata
081             * @return the document library file entry metadata that was added
082             */
083            @Indexable(type = IndexableType.REINDEX)
084            @Override
085            public DLFileEntryMetadata addDLFileEntryMetadata(
086                    DLFileEntryMetadata dlFileEntryMetadata) {
087                    dlFileEntryMetadata.setNew(true);
088    
089                    return dlFileEntryMetadataPersistence.update(dlFileEntryMetadata);
090            }
091    
092            /**
093             * Creates a new document library file entry metadata with the primary key. Does not add the document library file entry metadata to the database.
094             *
095             * @param fileEntryMetadataId the primary key for the new document library file entry metadata
096             * @return the new document library file entry metadata
097             */
098            @Override
099            public DLFileEntryMetadata createDLFileEntryMetadata(
100                    long fileEntryMetadataId) {
101                    return dlFileEntryMetadataPersistence.create(fileEntryMetadataId);
102            }
103    
104            /**
105             * Deletes the document library file entry metadata with the primary key from the database. Also notifies the appropriate model listeners.
106             *
107             * @param fileEntryMetadataId the primary key of the document library file entry metadata
108             * @return the document library file entry metadata that was removed
109             * @throws PortalException if a document library file entry metadata with the primary key could not be found
110             */
111            @Indexable(type = IndexableType.DELETE)
112            @Override
113            public DLFileEntryMetadata deleteDLFileEntryMetadata(
114                    long fileEntryMetadataId) throws PortalException {
115                    return dlFileEntryMetadataPersistence.remove(fileEntryMetadataId);
116            }
117    
118            /**
119             * Deletes the document library file entry metadata from the database. Also notifies the appropriate model listeners.
120             *
121             * @param dlFileEntryMetadata the document library file entry metadata
122             * @return the document library file entry metadata that was removed
123             */
124            @Indexable(type = IndexableType.DELETE)
125            @Override
126            public DLFileEntryMetadata deleteDLFileEntryMetadata(
127                    DLFileEntryMetadata dlFileEntryMetadata) {
128                    return dlFileEntryMetadataPersistence.remove(dlFileEntryMetadata);
129            }
130    
131            @Override
132            public DynamicQuery dynamicQuery() {
133                    Class<?> clazz = getClass();
134    
135                    return DynamicQueryFactoryUtil.forClass(DLFileEntryMetadata.class,
136                            clazz.getClassLoader());
137            }
138    
139            /**
140             * Performs a dynamic query on the database and returns the matching rows.
141             *
142             * @param dynamicQuery the dynamic query
143             * @return the matching rows
144             */
145            @Override
146            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery) {
147                    return dlFileEntryMetadataPersistence.findWithDynamicQuery(dynamicQuery);
148            }
149    
150            /**
151             * Performs a dynamic query on the database and returns a range of the matching rows.
152             *
153             * <p>
154             * 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.
155             * </p>
156             *
157             * @param dynamicQuery the dynamic query
158             * @param start the lower bound of the range of model instances
159             * @param end the upper bound of the range of model instances (not inclusive)
160             * @return the range of matching rows
161             */
162            @Override
163            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
164                    int end) {
165                    return dlFileEntryMetadataPersistence.findWithDynamicQuery(dynamicQuery,
166                            start, end);
167            }
168    
169            /**
170             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
171             *
172             * <p>
173             * 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.
174             * </p>
175             *
176             * @param dynamicQuery the dynamic query
177             * @param start the lower bound of the range of model instances
178             * @param end the upper bound of the range of model instances (not inclusive)
179             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
180             * @return the ordered range of matching rows
181             */
182            @Override
183            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
184                    int end, OrderByComparator<T> orderByComparator) {
185                    return dlFileEntryMetadataPersistence.findWithDynamicQuery(dynamicQuery,
186                            start, end, orderByComparator);
187            }
188    
189            /**
190             * Returns the number of rows matching the dynamic query.
191             *
192             * @param dynamicQuery the dynamic query
193             * @return the number of rows matching the dynamic query
194             */
195            @Override
196            public long dynamicQueryCount(DynamicQuery dynamicQuery) {
197                    return dlFileEntryMetadataPersistence.countWithDynamicQuery(dynamicQuery);
198            }
199    
200            /**
201             * Returns the number of rows matching the dynamic query.
202             *
203             * @param dynamicQuery the dynamic query
204             * @param projection the projection to apply to the query
205             * @return the number of rows matching the dynamic query
206             */
207            @Override
208            public long dynamicQueryCount(DynamicQuery dynamicQuery,
209                    Projection projection) {
210                    return dlFileEntryMetadataPersistence.countWithDynamicQuery(dynamicQuery,
211                            projection);
212            }
213    
214            @Override
215            public DLFileEntryMetadata fetchDLFileEntryMetadata(
216                    long fileEntryMetadataId) {
217                    return dlFileEntryMetadataPersistence.fetchByPrimaryKey(fileEntryMetadataId);
218            }
219    
220            /**
221             * Returns the document library file entry metadata with the matching UUID and company.
222             *
223             * @param uuid the document library file entry metadata's UUID
224             * @param companyId the primary key of the company
225             * @return the matching document library file entry metadata, or <code>null</code> if a matching document library file entry metadata could not be found
226             */
227            @Override
228            public DLFileEntryMetadata fetchDLFileEntryMetadataByUuidAndCompanyId(
229                    String uuid, long companyId) {
230                    return dlFileEntryMetadataPersistence.fetchByUuid_C_First(uuid,
231                            companyId, null);
232            }
233    
234            /**
235             * Returns the document library file entry metadata with the primary key.
236             *
237             * @param fileEntryMetadataId the primary key of the document library file entry metadata
238             * @return the document library file entry metadata
239             * @throws PortalException if a document library file entry metadata with the primary key could not be found
240             */
241            @Override
242            public DLFileEntryMetadata getDLFileEntryMetadata(long fileEntryMetadataId)
243                    throws PortalException {
244                    return dlFileEntryMetadataPersistence.findByPrimaryKey(fileEntryMetadataId);
245            }
246    
247            @Override
248            public ActionableDynamicQuery getActionableDynamicQuery() {
249                    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
250    
251                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalServiceUtil.getService());
252                    actionableDynamicQuery.setClassLoader(getClassLoader());
253                    actionableDynamicQuery.setModelClass(DLFileEntryMetadata.class);
254    
255                    actionableDynamicQuery.setPrimaryKeyPropertyName("fileEntryMetadataId");
256    
257                    return actionableDynamicQuery;
258            }
259    
260            @Override
261            public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
262                    IndexableActionableDynamicQuery indexableActionableDynamicQuery = new IndexableActionableDynamicQuery();
263    
264                    indexableActionableDynamicQuery.setBaseLocalService(com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalServiceUtil.getService());
265                    indexableActionableDynamicQuery.setClassLoader(getClassLoader());
266                    indexableActionableDynamicQuery.setModelClass(DLFileEntryMetadata.class);
267    
268                    indexableActionableDynamicQuery.setPrimaryKeyPropertyName(
269                            "fileEntryMetadataId");
270    
271                    return indexableActionableDynamicQuery;
272            }
273    
274            protected void initActionableDynamicQuery(
275                    ActionableDynamicQuery actionableDynamicQuery) {
276                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalServiceUtil.getService());
277                    actionableDynamicQuery.setClassLoader(getClassLoader());
278                    actionableDynamicQuery.setModelClass(DLFileEntryMetadata.class);
279    
280                    actionableDynamicQuery.setPrimaryKeyPropertyName("fileEntryMetadataId");
281            }
282    
283            /**
284             * @throws PortalException
285             */
286            @Override
287            public PersistedModel deletePersistedModel(PersistedModel persistedModel)
288                    throws PortalException {
289                    return dlFileEntryMetadataLocalService.deleteDLFileEntryMetadata((DLFileEntryMetadata)persistedModel);
290            }
291    
292            @Override
293            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
294                    throws PortalException {
295                    return dlFileEntryMetadataPersistence.findByPrimaryKey(primaryKeyObj);
296            }
297    
298            /**
299             * Returns the document library file entry metadata with the matching UUID and company.
300             *
301             * @param uuid the document library file entry metadata's UUID
302             * @param companyId the primary key of the company
303             * @return the matching document library file entry metadata
304             * @throws PortalException if a matching document library file entry metadata could not be found
305             */
306            @Override
307            public DLFileEntryMetadata getDLFileEntryMetadataByUuidAndCompanyId(
308                    String uuid, long companyId) throws PortalException {
309                    return dlFileEntryMetadataPersistence.findByUuid_C_First(uuid,
310                            companyId, null);
311            }
312    
313            /**
314             * Returns a range of all the document library file entry metadatas.
315             *
316             * <p>
317             * 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.
318             * </p>
319             *
320             * @param start the lower bound of the range of document library file entry metadatas
321             * @param end the upper bound of the range of document library file entry metadatas (not inclusive)
322             * @return the range of document library file entry metadatas
323             */
324            @Override
325            public List<DLFileEntryMetadata> getDLFileEntryMetadatas(int start, int end) {
326                    return dlFileEntryMetadataPersistence.findAll(start, end);
327            }
328    
329            /**
330             * Returns the number of document library file entry metadatas.
331             *
332             * @return the number of document library file entry metadatas
333             */
334            @Override
335            public int getDLFileEntryMetadatasCount() {
336                    return dlFileEntryMetadataPersistence.countAll();
337            }
338    
339            /**
340             * 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.
341             *
342             * @param dlFileEntryMetadata the document library file entry metadata
343             * @return the document library file entry metadata that was updated
344             */
345            @Indexable(type = IndexableType.REINDEX)
346            @Override
347            public DLFileEntryMetadata updateDLFileEntryMetadata(
348                    DLFileEntryMetadata dlFileEntryMetadata) {
349                    return dlFileEntryMetadataPersistence.update(dlFileEntryMetadata);
350            }
351    
352            /**
353             * Returns the document library file entry metadata local service.
354             *
355             * @return the document library file entry metadata local service
356             */
357            public DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
358                    return dlFileEntryMetadataLocalService;
359            }
360    
361            /**
362             * Sets the document library file entry metadata local service.
363             *
364             * @param dlFileEntryMetadataLocalService the document library file entry metadata local service
365             */
366            public void setDLFileEntryMetadataLocalService(
367                    DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
368                    this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
369            }
370    
371            /**
372             * Returns the document library file entry metadata persistence.
373             *
374             * @return the document library file entry metadata persistence
375             */
376            public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
377                    return dlFileEntryMetadataPersistence;
378            }
379    
380            /**
381             * Sets the document library file entry metadata persistence.
382             *
383             * @param dlFileEntryMetadataPersistence the document library file entry metadata persistence
384             */
385            public void setDLFileEntryMetadataPersistence(
386                    DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
387                    this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
388            }
389    
390            /**
391             * Returns the document library file entry metadata finder.
392             *
393             * @return the document library file entry metadata finder
394             */
395            public DLFileEntryMetadataFinder getDLFileEntryMetadataFinder() {
396                    return dlFileEntryMetadataFinder;
397            }
398    
399            /**
400             * Sets the document library file entry metadata finder.
401             *
402             * @param dlFileEntryMetadataFinder the document library file entry metadata finder
403             */
404            public void setDLFileEntryMetadataFinder(
405                    DLFileEntryMetadataFinder dlFileEntryMetadataFinder) {
406                    this.dlFileEntryMetadataFinder = dlFileEntryMetadataFinder;
407            }
408    
409            /**
410             * Returns the counter local service.
411             *
412             * @return the counter local service
413             */
414            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
415                    return counterLocalService;
416            }
417    
418            /**
419             * Sets the counter local service.
420             *
421             * @param counterLocalService the counter local service
422             */
423            public void setCounterLocalService(
424                    com.liferay.counter.service.CounterLocalService counterLocalService) {
425                    this.counterLocalService = counterLocalService;
426            }
427    
428            /**
429             * Returns the class name local service.
430             *
431             * @return the class name local service
432             */
433            public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
434                    return classNameLocalService;
435            }
436    
437            /**
438             * Sets the class name local service.
439             *
440             * @param classNameLocalService the class name local service
441             */
442            public void setClassNameLocalService(
443                    com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
444                    this.classNameLocalService = classNameLocalService;
445            }
446    
447            /**
448             * Returns the class name persistence.
449             *
450             * @return the class name persistence
451             */
452            public ClassNamePersistence getClassNamePersistence() {
453                    return classNamePersistence;
454            }
455    
456            /**
457             * Sets the class name persistence.
458             *
459             * @param classNamePersistence the class name persistence
460             */
461            public void setClassNamePersistence(
462                    ClassNamePersistence classNamePersistence) {
463                    this.classNamePersistence = classNamePersistence;
464            }
465    
466            /**
467             * Returns the document library file entry type local service.
468             *
469             * @return the document library file entry type local service
470             */
471            public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
472                    return dlFileEntryTypeLocalService;
473            }
474    
475            /**
476             * Sets the document library file entry type local service.
477             *
478             * @param dlFileEntryTypeLocalService the document library file entry type local service
479             */
480            public void setDLFileEntryTypeLocalService(
481                    com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
482                    this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
483            }
484    
485            /**
486             * Returns the document library file entry type persistence.
487             *
488             * @return the document library file entry type persistence
489             */
490            public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
491                    return dlFileEntryTypePersistence;
492            }
493    
494            /**
495             * Sets the document library file entry type persistence.
496             *
497             * @param dlFileEntryTypePersistence the document library file entry type persistence
498             */
499            public void setDLFileEntryTypePersistence(
500                    DLFileEntryTypePersistence dlFileEntryTypePersistence) {
501                    this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
502            }
503    
504            /**
505             * Returns the document library file entry type finder.
506             *
507             * @return the document library file entry type finder
508             */
509            public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
510                    return dlFileEntryTypeFinder;
511            }
512    
513            /**
514             * Sets the document library file entry type finder.
515             *
516             * @param dlFileEntryTypeFinder the document library file entry type finder
517             */
518            public void setDLFileEntryTypeFinder(
519                    DLFileEntryTypeFinder dlFileEntryTypeFinder) {
520                    this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
521            }
522    
523            public void afterPropertiesSet() {
524                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFileEntryMetadata",
525                            dlFileEntryMetadataLocalService);
526            }
527    
528            public void destroy() {
529                    persistedModelLocalServiceRegistry.unregister(
530                            "com.liferay.portlet.documentlibrary.model.DLFileEntryMetadata");
531            }
532    
533            /**
534             * Returns the OSGi service identifier.
535             *
536             * @return the OSGi service identifier
537             */
538            @Override
539            public String getOSGiServiceIdentifier() {
540                    return DLFileEntryMetadataLocalService.class.getName();
541            }
542    
543            protected Class<?> getModelClass() {
544                    return DLFileEntryMetadata.class;
545            }
546    
547            protected String getModelClassName() {
548                    return DLFileEntryMetadata.class.getName();
549            }
550    
551            /**
552             * Performs a SQL query.
553             *
554             * @param sql the sql query
555             */
556            protected void runSQL(String sql) {
557                    try {
558                            DataSource dataSource = dlFileEntryMetadataPersistence.getDataSource();
559    
560                            DB db = DBManagerUtil.getDB();
561    
562                            sql = db.buildSQL(sql);
563                            sql = PortalUtil.transformSQL(sql);
564    
565                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
566                                            sql, new int[0]);
567    
568                            sqlUpdate.update();
569                    }
570                    catch (Exception e) {
571                            throw new SystemException(e);
572                    }
573            }
574    
575            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService.class)
576            protected DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
577            @BeanReference(type = DLFileEntryMetadataPersistence.class)
578            protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
579            @BeanReference(type = DLFileEntryMetadataFinder.class)
580            protected DLFileEntryMetadataFinder dlFileEntryMetadataFinder;
581            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
582            protected com.liferay.counter.service.CounterLocalService counterLocalService;
583            @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
584            protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
585            @BeanReference(type = ClassNamePersistence.class)
586            protected ClassNamePersistence classNamePersistence;
587            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService.class)
588            protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
589            @BeanReference(type = DLFileEntryTypePersistence.class)
590            protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
591            @BeanReference(type = DLFileEntryTypeFinder.class)
592            protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
593            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
594            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
595    }