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.dao.orm.DynamicQueryFactoryUtil;
025    import com.liferay.portal.kernel.exception.PortalException;
026    import com.liferay.portal.kernel.exception.SystemException;
027    import com.liferay.portal.kernel.search.Indexable;
028    import com.liferay.portal.kernel.search.IndexableType;
029    import com.liferay.portal.kernel.util.OrderByComparator;
030    import com.liferay.portal.model.PersistedModel;
031    import com.liferay.portal.service.BaseLocalServiceImpl;
032    import com.liferay.portal.service.GroupLocalService;
033    import com.liferay.portal.service.GroupService;
034    import com.liferay.portal.service.LockLocalService;
035    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
036    import com.liferay.portal.service.ResourceLocalService;
037    import com.liferay.portal.service.UserLocalService;
038    import com.liferay.portal.service.UserService;
039    import com.liferay.portal.service.WebDAVPropsLocalService;
040    import com.liferay.portal.service.WorkflowDefinitionLinkLocalService;
041    import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
042    import com.liferay.portal.service.persistence.GroupFinder;
043    import com.liferay.portal.service.persistence.GroupPersistence;
044    import com.liferay.portal.service.persistence.LockFinder;
045    import com.liferay.portal.service.persistence.LockPersistence;
046    import com.liferay.portal.service.persistence.UserFinder;
047    import com.liferay.portal.service.persistence.UserPersistence;
048    import com.liferay.portal.service.persistence.WebDAVPropsPersistence;
049    import com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence;
050    import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
051    
052    import com.liferay.portlet.asset.service.AssetEntryLocalService;
053    import com.liferay.portlet.asset.service.AssetEntryService;
054    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
055    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
056    import com.liferay.portlet.documentlibrary.model.DLFolder;
057    import com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService;
058    import com.liferay.portlet.documentlibrary.service.DLAppLocalService;
059    import com.liferay.portlet.documentlibrary.service.DLAppService;
060    import com.liferay.portlet.documentlibrary.service.DLContentLocalService;
061    import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
062    import com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService;
063    import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
064    import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService;
065    import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService;
066    import com.liferay.portlet.documentlibrary.service.DLFileRankLocalService;
067    import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService;
068    import com.liferay.portlet.documentlibrary.service.DLFileShortcutService;
069    import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService;
070    import com.liferay.portlet.documentlibrary.service.DLFileVersionService;
071    import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
072    import com.liferay.portlet.documentlibrary.service.DLFolderService;
073    import com.liferay.portlet.documentlibrary.service.DLSyncLocalService;
074    import com.liferay.portlet.documentlibrary.service.DLSyncService;
075    import com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence;
076    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
077    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
078    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
079    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
080    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
081    import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
082    import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
083    import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
084    import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
085    import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
086    import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
087    import com.liferay.portlet.documentlibrary.service.persistence.DLSyncFinder;
088    import com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistence;
089    import com.liferay.portlet.expando.service.ExpandoValueLocalService;
090    import com.liferay.portlet.expando.service.ExpandoValueService;
091    import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
092    import com.liferay.portlet.trash.service.TrashEntryLocalService;
093    import com.liferay.portlet.trash.service.TrashEntryService;
094    import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
095    
096    import java.io.Serializable;
097    
098    import java.util.List;
099    
100    import javax.sql.DataSource;
101    
102    /**
103     * The base implementation of the document library folder local service.
104     *
105     * <p>
106     * 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.DLFolderLocalServiceImpl}.
107     * </p>
108     *
109     * @author Brian Wing Shun Chan
110     * @see com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalServiceImpl
111     * @see com.liferay.portlet.documentlibrary.service.DLFolderLocalServiceUtil
112     * @generated
113     */
114    public abstract class DLFolderLocalServiceBaseImpl extends BaseLocalServiceImpl
115            implements DLFolderLocalService, IdentifiableBean {
116            /*
117             * NOTE FOR DEVELOPERS:
118             *
119             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.documentlibrary.service.DLFolderLocalServiceUtil} to access the document library folder local service.
120             */
121    
122            /**
123             * Adds the document library folder to the database. Also notifies the appropriate model listeners.
124             *
125             * @param dlFolder the document library folder
126             * @return the document library folder that was added
127             * @throws SystemException if a system exception occurred
128             */
129            @Indexable(type = IndexableType.REINDEX)
130            public DLFolder addDLFolder(DLFolder dlFolder) throws SystemException {
131                    dlFolder.setNew(true);
132    
133                    return dlFolderPersistence.update(dlFolder);
134            }
135    
136            /**
137             * Creates a new document library folder with the primary key. Does not add the document library folder to the database.
138             *
139             * @param folderId the primary key for the new document library folder
140             * @return the new document library folder
141             */
142            public DLFolder createDLFolder(long folderId) {
143                    return dlFolderPersistence.create(folderId);
144            }
145    
146            /**
147             * Deletes the document library folder with the primary key from the database. Also notifies the appropriate model listeners.
148             *
149             * @param folderId the primary key of the document library folder
150             * @return the document library folder that was removed
151             * @throws PortalException if a document library folder with the primary key could not be found
152             * @throws SystemException if a system exception occurred
153             */
154            @Indexable(type = IndexableType.DELETE)
155            public DLFolder deleteDLFolder(long folderId)
156                    throws PortalException, SystemException {
157                    return dlFolderPersistence.remove(folderId);
158            }
159    
160            /**
161             * Deletes the document library folder from the database. Also notifies the appropriate model listeners.
162             *
163             * @param dlFolder the document library folder
164             * @return the document library folder that was removed
165             * @throws SystemException if a system exception occurred
166             */
167            @Indexable(type = IndexableType.DELETE)
168            public DLFolder deleteDLFolder(DLFolder dlFolder) throws SystemException {
169                    return dlFolderPersistence.remove(dlFolder);
170            }
171    
172            public DynamicQuery dynamicQuery() {
173                    Class<?> clazz = getClass();
174    
175                    return DynamicQueryFactoryUtil.forClass(DLFolder.class,
176                            clazz.getClassLoader());
177            }
178    
179            /**
180             * Performs a dynamic query on the database and returns the matching rows.
181             *
182             * @param dynamicQuery the dynamic query
183             * @return the matching rows
184             * @throws SystemException if a system exception occurred
185             */
186            @SuppressWarnings("rawtypes")
187            public List dynamicQuery(DynamicQuery dynamicQuery)
188                    throws SystemException {
189                    return dlFolderPersistence.findWithDynamicQuery(dynamicQuery);
190            }
191    
192            /**
193             * Performs a dynamic query on the database and returns a range of the matching rows.
194             *
195             * <p>
196             * 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.DLFolderModelImpl}. 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.
197             * </p>
198             *
199             * @param dynamicQuery the dynamic query
200             * @param start the lower bound of the range of model instances
201             * @param end the upper bound of the range of model instances (not inclusive)
202             * @return the range of matching rows
203             * @throws SystemException if a system exception occurred
204             */
205            @SuppressWarnings("rawtypes")
206            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
207                    throws SystemException {
208                    return dlFolderPersistence.findWithDynamicQuery(dynamicQuery, start, end);
209            }
210    
211            /**
212             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
213             *
214             * <p>
215             * 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.DLFolderModelImpl}. 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.
216             * </p>
217             *
218             * @param dynamicQuery the dynamic query
219             * @param start the lower bound of the range of model instances
220             * @param end the upper bound of the range of model instances (not inclusive)
221             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
222             * @return the ordered 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                    OrderByComparator orderByComparator) throws SystemException {
228                    return dlFolderPersistence.findWithDynamicQuery(dynamicQuery, start,
229                            end, orderByComparator);
230            }
231    
232            /**
233             * Returns the number of rows that match the dynamic query.
234             *
235             * @param dynamicQuery the dynamic query
236             * @return the number of rows that match the dynamic query
237             * @throws SystemException if a system exception occurred
238             */
239            public long dynamicQueryCount(DynamicQuery dynamicQuery)
240                    throws SystemException {
241                    return dlFolderPersistence.countWithDynamicQuery(dynamicQuery);
242            }
243    
244            public DLFolder fetchDLFolder(long folderId) throws SystemException {
245                    return dlFolderPersistence.fetchByPrimaryKey(folderId);
246            }
247    
248            /**
249             * Returns the document library folder with the primary key.
250             *
251             * @param folderId the primary key of the document library folder
252             * @return the document library folder
253             * @throws PortalException if a document library folder with the primary key could not be found
254             * @throws SystemException if a system exception occurred
255             */
256            public DLFolder getDLFolder(long folderId)
257                    throws PortalException, SystemException {
258                    return dlFolderPersistence.findByPrimaryKey(folderId);
259            }
260    
261            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
262                    throws PortalException, SystemException {
263                    return dlFolderPersistence.findByPrimaryKey(primaryKeyObj);
264            }
265    
266            /**
267             * Returns the document library folder with the UUID in the group.
268             *
269             * @param uuid the UUID of document library folder
270             * @param groupId the group id of the document library folder
271             * @return the document library folder
272             * @throws PortalException if a document library folder with the UUID in the group could not be found
273             * @throws SystemException if a system exception occurred
274             */
275            public DLFolder getDLFolderByUuidAndGroupId(String uuid, long groupId)
276                    throws PortalException, SystemException {
277                    return dlFolderPersistence.findByUUID_G(uuid, groupId);
278            }
279    
280            /**
281             * Returns a range of all the document library folders.
282             *
283             * <p>
284             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
285             * </p>
286             *
287             * @param start the lower bound of the range of document library folders
288             * @param end the upper bound of the range of document library folders (not inclusive)
289             * @return the range of document library folders
290             * @throws SystemException if a system exception occurred
291             */
292            public List<DLFolder> getDLFolders(int start, int end)
293                    throws SystemException {
294                    return dlFolderPersistence.findAll(start, end);
295            }
296    
297            /**
298             * Returns the number of document library folders.
299             *
300             * @return the number of document library folders
301             * @throws SystemException if a system exception occurred
302             */
303            public int getDLFoldersCount() throws SystemException {
304                    return dlFolderPersistence.countAll();
305            }
306    
307            /**
308             * Updates the document library folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
309             *
310             * @param dlFolder the document library folder
311             * @return the document library folder that was updated
312             * @throws SystemException if a system exception occurred
313             */
314            @Indexable(type = IndexableType.REINDEX)
315            public DLFolder updateDLFolder(DLFolder dlFolder) throws SystemException {
316                    return dlFolderPersistence.update(dlFolder);
317            }
318    
319            /**
320             * Returns the d l app local service.
321             *
322             * @return the d l app local service
323             */
324            public DLAppLocalService getDLAppLocalService() {
325                    return dlAppLocalService;
326            }
327    
328            /**
329             * Sets the d l app local service.
330             *
331             * @param dlAppLocalService the d l app local service
332             */
333            public void setDLAppLocalService(DLAppLocalService dlAppLocalService) {
334                    this.dlAppLocalService = dlAppLocalService;
335            }
336    
337            /**
338             * Returns the d l app remote service.
339             *
340             * @return the d l app remote service
341             */
342            public DLAppService getDLAppService() {
343                    return dlAppService;
344            }
345    
346            /**
347             * Sets the d l app remote service.
348             *
349             * @param dlAppService the d l app remote service
350             */
351            public void setDLAppService(DLAppService dlAppService) {
352                    this.dlAppService = dlAppService;
353            }
354    
355            /**
356             * Returns the d l app helper local service.
357             *
358             * @return the d l app helper local service
359             */
360            public DLAppHelperLocalService getDLAppHelperLocalService() {
361                    return dlAppHelperLocalService;
362            }
363    
364            /**
365             * Sets the d l app helper local service.
366             *
367             * @param dlAppHelperLocalService the d l app helper local service
368             */
369            public void setDLAppHelperLocalService(
370                    DLAppHelperLocalService dlAppHelperLocalService) {
371                    this.dlAppHelperLocalService = dlAppHelperLocalService;
372            }
373    
374            /**
375             * Returns the document library content local service.
376             *
377             * @return the document library content local service
378             */
379            public DLContentLocalService getDLContentLocalService() {
380                    return dlContentLocalService;
381            }
382    
383            /**
384             * Sets the document library content local service.
385             *
386             * @param dlContentLocalService the document library content local service
387             */
388            public void setDLContentLocalService(
389                    DLContentLocalService dlContentLocalService) {
390                    this.dlContentLocalService = dlContentLocalService;
391            }
392    
393            /**
394             * Returns the document library content persistence.
395             *
396             * @return the document library content persistence
397             */
398            public DLContentPersistence getDLContentPersistence() {
399                    return dlContentPersistence;
400            }
401    
402            /**
403             * Sets the document library content persistence.
404             *
405             * @param dlContentPersistence the document library content persistence
406             */
407            public void setDLContentPersistence(
408                    DLContentPersistence dlContentPersistence) {
409                    this.dlContentPersistence = dlContentPersistence;
410            }
411    
412            /**
413             * Returns the document library file entry local service.
414             *
415             * @return the document library file entry local service
416             */
417            public DLFileEntryLocalService getDLFileEntryLocalService() {
418                    return dlFileEntryLocalService;
419            }
420    
421            /**
422             * Sets the document library file entry local service.
423             *
424             * @param dlFileEntryLocalService the document library file entry local service
425             */
426            public void setDLFileEntryLocalService(
427                    DLFileEntryLocalService dlFileEntryLocalService) {
428                    this.dlFileEntryLocalService = dlFileEntryLocalService;
429            }
430    
431            /**
432             * Returns the document library file entry remote service.
433             *
434             * @return the document library file entry remote service
435             */
436            public DLFileEntryService getDLFileEntryService() {
437                    return dlFileEntryService;
438            }
439    
440            /**
441             * Sets the document library file entry remote service.
442             *
443             * @param dlFileEntryService the document library file entry remote service
444             */
445            public void setDLFileEntryService(DLFileEntryService dlFileEntryService) {
446                    this.dlFileEntryService = dlFileEntryService;
447            }
448    
449            /**
450             * Returns the document library file entry persistence.
451             *
452             * @return the document library file entry persistence
453             */
454            public DLFileEntryPersistence getDLFileEntryPersistence() {
455                    return dlFileEntryPersistence;
456            }
457    
458            /**
459             * Sets the document library file entry persistence.
460             *
461             * @param dlFileEntryPersistence the document library file entry persistence
462             */
463            public void setDLFileEntryPersistence(
464                    DLFileEntryPersistence dlFileEntryPersistence) {
465                    this.dlFileEntryPersistence = dlFileEntryPersistence;
466            }
467    
468            /**
469             * Returns the document library file entry finder.
470             *
471             * @return the document library file entry finder
472             */
473            public DLFileEntryFinder getDLFileEntryFinder() {
474                    return dlFileEntryFinder;
475            }
476    
477            /**
478             * Sets the document library file entry finder.
479             *
480             * @param dlFileEntryFinder the document library file entry finder
481             */
482            public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
483                    this.dlFileEntryFinder = dlFileEntryFinder;
484            }
485    
486            /**
487             * Returns the document library file entry metadata local service.
488             *
489             * @return the document library file entry metadata local service
490             */
491            public DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
492                    return dlFileEntryMetadataLocalService;
493            }
494    
495            /**
496             * Sets the document library file entry metadata local service.
497             *
498             * @param dlFileEntryMetadataLocalService the document library file entry metadata local service
499             */
500            public void setDLFileEntryMetadataLocalService(
501                    DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
502                    this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
503            }
504    
505            /**
506             * Returns the document library file entry metadata persistence.
507             *
508             * @return the document library file entry metadata persistence
509             */
510            public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
511                    return dlFileEntryMetadataPersistence;
512            }
513    
514            /**
515             * Sets the document library file entry metadata persistence.
516             *
517             * @param dlFileEntryMetadataPersistence the document library file entry metadata persistence
518             */
519            public void setDLFileEntryMetadataPersistence(
520                    DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
521                    this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
522            }
523    
524            /**
525             * Returns the document library file entry type local service.
526             *
527             * @return the document library file entry type local service
528             */
529            public DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
530                    return dlFileEntryTypeLocalService;
531            }
532    
533            /**
534             * Sets the document library file entry type local service.
535             *
536             * @param dlFileEntryTypeLocalService the document library file entry type local service
537             */
538            public void setDLFileEntryTypeLocalService(
539                    DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
540                    this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
541            }
542    
543            /**
544             * Returns the document library file entry type remote service.
545             *
546             * @return the document library file entry type remote service
547             */
548            public DLFileEntryTypeService getDLFileEntryTypeService() {
549                    return dlFileEntryTypeService;
550            }
551    
552            /**
553             * Sets the document library file entry type remote service.
554             *
555             * @param dlFileEntryTypeService the document library file entry type remote service
556             */
557            public void setDLFileEntryTypeService(
558                    DLFileEntryTypeService dlFileEntryTypeService) {
559                    this.dlFileEntryTypeService = dlFileEntryTypeService;
560            }
561    
562            /**
563             * Returns the document library file entry type persistence.
564             *
565             * @return the document library file entry type persistence
566             */
567            public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
568                    return dlFileEntryTypePersistence;
569            }
570    
571            /**
572             * Sets the document library file entry type persistence.
573             *
574             * @param dlFileEntryTypePersistence the document library file entry type persistence
575             */
576            public void setDLFileEntryTypePersistence(
577                    DLFileEntryTypePersistence dlFileEntryTypePersistence) {
578                    this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
579            }
580    
581            /**
582             * Returns the document library file entry type finder.
583             *
584             * @return the document library file entry type finder
585             */
586            public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
587                    return dlFileEntryTypeFinder;
588            }
589    
590            /**
591             * Sets the document library file entry type finder.
592             *
593             * @param dlFileEntryTypeFinder the document library file entry type finder
594             */
595            public void setDLFileEntryTypeFinder(
596                    DLFileEntryTypeFinder dlFileEntryTypeFinder) {
597                    this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
598            }
599    
600            /**
601             * Returns the document library file rank local service.
602             *
603             * @return the document library file rank local service
604             */
605            public DLFileRankLocalService getDLFileRankLocalService() {
606                    return dlFileRankLocalService;
607            }
608    
609            /**
610             * Sets the document library file rank local service.
611             *
612             * @param dlFileRankLocalService the document library file rank local service
613             */
614            public void setDLFileRankLocalService(
615                    DLFileRankLocalService dlFileRankLocalService) {
616                    this.dlFileRankLocalService = dlFileRankLocalService;
617            }
618    
619            /**
620             * Returns the document library file rank persistence.
621             *
622             * @return the document library file rank persistence
623             */
624            public DLFileRankPersistence getDLFileRankPersistence() {
625                    return dlFileRankPersistence;
626            }
627    
628            /**
629             * Sets the document library file rank persistence.
630             *
631             * @param dlFileRankPersistence the document library file rank persistence
632             */
633            public void setDLFileRankPersistence(
634                    DLFileRankPersistence dlFileRankPersistence) {
635                    this.dlFileRankPersistence = dlFileRankPersistence;
636            }
637    
638            /**
639             * Returns the document library file rank finder.
640             *
641             * @return the document library file rank finder
642             */
643            public DLFileRankFinder getDLFileRankFinder() {
644                    return dlFileRankFinder;
645            }
646    
647            /**
648             * Sets the document library file rank finder.
649             *
650             * @param dlFileRankFinder the document library file rank finder
651             */
652            public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
653                    this.dlFileRankFinder = dlFileRankFinder;
654            }
655    
656            /**
657             * Returns the document library file shortcut local service.
658             *
659             * @return the document library file shortcut local service
660             */
661            public DLFileShortcutLocalService getDLFileShortcutLocalService() {
662                    return dlFileShortcutLocalService;
663            }
664    
665            /**
666             * Sets the document library file shortcut local service.
667             *
668             * @param dlFileShortcutLocalService the document library file shortcut local service
669             */
670            public void setDLFileShortcutLocalService(
671                    DLFileShortcutLocalService dlFileShortcutLocalService) {
672                    this.dlFileShortcutLocalService = dlFileShortcutLocalService;
673            }
674    
675            /**
676             * Returns the document library file shortcut remote service.
677             *
678             * @return the document library file shortcut remote service
679             */
680            public DLFileShortcutService getDLFileShortcutService() {
681                    return dlFileShortcutService;
682            }
683    
684            /**
685             * Sets the document library file shortcut remote service.
686             *
687             * @param dlFileShortcutService the document library file shortcut remote service
688             */
689            public void setDLFileShortcutService(
690                    DLFileShortcutService dlFileShortcutService) {
691                    this.dlFileShortcutService = dlFileShortcutService;
692            }
693    
694            /**
695             * Returns the document library file shortcut persistence.
696             *
697             * @return the document library file shortcut persistence
698             */
699            public DLFileShortcutPersistence getDLFileShortcutPersistence() {
700                    return dlFileShortcutPersistence;
701            }
702    
703            /**
704             * Sets the document library file shortcut persistence.
705             *
706             * @param dlFileShortcutPersistence the document library file shortcut persistence
707             */
708            public void setDLFileShortcutPersistence(
709                    DLFileShortcutPersistence dlFileShortcutPersistence) {
710                    this.dlFileShortcutPersistence = dlFileShortcutPersistence;
711            }
712    
713            /**
714             * Returns the document library file version local service.
715             *
716             * @return the document library file version local service
717             */
718            public DLFileVersionLocalService getDLFileVersionLocalService() {
719                    return dlFileVersionLocalService;
720            }
721    
722            /**
723             * Sets the document library file version local service.
724             *
725             * @param dlFileVersionLocalService the document library file version local service
726             */
727            public void setDLFileVersionLocalService(
728                    DLFileVersionLocalService dlFileVersionLocalService) {
729                    this.dlFileVersionLocalService = dlFileVersionLocalService;
730            }
731    
732            /**
733             * Returns the document library file version remote service.
734             *
735             * @return the document library file version remote service
736             */
737            public DLFileVersionService getDLFileVersionService() {
738                    return dlFileVersionService;
739            }
740    
741            /**
742             * Sets the document library file version remote service.
743             *
744             * @param dlFileVersionService the document library file version remote service
745             */
746            public void setDLFileVersionService(
747                    DLFileVersionService dlFileVersionService) {
748                    this.dlFileVersionService = dlFileVersionService;
749            }
750    
751            /**
752             * Returns the document library file version persistence.
753             *
754             * @return the document library file version persistence
755             */
756            public DLFileVersionPersistence getDLFileVersionPersistence() {
757                    return dlFileVersionPersistence;
758            }
759    
760            /**
761             * Sets the document library file version persistence.
762             *
763             * @param dlFileVersionPersistence the document library file version persistence
764             */
765            public void setDLFileVersionPersistence(
766                    DLFileVersionPersistence dlFileVersionPersistence) {
767                    this.dlFileVersionPersistence = dlFileVersionPersistence;
768            }
769    
770            /**
771             * Returns the document library folder local service.
772             *
773             * @return the document library folder local service
774             */
775            public DLFolderLocalService getDLFolderLocalService() {
776                    return dlFolderLocalService;
777            }
778    
779            /**
780             * Sets the document library folder local service.
781             *
782             * @param dlFolderLocalService the document library folder local service
783             */
784            public void setDLFolderLocalService(
785                    DLFolderLocalService dlFolderLocalService) {
786                    this.dlFolderLocalService = dlFolderLocalService;
787            }
788    
789            /**
790             * Returns the document library folder remote service.
791             *
792             * @return the document library folder remote service
793             */
794            public DLFolderService getDLFolderService() {
795                    return dlFolderService;
796            }
797    
798            /**
799             * Sets the document library folder remote service.
800             *
801             * @param dlFolderService the document library folder remote service
802             */
803            public void setDLFolderService(DLFolderService dlFolderService) {
804                    this.dlFolderService = dlFolderService;
805            }
806    
807            /**
808             * Returns the document library folder persistence.
809             *
810             * @return the document library folder persistence
811             */
812            public DLFolderPersistence getDLFolderPersistence() {
813                    return dlFolderPersistence;
814            }
815    
816            /**
817             * Sets the document library folder persistence.
818             *
819             * @param dlFolderPersistence the document library folder persistence
820             */
821            public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
822                    this.dlFolderPersistence = dlFolderPersistence;
823            }
824    
825            /**
826             * Returns the document library folder finder.
827             *
828             * @return the document library folder finder
829             */
830            public DLFolderFinder getDLFolderFinder() {
831                    return dlFolderFinder;
832            }
833    
834            /**
835             * Sets the document library folder finder.
836             *
837             * @param dlFolderFinder the document library folder finder
838             */
839            public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
840                    this.dlFolderFinder = dlFolderFinder;
841            }
842    
843            /**
844             * Returns the d l sync local service.
845             *
846             * @return the d l sync local service
847             */
848            public DLSyncLocalService getDLSyncLocalService() {
849                    return dlSyncLocalService;
850            }
851    
852            /**
853             * Sets the d l sync local service.
854             *
855             * @param dlSyncLocalService the d l sync local service
856             */
857            public void setDLSyncLocalService(DLSyncLocalService dlSyncLocalService) {
858                    this.dlSyncLocalService = dlSyncLocalService;
859            }
860    
861            /**
862             * Returns the d l sync remote service.
863             *
864             * @return the d l sync remote service
865             */
866            public DLSyncService getDLSyncService() {
867                    return dlSyncService;
868            }
869    
870            /**
871             * Sets the d l sync remote service.
872             *
873             * @param dlSyncService the d l sync remote service
874             */
875            public void setDLSyncService(DLSyncService dlSyncService) {
876                    this.dlSyncService = dlSyncService;
877            }
878    
879            /**
880             * Returns the d l sync persistence.
881             *
882             * @return the d l sync persistence
883             */
884            public DLSyncPersistence getDLSyncPersistence() {
885                    return dlSyncPersistence;
886            }
887    
888            /**
889             * Sets the d l sync persistence.
890             *
891             * @param dlSyncPersistence the d l sync persistence
892             */
893            public void setDLSyncPersistence(DLSyncPersistence dlSyncPersistence) {
894                    this.dlSyncPersistence = dlSyncPersistence;
895            }
896    
897            /**
898             * Returns the d l sync finder.
899             *
900             * @return the d l sync finder
901             */
902            public DLSyncFinder getDLSyncFinder() {
903                    return dlSyncFinder;
904            }
905    
906            /**
907             * Sets the d l sync finder.
908             *
909             * @param dlSyncFinder the d l sync finder
910             */
911            public void setDLSyncFinder(DLSyncFinder dlSyncFinder) {
912                    this.dlSyncFinder = dlSyncFinder;
913            }
914    
915            /**
916             * Returns the counter local service.
917             *
918             * @return the counter local service
919             */
920            public CounterLocalService getCounterLocalService() {
921                    return counterLocalService;
922            }
923    
924            /**
925             * Sets the counter local service.
926             *
927             * @param counterLocalService the counter local service
928             */
929            public void setCounterLocalService(CounterLocalService counterLocalService) {
930                    this.counterLocalService = counterLocalService;
931            }
932    
933            /**
934             * Returns the group local service.
935             *
936             * @return the group local service
937             */
938            public GroupLocalService getGroupLocalService() {
939                    return groupLocalService;
940            }
941    
942            /**
943             * Sets the group local service.
944             *
945             * @param groupLocalService the group local service
946             */
947            public void setGroupLocalService(GroupLocalService groupLocalService) {
948                    this.groupLocalService = groupLocalService;
949            }
950    
951            /**
952             * Returns the group remote service.
953             *
954             * @return the group remote service
955             */
956            public GroupService getGroupService() {
957                    return groupService;
958            }
959    
960            /**
961             * Sets the group remote service.
962             *
963             * @param groupService the group remote service
964             */
965            public void setGroupService(GroupService groupService) {
966                    this.groupService = groupService;
967            }
968    
969            /**
970             * Returns the group persistence.
971             *
972             * @return the group persistence
973             */
974            public GroupPersistence getGroupPersistence() {
975                    return groupPersistence;
976            }
977    
978            /**
979             * Sets the group persistence.
980             *
981             * @param groupPersistence the group persistence
982             */
983            public void setGroupPersistence(GroupPersistence groupPersistence) {
984                    this.groupPersistence = groupPersistence;
985            }
986    
987            /**
988             * Returns the group finder.
989             *
990             * @return the group finder
991             */
992            public GroupFinder getGroupFinder() {
993                    return groupFinder;
994            }
995    
996            /**
997             * Sets the group finder.
998             *
999             * @param groupFinder the group finder
1000             */
1001            public void setGroupFinder(GroupFinder groupFinder) {
1002                    this.groupFinder = groupFinder;
1003            }
1004    
1005            /**
1006             * Returns the lock local service.
1007             *
1008             * @return the lock local service
1009             */
1010            public LockLocalService getLockLocalService() {
1011                    return lockLocalService;
1012            }
1013    
1014            /**
1015             * Sets the lock local service.
1016             *
1017             * @param lockLocalService the lock local service
1018             */
1019            public void setLockLocalService(LockLocalService lockLocalService) {
1020                    this.lockLocalService = lockLocalService;
1021            }
1022    
1023            /**
1024             * Returns the lock persistence.
1025             *
1026             * @return the lock persistence
1027             */
1028            public LockPersistence getLockPersistence() {
1029                    return lockPersistence;
1030            }
1031    
1032            /**
1033             * Sets the lock persistence.
1034             *
1035             * @param lockPersistence the lock persistence
1036             */
1037            public void setLockPersistence(LockPersistence lockPersistence) {
1038                    this.lockPersistence = lockPersistence;
1039            }
1040    
1041            /**
1042             * Returns the lock finder.
1043             *
1044             * @return the lock finder
1045             */
1046            public LockFinder getLockFinder() {
1047                    return lockFinder;
1048            }
1049    
1050            /**
1051             * Sets the lock finder.
1052             *
1053             * @param lockFinder the lock finder
1054             */
1055            public void setLockFinder(LockFinder lockFinder) {
1056                    this.lockFinder = lockFinder;
1057            }
1058    
1059            /**
1060             * Returns the resource local service.
1061             *
1062             * @return the resource local service
1063             */
1064            public ResourceLocalService getResourceLocalService() {
1065                    return resourceLocalService;
1066            }
1067    
1068            /**
1069             * Sets the resource local service.
1070             *
1071             * @param resourceLocalService the resource local service
1072             */
1073            public void setResourceLocalService(
1074                    ResourceLocalService resourceLocalService) {
1075                    this.resourceLocalService = resourceLocalService;
1076            }
1077    
1078            /**
1079             * Returns the user local service.
1080             *
1081             * @return the user local service
1082             */
1083            public UserLocalService getUserLocalService() {
1084                    return userLocalService;
1085            }
1086    
1087            /**
1088             * Sets the user local service.
1089             *
1090             * @param userLocalService the user local service
1091             */
1092            public void setUserLocalService(UserLocalService userLocalService) {
1093                    this.userLocalService = userLocalService;
1094            }
1095    
1096            /**
1097             * Returns the user remote service.
1098             *
1099             * @return the user remote service
1100             */
1101            public UserService getUserService() {
1102                    return userService;
1103            }
1104    
1105            /**
1106             * Sets the user remote service.
1107             *
1108             * @param userService the user remote service
1109             */
1110            public void setUserService(UserService userService) {
1111                    this.userService = userService;
1112            }
1113    
1114            /**
1115             * Returns the user persistence.
1116             *
1117             * @return the user persistence
1118             */
1119            public UserPersistence getUserPersistence() {
1120                    return userPersistence;
1121            }
1122    
1123            /**
1124             * Sets the user persistence.
1125             *
1126             * @param userPersistence the user persistence
1127             */
1128            public void setUserPersistence(UserPersistence userPersistence) {
1129                    this.userPersistence = userPersistence;
1130            }
1131    
1132            /**
1133             * Returns the user finder.
1134             *
1135             * @return the user finder
1136             */
1137            public UserFinder getUserFinder() {
1138                    return userFinder;
1139            }
1140    
1141            /**
1142             * Sets the user finder.
1143             *
1144             * @param userFinder the user finder
1145             */
1146            public void setUserFinder(UserFinder userFinder) {
1147                    this.userFinder = userFinder;
1148            }
1149    
1150            /**
1151             * Returns the web d a v props local service.
1152             *
1153             * @return the web d a v props local service
1154             */
1155            public WebDAVPropsLocalService getWebDAVPropsLocalService() {
1156                    return webDAVPropsLocalService;
1157            }
1158    
1159            /**
1160             * Sets the web d a v props local service.
1161             *
1162             * @param webDAVPropsLocalService the web d a v props local service
1163             */
1164            public void setWebDAVPropsLocalService(
1165                    WebDAVPropsLocalService webDAVPropsLocalService) {
1166                    this.webDAVPropsLocalService = webDAVPropsLocalService;
1167            }
1168    
1169            /**
1170             * Returns the web d a v props persistence.
1171             *
1172             * @return the web d a v props persistence
1173             */
1174            public WebDAVPropsPersistence getWebDAVPropsPersistence() {
1175                    return webDAVPropsPersistence;
1176            }
1177    
1178            /**
1179             * Sets the web d a v props persistence.
1180             *
1181             * @param webDAVPropsPersistence the web d a v props persistence
1182             */
1183            public void setWebDAVPropsPersistence(
1184                    WebDAVPropsPersistence webDAVPropsPersistence) {
1185                    this.webDAVPropsPersistence = webDAVPropsPersistence;
1186            }
1187    
1188            /**
1189             * Returns the workflow definition link local service.
1190             *
1191             * @return the workflow definition link local service
1192             */
1193            public WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService() {
1194                    return workflowDefinitionLinkLocalService;
1195            }
1196    
1197            /**
1198             * Sets the workflow definition link local service.
1199             *
1200             * @param workflowDefinitionLinkLocalService the workflow definition link local service
1201             */
1202            public void setWorkflowDefinitionLinkLocalService(
1203                    WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
1204                    this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
1205            }
1206    
1207            /**
1208             * Returns the workflow definition link persistence.
1209             *
1210             * @return the workflow definition link persistence
1211             */
1212            public WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence() {
1213                    return workflowDefinitionLinkPersistence;
1214            }
1215    
1216            /**
1217             * Sets the workflow definition link persistence.
1218             *
1219             * @param workflowDefinitionLinkPersistence the workflow definition link persistence
1220             */
1221            public void setWorkflowDefinitionLinkPersistence(
1222                    WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence) {
1223                    this.workflowDefinitionLinkPersistence = workflowDefinitionLinkPersistence;
1224            }
1225    
1226            /**
1227             * Returns the workflow instance link local service.
1228             *
1229             * @return the workflow instance link local service
1230             */
1231            public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1232                    return workflowInstanceLinkLocalService;
1233            }
1234    
1235            /**
1236             * Sets the workflow instance link local service.
1237             *
1238             * @param workflowInstanceLinkLocalService the workflow instance link local service
1239             */
1240            public void setWorkflowInstanceLinkLocalService(
1241                    WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1242                    this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1243            }
1244    
1245            /**
1246             * Returns the workflow instance link persistence.
1247             *
1248             * @return the workflow instance link persistence
1249             */
1250            public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1251                    return workflowInstanceLinkPersistence;
1252            }
1253    
1254            /**
1255             * Sets the workflow instance link persistence.
1256             *
1257             * @param workflowInstanceLinkPersistence the workflow instance link persistence
1258             */
1259            public void setWorkflowInstanceLinkPersistence(
1260                    WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1261                    this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1262            }
1263    
1264            /**
1265             * Returns the asset entry local service.
1266             *
1267             * @return the asset entry local service
1268             */
1269            public AssetEntryLocalService getAssetEntryLocalService() {
1270                    return assetEntryLocalService;
1271            }
1272    
1273            /**
1274             * Sets the asset entry local service.
1275             *
1276             * @param assetEntryLocalService the asset entry local service
1277             */
1278            public void setAssetEntryLocalService(
1279                    AssetEntryLocalService assetEntryLocalService) {
1280                    this.assetEntryLocalService = assetEntryLocalService;
1281            }
1282    
1283            /**
1284             * Returns the asset entry remote service.
1285             *
1286             * @return the asset entry remote service
1287             */
1288            public AssetEntryService getAssetEntryService() {
1289                    return assetEntryService;
1290            }
1291    
1292            /**
1293             * Sets the asset entry remote service.
1294             *
1295             * @param assetEntryService the asset entry remote service
1296             */
1297            public void setAssetEntryService(AssetEntryService assetEntryService) {
1298                    this.assetEntryService = assetEntryService;
1299            }
1300    
1301            /**
1302             * Returns the asset entry persistence.
1303             *
1304             * @return the asset entry persistence
1305             */
1306            public AssetEntryPersistence getAssetEntryPersistence() {
1307                    return assetEntryPersistence;
1308            }
1309    
1310            /**
1311             * Sets the asset entry persistence.
1312             *
1313             * @param assetEntryPersistence the asset entry persistence
1314             */
1315            public void setAssetEntryPersistence(
1316                    AssetEntryPersistence assetEntryPersistence) {
1317                    this.assetEntryPersistence = assetEntryPersistence;
1318            }
1319    
1320            /**
1321             * Returns the asset entry finder.
1322             *
1323             * @return the asset entry finder
1324             */
1325            public AssetEntryFinder getAssetEntryFinder() {
1326                    return assetEntryFinder;
1327            }
1328    
1329            /**
1330             * Sets the asset entry finder.
1331             *
1332             * @param assetEntryFinder the asset entry finder
1333             */
1334            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1335                    this.assetEntryFinder = assetEntryFinder;
1336            }
1337    
1338            /**
1339             * Returns the expando value local service.
1340             *
1341             * @return the expando value local service
1342             */
1343            public ExpandoValueLocalService getExpandoValueLocalService() {
1344                    return expandoValueLocalService;
1345            }
1346    
1347            /**
1348             * Sets the expando value local service.
1349             *
1350             * @param expandoValueLocalService the expando value local service
1351             */
1352            public void setExpandoValueLocalService(
1353                    ExpandoValueLocalService expandoValueLocalService) {
1354                    this.expandoValueLocalService = expandoValueLocalService;
1355            }
1356    
1357            /**
1358             * Returns the expando value remote service.
1359             *
1360             * @return the expando value remote service
1361             */
1362            public ExpandoValueService getExpandoValueService() {
1363                    return expandoValueService;
1364            }
1365    
1366            /**
1367             * Sets the expando value remote service.
1368             *
1369             * @param expandoValueService the expando value remote service
1370             */
1371            public void setExpandoValueService(ExpandoValueService expandoValueService) {
1372                    this.expandoValueService = expandoValueService;
1373            }
1374    
1375            /**
1376             * Returns the expando value persistence.
1377             *
1378             * @return the expando value persistence
1379             */
1380            public ExpandoValuePersistence getExpandoValuePersistence() {
1381                    return expandoValuePersistence;
1382            }
1383    
1384            /**
1385             * Sets the expando value persistence.
1386             *
1387             * @param expandoValuePersistence the expando value persistence
1388             */
1389            public void setExpandoValuePersistence(
1390                    ExpandoValuePersistence expandoValuePersistence) {
1391                    this.expandoValuePersistence = expandoValuePersistence;
1392            }
1393    
1394            /**
1395             * Returns the trash entry local service.
1396             *
1397             * @return the trash entry local service
1398             */
1399            public TrashEntryLocalService getTrashEntryLocalService() {
1400                    return trashEntryLocalService;
1401            }
1402    
1403            /**
1404             * Sets the trash entry local service.
1405             *
1406             * @param trashEntryLocalService the trash entry local service
1407             */
1408            public void setTrashEntryLocalService(
1409                    TrashEntryLocalService trashEntryLocalService) {
1410                    this.trashEntryLocalService = trashEntryLocalService;
1411            }
1412    
1413            /**
1414             * Returns the trash entry remote service.
1415             *
1416             * @return the trash entry remote service
1417             */
1418            public TrashEntryService getTrashEntryService() {
1419                    return trashEntryService;
1420            }
1421    
1422            /**
1423             * Sets the trash entry remote service.
1424             *
1425             * @param trashEntryService the trash entry remote service
1426             */
1427            public void setTrashEntryService(TrashEntryService trashEntryService) {
1428                    this.trashEntryService = trashEntryService;
1429            }
1430    
1431            /**
1432             * Returns the trash entry persistence.
1433             *
1434             * @return the trash entry persistence
1435             */
1436            public TrashEntryPersistence getTrashEntryPersistence() {
1437                    return trashEntryPersistence;
1438            }
1439    
1440            /**
1441             * Sets the trash entry persistence.
1442             *
1443             * @param trashEntryPersistence the trash entry persistence
1444             */
1445            public void setTrashEntryPersistence(
1446                    TrashEntryPersistence trashEntryPersistence) {
1447                    this.trashEntryPersistence = trashEntryPersistence;
1448            }
1449    
1450            public void afterPropertiesSet() {
1451                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFolder",
1452                            dlFolderLocalService);
1453            }
1454    
1455            public void destroy() {
1456                    persistedModelLocalServiceRegistry.unregister(
1457                            "com.liferay.portlet.documentlibrary.model.DLFolder");
1458            }
1459    
1460            /**
1461             * Returns the Spring bean ID for this bean.
1462             *
1463             * @return the Spring bean ID for this bean
1464             */
1465            public String getBeanIdentifier() {
1466                    return _beanIdentifier;
1467            }
1468    
1469            /**
1470             * Sets the Spring bean ID for this bean.
1471             *
1472             * @param beanIdentifier the Spring bean ID for this bean
1473             */
1474            public void setBeanIdentifier(String beanIdentifier) {
1475                    _beanIdentifier = beanIdentifier;
1476            }
1477    
1478            protected Class<?> getModelClass() {
1479                    return DLFolder.class;
1480            }
1481    
1482            protected String getModelClassName() {
1483                    return DLFolder.class.getName();
1484            }
1485    
1486            /**
1487             * Performs an SQL query.
1488             *
1489             * @param sql the sql query
1490             */
1491            protected void runSQL(String sql) throws SystemException {
1492                    try {
1493                            DataSource dataSource = dlFolderPersistence.getDataSource();
1494    
1495                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1496                                            sql, new int[0]);
1497    
1498                            sqlUpdate.update();
1499                    }
1500                    catch (Exception e) {
1501                            throw new SystemException(e);
1502                    }
1503            }
1504    
1505            @BeanReference(type = DLAppLocalService.class)
1506            protected DLAppLocalService dlAppLocalService;
1507            @BeanReference(type = DLAppService.class)
1508            protected DLAppService dlAppService;
1509            @BeanReference(type = DLAppHelperLocalService.class)
1510            protected DLAppHelperLocalService dlAppHelperLocalService;
1511            @BeanReference(type = DLContentLocalService.class)
1512            protected DLContentLocalService dlContentLocalService;
1513            @BeanReference(type = DLContentPersistence.class)
1514            protected DLContentPersistence dlContentPersistence;
1515            @BeanReference(type = DLFileEntryLocalService.class)
1516            protected DLFileEntryLocalService dlFileEntryLocalService;
1517            @BeanReference(type = DLFileEntryService.class)
1518            protected DLFileEntryService dlFileEntryService;
1519            @BeanReference(type = DLFileEntryPersistence.class)
1520            protected DLFileEntryPersistence dlFileEntryPersistence;
1521            @BeanReference(type = DLFileEntryFinder.class)
1522            protected DLFileEntryFinder dlFileEntryFinder;
1523            @BeanReference(type = DLFileEntryMetadataLocalService.class)
1524            protected DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1525            @BeanReference(type = DLFileEntryMetadataPersistence.class)
1526            protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1527            @BeanReference(type = DLFileEntryTypeLocalService.class)
1528            protected DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1529            @BeanReference(type = DLFileEntryTypeService.class)
1530            protected DLFileEntryTypeService dlFileEntryTypeService;
1531            @BeanReference(type = DLFileEntryTypePersistence.class)
1532            protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1533            @BeanReference(type = DLFileEntryTypeFinder.class)
1534            protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1535            @BeanReference(type = DLFileRankLocalService.class)
1536            protected DLFileRankLocalService dlFileRankLocalService;
1537            @BeanReference(type = DLFileRankPersistence.class)
1538            protected DLFileRankPersistence dlFileRankPersistence;
1539            @BeanReference(type = DLFileRankFinder.class)
1540            protected DLFileRankFinder dlFileRankFinder;
1541            @BeanReference(type = DLFileShortcutLocalService.class)
1542            protected DLFileShortcutLocalService dlFileShortcutLocalService;
1543            @BeanReference(type = DLFileShortcutService.class)
1544            protected DLFileShortcutService dlFileShortcutService;
1545            @BeanReference(type = DLFileShortcutPersistence.class)
1546            protected DLFileShortcutPersistence dlFileShortcutPersistence;
1547            @BeanReference(type = DLFileVersionLocalService.class)
1548            protected DLFileVersionLocalService dlFileVersionLocalService;
1549            @BeanReference(type = DLFileVersionService.class)
1550            protected DLFileVersionService dlFileVersionService;
1551            @BeanReference(type = DLFileVersionPersistence.class)
1552            protected DLFileVersionPersistence dlFileVersionPersistence;
1553            @BeanReference(type = DLFolderLocalService.class)
1554            protected DLFolderLocalService dlFolderLocalService;
1555            @BeanReference(type = DLFolderService.class)
1556            protected DLFolderService dlFolderService;
1557            @BeanReference(type = DLFolderPersistence.class)
1558            protected DLFolderPersistence dlFolderPersistence;
1559            @BeanReference(type = DLFolderFinder.class)
1560            protected DLFolderFinder dlFolderFinder;
1561            @BeanReference(type = DLSyncLocalService.class)
1562            protected DLSyncLocalService dlSyncLocalService;
1563            @BeanReference(type = DLSyncService.class)
1564            protected DLSyncService dlSyncService;
1565            @BeanReference(type = DLSyncPersistence.class)
1566            protected DLSyncPersistence dlSyncPersistence;
1567            @BeanReference(type = DLSyncFinder.class)
1568            protected DLSyncFinder dlSyncFinder;
1569            @BeanReference(type = CounterLocalService.class)
1570            protected CounterLocalService counterLocalService;
1571            @BeanReference(type = GroupLocalService.class)
1572            protected GroupLocalService groupLocalService;
1573            @BeanReference(type = GroupService.class)
1574            protected GroupService groupService;
1575            @BeanReference(type = GroupPersistence.class)
1576            protected GroupPersistence groupPersistence;
1577            @BeanReference(type = GroupFinder.class)
1578            protected GroupFinder groupFinder;
1579            @BeanReference(type = LockLocalService.class)
1580            protected LockLocalService lockLocalService;
1581            @BeanReference(type = LockPersistence.class)
1582            protected LockPersistence lockPersistence;
1583            @BeanReference(type = LockFinder.class)
1584            protected LockFinder lockFinder;
1585            @BeanReference(type = ResourceLocalService.class)
1586            protected ResourceLocalService resourceLocalService;
1587            @BeanReference(type = UserLocalService.class)
1588            protected UserLocalService userLocalService;
1589            @BeanReference(type = UserService.class)
1590            protected UserService userService;
1591            @BeanReference(type = UserPersistence.class)
1592            protected UserPersistence userPersistence;
1593            @BeanReference(type = UserFinder.class)
1594            protected UserFinder userFinder;
1595            @BeanReference(type = WebDAVPropsLocalService.class)
1596            protected WebDAVPropsLocalService webDAVPropsLocalService;
1597            @BeanReference(type = WebDAVPropsPersistence.class)
1598            protected WebDAVPropsPersistence webDAVPropsPersistence;
1599            @BeanReference(type = WorkflowDefinitionLinkLocalService.class)
1600            protected WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService;
1601            @BeanReference(type = WorkflowDefinitionLinkPersistence.class)
1602            protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence;
1603            @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1604            protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1605            @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1606            protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1607            @BeanReference(type = AssetEntryLocalService.class)
1608            protected AssetEntryLocalService assetEntryLocalService;
1609            @BeanReference(type = AssetEntryService.class)
1610            protected AssetEntryService assetEntryService;
1611            @BeanReference(type = AssetEntryPersistence.class)
1612            protected AssetEntryPersistence assetEntryPersistence;
1613            @BeanReference(type = AssetEntryFinder.class)
1614            protected AssetEntryFinder assetEntryFinder;
1615            @BeanReference(type = ExpandoValueLocalService.class)
1616            protected ExpandoValueLocalService expandoValueLocalService;
1617            @BeanReference(type = ExpandoValueService.class)
1618            protected ExpandoValueService expandoValueService;
1619            @BeanReference(type = ExpandoValuePersistence.class)
1620            protected ExpandoValuePersistence expandoValuePersistence;
1621            @BeanReference(type = TrashEntryLocalService.class)
1622            protected TrashEntryLocalService trashEntryLocalService;
1623            @BeanReference(type = TrashEntryService.class)
1624            protected TrashEntryService trashEntryService;
1625            @BeanReference(type = TrashEntryPersistence.class)
1626            protected TrashEntryPersistence trashEntryPersistence;
1627            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1628            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1629            private String _beanIdentifier;
1630    }