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