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