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