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