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.exception.SystemException;
024    import com.liferay.portal.service.GroupLocalService;
025    import com.liferay.portal.service.GroupService;
026    import com.liferay.portal.service.LockLocalService;
027    import com.liferay.portal.service.ResourceLocalService;
028    import com.liferay.portal.service.ResourceService;
029    import com.liferay.portal.service.UserLocalService;
030    import com.liferay.portal.service.UserService;
031    import com.liferay.portal.service.WebDAVPropsLocalService;
032    import com.liferay.portal.service.WorkflowDefinitionLinkLocalService;
033    import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
034    import com.liferay.portal.service.base.PrincipalBean;
035    import com.liferay.portal.service.persistence.GroupFinder;
036    import com.liferay.portal.service.persistence.GroupPersistence;
037    import com.liferay.portal.service.persistence.LockFinder;
038    import com.liferay.portal.service.persistence.LockPersistence;
039    import com.liferay.portal.service.persistence.ResourceFinder;
040    import com.liferay.portal.service.persistence.ResourcePersistence;
041    import com.liferay.portal.service.persistence.UserFinder;
042    import com.liferay.portal.service.persistence.UserPersistence;
043    import com.liferay.portal.service.persistence.WebDAVPropsPersistence;
044    import com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence;
045    import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
046    
047    import com.liferay.portlet.documentlibrary.model.DLFolder;
048    import com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService;
049    import com.liferay.portlet.documentlibrary.service.DLAppLocalService;
050    import com.liferay.portlet.documentlibrary.service.DLAppService;
051    import com.liferay.portlet.documentlibrary.service.DLContentLocalService;
052    import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
053    import com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService;
054    import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
055    import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService;
056    import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService;
057    import com.liferay.portlet.documentlibrary.service.DLFileRankLocalService;
058    import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService;
059    import com.liferay.portlet.documentlibrary.service.DLFileShortcutService;
060    import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService;
061    import com.liferay.portlet.documentlibrary.service.DLFileVersionService;
062    import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
063    import com.liferay.portlet.documentlibrary.service.DLFolderService;
064    import com.liferay.portlet.documentlibrary.service.DLSyncLocalService;
065    import com.liferay.portlet.documentlibrary.service.DLSyncService;
066    import com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence;
067    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
068    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
069    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
070    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
071    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
072    import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
073    import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
074    import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
075    import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
076    import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
077    import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
078    import com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistence;
079    import com.liferay.portlet.expando.service.ExpandoValueLocalService;
080    import com.liferay.portlet.expando.service.ExpandoValueService;
081    import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
082    
083    import javax.sql.DataSource;
084    
085    /**
086     * The base implementation of the document library folder remote service.
087     *
088     * <p>
089     * 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.DLFolderServiceImpl}.
090     * </p>
091     *
092     * @author Brian Wing Shun Chan
093     * @see com.liferay.portlet.documentlibrary.service.impl.DLFolderServiceImpl
094     * @see com.liferay.portlet.documentlibrary.service.DLFolderServiceUtil
095     * @generated
096     */
097    public abstract class DLFolderServiceBaseImpl extends PrincipalBean
098            implements DLFolderService, IdentifiableBean {
099            /*
100             * NOTE FOR DEVELOPERS:
101             *
102             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.documentlibrary.service.DLFolderServiceUtil} to access the document library folder remote service.
103             */
104    
105            /**
106             * Returns the d l app local service.
107             *
108             * @return the d l app local service
109             */
110            public DLAppLocalService getDLAppLocalService() {
111                    return dlAppLocalService;
112            }
113    
114            /**
115             * Sets the d l app local service.
116             *
117             * @param dlAppLocalService the d l app local service
118             */
119            public void setDLAppLocalService(DLAppLocalService dlAppLocalService) {
120                    this.dlAppLocalService = dlAppLocalService;
121            }
122    
123            /**
124             * Returns the d l app remote service.
125             *
126             * @return the d l app remote service
127             */
128            public DLAppService getDLAppService() {
129                    return dlAppService;
130            }
131    
132            /**
133             * Sets the d l app remote service.
134             *
135             * @param dlAppService the d l app remote service
136             */
137            public void setDLAppService(DLAppService dlAppService) {
138                    this.dlAppService = dlAppService;
139            }
140    
141            /**
142             * Returns the d l app helper local service.
143             *
144             * @return the d l app helper local service
145             */
146            public DLAppHelperLocalService getDLAppHelperLocalService() {
147                    return dlAppHelperLocalService;
148            }
149    
150            /**
151             * Sets the d l app helper local service.
152             *
153             * @param dlAppHelperLocalService the d l app helper local service
154             */
155            public void setDLAppHelperLocalService(
156                    DLAppHelperLocalService dlAppHelperLocalService) {
157                    this.dlAppHelperLocalService = dlAppHelperLocalService;
158            }
159    
160            /**
161             * Returns the document library content local service.
162             *
163             * @return the document library content local service
164             */
165            public DLContentLocalService getDLContentLocalService() {
166                    return dlContentLocalService;
167            }
168    
169            /**
170             * Sets the document library content local service.
171             *
172             * @param dlContentLocalService the document library content local service
173             */
174            public void setDLContentLocalService(
175                    DLContentLocalService dlContentLocalService) {
176                    this.dlContentLocalService = dlContentLocalService;
177            }
178    
179            /**
180             * Returns the document library content persistence.
181             *
182             * @return the document library content persistence
183             */
184            public DLContentPersistence getDLContentPersistence() {
185                    return dlContentPersistence;
186            }
187    
188            /**
189             * Sets the document library content persistence.
190             *
191             * @param dlContentPersistence the document library content persistence
192             */
193            public void setDLContentPersistence(
194                    DLContentPersistence dlContentPersistence) {
195                    this.dlContentPersistence = dlContentPersistence;
196            }
197    
198            /**
199             * Returns the document library file entry local service.
200             *
201             * @return the document library file entry local service
202             */
203            public DLFileEntryLocalService getDLFileEntryLocalService() {
204                    return dlFileEntryLocalService;
205            }
206    
207            /**
208             * Sets the document library file entry local service.
209             *
210             * @param dlFileEntryLocalService the document library file entry local service
211             */
212            public void setDLFileEntryLocalService(
213                    DLFileEntryLocalService dlFileEntryLocalService) {
214                    this.dlFileEntryLocalService = dlFileEntryLocalService;
215            }
216    
217            /**
218             * Returns the document library file entry remote service.
219             *
220             * @return the document library file entry remote service
221             */
222            public DLFileEntryService getDLFileEntryService() {
223                    return dlFileEntryService;
224            }
225    
226            /**
227             * Sets the document library file entry remote service.
228             *
229             * @param dlFileEntryService the document library file entry remote service
230             */
231            public void setDLFileEntryService(DLFileEntryService dlFileEntryService) {
232                    this.dlFileEntryService = dlFileEntryService;
233            }
234    
235            /**
236             * Returns the document library file entry persistence.
237             *
238             * @return the document library file entry persistence
239             */
240            public DLFileEntryPersistence getDLFileEntryPersistence() {
241                    return dlFileEntryPersistence;
242            }
243    
244            /**
245             * Sets the document library file entry persistence.
246             *
247             * @param dlFileEntryPersistence the document library file entry persistence
248             */
249            public void setDLFileEntryPersistence(
250                    DLFileEntryPersistence dlFileEntryPersistence) {
251                    this.dlFileEntryPersistence = dlFileEntryPersistence;
252            }
253    
254            /**
255             * Returns the document library file entry finder.
256             *
257             * @return the document library file entry finder
258             */
259            public DLFileEntryFinder getDLFileEntryFinder() {
260                    return dlFileEntryFinder;
261            }
262    
263            /**
264             * Sets the document library file entry finder.
265             *
266             * @param dlFileEntryFinder the document library file entry finder
267             */
268            public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
269                    this.dlFileEntryFinder = dlFileEntryFinder;
270            }
271    
272            /**
273             * Returns the document library file entry metadata local service.
274             *
275             * @return the document library file entry metadata local service
276             */
277            public DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
278                    return dlFileEntryMetadataLocalService;
279            }
280    
281            /**
282             * Sets the document library file entry metadata local service.
283             *
284             * @param dlFileEntryMetadataLocalService the document library file entry metadata local service
285             */
286            public void setDLFileEntryMetadataLocalService(
287                    DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
288                    this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
289            }
290    
291            /**
292             * Returns the document library file entry metadata persistence.
293             *
294             * @return the document library file entry metadata persistence
295             */
296            public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
297                    return dlFileEntryMetadataPersistence;
298            }
299    
300            /**
301             * Sets the document library file entry metadata persistence.
302             *
303             * @param dlFileEntryMetadataPersistence the document library file entry metadata persistence
304             */
305            public void setDLFileEntryMetadataPersistence(
306                    DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
307                    this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
308            }
309    
310            /**
311             * Returns the document library file entry type local service.
312             *
313             * @return the document library file entry type local service
314             */
315            public DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
316                    return dlFileEntryTypeLocalService;
317            }
318    
319            /**
320             * Sets the document library file entry type local service.
321             *
322             * @param dlFileEntryTypeLocalService the document library file entry type local service
323             */
324            public void setDLFileEntryTypeLocalService(
325                    DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
326                    this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
327            }
328    
329            /**
330             * Returns the document library file entry type remote service.
331             *
332             * @return the document library file entry type remote service
333             */
334            public DLFileEntryTypeService getDLFileEntryTypeService() {
335                    return dlFileEntryTypeService;
336            }
337    
338            /**
339             * Sets the document library file entry type remote service.
340             *
341             * @param dlFileEntryTypeService the document library file entry type remote service
342             */
343            public void setDLFileEntryTypeService(
344                    DLFileEntryTypeService dlFileEntryTypeService) {
345                    this.dlFileEntryTypeService = dlFileEntryTypeService;
346            }
347    
348            /**
349             * Returns the document library file entry type persistence.
350             *
351             * @return the document library file entry type persistence
352             */
353            public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
354                    return dlFileEntryTypePersistence;
355            }
356    
357            /**
358             * Sets the document library file entry type persistence.
359             *
360             * @param dlFileEntryTypePersistence the document library file entry type persistence
361             */
362            public void setDLFileEntryTypePersistence(
363                    DLFileEntryTypePersistence dlFileEntryTypePersistence) {
364                    this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
365            }
366    
367            /**
368             * Returns the document library file entry type finder.
369             *
370             * @return the document library file entry type finder
371             */
372            public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
373                    return dlFileEntryTypeFinder;
374            }
375    
376            /**
377             * Sets the document library file entry type finder.
378             *
379             * @param dlFileEntryTypeFinder the document library file entry type finder
380             */
381            public void setDLFileEntryTypeFinder(
382                    DLFileEntryTypeFinder dlFileEntryTypeFinder) {
383                    this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
384            }
385    
386            /**
387             * Returns the document library file rank local service.
388             *
389             * @return the document library file rank local service
390             */
391            public DLFileRankLocalService getDLFileRankLocalService() {
392                    return dlFileRankLocalService;
393            }
394    
395            /**
396             * Sets the document library file rank local service.
397             *
398             * @param dlFileRankLocalService the document library file rank local service
399             */
400            public void setDLFileRankLocalService(
401                    DLFileRankLocalService dlFileRankLocalService) {
402                    this.dlFileRankLocalService = dlFileRankLocalService;
403            }
404    
405            /**
406             * Returns the document library file rank persistence.
407             *
408             * @return the document library file rank persistence
409             */
410            public DLFileRankPersistence getDLFileRankPersistence() {
411                    return dlFileRankPersistence;
412            }
413    
414            /**
415             * Sets the document library file rank persistence.
416             *
417             * @param dlFileRankPersistence the document library file rank persistence
418             */
419            public void setDLFileRankPersistence(
420                    DLFileRankPersistence dlFileRankPersistence) {
421                    this.dlFileRankPersistence = dlFileRankPersistence;
422            }
423    
424            /**
425             * Returns the document library file rank finder.
426             *
427             * @return the document library file rank finder
428             */
429            public DLFileRankFinder getDLFileRankFinder() {
430                    return dlFileRankFinder;
431            }
432    
433            /**
434             * Sets the document library file rank finder.
435             *
436             * @param dlFileRankFinder the document library file rank finder
437             */
438            public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
439                    this.dlFileRankFinder = dlFileRankFinder;
440            }
441    
442            /**
443             * Returns the document library file shortcut local service.
444             *
445             * @return the document library file shortcut local service
446             */
447            public DLFileShortcutLocalService getDLFileShortcutLocalService() {
448                    return dlFileShortcutLocalService;
449            }
450    
451            /**
452             * Sets the document library file shortcut local service.
453             *
454             * @param dlFileShortcutLocalService the document library file shortcut local service
455             */
456            public void setDLFileShortcutLocalService(
457                    DLFileShortcutLocalService dlFileShortcutLocalService) {
458                    this.dlFileShortcutLocalService = dlFileShortcutLocalService;
459            }
460    
461            /**
462             * Returns the document library file shortcut remote service.
463             *
464             * @return the document library file shortcut remote service
465             */
466            public DLFileShortcutService getDLFileShortcutService() {
467                    return dlFileShortcutService;
468            }
469    
470            /**
471             * Sets the document library file shortcut remote service.
472             *
473             * @param dlFileShortcutService the document library file shortcut remote service
474             */
475            public void setDLFileShortcutService(
476                    DLFileShortcutService dlFileShortcutService) {
477                    this.dlFileShortcutService = dlFileShortcutService;
478            }
479    
480            /**
481             * Returns the document library file shortcut persistence.
482             *
483             * @return the document library file shortcut persistence
484             */
485            public DLFileShortcutPersistence getDLFileShortcutPersistence() {
486                    return dlFileShortcutPersistence;
487            }
488    
489            /**
490             * Sets the document library file shortcut persistence.
491             *
492             * @param dlFileShortcutPersistence the document library file shortcut persistence
493             */
494            public void setDLFileShortcutPersistence(
495                    DLFileShortcutPersistence dlFileShortcutPersistence) {
496                    this.dlFileShortcutPersistence = dlFileShortcutPersistence;
497            }
498    
499            /**
500             * Returns the document library file version local service.
501             *
502             * @return the document library file version local service
503             */
504            public DLFileVersionLocalService getDLFileVersionLocalService() {
505                    return dlFileVersionLocalService;
506            }
507    
508            /**
509             * Sets the document library file version local service.
510             *
511             * @param dlFileVersionLocalService the document library file version local service
512             */
513            public void setDLFileVersionLocalService(
514                    DLFileVersionLocalService dlFileVersionLocalService) {
515                    this.dlFileVersionLocalService = dlFileVersionLocalService;
516            }
517    
518            /**
519             * Returns the document library file version remote service.
520             *
521             * @return the document library file version remote service
522             */
523            public DLFileVersionService getDLFileVersionService() {
524                    return dlFileVersionService;
525            }
526    
527            /**
528             * Sets the document library file version remote service.
529             *
530             * @param dlFileVersionService the document library file version remote service
531             */
532            public void setDLFileVersionService(
533                    DLFileVersionService dlFileVersionService) {
534                    this.dlFileVersionService = dlFileVersionService;
535            }
536    
537            /**
538             * Returns the document library file version persistence.
539             *
540             * @return the document library file version persistence
541             */
542            public DLFileVersionPersistence getDLFileVersionPersistence() {
543                    return dlFileVersionPersistence;
544            }
545    
546            /**
547             * Sets the document library file version persistence.
548             *
549             * @param dlFileVersionPersistence the document library file version persistence
550             */
551            public void setDLFileVersionPersistence(
552                    DLFileVersionPersistence dlFileVersionPersistence) {
553                    this.dlFileVersionPersistence = dlFileVersionPersistence;
554            }
555    
556            /**
557             * Returns the document library folder local service.
558             *
559             * @return the document library folder local service
560             */
561            public DLFolderLocalService getDLFolderLocalService() {
562                    return dlFolderLocalService;
563            }
564    
565            /**
566             * Sets the document library folder local service.
567             *
568             * @param dlFolderLocalService the document library folder local service
569             */
570            public void setDLFolderLocalService(
571                    DLFolderLocalService dlFolderLocalService) {
572                    this.dlFolderLocalService = dlFolderLocalService;
573            }
574    
575            /**
576             * Returns the document library folder remote service.
577             *
578             * @return the document library folder remote service
579             */
580            public DLFolderService getDLFolderService() {
581                    return dlFolderService;
582            }
583    
584            /**
585             * Sets the document library folder remote service.
586             *
587             * @param dlFolderService the document library folder remote service
588             */
589            public void setDLFolderService(DLFolderService dlFolderService) {
590                    this.dlFolderService = dlFolderService;
591            }
592    
593            /**
594             * Returns the document library folder persistence.
595             *
596             * @return the document library folder persistence
597             */
598            public DLFolderPersistence getDLFolderPersistence() {
599                    return dlFolderPersistence;
600            }
601    
602            /**
603             * Sets the document library folder persistence.
604             *
605             * @param dlFolderPersistence the document library folder persistence
606             */
607            public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
608                    this.dlFolderPersistence = dlFolderPersistence;
609            }
610    
611            /**
612             * Returns the document library folder finder.
613             *
614             * @return the document library folder finder
615             */
616            public DLFolderFinder getDLFolderFinder() {
617                    return dlFolderFinder;
618            }
619    
620            /**
621             * Sets the document library folder finder.
622             *
623             * @param dlFolderFinder the document library folder finder
624             */
625            public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
626                    this.dlFolderFinder = dlFolderFinder;
627            }
628    
629            /**
630             * Returns the d l sync local service.
631             *
632             * @return the d l sync local service
633             */
634            public DLSyncLocalService getDLSyncLocalService() {
635                    return dlSyncLocalService;
636            }
637    
638            /**
639             * Sets the d l sync local service.
640             *
641             * @param dlSyncLocalService the d l sync local service
642             */
643            public void setDLSyncLocalService(DLSyncLocalService dlSyncLocalService) {
644                    this.dlSyncLocalService = dlSyncLocalService;
645            }
646    
647            /**
648             * Returns the d l sync remote service.
649             *
650             * @return the d l sync remote service
651             */
652            public DLSyncService getDLSyncService() {
653                    return dlSyncService;
654            }
655    
656            /**
657             * Sets the d l sync remote service.
658             *
659             * @param dlSyncService the d l sync remote service
660             */
661            public void setDLSyncService(DLSyncService dlSyncService) {
662                    this.dlSyncService = dlSyncService;
663            }
664    
665            /**
666             * Returns the d l sync persistence.
667             *
668             * @return the d l sync persistence
669             */
670            public DLSyncPersistence getDLSyncPersistence() {
671                    return dlSyncPersistence;
672            }
673    
674            /**
675             * Sets the d l sync persistence.
676             *
677             * @param dlSyncPersistence the d l sync persistence
678             */
679            public void setDLSyncPersistence(DLSyncPersistence dlSyncPersistence) {
680                    this.dlSyncPersistence = dlSyncPersistence;
681            }
682    
683            /**
684             * Returns the counter local service.
685             *
686             * @return the counter local service
687             */
688            public CounterLocalService getCounterLocalService() {
689                    return counterLocalService;
690            }
691    
692            /**
693             * Sets the counter local service.
694             *
695             * @param counterLocalService the counter local service
696             */
697            public void setCounterLocalService(CounterLocalService counterLocalService) {
698                    this.counterLocalService = counterLocalService;
699            }
700    
701            /**
702             * Returns the group local service.
703             *
704             * @return the group local service
705             */
706            public GroupLocalService getGroupLocalService() {
707                    return groupLocalService;
708            }
709    
710            /**
711             * Sets the group local service.
712             *
713             * @param groupLocalService the group local service
714             */
715            public void setGroupLocalService(GroupLocalService groupLocalService) {
716                    this.groupLocalService = groupLocalService;
717            }
718    
719            /**
720             * Returns the group remote service.
721             *
722             * @return the group remote service
723             */
724            public GroupService getGroupService() {
725                    return groupService;
726            }
727    
728            /**
729             * Sets the group remote service.
730             *
731             * @param groupService the group remote service
732             */
733            public void setGroupService(GroupService groupService) {
734                    this.groupService = groupService;
735            }
736    
737            /**
738             * Returns the group persistence.
739             *
740             * @return the group persistence
741             */
742            public GroupPersistence getGroupPersistence() {
743                    return groupPersistence;
744            }
745    
746            /**
747             * Sets the group persistence.
748             *
749             * @param groupPersistence the group persistence
750             */
751            public void setGroupPersistence(GroupPersistence groupPersistence) {
752                    this.groupPersistence = groupPersistence;
753            }
754    
755            /**
756             * Returns the group finder.
757             *
758             * @return the group finder
759             */
760            public GroupFinder getGroupFinder() {
761                    return groupFinder;
762            }
763    
764            /**
765             * Sets the group finder.
766             *
767             * @param groupFinder the group finder
768             */
769            public void setGroupFinder(GroupFinder groupFinder) {
770                    this.groupFinder = groupFinder;
771            }
772    
773            /**
774             * Returns the lock local service.
775             *
776             * @return the lock local service
777             */
778            public LockLocalService getLockLocalService() {
779                    return lockLocalService;
780            }
781    
782            /**
783             * Sets the lock local service.
784             *
785             * @param lockLocalService the lock local service
786             */
787            public void setLockLocalService(LockLocalService lockLocalService) {
788                    this.lockLocalService = lockLocalService;
789            }
790    
791            /**
792             * Returns the lock persistence.
793             *
794             * @return the lock persistence
795             */
796            public LockPersistence getLockPersistence() {
797                    return lockPersistence;
798            }
799    
800            /**
801             * Sets the lock persistence.
802             *
803             * @param lockPersistence the lock persistence
804             */
805            public void setLockPersistence(LockPersistence lockPersistence) {
806                    this.lockPersistence = lockPersistence;
807            }
808    
809            /**
810             * Returns the lock finder.
811             *
812             * @return the lock finder
813             */
814            public LockFinder getLockFinder() {
815                    return lockFinder;
816            }
817    
818            /**
819             * Sets the lock finder.
820             *
821             * @param lockFinder the lock finder
822             */
823            public void setLockFinder(LockFinder lockFinder) {
824                    this.lockFinder = lockFinder;
825            }
826    
827            /**
828             * Returns the resource local service.
829             *
830             * @return the resource local service
831             */
832            public ResourceLocalService getResourceLocalService() {
833                    return resourceLocalService;
834            }
835    
836            /**
837             * Sets the resource local service.
838             *
839             * @param resourceLocalService the resource local service
840             */
841            public void setResourceLocalService(
842                    ResourceLocalService resourceLocalService) {
843                    this.resourceLocalService = resourceLocalService;
844            }
845    
846            /**
847             * Returns the resource remote service.
848             *
849             * @return the resource remote service
850             */
851            public ResourceService getResourceService() {
852                    return resourceService;
853            }
854    
855            /**
856             * Sets the resource remote service.
857             *
858             * @param resourceService the resource remote service
859             */
860            public void setResourceService(ResourceService resourceService) {
861                    this.resourceService = resourceService;
862            }
863    
864            /**
865             * Returns the resource persistence.
866             *
867             * @return the resource persistence
868             */
869            public ResourcePersistence getResourcePersistence() {
870                    return resourcePersistence;
871            }
872    
873            /**
874             * Sets the resource persistence.
875             *
876             * @param resourcePersistence the resource persistence
877             */
878            public void setResourcePersistence(ResourcePersistence resourcePersistence) {
879                    this.resourcePersistence = resourcePersistence;
880            }
881    
882            /**
883             * Returns the resource finder.
884             *
885             * @return the resource finder
886             */
887            public ResourceFinder getResourceFinder() {
888                    return resourceFinder;
889            }
890    
891            /**
892             * Sets the resource finder.
893             *
894             * @param resourceFinder the resource finder
895             */
896            public void setResourceFinder(ResourceFinder resourceFinder) {
897                    this.resourceFinder = resourceFinder;
898            }
899    
900            /**
901             * Returns the user local service.
902             *
903             * @return the user local service
904             */
905            public UserLocalService getUserLocalService() {
906                    return userLocalService;
907            }
908    
909            /**
910             * Sets the user local service.
911             *
912             * @param userLocalService the user local service
913             */
914            public void setUserLocalService(UserLocalService userLocalService) {
915                    this.userLocalService = userLocalService;
916            }
917    
918            /**
919             * Returns the user remote service.
920             *
921             * @return the user remote service
922             */
923            public UserService getUserService() {
924                    return userService;
925            }
926    
927            /**
928             * Sets the user remote service.
929             *
930             * @param userService the user remote service
931             */
932            public void setUserService(UserService userService) {
933                    this.userService = userService;
934            }
935    
936            /**
937             * Returns the user persistence.
938             *
939             * @return the user persistence
940             */
941            public UserPersistence getUserPersistence() {
942                    return userPersistence;
943            }
944    
945            /**
946             * Sets the user persistence.
947             *
948             * @param userPersistence the user persistence
949             */
950            public void setUserPersistence(UserPersistence userPersistence) {
951                    this.userPersistence = userPersistence;
952            }
953    
954            /**
955             * Returns the user finder.
956             *
957             * @return the user finder
958             */
959            public UserFinder getUserFinder() {
960                    return userFinder;
961            }
962    
963            /**
964             * Sets the user finder.
965             *
966             * @param userFinder the user finder
967             */
968            public void setUserFinder(UserFinder userFinder) {
969                    this.userFinder = userFinder;
970            }
971    
972            /**
973             * Returns the web d a v props local service.
974             *
975             * @return the web d a v props local service
976             */
977            public WebDAVPropsLocalService getWebDAVPropsLocalService() {
978                    return webDAVPropsLocalService;
979            }
980    
981            /**
982             * Sets the web d a v props local service.
983             *
984             * @param webDAVPropsLocalService the web d a v props local service
985             */
986            public void setWebDAVPropsLocalService(
987                    WebDAVPropsLocalService webDAVPropsLocalService) {
988                    this.webDAVPropsLocalService = webDAVPropsLocalService;
989            }
990    
991            /**
992             * Returns the web d a v props persistence.
993             *
994             * @return the web d a v props persistence
995             */
996            public WebDAVPropsPersistence getWebDAVPropsPersistence() {
997                    return webDAVPropsPersistence;
998            }
999    
1000            /**
1001             * Sets the web d a v props persistence.
1002             *
1003             * @param webDAVPropsPersistence the web d a v props persistence
1004             */
1005            public void setWebDAVPropsPersistence(
1006                    WebDAVPropsPersistence webDAVPropsPersistence) {
1007                    this.webDAVPropsPersistence = webDAVPropsPersistence;
1008            }
1009    
1010            /**
1011             * Returns the workflow definition link local service.
1012             *
1013             * @return the workflow definition link local service
1014             */
1015            public WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService() {
1016                    return workflowDefinitionLinkLocalService;
1017            }
1018    
1019            /**
1020             * Sets the workflow definition link local service.
1021             *
1022             * @param workflowDefinitionLinkLocalService the workflow definition link local service
1023             */
1024            public void setWorkflowDefinitionLinkLocalService(
1025                    WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
1026                    this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
1027            }
1028    
1029            /**
1030             * Returns the workflow definition link persistence.
1031             *
1032             * @return the workflow definition link persistence
1033             */
1034            public WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence() {
1035                    return workflowDefinitionLinkPersistence;
1036            }
1037    
1038            /**
1039             * Sets the workflow definition link persistence.
1040             *
1041             * @param workflowDefinitionLinkPersistence the workflow definition link persistence
1042             */
1043            public void setWorkflowDefinitionLinkPersistence(
1044                    WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence) {
1045                    this.workflowDefinitionLinkPersistence = workflowDefinitionLinkPersistence;
1046            }
1047    
1048            /**
1049             * Returns the workflow instance link local service.
1050             *
1051             * @return the workflow instance link local service
1052             */
1053            public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1054                    return workflowInstanceLinkLocalService;
1055            }
1056    
1057            /**
1058             * Sets the workflow instance link local service.
1059             *
1060             * @param workflowInstanceLinkLocalService the workflow instance link local service
1061             */
1062            public void setWorkflowInstanceLinkLocalService(
1063                    WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1064                    this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1065            }
1066    
1067            /**
1068             * Returns the workflow instance link persistence.
1069             *
1070             * @return the workflow instance link persistence
1071             */
1072            public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1073                    return workflowInstanceLinkPersistence;
1074            }
1075    
1076            /**
1077             * Sets the workflow instance link persistence.
1078             *
1079             * @param workflowInstanceLinkPersistence the workflow instance link persistence
1080             */
1081            public void setWorkflowInstanceLinkPersistence(
1082                    WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1083                    this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1084            }
1085    
1086            /**
1087             * Returns the expando value local service.
1088             *
1089             * @return the expando value local service
1090             */
1091            public ExpandoValueLocalService getExpandoValueLocalService() {
1092                    return expandoValueLocalService;
1093            }
1094    
1095            /**
1096             * Sets the expando value local service.
1097             *
1098             * @param expandoValueLocalService the expando value local service
1099             */
1100            public void setExpandoValueLocalService(
1101                    ExpandoValueLocalService expandoValueLocalService) {
1102                    this.expandoValueLocalService = expandoValueLocalService;
1103            }
1104    
1105            /**
1106             * Returns the expando value remote service.
1107             *
1108             * @return the expando value remote service
1109             */
1110            public ExpandoValueService getExpandoValueService() {
1111                    return expandoValueService;
1112            }
1113    
1114            /**
1115             * Sets the expando value remote service.
1116             *
1117             * @param expandoValueService the expando value remote service
1118             */
1119            public void setExpandoValueService(ExpandoValueService expandoValueService) {
1120                    this.expandoValueService = expandoValueService;
1121            }
1122    
1123            /**
1124             * Returns the expando value persistence.
1125             *
1126             * @return the expando value persistence
1127             */
1128            public ExpandoValuePersistence getExpandoValuePersistence() {
1129                    return expandoValuePersistence;
1130            }
1131    
1132            /**
1133             * Sets the expando value persistence.
1134             *
1135             * @param expandoValuePersistence the expando value persistence
1136             */
1137            public void setExpandoValuePersistence(
1138                    ExpandoValuePersistence expandoValuePersistence) {
1139                    this.expandoValuePersistence = expandoValuePersistence;
1140            }
1141    
1142            public void afterPropertiesSet() {
1143            }
1144    
1145            public void destroy() {
1146            }
1147    
1148            /**
1149             * Returns the Spring bean ID for this bean.
1150             *
1151             * @return the Spring bean ID for this bean
1152             */
1153            public String getBeanIdentifier() {
1154                    return _beanIdentifier;
1155            }
1156    
1157            /**
1158             * Sets the Spring bean ID for this bean.
1159             *
1160             * @param beanIdentifier the Spring bean ID for this bean
1161             */
1162            public void setBeanIdentifier(String beanIdentifier) {
1163                    _beanIdentifier = beanIdentifier;
1164            }
1165    
1166            protected ClassLoader getClassLoader() {
1167                    Class<?> clazz = getClass();
1168    
1169                    return clazz.getClassLoader();
1170            }
1171    
1172            protected Class<?> getModelClass() {
1173                    return DLFolder.class;
1174            }
1175    
1176            protected String getModelClassName() {
1177                    return DLFolder.class.getName();
1178            }
1179    
1180            /**
1181             * Performs an SQL query.
1182             *
1183             * @param sql the sql query
1184             */
1185            protected void runSQL(String sql) throws SystemException {
1186                    try {
1187                            DataSource dataSource = dlFolderPersistence.getDataSource();
1188    
1189                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1190                                            sql, new int[0]);
1191    
1192                            sqlUpdate.update();
1193                    }
1194                    catch (Exception e) {
1195                            throw new SystemException(e);
1196                    }
1197            }
1198    
1199            @BeanReference(type = DLAppLocalService.class)
1200            protected DLAppLocalService dlAppLocalService;
1201            @BeanReference(type = DLAppService.class)
1202            protected DLAppService dlAppService;
1203            @BeanReference(type = DLAppHelperLocalService.class)
1204            protected DLAppHelperLocalService dlAppHelperLocalService;
1205            @BeanReference(type = DLContentLocalService.class)
1206            protected DLContentLocalService dlContentLocalService;
1207            @BeanReference(type = DLContentPersistence.class)
1208            protected DLContentPersistence dlContentPersistence;
1209            @BeanReference(type = DLFileEntryLocalService.class)
1210            protected DLFileEntryLocalService dlFileEntryLocalService;
1211            @BeanReference(type = DLFileEntryService.class)
1212            protected DLFileEntryService dlFileEntryService;
1213            @BeanReference(type = DLFileEntryPersistence.class)
1214            protected DLFileEntryPersistence dlFileEntryPersistence;
1215            @BeanReference(type = DLFileEntryFinder.class)
1216            protected DLFileEntryFinder dlFileEntryFinder;
1217            @BeanReference(type = DLFileEntryMetadataLocalService.class)
1218            protected DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1219            @BeanReference(type = DLFileEntryMetadataPersistence.class)
1220            protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1221            @BeanReference(type = DLFileEntryTypeLocalService.class)
1222            protected DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1223            @BeanReference(type = DLFileEntryTypeService.class)
1224            protected DLFileEntryTypeService dlFileEntryTypeService;
1225            @BeanReference(type = DLFileEntryTypePersistence.class)
1226            protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1227            @BeanReference(type = DLFileEntryTypeFinder.class)
1228            protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1229            @BeanReference(type = DLFileRankLocalService.class)
1230            protected DLFileRankLocalService dlFileRankLocalService;
1231            @BeanReference(type = DLFileRankPersistence.class)
1232            protected DLFileRankPersistence dlFileRankPersistence;
1233            @BeanReference(type = DLFileRankFinder.class)
1234            protected DLFileRankFinder dlFileRankFinder;
1235            @BeanReference(type = DLFileShortcutLocalService.class)
1236            protected DLFileShortcutLocalService dlFileShortcutLocalService;
1237            @BeanReference(type = DLFileShortcutService.class)
1238            protected DLFileShortcutService dlFileShortcutService;
1239            @BeanReference(type = DLFileShortcutPersistence.class)
1240            protected DLFileShortcutPersistence dlFileShortcutPersistence;
1241            @BeanReference(type = DLFileVersionLocalService.class)
1242            protected DLFileVersionLocalService dlFileVersionLocalService;
1243            @BeanReference(type = DLFileVersionService.class)
1244            protected DLFileVersionService dlFileVersionService;
1245            @BeanReference(type = DLFileVersionPersistence.class)
1246            protected DLFileVersionPersistence dlFileVersionPersistence;
1247            @BeanReference(type = DLFolderLocalService.class)
1248            protected DLFolderLocalService dlFolderLocalService;
1249            @BeanReference(type = DLFolderService.class)
1250            protected DLFolderService dlFolderService;
1251            @BeanReference(type = DLFolderPersistence.class)
1252            protected DLFolderPersistence dlFolderPersistence;
1253            @BeanReference(type = DLFolderFinder.class)
1254            protected DLFolderFinder dlFolderFinder;
1255            @BeanReference(type = DLSyncLocalService.class)
1256            protected DLSyncLocalService dlSyncLocalService;
1257            @BeanReference(type = DLSyncService.class)
1258            protected DLSyncService dlSyncService;
1259            @BeanReference(type = DLSyncPersistence.class)
1260            protected DLSyncPersistence dlSyncPersistence;
1261            @BeanReference(type = CounterLocalService.class)
1262            protected CounterLocalService counterLocalService;
1263            @BeanReference(type = GroupLocalService.class)
1264            protected GroupLocalService groupLocalService;
1265            @BeanReference(type = GroupService.class)
1266            protected GroupService groupService;
1267            @BeanReference(type = GroupPersistence.class)
1268            protected GroupPersistence groupPersistence;
1269            @BeanReference(type = GroupFinder.class)
1270            protected GroupFinder groupFinder;
1271            @BeanReference(type = LockLocalService.class)
1272            protected LockLocalService lockLocalService;
1273            @BeanReference(type = LockPersistence.class)
1274            protected LockPersistence lockPersistence;
1275            @BeanReference(type = LockFinder.class)
1276            protected LockFinder lockFinder;
1277            @BeanReference(type = ResourceLocalService.class)
1278            protected ResourceLocalService resourceLocalService;
1279            @BeanReference(type = ResourceService.class)
1280            protected ResourceService resourceService;
1281            @BeanReference(type = ResourcePersistence.class)
1282            protected ResourcePersistence resourcePersistence;
1283            @BeanReference(type = ResourceFinder.class)
1284            protected ResourceFinder resourceFinder;
1285            @BeanReference(type = UserLocalService.class)
1286            protected UserLocalService userLocalService;
1287            @BeanReference(type = UserService.class)
1288            protected UserService userService;
1289            @BeanReference(type = UserPersistence.class)
1290            protected UserPersistence userPersistence;
1291            @BeanReference(type = UserFinder.class)
1292            protected UserFinder userFinder;
1293            @BeanReference(type = WebDAVPropsLocalService.class)
1294            protected WebDAVPropsLocalService webDAVPropsLocalService;
1295            @BeanReference(type = WebDAVPropsPersistence.class)
1296            protected WebDAVPropsPersistence webDAVPropsPersistence;
1297            @BeanReference(type = WorkflowDefinitionLinkLocalService.class)
1298            protected WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService;
1299            @BeanReference(type = WorkflowDefinitionLinkPersistence.class)
1300            protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence;
1301            @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1302            protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1303            @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1304            protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1305            @BeanReference(type = ExpandoValueLocalService.class)
1306            protected ExpandoValueLocalService expandoValueLocalService;
1307            @BeanReference(type = ExpandoValueService.class)
1308            protected ExpandoValueService expandoValueService;
1309            @BeanReference(type = ExpandoValuePersistence.class)
1310            protected ExpandoValuePersistence expandoValuePersistence;
1311            private String _beanIdentifier;
1312    }