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