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