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