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