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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.bean.IdentifiableBean;
021    import com.liferay.portal.kernel.dao.db.DB;
022    import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
023    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
024    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
025    import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery;
026    import com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery;
027    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
028    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
029    import com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery;
030    import com.liferay.portal.kernel.dao.orm.Projection;
031    import com.liferay.portal.kernel.dao.orm.Property;
032    import com.liferay.portal.kernel.dao.orm.PropertyFactoryUtil;
033    import com.liferay.portal.kernel.exception.PortalException;
034    import com.liferay.portal.kernel.exception.SystemException;
035    import com.liferay.portal.kernel.search.Indexable;
036    import com.liferay.portal.kernel.search.IndexableType;
037    import com.liferay.portal.kernel.util.OrderByComparator;
038    import com.liferay.portal.model.PersistedModel;
039    import com.liferay.portal.model.Repository;
040    import com.liferay.portal.service.BaseLocalServiceImpl;
041    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
042    import com.liferay.portal.service.RepositoryLocalService;
043    import com.liferay.portal.service.persistence.ClassNamePersistence;
044    import com.liferay.portal.service.persistence.CompanyPersistence;
045    import com.liferay.portal.service.persistence.GroupFinder;
046    import com.liferay.portal.service.persistence.GroupPersistence;
047    import com.liferay.portal.service.persistence.RepositoryEntryPersistence;
048    import com.liferay.portal.service.persistence.RepositoryPersistence;
049    import com.liferay.portal.service.persistence.SystemEventPersistence;
050    import com.liferay.portal.service.persistence.UserFinder;
051    import com.liferay.portal.service.persistence.UserPersistence;
052    import com.liferay.portal.util.PortalUtil;
053    
054    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
055    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
056    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
057    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
058    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
059    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
060    import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
061    import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
062    import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
063    import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
064    import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
065    import com.liferay.portlet.exportimport.lar.ExportImportHelperUtil;
066    import com.liferay.portlet.exportimport.lar.ManifestSummary;
067    import com.liferay.portlet.exportimport.lar.PortletDataContext;
068    import com.liferay.portlet.exportimport.lar.StagedModelDataHandlerUtil;
069    import com.liferay.portlet.exportimport.lar.StagedModelType;
070    
071    import java.io.Serializable;
072    
073    import java.util.List;
074    
075    import javax.sql.DataSource;
076    
077    /**
078     * Provides the base implementation for the repository local service.
079     *
080     * <p>
081     * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link com.liferay.portal.service.impl.RepositoryLocalServiceImpl}.
082     * </p>
083     *
084     * @author Brian Wing Shun Chan
085     * @see com.liferay.portal.service.impl.RepositoryLocalServiceImpl
086     * @see com.liferay.portal.service.RepositoryLocalServiceUtil
087     * @generated
088     */
089    @ProviderType
090    public abstract class RepositoryLocalServiceBaseImpl
091            extends BaseLocalServiceImpl implements RepositoryLocalService,
092                    IdentifiableBean {
093            /*
094             * NOTE FOR DEVELOPERS:
095             *
096             * Never modify or reference this class directly. Always use {@link com.liferay.portal.service.RepositoryLocalServiceUtil} to access the repository local service.
097             */
098    
099            /**
100             * Adds the repository to the database. Also notifies the appropriate model listeners.
101             *
102             * @param repository the repository
103             * @return the repository that was added
104             */
105            @Indexable(type = IndexableType.REINDEX)
106            @Override
107            public Repository addRepository(Repository repository) {
108                    repository.setNew(true);
109    
110                    return repositoryPersistence.update(repository);
111            }
112    
113            /**
114             * Creates a new repository with the primary key. Does not add the repository to the database.
115             *
116             * @param repositoryId the primary key for the new repository
117             * @return the new repository
118             */
119            @Override
120            public Repository createRepository(long repositoryId) {
121                    return repositoryPersistence.create(repositoryId);
122            }
123    
124            /**
125             * Deletes the repository with the primary key from the database. Also notifies the appropriate model listeners.
126             *
127             * @param repositoryId the primary key of the repository
128             * @return the repository that was removed
129             * @throws PortalException if a repository with the primary key could not be found
130             */
131            @Indexable(type = IndexableType.DELETE)
132            @Override
133            public Repository deleteRepository(long repositoryId)
134                    throws PortalException {
135                    return repositoryPersistence.remove(repositoryId);
136            }
137    
138            /**
139             * Deletes the repository from the database. Also notifies the appropriate model listeners.
140             *
141             * @param repository the repository
142             * @return the repository that was removed
143             */
144            @Indexable(type = IndexableType.DELETE)
145            @Override
146            public Repository deleteRepository(Repository repository) {
147                    return repositoryPersistence.remove(repository);
148            }
149    
150            @Override
151            public DynamicQuery dynamicQuery() {
152                    Class<?> clazz = getClass();
153    
154                    return DynamicQueryFactoryUtil.forClass(Repository.class,
155                            clazz.getClassLoader());
156            }
157    
158            /**
159             * Performs a dynamic query on the database and returns the matching rows.
160             *
161             * @param dynamicQuery the dynamic query
162             * @return the matching rows
163             */
164            @Override
165            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery) {
166                    return repositoryPersistence.findWithDynamicQuery(dynamicQuery);
167            }
168    
169            /**
170             * Performs a dynamic query on the database and returns a range of the matching rows.
171             *
172             * <p>
173             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.RepositoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
174             * </p>
175             *
176             * @param dynamicQuery the dynamic query
177             * @param start the lower bound of the range of model instances
178             * @param end the upper bound of the range of model instances (not inclusive)
179             * @return the range of matching rows
180             */
181            @Override
182            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
183                    int end) {
184                    return repositoryPersistence.findWithDynamicQuery(dynamicQuery, start,
185                            end);
186            }
187    
188            /**
189             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
190             *
191             * <p>
192             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.RepositoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
193             * </p>
194             *
195             * @param dynamicQuery the dynamic query
196             * @param start the lower bound of the range of model instances
197             * @param end the upper bound of the range of model instances (not inclusive)
198             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
199             * @return the ordered range of matching rows
200             */
201            @Override
202            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
203                    int end, OrderByComparator<T> orderByComparator) {
204                    return repositoryPersistence.findWithDynamicQuery(dynamicQuery, start,
205                            end, orderByComparator);
206            }
207    
208            /**
209             * Returns the number of rows matching the dynamic query.
210             *
211             * @param dynamicQuery the dynamic query
212             * @return the number of rows matching the dynamic query
213             */
214            @Override
215            public long dynamicQueryCount(DynamicQuery dynamicQuery) {
216                    return repositoryPersistence.countWithDynamicQuery(dynamicQuery);
217            }
218    
219            /**
220             * Returns the number of rows matching the dynamic query.
221             *
222             * @param dynamicQuery the dynamic query
223             * @param projection the projection to apply to the query
224             * @return the number of rows matching the dynamic query
225             */
226            @Override
227            public long dynamicQueryCount(DynamicQuery dynamicQuery,
228                    Projection projection) {
229                    return repositoryPersistence.countWithDynamicQuery(dynamicQuery,
230                            projection);
231            }
232    
233            @Override
234            public Repository fetchRepository(long repositoryId) {
235                    return repositoryPersistence.fetchByPrimaryKey(repositoryId);
236            }
237    
238            /**
239             * Returns the repository matching the UUID and group.
240             *
241             * @param uuid the repository's UUID
242             * @param groupId the primary key of the group
243             * @return the matching repository, or <code>null</code> if a matching repository could not be found
244             */
245            @Override
246            public Repository fetchRepositoryByUuidAndGroupId(String uuid, long groupId) {
247                    return repositoryPersistence.fetchByUUID_G(uuid, groupId);
248            }
249    
250            /**
251             * Returns the repository with the primary key.
252             *
253             * @param repositoryId the primary key of the repository
254             * @return the repository
255             * @throws PortalException if a repository with the primary key could not be found
256             */
257            @Override
258            public Repository getRepository(long repositoryId)
259                    throws PortalException {
260                    return repositoryPersistence.findByPrimaryKey(repositoryId);
261            }
262    
263            @Override
264            public ActionableDynamicQuery getActionableDynamicQuery() {
265                    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
266    
267                    actionableDynamicQuery.setBaseLocalService(com.liferay.portal.service.RepositoryLocalServiceUtil.getService());
268                    actionableDynamicQuery.setClass(Repository.class);
269                    actionableDynamicQuery.setClassLoader(getClassLoader());
270    
271                    actionableDynamicQuery.setPrimaryKeyPropertyName("repositoryId");
272    
273                    return actionableDynamicQuery;
274            }
275    
276            protected void initActionableDynamicQuery(
277                    ActionableDynamicQuery actionableDynamicQuery) {
278                    actionableDynamicQuery.setBaseLocalService(com.liferay.portal.service.RepositoryLocalServiceUtil.getService());
279                    actionableDynamicQuery.setClass(Repository.class);
280                    actionableDynamicQuery.setClassLoader(getClassLoader());
281    
282                    actionableDynamicQuery.setPrimaryKeyPropertyName("repositoryId");
283            }
284    
285            @Override
286            public ExportActionableDynamicQuery getExportActionableDynamicQuery(
287                    final PortletDataContext portletDataContext) {
288                    final ExportActionableDynamicQuery exportActionableDynamicQuery = new ExportActionableDynamicQuery() {
289                                    @Override
290                                    public long performCount() throws PortalException {
291                                            ManifestSummary manifestSummary = portletDataContext.getManifestSummary();
292    
293                                            StagedModelType stagedModelType = getStagedModelType();
294    
295                                            long modelAdditionCount = super.performCount();
296    
297                                            manifestSummary.addModelAdditionCount(stagedModelType.toString(),
298                                                    modelAdditionCount);
299    
300                                            long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(portletDataContext,
301                                                            stagedModelType);
302    
303                                            manifestSummary.addModelDeletionCount(stagedModelType.toString(),
304                                                    modelDeletionCount);
305    
306                                            return modelAdditionCount;
307                                    }
308                            };
309    
310                    initActionableDynamicQuery(exportActionableDynamicQuery);
311    
312                    exportActionableDynamicQuery.setAddCriteriaMethod(new ActionableDynamicQuery.AddCriteriaMethod() {
313                                    @Override
314                                    public void addCriteria(DynamicQuery dynamicQuery) {
315                                            portletDataContext.addDateRangeCriteria(dynamicQuery,
316                                                    "modifiedDate");
317    
318                                            StagedModelType stagedModelType = exportActionableDynamicQuery.getStagedModelType();
319    
320                                            if (stagedModelType.getReferrerClassNameId() >= 0) {
321                                                    Property classNameIdProperty = PropertyFactoryUtil.forName(
322                                                                    "classNameId");
323    
324                                                    dynamicQuery.add(classNameIdProperty.eq(
325                                                                    stagedModelType.getReferrerClassNameId()));
326                                            }
327                                    }
328                            });
329    
330                    exportActionableDynamicQuery.setCompanyId(portletDataContext.getCompanyId());
331    
332                    exportActionableDynamicQuery.setGroupId(portletDataContext.getScopeGroupId());
333    
334                    exportActionableDynamicQuery.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod() {
335                                    @Override
336                                    public void performAction(Object object)
337                                            throws PortalException {
338                                            Repository stagedModel = (Repository)object;
339    
340                                            StagedModelDataHandlerUtil.exportStagedModel(portletDataContext,
341                                                    stagedModel);
342                                    }
343                            });
344                    exportActionableDynamicQuery.setStagedModelType(new StagedModelType(
345                                    PortalUtil.getClassNameId(Repository.class.getName())));
346    
347                    return exportActionableDynamicQuery;
348            }
349    
350            /**
351             * @throws PortalException
352             */
353            @Override
354            public PersistedModel deletePersistedModel(PersistedModel persistedModel)
355                    throws PortalException {
356                    return repositoryLocalService.deleteRepository((Repository)persistedModel);
357            }
358    
359            @Override
360            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
361                    throws PortalException {
362                    return repositoryPersistence.findByPrimaryKey(primaryKeyObj);
363            }
364    
365            /**
366             * Returns all the repositories matching the UUID and company.
367             *
368             * @param uuid the UUID of the repositories
369             * @param companyId the primary key of the company
370             * @return the matching repositories, or an empty list if no matches were found
371             */
372            @Override
373            public List<Repository> getRepositoriesByUuidAndCompanyId(String uuid,
374                    long companyId) {
375                    return repositoryPersistence.findByUuid_C(uuid, companyId);
376            }
377    
378            /**
379             * Returns a range of repositories matching the UUID and company.
380             *
381             * @param uuid the UUID of the repositories
382             * @param companyId the primary key of the company
383             * @param start the lower bound of the range of repositories
384             * @param end the upper bound of the range of repositories (not inclusive)
385             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
386             * @return the range of matching repositories, or an empty list if no matches were found
387             */
388            @Override
389            public List<Repository> getRepositoriesByUuidAndCompanyId(String uuid,
390                    long companyId, int start, int end,
391                    OrderByComparator<Repository> orderByComparator) {
392                    return repositoryPersistence.findByUuid_C(uuid, companyId, start, end,
393                            orderByComparator);
394            }
395    
396            /**
397             * Returns the repository matching the UUID and group.
398             *
399             * @param uuid the repository's UUID
400             * @param groupId the primary key of the group
401             * @return the matching repository
402             * @throws PortalException if a matching repository could not be found
403             */
404            @Override
405            public Repository getRepositoryByUuidAndGroupId(String uuid, long groupId)
406                    throws PortalException {
407                    return repositoryPersistence.findByUUID_G(uuid, groupId);
408            }
409    
410            /**
411             * Returns a range of all the repositories.
412             *
413             * <p>
414             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.RepositoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
415             * </p>
416             *
417             * @param start the lower bound of the range of repositories
418             * @param end the upper bound of the range of repositories (not inclusive)
419             * @return the range of repositories
420             */
421            @Override
422            public List<Repository> getRepositories(int start, int end) {
423                    return repositoryPersistence.findAll(start, end);
424            }
425    
426            /**
427             * Returns the number of repositories.
428             *
429             * @return the number of repositories
430             */
431            @Override
432            public int getRepositoriesCount() {
433                    return repositoryPersistence.countAll();
434            }
435    
436            /**
437             * Updates the repository in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
438             *
439             * @param repository the repository
440             * @return the repository that was updated
441             */
442            @Indexable(type = IndexableType.REINDEX)
443            @Override
444            public Repository updateRepository(Repository repository) {
445                    return repositoryPersistence.update(repository);
446            }
447    
448            /**
449             * Returns the repository local service.
450             *
451             * @return the repository local service
452             */
453            public RepositoryLocalService getRepositoryLocalService() {
454                    return repositoryLocalService;
455            }
456    
457            /**
458             * Sets the repository local service.
459             *
460             * @param repositoryLocalService the repository local service
461             */
462            public void setRepositoryLocalService(
463                    RepositoryLocalService repositoryLocalService) {
464                    this.repositoryLocalService = repositoryLocalService;
465            }
466    
467            /**
468             * Returns the repository remote service.
469             *
470             * @return the repository remote service
471             */
472            public com.liferay.portal.service.RepositoryService getRepositoryService() {
473                    return repositoryService;
474            }
475    
476            /**
477             * Sets the repository remote service.
478             *
479             * @param repositoryService the repository remote service
480             */
481            public void setRepositoryService(
482                    com.liferay.portal.service.RepositoryService repositoryService) {
483                    this.repositoryService = repositoryService;
484            }
485    
486            /**
487             * Returns the repository persistence.
488             *
489             * @return the repository persistence
490             */
491            public RepositoryPersistence getRepositoryPersistence() {
492                    return repositoryPersistence;
493            }
494    
495            /**
496             * Sets the repository persistence.
497             *
498             * @param repositoryPersistence the repository persistence
499             */
500            public void setRepositoryPersistence(
501                    RepositoryPersistence repositoryPersistence) {
502                    this.repositoryPersistence = repositoryPersistence;
503            }
504    
505            /**
506             * Returns the counter local service.
507             *
508             * @return the counter local service
509             */
510            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
511                    return counterLocalService;
512            }
513    
514            /**
515             * Sets the counter local service.
516             *
517             * @param counterLocalService the counter local service
518             */
519            public void setCounterLocalService(
520                    com.liferay.counter.service.CounterLocalService counterLocalService) {
521                    this.counterLocalService = counterLocalService;
522            }
523    
524            /**
525             * Returns the class name local service.
526             *
527             * @return the class name local service
528             */
529            public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
530                    return classNameLocalService;
531            }
532    
533            /**
534             * Sets the class name local service.
535             *
536             * @param classNameLocalService the class name local service
537             */
538            public void setClassNameLocalService(
539                    com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
540                    this.classNameLocalService = classNameLocalService;
541            }
542    
543            /**
544             * Returns the class name remote service.
545             *
546             * @return the class name remote service
547             */
548            public com.liferay.portal.service.ClassNameService getClassNameService() {
549                    return classNameService;
550            }
551    
552            /**
553             * Sets the class name remote service.
554             *
555             * @param classNameService the class name remote service
556             */
557            public void setClassNameService(
558                    com.liferay.portal.service.ClassNameService classNameService) {
559                    this.classNameService = classNameService;
560            }
561    
562            /**
563             * Returns the class name persistence.
564             *
565             * @return the class name persistence
566             */
567            public ClassNamePersistence getClassNamePersistence() {
568                    return classNamePersistence;
569            }
570    
571            /**
572             * Sets the class name persistence.
573             *
574             * @param classNamePersistence the class name persistence
575             */
576            public void setClassNamePersistence(
577                    ClassNamePersistence classNamePersistence) {
578                    this.classNamePersistence = classNamePersistence;
579            }
580    
581            /**
582             * Returns the company local service.
583             *
584             * @return the company local service
585             */
586            public com.liferay.portal.service.CompanyLocalService getCompanyLocalService() {
587                    return companyLocalService;
588            }
589    
590            /**
591             * Sets the company local service.
592             *
593             * @param companyLocalService the company local service
594             */
595            public void setCompanyLocalService(
596                    com.liferay.portal.service.CompanyLocalService companyLocalService) {
597                    this.companyLocalService = companyLocalService;
598            }
599    
600            /**
601             * Returns the company remote service.
602             *
603             * @return the company remote service
604             */
605            public com.liferay.portal.service.CompanyService getCompanyService() {
606                    return companyService;
607            }
608    
609            /**
610             * Sets the company remote service.
611             *
612             * @param companyService the company remote service
613             */
614            public void setCompanyService(
615                    com.liferay.portal.service.CompanyService companyService) {
616                    this.companyService = companyService;
617            }
618    
619            /**
620             * Returns the company persistence.
621             *
622             * @return the company persistence
623             */
624            public CompanyPersistence getCompanyPersistence() {
625                    return companyPersistence;
626            }
627    
628            /**
629             * Sets the company persistence.
630             *
631             * @param companyPersistence the company persistence
632             */
633            public void setCompanyPersistence(CompanyPersistence companyPersistence) {
634                    this.companyPersistence = companyPersistence;
635            }
636    
637            /**
638             * Returns the group local service.
639             *
640             * @return the group local service
641             */
642            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
643                    return groupLocalService;
644            }
645    
646            /**
647             * Sets the group local service.
648             *
649             * @param groupLocalService the group local service
650             */
651            public void setGroupLocalService(
652                    com.liferay.portal.service.GroupLocalService groupLocalService) {
653                    this.groupLocalService = groupLocalService;
654            }
655    
656            /**
657             * Returns the group remote service.
658             *
659             * @return the group remote service
660             */
661            public com.liferay.portal.service.GroupService getGroupService() {
662                    return groupService;
663            }
664    
665            /**
666             * Sets the group remote service.
667             *
668             * @param groupService the group remote service
669             */
670            public void setGroupService(
671                    com.liferay.portal.service.GroupService groupService) {
672                    this.groupService = groupService;
673            }
674    
675            /**
676             * Returns the group persistence.
677             *
678             * @return the group persistence
679             */
680            public GroupPersistence getGroupPersistence() {
681                    return groupPersistence;
682            }
683    
684            /**
685             * Sets the group persistence.
686             *
687             * @param groupPersistence the group persistence
688             */
689            public void setGroupPersistence(GroupPersistence groupPersistence) {
690                    this.groupPersistence = groupPersistence;
691            }
692    
693            /**
694             * Returns the group finder.
695             *
696             * @return the group finder
697             */
698            public GroupFinder getGroupFinder() {
699                    return groupFinder;
700            }
701    
702            /**
703             * Sets the group finder.
704             *
705             * @param groupFinder the group finder
706             */
707            public void setGroupFinder(GroupFinder groupFinder) {
708                    this.groupFinder = groupFinder;
709            }
710    
711            /**
712             * Returns the asset entry local service.
713             *
714             * @return the asset entry local service
715             */
716            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
717                    return assetEntryLocalService;
718            }
719    
720            /**
721             * Sets the asset entry local service.
722             *
723             * @param assetEntryLocalService the asset entry local service
724             */
725            public void setAssetEntryLocalService(
726                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
727                    this.assetEntryLocalService = assetEntryLocalService;
728            }
729    
730            /**
731             * Returns the asset entry remote service.
732             *
733             * @return the asset entry remote service
734             */
735            public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
736                    return assetEntryService;
737            }
738    
739            /**
740             * Sets the asset entry remote service.
741             *
742             * @param assetEntryService the asset entry remote service
743             */
744            public void setAssetEntryService(
745                    com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
746                    this.assetEntryService = assetEntryService;
747            }
748    
749            /**
750             * Returns the asset entry persistence.
751             *
752             * @return the asset entry persistence
753             */
754            public AssetEntryPersistence getAssetEntryPersistence() {
755                    return assetEntryPersistence;
756            }
757    
758            /**
759             * Sets the asset entry persistence.
760             *
761             * @param assetEntryPersistence the asset entry persistence
762             */
763            public void setAssetEntryPersistence(
764                    AssetEntryPersistence assetEntryPersistence) {
765                    this.assetEntryPersistence = assetEntryPersistence;
766            }
767    
768            /**
769             * Returns the asset entry finder.
770             *
771             * @return the asset entry finder
772             */
773            public AssetEntryFinder getAssetEntryFinder() {
774                    return assetEntryFinder;
775            }
776    
777            /**
778             * Sets the asset entry finder.
779             *
780             * @param assetEntryFinder the asset entry finder
781             */
782            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
783                    this.assetEntryFinder = assetEntryFinder;
784            }
785    
786            /**
787             * Returns the d l app helper local service.
788             *
789             * @return the d l app helper local service
790             */
791            public com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService getDLAppHelperLocalService() {
792                    return dlAppHelperLocalService;
793            }
794    
795            /**
796             * Sets the d l app helper local service.
797             *
798             * @param dlAppHelperLocalService the d l app helper local service
799             */
800            public void setDLAppHelperLocalService(
801                    com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService dlAppHelperLocalService) {
802                    this.dlAppHelperLocalService = dlAppHelperLocalService;
803            }
804    
805            /**
806             * Returns the document library file entry local service.
807             *
808             * @return the document library file entry local service
809             */
810            public com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService getDLFileEntryLocalService() {
811                    return dlFileEntryLocalService;
812            }
813    
814            /**
815             * Sets the document library file entry local service.
816             *
817             * @param dlFileEntryLocalService the document library file entry local service
818             */
819            public void setDLFileEntryLocalService(
820                    com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService) {
821                    this.dlFileEntryLocalService = dlFileEntryLocalService;
822            }
823    
824            /**
825             * Returns the document library file entry remote service.
826             *
827             * @return the document library file entry remote service
828             */
829            public com.liferay.portlet.documentlibrary.service.DLFileEntryService getDLFileEntryService() {
830                    return dlFileEntryService;
831            }
832    
833            /**
834             * Sets the document library file entry remote service.
835             *
836             * @param dlFileEntryService the document library file entry remote service
837             */
838            public void setDLFileEntryService(
839                    com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService) {
840                    this.dlFileEntryService = dlFileEntryService;
841            }
842    
843            /**
844             * Returns the document library file entry persistence.
845             *
846             * @return the document library file entry persistence
847             */
848            public DLFileEntryPersistence getDLFileEntryPersistence() {
849                    return dlFileEntryPersistence;
850            }
851    
852            /**
853             * Sets the document library file entry persistence.
854             *
855             * @param dlFileEntryPersistence the document library file entry persistence
856             */
857            public void setDLFileEntryPersistence(
858                    DLFileEntryPersistence dlFileEntryPersistence) {
859                    this.dlFileEntryPersistence = dlFileEntryPersistence;
860            }
861    
862            /**
863             * Returns the document library file entry finder.
864             *
865             * @return the document library file entry finder
866             */
867            public DLFileEntryFinder getDLFileEntryFinder() {
868                    return dlFileEntryFinder;
869            }
870    
871            /**
872             * Sets the document library file entry finder.
873             *
874             * @param dlFileEntryFinder the document library file entry finder
875             */
876            public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
877                    this.dlFileEntryFinder = dlFileEntryFinder;
878            }
879    
880            /**
881             * Returns the document library file entry type local service.
882             *
883             * @return the document library file entry type local service
884             */
885            public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
886                    return dlFileEntryTypeLocalService;
887            }
888    
889            /**
890             * Sets the document library file entry type local service.
891             *
892             * @param dlFileEntryTypeLocalService the document library file entry type local service
893             */
894            public void setDLFileEntryTypeLocalService(
895                    com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
896                    this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
897            }
898    
899            /**
900             * Returns the document library file entry type remote service.
901             *
902             * @return the document library file entry type remote service
903             */
904            public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService getDLFileEntryTypeService() {
905                    return dlFileEntryTypeService;
906            }
907    
908            /**
909             * Sets the document library file entry type remote service.
910             *
911             * @param dlFileEntryTypeService the document library file entry type remote service
912             */
913            public void setDLFileEntryTypeService(
914                    com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService) {
915                    this.dlFileEntryTypeService = dlFileEntryTypeService;
916            }
917    
918            /**
919             * Returns the document library file entry type persistence.
920             *
921             * @return the document library file entry type persistence
922             */
923            public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
924                    return dlFileEntryTypePersistence;
925            }
926    
927            /**
928             * Sets the document library file entry type persistence.
929             *
930             * @param dlFileEntryTypePersistence the document library file entry type persistence
931             */
932            public void setDLFileEntryTypePersistence(
933                    DLFileEntryTypePersistence dlFileEntryTypePersistence) {
934                    this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
935            }
936    
937            /**
938             * Returns the document library file entry type finder.
939             *
940             * @return the document library file entry type finder
941             */
942            public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
943                    return dlFileEntryTypeFinder;
944            }
945    
946            /**
947             * Sets the document library file entry type finder.
948             *
949             * @param dlFileEntryTypeFinder the document library file entry type finder
950             */
951            public void setDLFileEntryTypeFinder(
952                    DLFileEntryTypeFinder dlFileEntryTypeFinder) {
953                    this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
954            }
955    
956            /**
957             * Returns the document library file shortcut local service.
958             *
959             * @return the document library file shortcut local service
960             */
961            public com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService getDLFileShortcutLocalService() {
962                    return dlFileShortcutLocalService;
963            }
964    
965            /**
966             * Sets the document library file shortcut local service.
967             *
968             * @param dlFileShortcutLocalService the document library file shortcut local service
969             */
970            public void setDLFileShortcutLocalService(
971                    com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService dlFileShortcutLocalService) {
972                    this.dlFileShortcutLocalService = dlFileShortcutLocalService;
973            }
974    
975            /**
976             * Returns the document library file shortcut remote service.
977             *
978             * @return the document library file shortcut remote service
979             */
980            public com.liferay.portlet.documentlibrary.service.DLFileShortcutService getDLFileShortcutService() {
981                    return dlFileShortcutService;
982            }
983    
984            /**
985             * Sets the document library file shortcut remote service.
986             *
987             * @param dlFileShortcutService the document library file shortcut remote service
988             */
989            public void setDLFileShortcutService(
990                    com.liferay.portlet.documentlibrary.service.DLFileShortcutService dlFileShortcutService) {
991                    this.dlFileShortcutService = dlFileShortcutService;
992            }
993    
994            /**
995             * Returns the document library file shortcut persistence.
996             *
997             * @return the document library file shortcut persistence
998             */
999            public DLFileShortcutPersistence getDLFileShortcutPersistence() {
1000                    return dlFileShortcutPersistence;
1001            }
1002    
1003            /**
1004             * Sets the document library file shortcut persistence.
1005             *
1006             * @param dlFileShortcutPersistence the document library file shortcut persistence
1007             */
1008            public void setDLFileShortcutPersistence(
1009                    DLFileShortcutPersistence dlFileShortcutPersistence) {
1010                    this.dlFileShortcutPersistence = dlFileShortcutPersistence;
1011            }
1012    
1013            /**
1014             * Returns the document library file version local service.
1015             *
1016             * @return the document library file version local service
1017             */
1018            public com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService getDLFileVersionLocalService() {
1019                    return dlFileVersionLocalService;
1020            }
1021    
1022            /**
1023             * Sets the document library file version local service.
1024             *
1025             * @param dlFileVersionLocalService the document library file version local service
1026             */
1027            public void setDLFileVersionLocalService(
1028                    com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService dlFileVersionLocalService) {
1029                    this.dlFileVersionLocalService = dlFileVersionLocalService;
1030            }
1031    
1032            /**
1033             * Returns the document library file version remote service.
1034             *
1035             * @return the document library file version remote service
1036             */
1037            public com.liferay.portlet.documentlibrary.service.DLFileVersionService getDLFileVersionService() {
1038                    return dlFileVersionService;
1039            }
1040    
1041            /**
1042             * Sets the document library file version remote service.
1043             *
1044             * @param dlFileVersionService the document library file version remote service
1045             */
1046            public void setDLFileVersionService(
1047                    com.liferay.portlet.documentlibrary.service.DLFileVersionService dlFileVersionService) {
1048                    this.dlFileVersionService = dlFileVersionService;
1049            }
1050    
1051            /**
1052             * Returns the document library file version persistence.
1053             *
1054             * @return the document library file version persistence
1055             */
1056            public DLFileVersionPersistence getDLFileVersionPersistence() {
1057                    return dlFileVersionPersistence;
1058            }
1059    
1060            /**
1061             * Sets the document library file version persistence.
1062             *
1063             * @param dlFileVersionPersistence the document library file version persistence
1064             */
1065            public void setDLFileVersionPersistence(
1066                    DLFileVersionPersistence dlFileVersionPersistence) {
1067                    this.dlFileVersionPersistence = dlFileVersionPersistence;
1068            }
1069    
1070            /**
1071             * Returns the document library folder local service.
1072             *
1073             * @return the document library folder local service
1074             */
1075            public com.liferay.portlet.documentlibrary.service.DLFolderLocalService getDLFolderLocalService() {
1076                    return dlFolderLocalService;
1077            }
1078    
1079            /**
1080             * Sets the document library folder local service.
1081             *
1082             * @param dlFolderLocalService the document library folder local service
1083             */
1084            public void setDLFolderLocalService(
1085                    com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService) {
1086                    this.dlFolderLocalService = dlFolderLocalService;
1087            }
1088    
1089            /**
1090             * Returns the document library folder remote service.
1091             *
1092             * @return the document library folder remote service
1093             */
1094            public com.liferay.portlet.documentlibrary.service.DLFolderService getDLFolderService() {
1095                    return dlFolderService;
1096            }
1097    
1098            /**
1099             * Sets the document library folder remote service.
1100             *
1101             * @param dlFolderService the document library folder remote service
1102             */
1103            public void setDLFolderService(
1104                    com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService) {
1105                    this.dlFolderService = dlFolderService;
1106            }
1107    
1108            /**
1109             * Returns the document library folder persistence.
1110             *
1111             * @return the document library folder persistence
1112             */
1113            public DLFolderPersistence getDLFolderPersistence() {
1114                    return dlFolderPersistence;
1115            }
1116    
1117            /**
1118             * Sets the document library folder persistence.
1119             *
1120             * @param dlFolderPersistence the document library folder persistence
1121             */
1122            public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
1123                    this.dlFolderPersistence = dlFolderPersistence;
1124            }
1125    
1126            /**
1127             * Returns the document library folder finder.
1128             *
1129             * @return the document library folder finder
1130             */
1131            public DLFolderFinder getDLFolderFinder() {
1132                    return dlFolderFinder;
1133            }
1134    
1135            /**
1136             * Sets the document library folder finder.
1137             *
1138             * @param dlFolderFinder the document library folder finder
1139             */
1140            public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
1141                    this.dlFolderFinder = dlFolderFinder;
1142            }
1143    
1144            /**
1145             * Returns the expando value local service.
1146             *
1147             * @return the expando value local service
1148             */
1149            public com.liferay.portlet.expando.service.ExpandoValueLocalService getExpandoValueLocalService() {
1150                    return expandoValueLocalService;
1151            }
1152    
1153            /**
1154             * Sets the expando value local service.
1155             *
1156             * @param expandoValueLocalService the expando value local service
1157             */
1158            public void setExpandoValueLocalService(
1159                    com.liferay.portlet.expando.service.ExpandoValueLocalService expandoValueLocalService) {
1160                    this.expandoValueLocalService = expandoValueLocalService;
1161            }
1162    
1163            /**
1164             * Returns the expando value remote service.
1165             *
1166             * @return the expando value remote service
1167             */
1168            public com.liferay.portlet.expando.service.ExpandoValueService getExpandoValueService() {
1169                    return expandoValueService;
1170            }
1171    
1172            /**
1173             * Sets the expando value remote service.
1174             *
1175             * @param expandoValueService the expando value remote service
1176             */
1177            public void setExpandoValueService(
1178                    com.liferay.portlet.expando.service.ExpandoValueService expandoValueService) {
1179                    this.expandoValueService = expandoValueService;
1180            }
1181    
1182            /**
1183             * Returns the expando value persistence.
1184             *
1185             * @return the expando value persistence
1186             */
1187            public ExpandoValuePersistence getExpandoValuePersistence() {
1188                    return expandoValuePersistence;
1189            }
1190    
1191            /**
1192             * Sets the expando value persistence.
1193             *
1194             * @param expandoValuePersistence the expando value persistence
1195             */
1196            public void setExpandoValuePersistence(
1197                    ExpandoValuePersistence expandoValuePersistence) {
1198                    this.expandoValuePersistence = expandoValuePersistence;
1199            }
1200    
1201            /**
1202             * Returns the repository entry local service.
1203             *
1204             * @return the repository entry local service
1205             */
1206            public com.liferay.portal.service.RepositoryEntryLocalService getRepositoryEntryLocalService() {
1207                    return repositoryEntryLocalService;
1208            }
1209    
1210            /**
1211             * Sets the repository entry local service.
1212             *
1213             * @param repositoryEntryLocalService the repository entry local service
1214             */
1215            public void setRepositoryEntryLocalService(
1216                    com.liferay.portal.service.RepositoryEntryLocalService repositoryEntryLocalService) {
1217                    this.repositoryEntryLocalService = repositoryEntryLocalService;
1218            }
1219    
1220            /**
1221             * Returns the repository entry persistence.
1222             *
1223             * @return the repository entry persistence
1224             */
1225            public RepositoryEntryPersistence getRepositoryEntryPersistence() {
1226                    return repositoryEntryPersistence;
1227            }
1228    
1229            /**
1230             * Sets the repository entry persistence.
1231             *
1232             * @param repositoryEntryPersistence the repository entry persistence
1233             */
1234            public void setRepositoryEntryPersistence(
1235                    RepositoryEntryPersistence repositoryEntryPersistence) {
1236                    this.repositoryEntryPersistence = repositoryEntryPersistence;
1237            }
1238    
1239            /**
1240             * Returns the resource local service.
1241             *
1242             * @return the resource local service
1243             */
1244            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
1245                    return resourceLocalService;
1246            }
1247    
1248            /**
1249             * Sets the resource local service.
1250             *
1251             * @param resourceLocalService the resource local service
1252             */
1253            public void setResourceLocalService(
1254                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
1255                    this.resourceLocalService = resourceLocalService;
1256            }
1257    
1258            /**
1259             * Returns the system event local service.
1260             *
1261             * @return the system event local service
1262             */
1263            public com.liferay.portal.service.SystemEventLocalService getSystemEventLocalService() {
1264                    return systemEventLocalService;
1265            }
1266    
1267            /**
1268             * Sets the system event local service.
1269             *
1270             * @param systemEventLocalService the system event local service
1271             */
1272            public void setSystemEventLocalService(
1273                    com.liferay.portal.service.SystemEventLocalService systemEventLocalService) {
1274                    this.systemEventLocalService = systemEventLocalService;
1275            }
1276    
1277            /**
1278             * Returns the system event persistence.
1279             *
1280             * @return the system event persistence
1281             */
1282            public SystemEventPersistence getSystemEventPersistence() {
1283                    return systemEventPersistence;
1284            }
1285    
1286            /**
1287             * Sets the system event persistence.
1288             *
1289             * @param systemEventPersistence the system event persistence
1290             */
1291            public void setSystemEventPersistence(
1292                    SystemEventPersistence systemEventPersistence) {
1293                    this.systemEventPersistence = systemEventPersistence;
1294            }
1295    
1296            /**
1297             * Returns the user local service.
1298             *
1299             * @return the user local service
1300             */
1301            public com.liferay.portal.service.UserLocalService getUserLocalService() {
1302                    return userLocalService;
1303            }
1304    
1305            /**
1306             * Sets the user local service.
1307             *
1308             * @param userLocalService the user local service
1309             */
1310            public void setUserLocalService(
1311                    com.liferay.portal.service.UserLocalService userLocalService) {
1312                    this.userLocalService = userLocalService;
1313            }
1314    
1315            /**
1316             * Returns the user remote service.
1317             *
1318             * @return the user remote service
1319             */
1320            public com.liferay.portal.service.UserService getUserService() {
1321                    return userService;
1322            }
1323    
1324            /**
1325             * Sets the user remote service.
1326             *
1327             * @param userService the user remote service
1328             */
1329            public void setUserService(
1330                    com.liferay.portal.service.UserService userService) {
1331                    this.userService = userService;
1332            }
1333    
1334            /**
1335             * Returns the user persistence.
1336             *
1337             * @return the user persistence
1338             */
1339            public UserPersistence getUserPersistence() {
1340                    return userPersistence;
1341            }
1342    
1343            /**
1344             * Sets the user persistence.
1345             *
1346             * @param userPersistence the user persistence
1347             */
1348            public void setUserPersistence(UserPersistence userPersistence) {
1349                    this.userPersistence = userPersistence;
1350            }
1351    
1352            /**
1353             * Returns the user finder.
1354             *
1355             * @return the user finder
1356             */
1357            public UserFinder getUserFinder() {
1358                    return userFinder;
1359            }
1360    
1361            /**
1362             * Sets the user finder.
1363             *
1364             * @param userFinder the user finder
1365             */
1366            public void setUserFinder(UserFinder userFinder) {
1367                    this.userFinder = userFinder;
1368            }
1369    
1370            public void afterPropertiesSet() {
1371                    persistedModelLocalServiceRegistry.register("com.liferay.portal.model.Repository",
1372                            repositoryLocalService);
1373            }
1374    
1375            public void destroy() {
1376                    persistedModelLocalServiceRegistry.unregister(
1377                            "com.liferay.portal.model.Repository");
1378            }
1379    
1380            /**
1381             * Returns the Spring bean ID for this bean.
1382             *
1383             * @return the Spring bean ID for this bean
1384             */
1385            @Override
1386            public String getBeanIdentifier() {
1387                    return _beanIdentifier;
1388            }
1389    
1390            /**
1391             * Sets the Spring bean ID for this bean.
1392             *
1393             * @param beanIdentifier the Spring bean ID for this bean
1394             */
1395            @Override
1396            public void setBeanIdentifier(String beanIdentifier) {
1397                    _beanIdentifier = beanIdentifier;
1398            }
1399    
1400            protected Class<?> getModelClass() {
1401                    return Repository.class;
1402            }
1403    
1404            protected String getModelClassName() {
1405                    return Repository.class.getName();
1406            }
1407    
1408            /**
1409             * Performs a SQL query.
1410             *
1411             * @param sql the sql query
1412             */
1413            protected void runSQL(String sql) {
1414                    try {
1415                            DataSource dataSource = repositoryPersistence.getDataSource();
1416    
1417                            DB db = DBFactoryUtil.getDB();
1418    
1419                            sql = db.buildSQL(sql);
1420                            sql = PortalUtil.transformSQL(sql);
1421    
1422                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1423                                            sql, new int[0]);
1424    
1425                            sqlUpdate.update();
1426                    }
1427                    catch (Exception e) {
1428                            throw new SystemException(e);
1429                    }
1430            }
1431    
1432            @BeanReference(type = RepositoryLocalService.class)
1433            protected RepositoryLocalService repositoryLocalService;
1434            @BeanReference(type = com.liferay.portal.service.RepositoryService.class)
1435            protected com.liferay.portal.service.RepositoryService repositoryService;
1436            @BeanReference(type = RepositoryPersistence.class)
1437            protected RepositoryPersistence repositoryPersistence;
1438            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1439            protected com.liferay.counter.service.CounterLocalService counterLocalService;
1440            @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
1441            protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
1442            @BeanReference(type = com.liferay.portal.service.ClassNameService.class)
1443            protected com.liferay.portal.service.ClassNameService classNameService;
1444            @BeanReference(type = ClassNamePersistence.class)
1445            protected ClassNamePersistence classNamePersistence;
1446            @BeanReference(type = com.liferay.portal.service.CompanyLocalService.class)
1447            protected com.liferay.portal.service.CompanyLocalService companyLocalService;
1448            @BeanReference(type = com.liferay.portal.service.CompanyService.class)
1449            protected com.liferay.portal.service.CompanyService companyService;
1450            @BeanReference(type = CompanyPersistence.class)
1451            protected CompanyPersistence companyPersistence;
1452            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1453            protected com.liferay.portal.service.GroupLocalService groupLocalService;
1454            @BeanReference(type = com.liferay.portal.service.GroupService.class)
1455            protected com.liferay.portal.service.GroupService groupService;
1456            @BeanReference(type = GroupPersistence.class)
1457            protected GroupPersistence groupPersistence;
1458            @BeanReference(type = GroupFinder.class)
1459            protected GroupFinder groupFinder;
1460            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1461            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1462            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1463            protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1464            @BeanReference(type = AssetEntryPersistence.class)
1465            protected AssetEntryPersistence assetEntryPersistence;
1466            @BeanReference(type = AssetEntryFinder.class)
1467            protected AssetEntryFinder assetEntryFinder;
1468            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService.class)
1469            protected com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService dlAppHelperLocalService;
1470            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService.class)
1471            protected com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService;
1472            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryService.class)
1473            protected com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService;
1474            @BeanReference(type = DLFileEntryPersistence.class)
1475            protected DLFileEntryPersistence dlFileEntryPersistence;
1476            @BeanReference(type = DLFileEntryFinder.class)
1477            protected DLFileEntryFinder dlFileEntryFinder;
1478            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService.class)
1479            protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1480            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService.class)
1481            protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService;
1482            @BeanReference(type = DLFileEntryTypePersistence.class)
1483            protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1484            @BeanReference(type = DLFileEntryTypeFinder.class)
1485            protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1486            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService.class)
1487            protected com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService dlFileShortcutLocalService;
1488            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileShortcutService.class)
1489            protected com.liferay.portlet.documentlibrary.service.DLFileShortcutService dlFileShortcutService;
1490            @BeanReference(type = DLFileShortcutPersistence.class)
1491            protected DLFileShortcutPersistence dlFileShortcutPersistence;
1492            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService.class)
1493            protected com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService dlFileVersionLocalService;
1494            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileVersionService.class)
1495            protected com.liferay.portlet.documentlibrary.service.DLFileVersionService dlFileVersionService;
1496            @BeanReference(type = DLFileVersionPersistence.class)
1497            protected DLFileVersionPersistence dlFileVersionPersistence;
1498            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderLocalService.class)
1499            protected com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService;
1500            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderService.class)
1501            protected com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService;
1502            @BeanReference(type = DLFolderPersistence.class)
1503            protected DLFolderPersistence dlFolderPersistence;
1504            @BeanReference(type = DLFolderFinder.class)
1505            protected DLFolderFinder dlFolderFinder;
1506            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoValueLocalService.class)
1507            protected com.liferay.portlet.expando.service.ExpandoValueLocalService expandoValueLocalService;
1508            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoValueService.class)
1509            protected com.liferay.portlet.expando.service.ExpandoValueService expandoValueService;
1510            @BeanReference(type = ExpandoValuePersistence.class)
1511            protected ExpandoValuePersistence expandoValuePersistence;
1512            @BeanReference(type = com.liferay.portal.service.RepositoryEntryLocalService.class)
1513            protected com.liferay.portal.service.RepositoryEntryLocalService repositoryEntryLocalService;
1514            @BeanReference(type = RepositoryEntryPersistence.class)
1515            protected RepositoryEntryPersistence repositoryEntryPersistence;
1516            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1517            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1518            @BeanReference(type = com.liferay.portal.service.SystemEventLocalService.class)
1519            protected com.liferay.portal.service.SystemEventLocalService systemEventLocalService;
1520            @BeanReference(type = SystemEventPersistence.class)
1521            protected SystemEventPersistence systemEventPersistence;
1522            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1523            protected com.liferay.portal.service.UserLocalService userLocalService;
1524            @BeanReference(type = com.liferay.portal.service.UserService.class)
1525            protected com.liferay.portal.service.UserService userService;
1526            @BeanReference(type = UserPersistence.class)
1527            protected UserPersistence userPersistence;
1528            @BeanReference(type = UserFinder.class)
1529            protected UserFinder userFinder;
1530            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1531            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1532            private String _beanIdentifier;
1533    }