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