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