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