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