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