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