001    /**
002     * Copyright (c) 2000-2012 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 com.liferay.counter.service.CounterLocalService;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.bean.IdentifiableBean;
021    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
022    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
023    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
024    import com.liferay.portal.kernel.exception.PortalException;
025    import com.liferay.portal.kernel.exception.SystemException;
026    import com.liferay.portal.kernel.log.Log;
027    import com.liferay.portal.kernel.log.LogFactoryUtil;
028    import com.liferay.portal.kernel.search.Indexer;
029    import com.liferay.portal.kernel.search.IndexerRegistryUtil;
030    import com.liferay.portal.kernel.search.SearchException;
031    import com.liferay.portal.kernel.util.OrderByComparator;
032    import com.liferay.portal.model.PersistedModel;
033    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
034    import com.liferay.portal.service.ResourceLocalService;
035    import com.liferay.portal.service.ResourceService;
036    import com.liferay.portal.service.UserLocalService;
037    import com.liferay.portal.service.UserService;
038    import com.liferay.portal.service.WorkflowDefinitionLinkLocalService;
039    import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
040    import com.liferay.portal.service.persistence.ResourceFinder;
041    import com.liferay.portal.service.persistence.ResourcePersistence;
042    import com.liferay.portal.service.persistence.UserFinder;
043    import com.liferay.portal.service.persistence.UserPersistence;
044    import com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence;
045    import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
046    
047    import com.liferay.portlet.documentlibrary.model.DLFileEntryType;
048    import com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService;
049    import com.liferay.portlet.documentlibrary.service.DLAppLocalService;
050    import com.liferay.portlet.documentlibrary.service.DLAppService;
051    import com.liferay.portlet.documentlibrary.service.DLContentLocalService;
052    import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
053    import com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService;
054    import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
055    import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService;
056    import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService;
057    import com.liferay.portlet.documentlibrary.service.DLFileRankLocalService;
058    import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService;
059    import com.liferay.portlet.documentlibrary.service.DLFileShortcutService;
060    import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService;
061    import com.liferay.portlet.documentlibrary.service.DLFileVersionService;
062    import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
063    import com.liferay.portlet.documentlibrary.service.DLFolderService;
064    import com.liferay.portlet.documentlibrary.service.DLSyncLocalService;
065    import com.liferay.portlet.documentlibrary.service.DLSyncService;
066    import com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence;
067    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
068    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
069    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
070    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
071    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
072    import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
073    import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
074    import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
075    import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
076    import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
077    import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
078    import com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistence;
079    import com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService;
080    import com.liferay.portlet.dynamicdatamapping.service.DDMStructureService;
081    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder;
082    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence;
083    
084    import java.io.Serializable;
085    
086    import java.util.List;
087    
088    import javax.sql.DataSource;
089    
090    /**
091     * The base implementation of the document library file entry type local service.
092     *
093     * <p>
094     * 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.DLFileEntryTypeLocalServiceImpl}.
095     * </p>
096     *
097     * @author Brian Wing Shun Chan
098     * @see com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeLocalServiceImpl
099     * @see com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalServiceUtil
100     * @generated
101     */
102    public abstract class DLFileEntryTypeLocalServiceBaseImpl
103            implements DLFileEntryTypeLocalService, IdentifiableBean {
104            /*
105             * NOTE FOR DEVELOPERS:
106             *
107             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalServiceUtil} to access the document library file entry type local service.
108             */
109    
110            /**
111             * Adds the document library file entry type to the database. Also notifies the appropriate model listeners.
112             *
113             * @param dlFileEntryType the document library file entry type
114             * @return the document library file entry type that was added
115             * @throws SystemException if a system exception occurred
116             */
117            public DLFileEntryType addDLFileEntryType(DLFileEntryType dlFileEntryType)
118                    throws SystemException {
119                    dlFileEntryType.setNew(true);
120    
121                    dlFileEntryType = dlFileEntryTypePersistence.update(dlFileEntryType,
122                                    false);
123    
124                    Indexer indexer = IndexerRegistryUtil.getIndexer(getModelClassName());
125    
126                    if (indexer != null) {
127                            try {
128                                    indexer.reindex(dlFileEntryType);
129                            }
130                            catch (SearchException se) {
131                                    if (_log.isWarnEnabled()) {
132                                            _log.warn(se, se);
133                                    }
134                            }
135                    }
136    
137                    return dlFileEntryType;
138            }
139    
140            /**
141             * Creates a new document library file entry type with the primary key. Does not add the document library file entry type to the database.
142             *
143             * @param fileEntryTypeId the primary key for the new document library file entry type
144             * @return the new document library file entry type
145             */
146            public DLFileEntryType createDLFileEntryType(long fileEntryTypeId) {
147                    return dlFileEntryTypePersistence.create(fileEntryTypeId);
148            }
149    
150            /**
151             * Deletes the document library file entry type with the primary key from the database. Also notifies the appropriate model listeners.
152             *
153             * @param fileEntryTypeId the primary key of the document library file entry type
154             * @throws PortalException if a document library file entry type with the primary key could not be found
155             * @throws SystemException if a system exception occurred
156             */
157            public void deleteDLFileEntryType(long fileEntryTypeId)
158                    throws PortalException, SystemException {
159                    DLFileEntryType dlFileEntryType = dlFileEntryTypePersistence.remove(fileEntryTypeId);
160    
161                    Indexer indexer = IndexerRegistryUtil.getIndexer(getModelClassName());
162    
163                    if (indexer != null) {
164                            try {
165                                    indexer.delete(dlFileEntryType);
166                            }
167                            catch (SearchException se) {
168                                    if (_log.isWarnEnabled()) {
169                                            _log.warn(se, se);
170                                    }
171                            }
172                    }
173            }
174    
175            /**
176             * Deletes the document library file entry type from the database. Also notifies the appropriate model listeners.
177             *
178             * @param dlFileEntryType the document library file entry type
179             * @throws SystemException if a system exception occurred
180             */
181            public void deleteDLFileEntryType(DLFileEntryType dlFileEntryType)
182                    throws SystemException {
183                    dlFileEntryTypePersistence.remove(dlFileEntryType);
184    
185                    Indexer indexer = IndexerRegistryUtil.getIndexer(getModelClassName());
186    
187                    if (indexer != null) {
188                            try {
189                                    indexer.delete(dlFileEntryType);
190                            }
191                            catch (SearchException se) {
192                                    if (_log.isWarnEnabled()) {
193                                            _log.warn(se, se);
194                                    }
195                            }
196                    }
197            }
198    
199            /**
200             * Performs a dynamic query on the database and returns the matching rows.
201             *
202             * @param dynamicQuery the dynamic query
203             * @return the matching rows
204             * @throws SystemException if a system exception occurred
205             */
206            @SuppressWarnings("rawtypes")
207            public List dynamicQuery(DynamicQuery dynamicQuery)
208                    throws SystemException {
209                    return dlFileEntryTypePersistence.findWithDynamicQuery(dynamicQuery);
210            }
211    
212            /**
213             * Performs a dynamic query on the database and returns a range of the matching rows.
214             *
215             * <p>
216             * 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.
217             * </p>
218             *
219             * @param dynamicQuery the dynamic query
220             * @param start the lower bound of the range of model instances
221             * @param end the upper bound of the range of model instances (not inclusive)
222             * @return the range of matching rows
223             * @throws SystemException if a system exception occurred
224             */
225            @SuppressWarnings("rawtypes")
226            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
227                    throws SystemException {
228                    return dlFileEntryTypePersistence.findWithDynamicQuery(dynamicQuery,
229                            start, end);
230            }
231    
232            /**
233             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
234             *
235             * <p>
236             * 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.
237             * </p>
238             *
239             * @param dynamicQuery the dynamic query
240             * @param start the lower bound of the range of model instances
241             * @param end the upper bound of the range of model instances (not inclusive)
242             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
243             * @return the ordered range of matching rows
244             * @throws SystemException if a system exception occurred
245             */
246            @SuppressWarnings("rawtypes")
247            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
248                    OrderByComparator orderByComparator) throws SystemException {
249                    return dlFileEntryTypePersistence.findWithDynamicQuery(dynamicQuery,
250                            start, end, orderByComparator);
251            }
252    
253            /**
254             * Returns the number of rows that match the dynamic query.
255             *
256             * @param dynamicQuery the dynamic query
257             * @return the number of rows that match the dynamic query
258             * @throws SystemException if a system exception occurred
259             */
260            public long dynamicQueryCount(DynamicQuery dynamicQuery)
261                    throws SystemException {
262                    return dlFileEntryTypePersistence.countWithDynamicQuery(dynamicQuery);
263            }
264    
265            public DLFileEntryType fetchDLFileEntryType(long fileEntryTypeId)
266                    throws SystemException {
267                    return dlFileEntryTypePersistence.fetchByPrimaryKey(fileEntryTypeId);
268            }
269    
270            /**
271             * Returns the document library file entry type with the primary key.
272             *
273             * @param fileEntryTypeId the primary key of the document library file entry type
274             * @return the document library file entry type
275             * @throws PortalException if a document library file entry type with the primary key could not be found
276             * @throws SystemException if a system exception occurred
277             */
278            public DLFileEntryType getDLFileEntryType(long fileEntryTypeId)
279                    throws PortalException, SystemException {
280                    return dlFileEntryTypePersistence.findByPrimaryKey(fileEntryTypeId);
281            }
282    
283            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
284                    throws PortalException, SystemException {
285                    return dlFileEntryTypePersistence.findByPrimaryKey(primaryKeyObj);
286            }
287    
288            /**
289             * Returns the document library file entry type with the UUID in the group.
290             *
291             * @param uuid the UUID of document library file entry type
292             * @param groupId the group id of the document library file entry type
293             * @return the document library file entry type
294             * @throws PortalException if a document library file entry type with the UUID in the group could not be found
295             * @throws SystemException if a system exception occurred
296             */
297            public DLFileEntryType getDLFileEntryTypeByUuidAndGroupId(String uuid,
298                    long groupId) throws PortalException, SystemException {
299                    return dlFileEntryTypePersistence.findByUUID_G(uuid, groupId);
300            }
301    
302            /**
303             * Returns a range of all the document library file entry types.
304             *
305             * <p>
306             * 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.
307             * </p>
308             *
309             * @param start the lower bound of the range of document library file entry types
310             * @param end the upper bound of the range of document library file entry types (not inclusive)
311             * @return the range of document library file entry types
312             * @throws SystemException if a system exception occurred
313             */
314            public List<DLFileEntryType> getDLFileEntryTypes(int start, int end)
315                    throws SystemException {
316                    return dlFileEntryTypePersistence.findAll(start, end);
317            }
318    
319            /**
320             * Returns the number of document library file entry types.
321             *
322             * @return the number of document library file entry types
323             * @throws SystemException if a system exception occurred
324             */
325            public int getDLFileEntryTypesCount() throws SystemException {
326                    return dlFileEntryTypePersistence.countAll();
327            }
328    
329            /**
330             * Updates the document library file entry type in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
331             *
332             * @param dlFileEntryType the document library file entry type
333             * @return the document library file entry type that was updated
334             * @throws SystemException if a system exception occurred
335             */
336            public DLFileEntryType updateDLFileEntryType(
337                    DLFileEntryType dlFileEntryType) throws SystemException {
338                    return updateDLFileEntryType(dlFileEntryType, true);
339            }
340    
341            /**
342             * Updates the document library file entry type in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
343             *
344             * @param dlFileEntryType the document library file entry type
345             * @param merge whether to merge the document library file entry type with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
346             * @return the document library file entry type that was updated
347             * @throws SystemException if a system exception occurred
348             */
349            public DLFileEntryType updateDLFileEntryType(
350                    DLFileEntryType dlFileEntryType, boolean merge)
351                    throws SystemException {
352                    dlFileEntryType.setNew(false);
353    
354                    dlFileEntryType = dlFileEntryTypePersistence.update(dlFileEntryType,
355                                    merge);
356    
357                    Indexer indexer = IndexerRegistryUtil.getIndexer(getModelClassName());
358    
359                    if (indexer != null) {
360                            try {
361                                    indexer.reindex(dlFileEntryType);
362                            }
363                            catch (SearchException se) {
364                                    if (_log.isWarnEnabled()) {
365                                            _log.warn(se, se);
366                                    }
367                            }
368                    }
369    
370                    return dlFileEntryType;
371            }
372    
373            /**
374             * Returns the d l app local service.
375             *
376             * @return the d l app local service
377             */
378            public DLAppLocalService getDLAppLocalService() {
379                    return dlAppLocalService;
380            }
381    
382            /**
383             * Sets the d l app local service.
384             *
385             * @param dlAppLocalService the d l app local service
386             */
387            public void setDLAppLocalService(DLAppLocalService dlAppLocalService) {
388                    this.dlAppLocalService = dlAppLocalService;
389            }
390    
391            /**
392             * Returns the d l app remote service.
393             *
394             * @return the d l app remote service
395             */
396            public DLAppService getDLAppService() {
397                    return dlAppService;
398            }
399    
400            /**
401             * Sets the d l app remote service.
402             *
403             * @param dlAppService the d l app remote service
404             */
405            public void setDLAppService(DLAppService dlAppService) {
406                    this.dlAppService = dlAppService;
407            }
408    
409            /**
410             * Returns the d l app helper local service.
411             *
412             * @return the d l app helper local service
413             */
414            public DLAppHelperLocalService getDLAppHelperLocalService() {
415                    return dlAppHelperLocalService;
416            }
417    
418            /**
419             * Sets the d l app helper local service.
420             *
421             * @param dlAppHelperLocalService the d l app helper local service
422             */
423            public void setDLAppHelperLocalService(
424                    DLAppHelperLocalService dlAppHelperLocalService) {
425                    this.dlAppHelperLocalService = dlAppHelperLocalService;
426            }
427    
428            /**
429             * Returns the document library content local service.
430             *
431             * @return the document library content local service
432             */
433            public DLContentLocalService getDLContentLocalService() {
434                    return dlContentLocalService;
435            }
436    
437            /**
438             * Sets the document library content local service.
439             *
440             * @param dlContentLocalService the document library content local service
441             */
442            public void setDLContentLocalService(
443                    DLContentLocalService dlContentLocalService) {
444                    this.dlContentLocalService = dlContentLocalService;
445            }
446    
447            /**
448             * Returns the document library content persistence.
449             *
450             * @return the document library content persistence
451             */
452            public DLContentPersistence getDLContentPersistence() {
453                    return dlContentPersistence;
454            }
455    
456            /**
457             * Sets the document library content persistence.
458             *
459             * @param dlContentPersistence the document library content persistence
460             */
461            public void setDLContentPersistence(
462                    DLContentPersistence dlContentPersistence) {
463                    this.dlContentPersistence = dlContentPersistence;
464            }
465    
466            /**
467             * Returns the document library file entry local service.
468             *
469             * @return the document library file entry local service
470             */
471            public DLFileEntryLocalService getDLFileEntryLocalService() {
472                    return dlFileEntryLocalService;
473            }
474    
475            /**
476             * Sets the document library file entry local service.
477             *
478             * @param dlFileEntryLocalService the document library file entry local service
479             */
480            public void setDLFileEntryLocalService(
481                    DLFileEntryLocalService dlFileEntryLocalService) {
482                    this.dlFileEntryLocalService = dlFileEntryLocalService;
483            }
484    
485            /**
486             * Returns the document library file entry remote service.
487             *
488             * @return the document library file entry remote service
489             */
490            public DLFileEntryService getDLFileEntryService() {
491                    return dlFileEntryService;
492            }
493    
494            /**
495             * Sets the document library file entry remote service.
496             *
497             * @param dlFileEntryService the document library file entry remote service
498             */
499            public void setDLFileEntryService(DLFileEntryService dlFileEntryService) {
500                    this.dlFileEntryService = dlFileEntryService;
501            }
502    
503            /**
504             * Returns the document library file entry persistence.
505             *
506             * @return the document library file entry persistence
507             */
508            public DLFileEntryPersistence getDLFileEntryPersistence() {
509                    return dlFileEntryPersistence;
510            }
511    
512            /**
513             * Sets the document library file entry persistence.
514             *
515             * @param dlFileEntryPersistence the document library file entry persistence
516             */
517            public void setDLFileEntryPersistence(
518                    DLFileEntryPersistence dlFileEntryPersistence) {
519                    this.dlFileEntryPersistence = dlFileEntryPersistence;
520            }
521    
522            /**
523             * Returns the document library file entry finder.
524             *
525             * @return the document library file entry finder
526             */
527            public DLFileEntryFinder getDLFileEntryFinder() {
528                    return dlFileEntryFinder;
529            }
530    
531            /**
532             * Sets the document library file entry finder.
533             *
534             * @param dlFileEntryFinder the document library file entry finder
535             */
536            public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
537                    this.dlFileEntryFinder = dlFileEntryFinder;
538            }
539    
540            /**
541             * Returns the document library file entry metadata local service.
542             *
543             * @return the document library file entry metadata local service
544             */
545            public DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
546                    return dlFileEntryMetadataLocalService;
547            }
548    
549            /**
550             * Sets the document library file entry metadata local service.
551             *
552             * @param dlFileEntryMetadataLocalService the document library file entry metadata local service
553             */
554            public void setDLFileEntryMetadataLocalService(
555                    DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
556                    this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
557            }
558    
559            /**
560             * Returns the document library file entry metadata persistence.
561             *
562             * @return the document library file entry metadata persistence
563             */
564            public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
565                    return dlFileEntryMetadataPersistence;
566            }
567    
568            /**
569             * Sets the document library file entry metadata persistence.
570             *
571             * @param dlFileEntryMetadataPersistence the document library file entry metadata persistence
572             */
573            public void setDLFileEntryMetadataPersistence(
574                    DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
575                    this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
576            }
577    
578            /**
579             * Returns the document library file entry type local service.
580             *
581             * @return the document library file entry type local service
582             */
583            public DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
584                    return dlFileEntryTypeLocalService;
585            }
586    
587            /**
588             * Sets the document library file entry type local service.
589             *
590             * @param dlFileEntryTypeLocalService the document library file entry type local service
591             */
592            public void setDLFileEntryTypeLocalService(
593                    DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
594                    this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
595            }
596    
597            /**
598             * Returns the document library file entry type remote service.
599             *
600             * @return the document library file entry type remote service
601             */
602            public DLFileEntryTypeService getDLFileEntryTypeService() {
603                    return dlFileEntryTypeService;
604            }
605    
606            /**
607             * Sets the document library file entry type remote service.
608             *
609             * @param dlFileEntryTypeService the document library file entry type remote service
610             */
611            public void setDLFileEntryTypeService(
612                    DLFileEntryTypeService dlFileEntryTypeService) {
613                    this.dlFileEntryTypeService = dlFileEntryTypeService;
614            }
615    
616            /**
617             * Returns the document library file entry type persistence.
618             *
619             * @return the document library file entry type persistence
620             */
621            public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
622                    return dlFileEntryTypePersistence;
623            }
624    
625            /**
626             * Sets the document library file entry type persistence.
627             *
628             * @param dlFileEntryTypePersistence the document library file entry type persistence
629             */
630            public void setDLFileEntryTypePersistence(
631                    DLFileEntryTypePersistence dlFileEntryTypePersistence) {
632                    this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
633            }
634    
635            /**
636             * Returns the document library file entry type finder.
637             *
638             * @return the document library file entry type finder
639             */
640            public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
641                    return dlFileEntryTypeFinder;
642            }
643    
644            /**
645             * Sets the document library file entry type finder.
646             *
647             * @param dlFileEntryTypeFinder the document library file entry type finder
648             */
649            public void setDLFileEntryTypeFinder(
650                    DLFileEntryTypeFinder dlFileEntryTypeFinder) {
651                    this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
652            }
653    
654            /**
655             * Returns the document library file rank local service.
656             *
657             * @return the document library file rank local service
658             */
659            public DLFileRankLocalService getDLFileRankLocalService() {
660                    return dlFileRankLocalService;
661            }
662    
663            /**
664             * Sets the document library file rank local service.
665             *
666             * @param dlFileRankLocalService the document library file rank local service
667             */
668            public void setDLFileRankLocalService(
669                    DLFileRankLocalService dlFileRankLocalService) {
670                    this.dlFileRankLocalService = dlFileRankLocalService;
671            }
672    
673            /**
674             * Returns the document library file rank persistence.
675             *
676             * @return the document library file rank persistence
677             */
678            public DLFileRankPersistence getDLFileRankPersistence() {
679                    return dlFileRankPersistence;
680            }
681    
682            /**
683             * Sets the document library file rank persistence.
684             *
685             * @param dlFileRankPersistence the document library file rank persistence
686             */
687            public void setDLFileRankPersistence(
688                    DLFileRankPersistence dlFileRankPersistence) {
689                    this.dlFileRankPersistence = dlFileRankPersistence;
690            }
691    
692            /**
693             * Returns the document library file rank finder.
694             *
695             * @return the document library file rank finder
696             */
697            public DLFileRankFinder getDLFileRankFinder() {
698                    return dlFileRankFinder;
699            }
700    
701            /**
702             * Sets the document library file rank finder.
703             *
704             * @param dlFileRankFinder the document library file rank finder
705             */
706            public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
707                    this.dlFileRankFinder = dlFileRankFinder;
708            }
709    
710            /**
711             * Returns the document library file shortcut local service.
712             *
713             * @return the document library file shortcut local service
714             */
715            public DLFileShortcutLocalService getDLFileShortcutLocalService() {
716                    return dlFileShortcutLocalService;
717            }
718    
719            /**
720             * Sets the document library file shortcut local service.
721             *
722             * @param dlFileShortcutLocalService the document library file shortcut local service
723             */
724            public void setDLFileShortcutLocalService(
725                    DLFileShortcutLocalService dlFileShortcutLocalService) {
726                    this.dlFileShortcutLocalService = dlFileShortcutLocalService;
727            }
728    
729            /**
730             * Returns the document library file shortcut remote service.
731             *
732             * @return the document library file shortcut remote service
733             */
734            public DLFileShortcutService getDLFileShortcutService() {
735                    return dlFileShortcutService;
736            }
737    
738            /**
739             * Sets the document library file shortcut remote service.
740             *
741             * @param dlFileShortcutService the document library file shortcut remote service
742             */
743            public void setDLFileShortcutService(
744                    DLFileShortcutService dlFileShortcutService) {
745                    this.dlFileShortcutService = dlFileShortcutService;
746            }
747    
748            /**
749             * Returns the document library file shortcut persistence.
750             *
751             * @return the document library file shortcut persistence
752             */
753            public DLFileShortcutPersistence getDLFileShortcutPersistence() {
754                    return dlFileShortcutPersistence;
755            }
756    
757            /**
758             * Sets the document library file shortcut persistence.
759             *
760             * @param dlFileShortcutPersistence the document library file shortcut persistence
761             */
762            public void setDLFileShortcutPersistence(
763                    DLFileShortcutPersistence dlFileShortcutPersistence) {
764                    this.dlFileShortcutPersistence = dlFileShortcutPersistence;
765            }
766    
767            /**
768             * Returns the document library file version local service.
769             *
770             * @return the document library file version local service
771             */
772            public DLFileVersionLocalService getDLFileVersionLocalService() {
773                    return dlFileVersionLocalService;
774            }
775    
776            /**
777             * Sets the document library file version local service.
778             *
779             * @param dlFileVersionLocalService the document library file version local service
780             */
781            public void setDLFileVersionLocalService(
782                    DLFileVersionLocalService dlFileVersionLocalService) {
783                    this.dlFileVersionLocalService = dlFileVersionLocalService;
784            }
785    
786            /**
787             * Returns the document library file version remote service.
788             *
789             * @return the document library file version remote service
790             */
791            public DLFileVersionService getDLFileVersionService() {
792                    return dlFileVersionService;
793            }
794    
795            /**
796             * Sets the document library file version remote service.
797             *
798             * @param dlFileVersionService the document library file version remote service
799             */
800            public void setDLFileVersionService(
801                    DLFileVersionService dlFileVersionService) {
802                    this.dlFileVersionService = dlFileVersionService;
803            }
804    
805            /**
806             * Returns the document library file version persistence.
807             *
808             * @return the document library file version persistence
809             */
810            public DLFileVersionPersistence getDLFileVersionPersistence() {
811                    return dlFileVersionPersistence;
812            }
813    
814            /**
815             * Sets the document library file version persistence.
816             *
817             * @param dlFileVersionPersistence the document library file version persistence
818             */
819            public void setDLFileVersionPersistence(
820                    DLFileVersionPersistence dlFileVersionPersistence) {
821                    this.dlFileVersionPersistence = dlFileVersionPersistence;
822            }
823    
824            /**
825             * Returns the document library folder local service.
826             *
827             * @return the document library folder local service
828             */
829            public DLFolderLocalService getDLFolderLocalService() {
830                    return dlFolderLocalService;
831            }
832    
833            /**
834             * Sets the document library folder local service.
835             *
836             * @param dlFolderLocalService the document library folder local service
837             */
838            public void setDLFolderLocalService(
839                    DLFolderLocalService dlFolderLocalService) {
840                    this.dlFolderLocalService = dlFolderLocalService;
841            }
842    
843            /**
844             * Returns the document library folder remote service.
845             *
846             * @return the document library folder remote service
847             */
848            public DLFolderService getDLFolderService() {
849                    return dlFolderService;
850            }
851    
852            /**
853             * Sets the document library folder remote service.
854             *
855             * @param dlFolderService the document library folder remote service
856             */
857            public void setDLFolderService(DLFolderService dlFolderService) {
858                    this.dlFolderService = dlFolderService;
859            }
860    
861            /**
862             * Returns the document library folder persistence.
863             *
864             * @return the document library folder persistence
865             */
866            public DLFolderPersistence getDLFolderPersistence() {
867                    return dlFolderPersistence;
868            }
869    
870            /**
871             * Sets the document library folder persistence.
872             *
873             * @param dlFolderPersistence the document library folder persistence
874             */
875            public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
876                    this.dlFolderPersistence = dlFolderPersistence;
877            }
878    
879            /**
880             * Returns the document library folder finder.
881             *
882             * @return the document library folder finder
883             */
884            public DLFolderFinder getDLFolderFinder() {
885                    return dlFolderFinder;
886            }
887    
888            /**
889             * Sets the document library folder finder.
890             *
891             * @param dlFolderFinder the document library folder finder
892             */
893            public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
894                    this.dlFolderFinder = dlFolderFinder;
895            }
896    
897            /**
898             * Returns the d l sync local service.
899             *
900             * @return the d l sync local service
901             */
902            public DLSyncLocalService getDLSyncLocalService() {
903                    return dlSyncLocalService;
904            }
905    
906            /**
907             * Sets the d l sync local service.
908             *
909             * @param dlSyncLocalService the d l sync local service
910             */
911            public void setDLSyncLocalService(DLSyncLocalService dlSyncLocalService) {
912                    this.dlSyncLocalService = dlSyncLocalService;
913            }
914    
915            /**
916             * Returns the d l sync remote service.
917             *
918             * @return the d l sync remote service
919             */
920            public DLSyncService getDLSyncService() {
921                    return dlSyncService;
922            }
923    
924            /**
925             * Sets the d l sync remote service.
926             *
927             * @param dlSyncService the d l sync remote service
928             */
929            public void setDLSyncService(DLSyncService dlSyncService) {
930                    this.dlSyncService = dlSyncService;
931            }
932    
933            /**
934             * Returns the d l sync persistence.
935             *
936             * @return the d l sync persistence
937             */
938            public DLSyncPersistence getDLSyncPersistence() {
939                    return dlSyncPersistence;
940            }
941    
942            /**
943             * Sets the d l sync persistence.
944             *
945             * @param dlSyncPersistence the d l sync persistence
946             */
947            public void setDLSyncPersistence(DLSyncPersistence dlSyncPersistence) {
948                    this.dlSyncPersistence = dlSyncPersistence;
949            }
950    
951            /**
952             * Returns the counter local service.
953             *
954             * @return the counter local service
955             */
956            public CounterLocalService getCounterLocalService() {
957                    return counterLocalService;
958            }
959    
960            /**
961             * Sets the counter local service.
962             *
963             * @param counterLocalService the counter local service
964             */
965            public void setCounterLocalService(CounterLocalService counterLocalService) {
966                    this.counterLocalService = counterLocalService;
967            }
968    
969            /**
970             * Returns the resource local service.
971             *
972             * @return the resource local service
973             */
974            public ResourceLocalService getResourceLocalService() {
975                    return resourceLocalService;
976            }
977    
978            /**
979             * Sets the resource local service.
980             *
981             * @param resourceLocalService the resource local service
982             */
983            public void setResourceLocalService(
984                    ResourceLocalService resourceLocalService) {
985                    this.resourceLocalService = resourceLocalService;
986            }
987    
988            /**
989             * Returns the resource remote service.
990             *
991             * @return the resource remote service
992             */
993            public ResourceService getResourceService() {
994                    return resourceService;
995            }
996    
997            /**
998             * Sets the resource remote service.
999             *
1000             * @param resourceService the resource remote service
1001             */
1002            public void setResourceService(ResourceService resourceService) {
1003                    this.resourceService = resourceService;
1004            }
1005    
1006            /**
1007             * Returns the resource persistence.
1008             *
1009             * @return the resource persistence
1010             */
1011            public ResourcePersistence getResourcePersistence() {
1012                    return resourcePersistence;
1013            }
1014    
1015            /**
1016             * Sets the resource persistence.
1017             *
1018             * @param resourcePersistence the resource persistence
1019             */
1020            public void setResourcePersistence(ResourcePersistence resourcePersistence) {
1021                    this.resourcePersistence = resourcePersistence;
1022            }
1023    
1024            /**
1025             * Returns the resource finder.
1026             *
1027             * @return the resource finder
1028             */
1029            public ResourceFinder getResourceFinder() {
1030                    return resourceFinder;
1031            }
1032    
1033            /**
1034             * Sets the resource finder.
1035             *
1036             * @param resourceFinder the resource finder
1037             */
1038            public void setResourceFinder(ResourceFinder resourceFinder) {
1039                    this.resourceFinder = resourceFinder;
1040            }
1041    
1042            /**
1043             * Returns the user local service.
1044             *
1045             * @return the user local service
1046             */
1047            public UserLocalService getUserLocalService() {
1048                    return userLocalService;
1049            }
1050    
1051            /**
1052             * Sets the user local service.
1053             *
1054             * @param userLocalService the user local service
1055             */
1056            public void setUserLocalService(UserLocalService userLocalService) {
1057                    this.userLocalService = userLocalService;
1058            }
1059    
1060            /**
1061             * Returns the user remote service.
1062             *
1063             * @return the user remote service
1064             */
1065            public UserService getUserService() {
1066                    return userService;
1067            }
1068    
1069            /**
1070             * Sets the user remote service.
1071             *
1072             * @param userService the user remote service
1073             */
1074            public void setUserService(UserService userService) {
1075                    this.userService = userService;
1076            }
1077    
1078            /**
1079             * Returns the user persistence.
1080             *
1081             * @return the user persistence
1082             */
1083            public UserPersistence getUserPersistence() {
1084                    return userPersistence;
1085            }
1086    
1087            /**
1088             * Sets the user persistence.
1089             *
1090             * @param userPersistence the user persistence
1091             */
1092            public void setUserPersistence(UserPersistence userPersistence) {
1093                    this.userPersistence = userPersistence;
1094            }
1095    
1096            /**
1097             * Returns the user finder.
1098             *
1099             * @return the user finder
1100             */
1101            public UserFinder getUserFinder() {
1102                    return userFinder;
1103            }
1104    
1105            /**
1106             * Sets the user finder.
1107             *
1108             * @param userFinder the user finder
1109             */
1110            public void setUserFinder(UserFinder userFinder) {
1111                    this.userFinder = userFinder;
1112            }
1113    
1114            /**
1115             * Returns the workflow definition link local service.
1116             *
1117             * @return the workflow definition link local service
1118             */
1119            public WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService() {
1120                    return workflowDefinitionLinkLocalService;
1121            }
1122    
1123            /**
1124             * Sets the workflow definition link local service.
1125             *
1126             * @param workflowDefinitionLinkLocalService the workflow definition link local service
1127             */
1128            public void setWorkflowDefinitionLinkLocalService(
1129                    WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
1130                    this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
1131            }
1132    
1133            /**
1134             * Returns the workflow definition link persistence.
1135             *
1136             * @return the workflow definition link persistence
1137             */
1138            public WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence() {
1139                    return workflowDefinitionLinkPersistence;
1140            }
1141    
1142            /**
1143             * Sets the workflow definition link persistence.
1144             *
1145             * @param workflowDefinitionLinkPersistence the workflow definition link persistence
1146             */
1147            public void setWorkflowDefinitionLinkPersistence(
1148                    WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence) {
1149                    this.workflowDefinitionLinkPersistence = workflowDefinitionLinkPersistence;
1150            }
1151    
1152            /**
1153             * Returns the workflow instance link local service.
1154             *
1155             * @return the workflow instance link local service
1156             */
1157            public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1158                    return workflowInstanceLinkLocalService;
1159            }
1160    
1161            /**
1162             * Sets the workflow instance link local service.
1163             *
1164             * @param workflowInstanceLinkLocalService the workflow instance link local service
1165             */
1166            public void setWorkflowInstanceLinkLocalService(
1167                    WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1168                    this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1169            }
1170    
1171            /**
1172             * Returns the workflow instance link persistence.
1173             *
1174             * @return the workflow instance link persistence
1175             */
1176            public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1177                    return workflowInstanceLinkPersistence;
1178            }
1179    
1180            /**
1181             * Sets the workflow instance link persistence.
1182             *
1183             * @param workflowInstanceLinkPersistence the workflow instance link persistence
1184             */
1185            public void setWorkflowInstanceLinkPersistence(
1186                    WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1187                    this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1188            }
1189    
1190            /**
1191             * Returns the d d m structure local service.
1192             *
1193             * @return the d d m structure local service
1194             */
1195            public DDMStructureLocalService getDDMStructureLocalService() {
1196                    return ddmStructureLocalService;
1197            }
1198    
1199            /**
1200             * Sets the d d m structure local service.
1201             *
1202             * @param ddmStructureLocalService the d d m structure local service
1203             */
1204            public void setDDMStructureLocalService(
1205                    DDMStructureLocalService ddmStructureLocalService) {
1206                    this.ddmStructureLocalService = ddmStructureLocalService;
1207            }
1208    
1209            /**
1210             * Returns the d d m structure remote service.
1211             *
1212             * @return the d d m structure remote service
1213             */
1214            public DDMStructureService getDDMStructureService() {
1215                    return ddmStructureService;
1216            }
1217    
1218            /**
1219             * Sets the d d m structure remote service.
1220             *
1221             * @param ddmStructureService the d d m structure remote service
1222             */
1223            public void setDDMStructureService(DDMStructureService ddmStructureService) {
1224                    this.ddmStructureService = ddmStructureService;
1225            }
1226    
1227            /**
1228             * Returns the d d m structure persistence.
1229             *
1230             * @return the d d m structure persistence
1231             */
1232            public DDMStructurePersistence getDDMStructurePersistence() {
1233                    return ddmStructurePersistence;
1234            }
1235    
1236            /**
1237             * Sets the d d m structure persistence.
1238             *
1239             * @param ddmStructurePersistence the d d m structure persistence
1240             */
1241            public void setDDMStructurePersistence(
1242                    DDMStructurePersistence ddmStructurePersistence) {
1243                    this.ddmStructurePersistence = ddmStructurePersistence;
1244            }
1245    
1246            /**
1247             * Returns the d d m structure finder.
1248             *
1249             * @return the d d m structure finder
1250             */
1251            public DDMStructureFinder getDDMStructureFinder() {
1252                    return ddmStructureFinder;
1253            }
1254    
1255            /**
1256             * Sets the d d m structure finder.
1257             *
1258             * @param ddmStructureFinder the d d m structure finder
1259             */
1260            public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder) {
1261                    this.ddmStructureFinder = ddmStructureFinder;
1262            }
1263    
1264            public void afterPropertiesSet() {
1265                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFileEntryType",
1266                            dlFileEntryTypeLocalService);
1267            }
1268    
1269            public void destroy() {
1270                    persistedModelLocalServiceRegistry.unregister(
1271                            "com.liferay.portlet.documentlibrary.model.DLFileEntryType");
1272            }
1273    
1274            /**
1275             * Returns the Spring bean ID for this bean.
1276             *
1277             * @return the Spring bean ID for this bean
1278             */
1279            public String getBeanIdentifier() {
1280                    return _beanIdentifier;
1281            }
1282    
1283            /**
1284             * Sets the Spring bean ID for this bean.
1285             *
1286             * @param beanIdentifier the Spring bean ID for this bean
1287             */
1288            public void setBeanIdentifier(String beanIdentifier) {
1289                    _beanIdentifier = beanIdentifier;
1290            }
1291    
1292            protected ClassLoader getClassLoader() {
1293                    Class<?> clazz = getClass();
1294    
1295                    return clazz.getClassLoader();
1296            }
1297    
1298            protected Class<?> getModelClass() {
1299                    return DLFileEntryType.class;
1300            }
1301    
1302            protected String getModelClassName() {
1303                    return DLFileEntryType.class.getName();
1304            }
1305    
1306            /**
1307             * Performs an SQL query.
1308             *
1309             * @param sql the sql query
1310             */
1311            protected void runSQL(String sql) throws SystemException {
1312                    try {
1313                            DataSource dataSource = dlFileEntryTypePersistence.getDataSource();
1314    
1315                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1316                                            sql, new int[0]);
1317    
1318                            sqlUpdate.update();
1319                    }
1320                    catch (Exception e) {
1321                            throw new SystemException(e);
1322                    }
1323            }
1324    
1325            @BeanReference(type = DLAppLocalService.class)
1326            protected DLAppLocalService dlAppLocalService;
1327            @BeanReference(type = DLAppService.class)
1328            protected DLAppService dlAppService;
1329            @BeanReference(type = DLAppHelperLocalService.class)
1330            protected DLAppHelperLocalService dlAppHelperLocalService;
1331            @BeanReference(type = DLContentLocalService.class)
1332            protected DLContentLocalService dlContentLocalService;
1333            @BeanReference(type = DLContentPersistence.class)
1334            protected DLContentPersistence dlContentPersistence;
1335            @BeanReference(type = DLFileEntryLocalService.class)
1336            protected DLFileEntryLocalService dlFileEntryLocalService;
1337            @BeanReference(type = DLFileEntryService.class)
1338            protected DLFileEntryService dlFileEntryService;
1339            @BeanReference(type = DLFileEntryPersistence.class)
1340            protected DLFileEntryPersistence dlFileEntryPersistence;
1341            @BeanReference(type = DLFileEntryFinder.class)
1342            protected DLFileEntryFinder dlFileEntryFinder;
1343            @BeanReference(type = DLFileEntryMetadataLocalService.class)
1344            protected DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1345            @BeanReference(type = DLFileEntryMetadataPersistence.class)
1346            protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1347            @BeanReference(type = DLFileEntryTypeLocalService.class)
1348            protected DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1349            @BeanReference(type = DLFileEntryTypeService.class)
1350            protected DLFileEntryTypeService dlFileEntryTypeService;
1351            @BeanReference(type = DLFileEntryTypePersistence.class)
1352            protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1353            @BeanReference(type = DLFileEntryTypeFinder.class)
1354            protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1355            @BeanReference(type = DLFileRankLocalService.class)
1356            protected DLFileRankLocalService dlFileRankLocalService;
1357            @BeanReference(type = DLFileRankPersistence.class)
1358            protected DLFileRankPersistence dlFileRankPersistence;
1359            @BeanReference(type = DLFileRankFinder.class)
1360            protected DLFileRankFinder dlFileRankFinder;
1361            @BeanReference(type = DLFileShortcutLocalService.class)
1362            protected DLFileShortcutLocalService dlFileShortcutLocalService;
1363            @BeanReference(type = DLFileShortcutService.class)
1364            protected DLFileShortcutService dlFileShortcutService;
1365            @BeanReference(type = DLFileShortcutPersistence.class)
1366            protected DLFileShortcutPersistence dlFileShortcutPersistence;
1367            @BeanReference(type = DLFileVersionLocalService.class)
1368            protected DLFileVersionLocalService dlFileVersionLocalService;
1369            @BeanReference(type = DLFileVersionService.class)
1370            protected DLFileVersionService dlFileVersionService;
1371            @BeanReference(type = DLFileVersionPersistence.class)
1372            protected DLFileVersionPersistence dlFileVersionPersistence;
1373            @BeanReference(type = DLFolderLocalService.class)
1374            protected DLFolderLocalService dlFolderLocalService;
1375            @BeanReference(type = DLFolderService.class)
1376            protected DLFolderService dlFolderService;
1377            @BeanReference(type = DLFolderPersistence.class)
1378            protected DLFolderPersistence dlFolderPersistence;
1379            @BeanReference(type = DLFolderFinder.class)
1380            protected DLFolderFinder dlFolderFinder;
1381            @BeanReference(type = DLSyncLocalService.class)
1382            protected DLSyncLocalService dlSyncLocalService;
1383            @BeanReference(type = DLSyncService.class)
1384            protected DLSyncService dlSyncService;
1385            @BeanReference(type = DLSyncPersistence.class)
1386            protected DLSyncPersistence dlSyncPersistence;
1387            @BeanReference(type = CounterLocalService.class)
1388            protected CounterLocalService counterLocalService;
1389            @BeanReference(type = ResourceLocalService.class)
1390            protected ResourceLocalService resourceLocalService;
1391            @BeanReference(type = ResourceService.class)
1392            protected ResourceService resourceService;
1393            @BeanReference(type = ResourcePersistence.class)
1394            protected ResourcePersistence resourcePersistence;
1395            @BeanReference(type = ResourceFinder.class)
1396            protected ResourceFinder resourceFinder;
1397            @BeanReference(type = UserLocalService.class)
1398            protected UserLocalService userLocalService;
1399            @BeanReference(type = UserService.class)
1400            protected UserService userService;
1401            @BeanReference(type = UserPersistence.class)
1402            protected UserPersistence userPersistence;
1403            @BeanReference(type = UserFinder.class)
1404            protected UserFinder userFinder;
1405            @BeanReference(type = WorkflowDefinitionLinkLocalService.class)
1406            protected WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService;
1407            @BeanReference(type = WorkflowDefinitionLinkPersistence.class)
1408            protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence;
1409            @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1410            protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1411            @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1412            protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1413            @BeanReference(type = DDMStructureLocalService.class)
1414            protected DDMStructureLocalService ddmStructureLocalService;
1415            @BeanReference(type = DDMStructureService.class)
1416            protected DDMStructureService ddmStructureService;
1417            @BeanReference(type = DDMStructurePersistence.class)
1418            protected DDMStructurePersistence ddmStructurePersistence;
1419            @BeanReference(type = DDMStructureFinder.class)
1420            protected DDMStructureFinder ddmStructureFinder;
1421            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1422            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1423            private static Log _log = LogFactoryUtil.getLog(DLFileEntryTypeLocalServiceBaseImpl.class);
1424            private String _beanIdentifier;
1425    }