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