001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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.RepositoryService;
028    import com.liferay.portal.service.ResourceLocalService;
029    import com.liferay.portal.service.ResourceService;
030    import com.liferay.portal.service.UserLocalService;
031    import com.liferay.portal.service.UserService;
032    import com.liferay.portal.service.persistence.LockFinder;
033    import com.liferay.portal.service.persistence.LockPersistence;
034    import com.liferay.portal.service.persistence.RepositoryEntryPersistence;
035    import com.liferay.portal.service.persistence.RepositoryPersistence;
036    import com.liferay.portal.service.persistence.ResourceFinder;
037    import com.liferay.portal.service.persistence.ResourcePersistence;
038    import com.liferay.portal.service.persistence.UserFinder;
039    import com.liferay.portal.service.persistence.UserPersistence;
040    
041    import com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService;
042    import com.liferay.portlet.documentlibrary.service.DLAppLocalService;
043    import com.liferay.portlet.documentlibrary.service.DLAppService;
044    import com.liferay.portlet.documentlibrary.service.DLContentLocalService;
045    import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
046    import com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService;
047    import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
048    import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService;
049    import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService;
050    import com.liferay.portlet.documentlibrary.service.DLFileRankLocalService;
051    import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService;
052    import com.liferay.portlet.documentlibrary.service.DLFileShortcutService;
053    import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService;
054    import com.liferay.portlet.documentlibrary.service.DLFileVersionService;
055    import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
056    import com.liferay.portlet.documentlibrary.service.DLFolderService;
057    import com.liferay.portlet.documentlibrary.service.DLSyncLocalService;
058    import com.liferay.portlet.documentlibrary.service.DLSyncService;
059    import com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence;
060    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
061    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
062    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
063    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
064    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
065    import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
066    import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
067    import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
068    import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
069    import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
070    import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
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 local 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.DLAppLocalServiceImpl}.
080     * </p>
081     *
082     * @author Brian Wing Shun Chan
083     * @see com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl
084     * @see com.liferay.portlet.documentlibrary.service.DLAppLocalServiceUtil
085     * @generated
086     */
087    public abstract class DLAppLocalServiceBaseImpl implements DLAppLocalService,
088            IdentifiableBean {
089            /*
090             * NOTE FOR DEVELOPERS:
091             *
092             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.documentlibrary.service.DLAppLocalServiceUtil} to access the d l app local 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 counter local service.
675             *
676             * @return the counter local service
677             */
678            public CounterLocalService getCounterLocalService() {
679                    return counterLocalService;
680            }
681    
682            /**
683             * Sets the counter local service.
684             *
685             * @param counterLocalService the counter local service
686             */
687            public void setCounterLocalService(CounterLocalService counterLocalService) {
688                    this.counterLocalService = counterLocalService;
689            }
690    
691            /**
692             * Returns the lock local service.
693             *
694             * @return the lock local service
695             */
696            public LockLocalService getLockLocalService() {
697                    return lockLocalService;
698            }
699    
700            /**
701             * Sets the lock local service.
702             *
703             * @param lockLocalService the lock local service
704             */
705            public void setLockLocalService(LockLocalService lockLocalService) {
706                    this.lockLocalService = lockLocalService;
707            }
708    
709            /**
710             * Returns the lock persistence.
711             *
712             * @return the lock persistence
713             */
714            public LockPersistence getLockPersistence() {
715                    return lockPersistence;
716            }
717    
718            /**
719             * Sets the lock persistence.
720             *
721             * @param lockPersistence the lock persistence
722             */
723            public void setLockPersistence(LockPersistence lockPersistence) {
724                    this.lockPersistence = lockPersistence;
725            }
726    
727            /**
728             * Returns the lock finder.
729             *
730             * @return the lock finder
731             */
732            public LockFinder getLockFinder() {
733                    return lockFinder;
734            }
735    
736            /**
737             * Sets the lock finder.
738             *
739             * @param lockFinder the lock finder
740             */
741            public void setLockFinder(LockFinder lockFinder) {
742                    this.lockFinder = lockFinder;
743            }
744    
745            /**
746             * Returns the repository remote service.
747             *
748             * @return the repository remote service
749             */
750            public RepositoryService getRepositoryService() {
751                    return repositoryService;
752            }
753    
754            /**
755             * Sets the repository remote service.
756             *
757             * @param repositoryService the repository remote service
758             */
759            public void setRepositoryService(RepositoryService repositoryService) {
760                    this.repositoryService = repositoryService;
761            }
762    
763            /**
764             * Returns the repository persistence.
765             *
766             * @return the repository persistence
767             */
768            public RepositoryPersistence getRepositoryPersistence() {
769                    return repositoryPersistence;
770            }
771    
772            /**
773             * Sets the repository persistence.
774             *
775             * @param repositoryPersistence the repository persistence
776             */
777            public void setRepositoryPersistence(
778                    RepositoryPersistence repositoryPersistence) {
779                    this.repositoryPersistence = repositoryPersistence;
780            }
781    
782            /**
783             * Returns the repository entry local service.
784             *
785             * @return the repository entry local service
786             */
787            public RepositoryEntryLocalService getRepositoryEntryLocalService() {
788                    return repositoryEntryLocalService;
789            }
790    
791            /**
792             * Sets the repository entry local service.
793             *
794             * @param repositoryEntryLocalService the repository entry local service
795             */
796            public void setRepositoryEntryLocalService(
797                    RepositoryEntryLocalService repositoryEntryLocalService) {
798                    this.repositoryEntryLocalService = repositoryEntryLocalService;
799            }
800    
801            /**
802             * Returns the repository entry persistence.
803             *
804             * @return the repository entry persistence
805             */
806            public RepositoryEntryPersistence getRepositoryEntryPersistence() {
807                    return repositoryEntryPersistence;
808            }
809    
810            /**
811             * Sets the repository entry persistence.
812             *
813             * @param repositoryEntryPersistence the repository entry persistence
814             */
815            public void setRepositoryEntryPersistence(
816                    RepositoryEntryPersistence repositoryEntryPersistence) {
817                    this.repositoryEntryPersistence = repositoryEntryPersistence;
818            }
819    
820            /**
821             * Returns the resource local service.
822             *
823             * @return the resource local service
824             */
825            public ResourceLocalService getResourceLocalService() {
826                    return resourceLocalService;
827            }
828    
829            /**
830             * Sets the resource local service.
831             *
832             * @param resourceLocalService the resource local service
833             */
834            public void setResourceLocalService(
835                    ResourceLocalService resourceLocalService) {
836                    this.resourceLocalService = resourceLocalService;
837            }
838    
839            /**
840             * Returns the resource remote service.
841             *
842             * @return the resource remote service
843             */
844            public ResourceService getResourceService() {
845                    return resourceService;
846            }
847    
848            /**
849             * Sets the resource remote service.
850             *
851             * @param resourceService the resource remote service
852             */
853            public void setResourceService(ResourceService resourceService) {
854                    this.resourceService = resourceService;
855            }
856    
857            /**
858             * Returns the resource persistence.
859             *
860             * @return the resource persistence
861             */
862            public ResourcePersistence getResourcePersistence() {
863                    return resourcePersistence;
864            }
865    
866            /**
867             * Sets the resource persistence.
868             *
869             * @param resourcePersistence the resource persistence
870             */
871            public void setResourcePersistence(ResourcePersistence resourcePersistence) {
872                    this.resourcePersistence = resourcePersistence;
873            }
874    
875            /**
876             * Returns the resource finder.
877             *
878             * @return the resource finder
879             */
880            public ResourceFinder getResourceFinder() {
881                    return resourceFinder;
882            }
883    
884            /**
885             * Sets the resource finder.
886             *
887             * @param resourceFinder the resource finder
888             */
889            public void setResourceFinder(ResourceFinder resourceFinder) {
890                    this.resourceFinder = resourceFinder;
891            }
892    
893            /**
894             * Returns the user local service.
895             *
896             * @return the user local service
897             */
898            public UserLocalService getUserLocalService() {
899                    return userLocalService;
900            }
901    
902            /**
903             * Sets the user local service.
904             *
905             * @param userLocalService the user local service
906             */
907            public void setUserLocalService(UserLocalService userLocalService) {
908                    this.userLocalService = userLocalService;
909            }
910    
911            /**
912             * Returns the user remote service.
913             *
914             * @return the user remote service
915             */
916            public UserService getUserService() {
917                    return userService;
918            }
919    
920            /**
921             * Sets the user remote service.
922             *
923             * @param userService the user remote service
924             */
925            public void setUserService(UserService userService) {
926                    this.userService = userService;
927            }
928    
929            /**
930             * Returns the user persistence.
931             *
932             * @return the user persistence
933             */
934            public UserPersistence getUserPersistence() {
935                    return userPersistence;
936            }
937    
938            /**
939             * Sets the user persistence.
940             *
941             * @param userPersistence the user persistence
942             */
943            public void setUserPersistence(UserPersistence userPersistence) {
944                    this.userPersistence = userPersistence;
945            }
946    
947            /**
948             * Returns the user finder.
949             *
950             * @return the user finder
951             */
952            public UserFinder getUserFinder() {
953                    return userFinder;
954            }
955    
956            /**
957             * Sets the user finder.
958             *
959             * @param userFinder the user finder
960             */
961            public void setUserFinder(UserFinder userFinder) {
962                    this.userFinder = userFinder;
963            }
964    
965            public void afterPropertiesSet() {
966            }
967    
968            public void destroy() {
969            }
970    
971            /**
972             * Returns the Spring bean ID for this bean.
973             *
974             * @return the Spring bean ID for this bean
975             */
976            public String getBeanIdentifier() {
977                    return _beanIdentifier;
978            }
979    
980            /**
981             * Sets the Spring bean ID for this bean.
982             *
983             * @param beanIdentifier the Spring bean ID for this bean
984             */
985            public void setBeanIdentifier(String beanIdentifier) {
986                    _beanIdentifier = beanIdentifier;
987            }
988    
989            /**
990             * Performs an SQL query.
991             *
992             * @param sql the sql query
993             */
994            protected void runSQL(String sql) throws SystemException {
995                    try {
996                            DataSource dataSource = InfrastructureUtil.getDataSource();
997    
998                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
999                                            sql, new int[0]);
1000    
1001                            sqlUpdate.update();
1002                    }
1003                    catch (Exception e) {
1004                            throw new SystemException(e);
1005                    }
1006            }
1007    
1008            @BeanReference(type = DLAppLocalService.class)
1009            protected DLAppLocalService dlAppLocalService;
1010            @BeanReference(type = DLAppService.class)
1011            protected DLAppService dlAppService;
1012            @BeanReference(type = DLAppHelperLocalService.class)
1013            protected DLAppHelperLocalService dlAppHelperLocalService;
1014            @BeanReference(type = DLContentLocalService.class)
1015            protected DLContentLocalService dlContentLocalService;
1016            @BeanReference(type = DLContentPersistence.class)
1017            protected DLContentPersistence dlContentPersistence;
1018            @BeanReference(type = DLFileEntryLocalService.class)
1019            protected DLFileEntryLocalService dlFileEntryLocalService;
1020            @BeanReference(type = DLFileEntryService.class)
1021            protected DLFileEntryService dlFileEntryService;
1022            @BeanReference(type = DLFileEntryPersistence.class)
1023            protected DLFileEntryPersistence dlFileEntryPersistence;
1024            @BeanReference(type = DLFileEntryFinder.class)
1025            protected DLFileEntryFinder dlFileEntryFinder;
1026            @BeanReference(type = DLFileEntryMetadataLocalService.class)
1027            protected DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1028            @BeanReference(type = DLFileEntryMetadataPersistence.class)
1029            protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1030            @BeanReference(type = DLFileEntryTypeLocalService.class)
1031            protected DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1032            @BeanReference(type = DLFileEntryTypeService.class)
1033            protected DLFileEntryTypeService dlFileEntryTypeService;
1034            @BeanReference(type = DLFileEntryTypePersistence.class)
1035            protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1036            @BeanReference(type = DLFileEntryTypeFinder.class)
1037            protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1038            @BeanReference(type = DLFileRankLocalService.class)
1039            protected DLFileRankLocalService dlFileRankLocalService;
1040            @BeanReference(type = DLFileRankPersistence.class)
1041            protected DLFileRankPersistence dlFileRankPersistence;
1042            @BeanReference(type = DLFileRankFinder.class)
1043            protected DLFileRankFinder dlFileRankFinder;
1044            @BeanReference(type = DLFileShortcutLocalService.class)
1045            protected DLFileShortcutLocalService dlFileShortcutLocalService;
1046            @BeanReference(type = DLFileShortcutService.class)
1047            protected DLFileShortcutService dlFileShortcutService;
1048            @BeanReference(type = DLFileShortcutPersistence.class)
1049            protected DLFileShortcutPersistence dlFileShortcutPersistence;
1050            @BeanReference(type = DLFileVersionLocalService.class)
1051            protected DLFileVersionLocalService dlFileVersionLocalService;
1052            @BeanReference(type = DLFileVersionService.class)
1053            protected DLFileVersionService dlFileVersionService;
1054            @BeanReference(type = DLFileVersionPersistence.class)
1055            protected DLFileVersionPersistence dlFileVersionPersistence;
1056            @BeanReference(type = DLFolderLocalService.class)
1057            protected DLFolderLocalService dlFolderLocalService;
1058            @BeanReference(type = DLFolderService.class)
1059            protected DLFolderService dlFolderService;
1060            @BeanReference(type = DLFolderPersistence.class)
1061            protected DLFolderPersistence dlFolderPersistence;
1062            @BeanReference(type = DLFolderFinder.class)
1063            protected DLFolderFinder dlFolderFinder;
1064            @BeanReference(type = DLSyncLocalService.class)
1065            protected DLSyncLocalService dlSyncLocalService;
1066            @BeanReference(type = DLSyncService.class)
1067            protected DLSyncService dlSyncService;
1068            @BeanReference(type = DLSyncPersistence.class)
1069            protected DLSyncPersistence dlSyncPersistence;
1070            @BeanReference(type = CounterLocalService.class)
1071            protected CounterLocalService counterLocalService;
1072            @BeanReference(type = LockLocalService.class)
1073            protected LockLocalService lockLocalService;
1074            @BeanReference(type = LockPersistence.class)
1075            protected LockPersistence lockPersistence;
1076            @BeanReference(type = LockFinder.class)
1077            protected LockFinder lockFinder;
1078            @BeanReference(type = RepositoryService.class)
1079            protected RepositoryService repositoryService;
1080            @BeanReference(type = RepositoryPersistence.class)
1081            protected RepositoryPersistence repositoryPersistence;
1082            @BeanReference(type = RepositoryEntryLocalService.class)
1083            protected RepositoryEntryLocalService repositoryEntryLocalService;
1084            @BeanReference(type = RepositoryEntryPersistence.class)
1085            protected RepositoryEntryPersistence repositoryEntryPersistence;
1086            @BeanReference(type = ResourceLocalService.class)
1087            protected ResourceLocalService resourceLocalService;
1088            @BeanReference(type = ResourceService.class)
1089            protected ResourceService resourceService;
1090            @BeanReference(type = ResourcePersistence.class)
1091            protected ResourcePersistence resourcePersistence;
1092            @BeanReference(type = ResourceFinder.class)
1093            protected ResourceFinder resourceFinder;
1094            @BeanReference(type = UserLocalService.class)
1095            protected UserLocalService userLocalService;
1096            @BeanReference(type = UserService.class)
1097            protected UserService userService;
1098            @BeanReference(type = UserPersistence.class)
1099            protected UserPersistence userPersistence;
1100            @BeanReference(type = UserFinder.class)
1101            protected UserFinder userFinder;
1102            private String _beanIdentifier;
1103    }