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