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