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