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