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