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