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