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