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