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