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