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