001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.documentlibrary.service.base;
016    
017    import com.liferay.counter.service.CounterLocalService;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.bean.IdentifiableBean;
021    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
022    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
023    import com.liferay.portal.kernel.exception.SystemException;
024    import com.liferay.portal.kernel.util.InfrastructureUtil;
025    import com.liferay.portal.service.BaseServiceImpl;
026    import com.liferay.portal.service.LockLocalService;
027    import com.liferay.portal.service.RepositoryEntryLocalService;
028    import com.liferay.portal.service.RepositoryLocalService;
029    import com.liferay.portal.service.RepositoryService;
030    import com.liferay.portal.service.ResourceLocalService;
031    import com.liferay.portal.service.ResourceService;
032    import com.liferay.portal.service.UserLocalService;
033    import com.liferay.portal.service.UserService;
034    import com.liferay.portal.service.persistence.LockFinder;
035    import com.liferay.portal.service.persistence.LockPersistence;
036    import com.liferay.portal.service.persistence.RepositoryEntryPersistence;
037    import com.liferay.portal.service.persistence.RepositoryPersistence;
038    import com.liferay.portal.service.persistence.ResourceFinder;
039    import com.liferay.portal.service.persistence.ResourcePersistence;
040    import com.liferay.portal.service.persistence.UserFinder;
041    import com.liferay.portal.service.persistence.UserPersistence;
042    
043    import com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService;
044    import com.liferay.portlet.documentlibrary.service.DLAppLocalService;
045    import com.liferay.portlet.documentlibrary.service.DLAppService;
046    import com.liferay.portlet.documentlibrary.service.DLContentLocalService;
047    import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
048    import com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService;
049    import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
050    import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService;
051    import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService;
052    import com.liferay.portlet.documentlibrary.service.DLFileRankLocalService;
053    import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService;
054    import com.liferay.portlet.documentlibrary.service.DLFileShortcutService;
055    import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService;
056    import com.liferay.portlet.documentlibrary.service.DLFileVersionService;
057    import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
058    import com.liferay.portlet.documentlibrary.service.DLFolderService;
059    import com.liferay.portlet.documentlibrary.service.DLSyncLocalService;
060    import com.liferay.portlet.documentlibrary.service.DLSyncService;
061    import com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence;
062    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
063    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
064    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
065    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
066    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
067    import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
068    import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
069    import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
070    import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
071    import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
072    import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
073    import com.liferay.portlet.documentlibrary.service.persistence.DLSyncFinder;
074    import com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistence;
075    
076    import javax.sql.DataSource;
077    
078    /**
079     * The base implementation of the d l app remote service.
080     *
081     * <p>
082     * 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.DLAppServiceImpl}.
083     * </p>
084     *
085     * @author Brian Wing Shun Chan
086     * @see com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl
087     * @see com.liferay.portlet.documentlibrary.service.DLAppServiceUtil
088     * @generated
089     */
090    public abstract class DLAppServiceBaseImpl extends BaseServiceImpl
091            implements DLAppService, IdentifiableBean {
092            /*
093             * NOTE FOR DEVELOPERS:
094             *
095             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.documentlibrary.service.DLAppServiceUtil} to access the d l app remote service.
096             */
097    
098            /**
099             * Returns the d l app local service.
100             *
101             * @return the d l app local service
102             */
103            public DLAppLocalService getDLAppLocalService() {
104                    return dlAppLocalService;
105            }
106    
107            /**
108             * Sets the d l app local service.
109             *
110             * @param dlAppLocalService the d l app local service
111             */
112            public void setDLAppLocalService(DLAppLocalService dlAppLocalService) {
113                    this.dlAppLocalService = dlAppLocalService;
114            }
115    
116            /**
117             * Returns the d l app remote service.
118             *
119             * @return the d l app remote service
120             */
121            public DLAppService getDLAppService() {
122                    return dlAppService;
123            }
124    
125            /**
126             * Sets the d l app remote service.
127             *
128             * @param dlAppService the d l app remote service
129             */
130            public void setDLAppService(DLAppService dlAppService) {
131                    this.dlAppService = dlAppService;
132            }
133    
134            /**
135             * Returns the d l app helper local service.
136             *
137             * @return the d l app helper local service
138             */
139            public DLAppHelperLocalService getDLAppHelperLocalService() {
140                    return dlAppHelperLocalService;
141            }
142    
143            /**
144             * Sets the d l app helper local service.
145             *
146             * @param dlAppHelperLocalService the d l app helper local service
147             */
148            public void setDLAppHelperLocalService(
149                    DLAppHelperLocalService dlAppHelperLocalService) {
150                    this.dlAppHelperLocalService = dlAppHelperLocalService;
151            }
152    
153            /**
154             * Returns the document library content local service.
155             *
156             * @return the document library content local service
157             */
158            public DLContentLocalService getDLContentLocalService() {
159                    return dlContentLocalService;
160            }
161    
162            /**
163             * Sets the document library content local service.
164             *
165             * @param dlContentLocalService the document library content local service
166             */
167            public void setDLContentLocalService(
168                    DLContentLocalService dlContentLocalService) {
169                    this.dlContentLocalService = dlContentLocalService;
170            }
171    
172            /**
173             * Returns the document library content persistence.
174             *
175             * @return the document library content persistence
176             */
177            public DLContentPersistence getDLContentPersistence() {
178                    return dlContentPersistence;
179            }
180    
181            /**
182             * Sets the document library content persistence.
183             *
184             * @param dlContentPersistence the document library content persistence
185             */
186            public void setDLContentPersistence(
187                    DLContentPersistence dlContentPersistence) {
188                    this.dlContentPersistence = dlContentPersistence;
189            }
190    
191            /**
192             * Returns the document library file entry local service.
193             *
194             * @return the document library file entry local service
195             */
196            public DLFileEntryLocalService getDLFileEntryLocalService() {
197                    return dlFileEntryLocalService;
198            }
199    
200            /**
201             * Sets the document library file entry local service.
202             *
203             * @param dlFileEntryLocalService the document library file entry local service
204             */
205            public void setDLFileEntryLocalService(
206                    DLFileEntryLocalService dlFileEntryLocalService) {
207                    this.dlFileEntryLocalService = dlFileEntryLocalService;
208            }
209    
210            /**
211             * Returns the document library file entry remote service.
212             *
213             * @return the document library file entry remote service
214             */
215            public DLFileEntryService getDLFileEntryService() {
216                    return dlFileEntryService;
217            }
218    
219            /**
220             * Sets the document library file entry remote service.
221             *
222             * @param dlFileEntryService the document library file entry remote service
223             */
224            public void setDLFileEntryService(DLFileEntryService dlFileEntryService) {
225                    this.dlFileEntryService = dlFileEntryService;
226            }
227    
228            /**
229             * Returns the document library file entry persistence.
230             *
231             * @return the document library file entry persistence
232             */
233            public DLFileEntryPersistence getDLFileEntryPersistence() {
234                    return dlFileEntryPersistence;
235            }
236    
237            /**
238             * Sets the document library file entry persistence.
239             *
240             * @param dlFileEntryPersistence the document library file entry persistence
241             */
242            public void setDLFileEntryPersistence(
243                    DLFileEntryPersistence dlFileEntryPersistence) {
244                    this.dlFileEntryPersistence = dlFileEntryPersistence;
245            }
246    
247            /**
248             * Returns the document library file entry finder.
249             *
250             * @return the document library file entry finder
251             */
252            public DLFileEntryFinder getDLFileEntryFinder() {
253                    return dlFileEntryFinder;
254            }
255    
256            /**
257             * Sets the document library file entry finder.
258             *
259             * @param dlFileEntryFinder the document library file entry finder
260             */
261            public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
262                    this.dlFileEntryFinder = dlFileEntryFinder;
263            }
264    
265            /**
266             * Returns the document library file entry metadata local service.
267             *
268             * @return the document library file entry metadata local service
269             */
270            public DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
271                    return dlFileEntryMetadataLocalService;
272            }
273    
274            /**
275             * Sets the document library file entry metadata local service.
276             *
277             * @param dlFileEntryMetadataLocalService the document library file entry metadata local service
278             */
279            public void setDLFileEntryMetadataLocalService(
280                    DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
281                    this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
282            }
283    
284            /**
285             * Returns the document library file entry metadata persistence.
286             *
287             * @return the document library file entry metadata persistence
288             */
289            public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
290                    return dlFileEntryMetadataPersistence;
291            }
292    
293            /**
294             * Sets the document library file entry metadata persistence.
295             *
296             * @param dlFileEntryMetadataPersistence the document library file entry metadata persistence
297             */
298            public void setDLFileEntryMetadataPersistence(
299                    DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
300                    this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
301            }
302    
303            /**
304             * Returns the document library file entry type local service.
305             *
306             * @return the document library file entry type local service
307             */
308            public DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
309                    return dlFileEntryTypeLocalService;
310            }
311    
312            /**
313             * Sets the document library file entry type local service.
314             *
315             * @param dlFileEntryTypeLocalService the document library file entry type local service
316             */
317            public void setDLFileEntryTypeLocalService(
318                    DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
319                    this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
320            }
321    
322            /**
323             * Returns the document library file entry type remote service.
324             *
325             * @return the document library file entry type remote service
326             */
327            public DLFileEntryTypeService getDLFileEntryTypeService() {
328                    return dlFileEntryTypeService;
329            }
330    
331            /**
332             * Sets the document library file entry type remote service.
333             *
334             * @param dlFileEntryTypeService the document library file entry type remote service
335             */
336            public void setDLFileEntryTypeService(
337                    DLFileEntryTypeService dlFileEntryTypeService) {
338                    this.dlFileEntryTypeService = dlFileEntryTypeService;
339            }
340    
341            /**
342             * Returns the document library file entry type persistence.
343             *
344             * @return the document library file entry type persistence
345             */
346            public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
347                    return dlFileEntryTypePersistence;
348            }
349    
350            /**
351             * Sets the document library file entry type persistence.
352             *
353             * @param dlFileEntryTypePersistence the document library file entry type persistence
354             */
355            public void setDLFileEntryTypePersistence(
356                    DLFileEntryTypePersistence dlFileEntryTypePersistence) {
357                    this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
358            }
359    
360            /**
361             * Returns the document library file entry type finder.
362             *
363             * @return the document library file entry type finder
364             */
365            public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
366                    return dlFileEntryTypeFinder;
367            }
368    
369            /**
370             * Sets the document library file entry type finder.
371             *
372             * @param dlFileEntryTypeFinder the document library file entry type finder
373             */
374            public void setDLFileEntryTypeFinder(
375                    DLFileEntryTypeFinder dlFileEntryTypeFinder) {
376                    this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
377            }
378    
379            /**
380             * Returns the document library file rank local service.
381             *
382             * @return the document library file rank local service
383             */
384            public DLFileRankLocalService getDLFileRankLocalService() {
385                    return dlFileRankLocalService;
386            }
387    
388            /**
389             * Sets the document library file rank local service.
390             *
391             * @param dlFileRankLocalService the document library file rank local service
392             */
393            public void setDLFileRankLocalService(
394                    DLFileRankLocalService dlFileRankLocalService) {
395                    this.dlFileRankLocalService = dlFileRankLocalService;
396            }
397    
398            /**
399             * Returns the document library file rank persistence.
400             *
401             * @return the document library file rank persistence
402             */
403            public DLFileRankPersistence getDLFileRankPersistence() {
404                    return dlFileRankPersistence;
405            }
406    
407            /**
408             * Sets the document library file rank persistence.
409             *
410             * @param dlFileRankPersistence the document library file rank persistence
411             */
412            public void setDLFileRankPersistence(
413                    DLFileRankPersistence dlFileRankPersistence) {
414                    this.dlFileRankPersistence = dlFileRankPersistence;
415            }
416    
417            /**
418             * Returns the document library file rank finder.
419             *
420             * @return the document library file rank finder
421             */
422            public DLFileRankFinder getDLFileRankFinder() {
423                    return dlFileRankFinder;
424            }
425    
426            /**
427             * Sets the document library file rank finder.
428             *
429             * @param dlFileRankFinder the document library file rank finder
430             */
431            public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
432                    this.dlFileRankFinder = dlFileRankFinder;
433            }
434    
435            /**
436             * Returns the document library file shortcut local service.
437             *
438             * @return the document library file shortcut local service
439             */
440            public DLFileShortcutLocalService getDLFileShortcutLocalService() {
441                    return dlFileShortcutLocalService;
442            }
443    
444            /**
445             * Sets the document library file shortcut local service.
446             *
447             * @param dlFileShortcutLocalService the document library file shortcut local service
448             */
449            public void setDLFileShortcutLocalService(
450                    DLFileShortcutLocalService dlFileShortcutLocalService) {
451                    this.dlFileShortcutLocalService = dlFileShortcutLocalService;
452            }
453    
454            /**
455             * Returns the document library file shortcut remote service.
456             *
457             * @return the document library file shortcut remote service
458             */
459            public DLFileShortcutService getDLFileShortcutService() {
460                    return dlFileShortcutService;
461            }
462    
463            /**
464             * Sets the document library file shortcut remote service.
465             *
466             * @param dlFileShortcutService the document library file shortcut remote service
467             */
468            public void setDLFileShortcutService(
469                    DLFileShortcutService dlFileShortcutService) {
470                    this.dlFileShortcutService = dlFileShortcutService;
471            }
472    
473            /**
474             * Returns the document library file shortcut persistence.
475             *
476             * @return the document library file shortcut persistence
477             */
478            public DLFileShortcutPersistence getDLFileShortcutPersistence() {
479                    return dlFileShortcutPersistence;
480            }
481    
482            /**
483             * Sets the document library file shortcut persistence.
484             *
485             * @param dlFileShortcutPersistence the document library file shortcut persistence
486             */
487            public void setDLFileShortcutPersistence(
488                    DLFileShortcutPersistence dlFileShortcutPersistence) {
489                    this.dlFileShortcutPersistence = dlFileShortcutPersistence;
490            }
491    
492            /**
493             * Returns the document library file version local service.
494             *
495             * @return the document library file version local service
496             */
497            public DLFileVersionLocalService getDLFileVersionLocalService() {
498                    return dlFileVersionLocalService;
499            }
500    
501            /**
502             * Sets the document library file version local service.
503             *
504             * @param dlFileVersionLocalService the document library file version local service
505             */
506            public void setDLFileVersionLocalService(
507                    DLFileVersionLocalService dlFileVersionLocalService) {
508                    this.dlFileVersionLocalService = dlFileVersionLocalService;
509            }
510    
511            /**
512             * Returns the document library file version remote service.
513             *
514             * @return the document library file version remote service
515             */
516            public DLFileVersionService getDLFileVersionService() {
517                    return dlFileVersionService;
518            }
519    
520            /**
521             * Sets the document library file version remote service.
522             *
523             * @param dlFileVersionService the document library file version remote service
524             */
525            public void setDLFileVersionService(
526                    DLFileVersionService dlFileVersionService) {
527                    this.dlFileVersionService = dlFileVersionService;
528            }
529    
530            /**
531             * Returns the document library file version persistence.
532             *
533             * @return the document library file version persistence
534             */
535            public DLFileVersionPersistence getDLFileVersionPersistence() {
536                    return dlFileVersionPersistence;
537            }
538    
539            /**
540             * Sets the document library file version persistence.
541             *
542             * @param dlFileVersionPersistence the document library file version persistence
543             */
544            public void setDLFileVersionPersistence(
545                    DLFileVersionPersistence dlFileVersionPersistence) {
546                    this.dlFileVersionPersistence = dlFileVersionPersistence;
547            }
548    
549            /**
550             * Returns the document library folder local service.
551             *
552             * @return the document library folder local service
553             */
554            public DLFolderLocalService getDLFolderLocalService() {
555                    return dlFolderLocalService;
556            }
557    
558            /**
559             * Sets the document library folder local service.
560             *
561             * @param dlFolderLocalService the document library folder local service
562             */
563            public void setDLFolderLocalService(
564                    DLFolderLocalService dlFolderLocalService) {
565                    this.dlFolderLocalService = dlFolderLocalService;
566            }
567    
568            /**
569             * Returns the document library folder remote service.
570             *
571             * @return the document library folder remote service
572             */
573            public DLFolderService getDLFolderService() {
574                    return dlFolderService;
575            }
576    
577            /**
578             * Sets the document library folder remote service.
579             *
580             * @param dlFolderService the document library folder remote service
581             */
582            public void setDLFolderService(DLFolderService dlFolderService) {
583                    this.dlFolderService = dlFolderService;
584            }
585    
586            /**
587             * Returns the document library folder persistence.
588             *
589             * @return the document library folder persistence
590             */
591            public DLFolderPersistence getDLFolderPersistence() {
592                    return dlFolderPersistence;
593            }
594    
595            /**
596             * Sets the document library folder persistence.
597             *
598             * @param dlFolderPersistence the document library folder persistence
599             */
600            public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
601                    this.dlFolderPersistence = dlFolderPersistence;
602            }
603    
604            /**
605             * Returns the document library folder finder.
606             *
607             * @return the document library folder finder
608             */
609            public DLFolderFinder getDLFolderFinder() {
610                    return dlFolderFinder;
611            }
612    
613            /**
614             * Sets the document library folder finder.
615             *
616             * @param dlFolderFinder the document library folder finder
617             */
618            public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
619                    this.dlFolderFinder = dlFolderFinder;
620            }
621    
622            /**
623             * Returns the d l sync local service.
624             *
625             * @return the d l sync local service
626             */
627            public DLSyncLocalService getDLSyncLocalService() {
628                    return dlSyncLocalService;
629            }
630    
631            /**
632             * Sets the d l sync local service.
633             *
634             * @param dlSyncLocalService the d l sync local service
635             */
636            public void setDLSyncLocalService(DLSyncLocalService dlSyncLocalService) {
637                    this.dlSyncLocalService = dlSyncLocalService;
638            }
639    
640            /**
641             * Returns the d l sync remote service.
642             *
643             * @return the d l sync remote service
644             */
645            public DLSyncService getDLSyncService() {
646                    return dlSyncService;
647            }
648    
649            /**
650             * Sets the d l sync remote service.
651             *
652             * @param dlSyncService the d l sync remote service
653             */
654            public void setDLSyncService(DLSyncService dlSyncService) {
655                    this.dlSyncService = dlSyncService;
656            }
657    
658            /**
659             * Returns the d l sync persistence.
660             *
661             * @return the d l sync persistence
662             */
663            public DLSyncPersistence getDLSyncPersistence() {
664                    return dlSyncPersistence;
665            }
666    
667            /**
668             * Sets the d l sync persistence.
669             *
670             * @param dlSyncPersistence the d l sync persistence
671             */
672            public void setDLSyncPersistence(DLSyncPersistence dlSyncPersistence) {
673                    this.dlSyncPersistence = dlSyncPersistence;
674            }
675    
676            /**
677             * Returns the d l sync finder.
678             *
679             * @return the d l sync finder
680             */
681            public DLSyncFinder getDLSyncFinder() {
682                    return dlSyncFinder;
683            }
684    
685            /**
686             * Sets the d l sync finder.
687             *
688             * @param dlSyncFinder the d l sync finder
689             */
690            public void setDLSyncFinder(DLSyncFinder dlSyncFinder) {
691                    this.dlSyncFinder = dlSyncFinder;
692            }
693    
694            /**
695             * Returns the counter local service.
696             *
697             * @return the counter local service
698             */
699            public CounterLocalService getCounterLocalService() {
700                    return counterLocalService;
701            }
702    
703            /**
704             * Sets the counter local service.
705             *
706             * @param counterLocalService the counter local service
707             */
708            public void setCounterLocalService(CounterLocalService counterLocalService) {
709                    this.counterLocalService = counterLocalService;
710            }
711    
712            /**
713             * Returns the lock local service.
714             *
715             * @return the lock local service
716             */
717            public LockLocalService getLockLocalService() {
718                    return lockLocalService;
719            }
720    
721            /**
722             * Sets the lock local service.
723             *
724             * @param lockLocalService the lock local service
725             */
726            public void setLockLocalService(LockLocalService lockLocalService) {
727                    this.lockLocalService = lockLocalService;
728            }
729    
730            /**
731             * Returns the lock persistence.
732             *
733             * @return the lock persistence
734             */
735            public LockPersistence getLockPersistence() {
736                    return lockPersistence;
737            }
738    
739            /**
740             * Sets the lock persistence.
741             *
742             * @param lockPersistence the lock persistence
743             */
744            public void setLockPersistence(LockPersistence lockPersistence) {
745                    this.lockPersistence = lockPersistence;
746            }
747    
748            /**
749             * Returns the lock finder.
750             *
751             * @return the lock finder
752             */
753            public LockFinder getLockFinder() {
754                    return lockFinder;
755            }
756    
757            /**
758             * Sets the lock finder.
759             *
760             * @param lockFinder the lock finder
761             */
762            public void setLockFinder(LockFinder lockFinder) {
763                    this.lockFinder = lockFinder;
764            }
765    
766            /**
767             * Returns the repository local service.
768             *
769             * @return the repository local service
770             */
771            public RepositoryLocalService getRepositoryLocalService() {
772                    return repositoryLocalService;
773            }
774    
775            /**
776             * Sets the repository local service.
777             *
778             * @param repositoryLocalService the repository local service
779             */
780            public void setRepositoryLocalService(
781                    RepositoryLocalService repositoryLocalService) {
782                    this.repositoryLocalService = repositoryLocalService;
783            }
784    
785            /**
786             * Returns the repository remote service.
787             *
788             * @return the repository remote service
789             */
790            public RepositoryService getRepositoryService() {
791                    return repositoryService;
792            }
793    
794            /**
795             * Sets the repository remote service.
796             *
797             * @param repositoryService the repository remote service
798             */
799            public void setRepositoryService(RepositoryService repositoryService) {
800                    this.repositoryService = repositoryService;
801            }
802    
803            /**
804             * Returns the repository persistence.
805             *
806             * @return the repository persistence
807             */
808            public RepositoryPersistence getRepositoryPersistence() {
809                    return repositoryPersistence;
810            }
811    
812            /**
813             * Sets the repository persistence.
814             *
815             * @param repositoryPersistence the repository persistence
816             */
817            public void setRepositoryPersistence(
818                    RepositoryPersistence repositoryPersistence) {
819                    this.repositoryPersistence = repositoryPersistence;
820            }
821    
822            /**
823             * Returns the repository entry local service.
824             *
825             * @return the repository entry local service
826             */
827            public RepositoryEntryLocalService getRepositoryEntryLocalService() {
828                    return repositoryEntryLocalService;
829            }
830    
831            /**
832             * Sets the repository entry local service.
833             *
834             * @param repositoryEntryLocalService the repository entry local service
835             */
836            public void setRepositoryEntryLocalService(
837                    RepositoryEntryLocalService repositoryEntryLocalService) {
838                    this.repositoryEntryLocalService = repositoryEntryLocalService;
839            }
840    
841            /**
842             * Returns the repository entry persistence.
843             *
844             * @return the repository entry persistence
845             */
846            public RepositoryEntryPersistence getRepositoryEntryPersistence() {
847                    return repositoryEntryPersistence;
848            }
849    
850            /**
851             * Sets the repository entry persistence.
852             *
853             * @param repositoryEntryPersistence the repository entry persistence
854             */
855            public void setRepositoryEntryPersistence(
856                    RepositoryEntryPersistence repositoryEntryPersistence) {
857                    this.repositoryEntryPersistence = repositoryEntryPersistence;
858            }
859    
860            /**
861             * Returns the resource local service.
862             *
863             * @return the resource local service
864             */
865            public ResourceLocalService getResourceLocalService() {
866                    return resourceLocalService;
867            }
868    
869            /**
870             * Sets the resource local service.
871             *
872             * @param resourceLocalService the resource local service
873             */
874            public void setResourceLocalService(
875                    ResourceLocalService resourceLocalService) {
876                    this.resourceLocalService = resourceLocalService;
877            }
878    
879            /**
880             * Returns the resource remote service.
881             *
882             * @return the resource remote service
883             */
884            public ResourceService getResourceService() {
885                    return resourceService;
886            }
887    
888            /**
889             * Sets the resource remote service.
890             *
891             * @param resourceService the resource remote service
892             */
893            public void setResourceService(ResourceService resourceService) {
894                    this.resourceService = resourceService;
895            }
896    
897            /**
898             * Returns the resource persistence.
899             *
900             * @return the resource persistence
901             */
902            public ResourcePersistence getResourcePersistence() {
903                    return resourcePersistence;
904            }
905    
906            /**
907             * Sets the resource persistence.
908             *
909             * @param resourcePersistence the resource persistence
910             */
911            public void setResourcePersistence(ResourcePersistence resourcePersistence) {
912                    this.resourcePersistence = resourcePersistence;
913            }
914    
915            /**
916             * Returns the resource finder.
917             *
918             * @return the resource finder
919             */
920            public ResourceFinder getResourceFinder() {
921                    return resourceFinder;
922            }
923    
924            /**
925             * Sets the resource finder.
926             *
927             * @param resourceFinder the resource finder
928             */
929            public void setResourceFinder(ResourceFinder resourceFinder) {
930                    this.resourceFinder = resourceFinder;
931            }
932    
933            /**
934             * Returns the user local service.
935             *
936             * @return the user local service
937             */
938            public UserLocalService getUserLocalService() {
939                    return userLocalService;
940            }
941    
942            /**
943             * Sets the user local service.
944             *
945             * @param userLocalService the user local service
946             */
947            public void setUserLocalService(UserLocalService userLocalService) {
948                    this.userLocalService = userLocalService;
949            }
950    
951            /**
952             * Returns the user remote service.
953             *
954             * @return the user remote service
955             */
956            public UserService getUserService() {
957                    return userService;
958            }
959    
960            /**
961             * Sets the user remote service.
962             *
963             * @param userService the user remote service
964             */
965            public void setUserService(UserService userService) {
966                    this.userService = userService;
967            }
968    
969            /**
970             * Returns the user persistence.
971             *
972             * @return the user persistence
973             */
974            public UserPersistence getUserPersistence() {
975                    return userPersistence;
976            }
977    
978            /**
979             * Sets the user persistence.
980             *
981             * @param userPersistence the user persistence
982             */
983            public void setUserPersistence(UserPersistence userPersistence) {
984                    this.userPersistence = userPersistence;
985            }
986    
987            /**
988             * Returns the user finder.
989             *
990             * @return the user finder
991             */
992            public UserFinder getUserFinder() {
993                    return userFinder;
994            }
995    
996            /**
997             * Sets the user finder.
998             *
999             * @param userFinder the user finder
1000             */
1001            public void setUserFinder(UserFinder userFinder) {
1002                    this.userFinder = userFinder;
1003            }
1004    
1005            public void afterPropertiesSet() {
1006            }
1007    
1008            public void destroy() {
1009            }
1010    
1011            /**
1012             * Returns the Spring bean ID for this bean.
1013             *
1014             * @return the Spring bean ID for this bean
1015             */
1016            public String getBeanIdentifier() {
1017                    return _beanIdentifier;
1018            }
1019    
1020            /**
1021             * Sets the Spring bean ID for this bean.
1022             *
1023             * @param beanIdentifier the Spring bean ID for this bean
1024             */
1025            public void setBeanIdentifier(String beanIdentifier) {
1026                    _beanIdentifier = beanIdentifier;
1027            }
1028    
1029            /**
1030             * Performs an SQL query.
1031             *
1032             * @param sql the sql query
1033             */
1034            protected void runSQL(String sql) throws SystemException {
1035                    try {
1036                            DataSource dataSource = InfrastructureUtil.getDataSource();
1037    
1038                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1039                                            sql, new int[0]);
1040    
1041                            sqlUpdate.update();
1042                    }
1043                    catch (Exception e) {
1044                            throw new SystemException(e);
1045                    }
1046            }
1047    
1048            @BeanReference(type = DLAppLocalService.class)
1049            protected DLAppLocalService dlAppLocalService;
1050            @BeanReference(type = DLAppService.class)
1051            protected DLAppService dlAppService;
1052            @BeanReference(type = DLAppHelperLocalService.class)
1053            protected DLAppHelperLocalService dlAppHelperLocalService;
1054            @BeanReference(type = DLContentLocalService.class)
1055            protected DLContentLocalService dlContentLocalService;
1056            @BeanReference(type = DLContentPersistence.class)
1057            protected DLContentPersistence dlContentPersistence;
1058            @BeanReference(type = DLFileEntryLocalService.class)
1059            protected DLFileEntryLocalService dlFileEntryLocalService;
1060            @BeanReference(type = DLFileEntryService.class)
1061            protected DLFileEntryService dlFileEntryService;
1062            @BeanReference(type = DLFileEntryPersistence.class)
1063            protected DLFileEntryPersistence dlFileEntryPersistence;
1064            @BeanReference(type = DLFileEntryFinder.class)
1065            protected DLFileEntryFinder dlFileEntryFinder;
1066            @BeanReference(type = DLFileEntryMetadataLocalService.class)
1067            protected DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1068            @BeanReference(type = DLFileEntryMetadataPersistence.class)
1069            protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1070            @BeanReference(type = DLFileEntryTypeLocalService.class)
1071            protected DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1072            @BeanReference(type = DLFileEntryTypeService.class)
1073            protected DLFileEntryTypeService dlFileEntryTypeService;
1074            @BeanReference(type = DLFileEntryTypePersistence.class)
1075            protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1076            @BeanReference(type = DLFileEntryTypeFinder.class)
1077            protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1078            @BeanReference(type = DLFileRankLocalService.class)
1079            protected DLFileRankLocalService dlFileRankLocalService;
1080            @BeanReference(type = DLFileRankPersistence.class)
1081            protected DLFileRankPersistence dlFileRankPersistence;
1082            @BeanReference(type = DLFileRankFinder.class)
1083            protected DLFileRankFinder dlFileRankFinder;
1084            @BeanReference(type = DLFileShortcutLocalService.class)
1085            protected DLFileShortcutLocalService dlFileShortcutLocalService;
1086            @BeanReference(type = DLFileShortcutService.class)
1087            protected DLFileShortcutService dlFileShortcutService;
1088            @BeanReference(type = DLFileShortcutPersistence.class)
1089            protected DLFileShortcutPersistence dlFileShortcutPersistence;
1090            @BeanReference(type = DLFileVersionLocalService.class)
1091            protected DLFileVersionLocalService dlFileVersionLocalService;
1092            @BeanReference(type = DLFileVersionService.class)
1093            protected DLFileVersionService dlFileVersionService;
1094            @BeanReference(type = DLFileVersionPersistence.class)
1095            protected DLFileVersionPersistence dlFileVersionPersistence;
1096            @BeanReference(type = DLFolderLocalService.class)
1097            protected DLFolderLocalService dlFolderLocalService;
1098            @BeanReference(type = DLFolderService.class)
1099            protected DLFolderService dlFolderService;
1100            @BeanReference(type = DLFolderPersistence.class)
1101            protected DLFolderPersistence dlFolderPersistence;
1102            @BeanReference(type = DLFolderFinder.class)
1103            protected DLFolderFinder dlFolderFinder;
1104            @BeanReference(type = DLSyncLocalService.class)
1105            protected DLSyncLocalService dlSyncLocalService;
1106            @BeanReference(type = DLSyncService.class)
1107            protected DLSyncService dlSyncService;
1108            @BeanReference(type = DLSyncPersistence.class)
1109            protected DLSyncPersistence dlSyncPersistence;
1110            @BeanReference(type = DLSyncFinder.class)
1111            protected DLSyncFinder dlSyncFinder;
1112            @BeanReference(type = CounterLocalService.class)
1113            protected CounterLocalService counterLocalService;
1114            @BeanReference(type = LockLocalService.class)
1115            protected LockLocalService lockLocalService;
1116            @BeanReference(type = LockPersistence.class)
1117            protected LockPersistence lockPersistence;
1118            @BeanReference(type = LockFinder.class)
1119            protected LockFinder lockFinder;
1120            @BeanReference(type = RepositoryLocalService.class)
1121            protected RepositoryLocalService repositoryLocalService;
1122            @BeanReference(type = RepositoryService.class)
1123            protected RepositoryService repositoryService;
1124            @BeanReference(type = RepositoryPersistence.class)
1125            protected RepositoryPersistence repositoryPersistence;
1126            @BeanReference(type = RepositoryEntryLocalService.class)
1127            protected RepositoryEntryLocalService repositoryEntryLocalService;
1128            @BeanReference(type = RepositoryEntryPersistence.class)
1129            protected RepositoryEntryPersistence repositoryEntryPersistence;
1130            @BeanReference(type = ResourceLocalService.class)
1131            protected ResourceLocalService resourceLocalService;
1132            @BeanReference(type = ResourceService.class)
1133            protected ResourceService resourceService;
1134            @BeanReference(type = ResourcePersistence.class)
1135            protected ResourcePersistence resourcePersistence;
1136            @BeanReference(type = ResourceFinder.class)
1137            protected ResourceFinder resourceFinder;
1138            @BeanReference(type = UserLocalService.class)
1139            protected UserLocalService userLocalService;
1140            @BeanReference(type = UserService.class)
1141            protected UserService userService;
1142            @BeanReference(type = UserPersistence.class)
1143            protected UserPersistence userPersistence;
1144            @BeanReference(type = UserFinder.class)
1145            protected UserFinder userFinder;
1146            private String _beanIdentifier;
1147    }