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