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 that match the dynamic query.
209             *
210             * @param dynamicQuery the dynamic query
211             * @return the number of rows that match 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 that match 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 that match 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            @Override
365            public List<Repository> getRepositoriesByUuidAndCompanyId(String uuid,
366                    long companyId) {
367                    return repositoryPersistence.findByUuid_C(uuid, companyId);
368            }
369    
370            @Override
371            public List<Repository> getRepositoriesByUuidAndCompanyId(String uuid,
372                    long companyId, int start, int end,
373                    OrderByComparator<Repository> orderByComparator) {
374                    return repositoryPersistence.findByUuid_C(uuid, companyId, start, end,
375                            orderByComparator);
376            }
377    
378            /**
379             * Returns the repository matching the UUID and group.
380             *
381             * @param uuid the repository's UUID
382             * @param groupId the primary key of the group
383             * @return the matching repository
384             * @throws PortalException if a matching repository could not be found
385             */
386            @Override
387            public Repository getRepositoryByUuidAndGroupId(String uuid, long groupId)
388                    throws PortalException {
389                    return repositoryPersistence.findByUUID_G(uuid, groupId);
390            }
391    
392            /**
393             * Returns a range of all the repositories.
394             *
395             * <p>
396             * 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.
397             * </p>
398             *
399             * @param start the lower bound of the range of repositories
400             * @param end the upper bound of the range of repositories (not inclusive)
401             * @return the range of repositories
402             */
403            @Override
404            public List<Repository> getRepositories(int start, int end) {
405                    return repositoryPersistence.findAll(start, end);
406            }
407    
408            /**
409             * Returns the number of repositories.
410             *
411             * @return the number of repositories
412             */
413            @Override
414            public int getRepositoriesCount() {
415                    return repositoryPersistence.countAll();
416            }
417    
418            /**
419             * Updates the repository in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
420             *
421             * @param repository the repository
422             * @return the repository that was updated
423             */
424            @Indexable(type = IndexableType.REINDEX)
425            @Override
426            public Repository updateRepository(Repository repository) {
427                    return repositoryPersistence.update(repository);
428            }
429    
430            /**
431             * Returns the repository local service.
432             *
433             * @return the repository local service
434             */
435            public com.liferay.portal.service.RepositoryLocalService getRepositoryLocalService() {
436                    return repositoryLocalService;
437            }
438    
439            /**
440             * Sets the repository local service.
441             *
442             * @param repositoryLocalService the repository local service
443             */
444            public void setRepositoryLocalService(
445                    com.liferay.portal.service.RepositoryLocalService repositoryLocalService) {
446                    this.repositoryLocalService = repositoryLocalService;
447            }
448    
449            /**
450             * Returns the repository remote service.
451             *
452             * @return the repository remote service
453             */
454            public com.liferay.portal.service.RepositoryService getRepositoryService() {
455                    return repositoryService;
456            }
457    
458            /**
459             * Sets the repository remote service.
460             *
461             * @param repositoryService the repository remote service
462             */
463            public void setRepositoryService(
464                    com.liferay.portal.service.RepositoryService repositoryService) {
465                    this.repositoryService = repositoryService;
466            }
467    
468            /**
469             * Returns the repository persistence.
470             *
471             * @return the repository persistence
472             */
473            public RepositoryPersistence getRepositoryPersistence() {
474                    return repositoryPersistence;
475            }
476    
477            /**
478             * Sets the repository persistence.
479             *
480             * @param repositoryPersistence the repository persistence
481             */
482            public void setRepositoryPersistence(
483                    RepositoryPersistence repositoryPersistence) {
484                    this.repositoryPersistence = repositoryPersistence;
485            }
486    
487            /**
488             * Returns the counter local service.
489             *
490             * @return the counter local service
491             */
492            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
493                    return counterLocalService;
494            }
495    
496            /**
497             * Sets the counter local service.
498             *
499             * @param counterLocalService the counter local service
500             */
501            public void setCounterLocalService(
502                    com.liferay.counter.service.CounterLocalService counterLocalService) {
503                    this.counterLocalService = counterLocalService;
504            }
505    
506            /**
507             * Returns the class name local service.
508             *
509             * @return the class name local service
510             */
511            public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
512                    return classNameLocalService;
513            }
514    
515            /**
516             * Sets the class name local service.
517             *
518             * @param classNameLocalService the class name local service
519             */
520            public void setClassNameLocalService(
521                    com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
522                    this.classNameLocalService = classNameLocalService;
523            }
524    
525            /**
526             * Returns the class name remote service.
527             *
528             * @return the class name remote service
529             */
530            public com.liferay.portal.service.ClassNameService getClassNameService() {
531                    return classNameService;
532            }
533    
534            /**
535             * Sets the class name remote service.
536             *
537             * @param classNameService the class name remote service
538             */
539            public void setClassNameService(
540                    com.liferay.portal.service.ClassNameService classNameService) {
541                    this.classNameService = classNameService;
542            }
543    
544            /**
545             * Returns the class name persistence.
546             *
547             * @return the class name persistence
548             */
549            public ClassNamePersistence getClassNamePersistence() {
550                    return classNamePersistence;
551            }
552    
553            /**
554             * Sets the class name persistence.
555             *
556             * @param classNamePersistence the class name persistence
557             */
558            public void setClassNamePersistence(
559                    ClassNamePersistence classNamePersistence) {
560                    this.classNamePersistence = classNamePersistence;
561            }
562    
563            /**
564             * Returns the company local service.
565             *
566             * @return the company local service
567             */
568            public com.liferay.portal.service.CompanyLocalService getCompanyLocalService() {
569                    return companyLocalService;
570            }
571    
572            /**
573             * Sets the company local service.
574             *
575             * @param companyLocalService the company local service
576             */
577            public void setCompanyLocalService(
578                    com.liferay.portal.service.CompanyLocalService companyLocalService) {
579                    this.companyLocalService = companyLocalService;
580            }
581    
582            /**
583             * Returns the company remote service.
584             *
585             * @return the company remote service
586             */
587            public com.liferay.portal.service.CompanyService getCompanyService() {
588                    return companyService;
589            }
590    
591            /**
592             * Sets the company remote service.
593             *
594             * @param companyService the company remote service
595             */
596            public void setCompanyService(
597                    com.liferay.portal.service.CompanyService companyService) {
598                    this.companyService = companyService;
599            }
600    
601            /**
602             * Returns the company persistence.
603             *
604             * @return the company persistence
605             */
606            public CompanyPersistence getCompanyPersistence() {
607                    return companyPersistence;
608            }
609    
610            /**
611             * Sets the company persistence.
612             *
613             * @param companyPersistence the company persistence
614             */
615            public void setCompanyPersistence(CompanyPersistence companyPersistence) {
616                    this.companyPersistence = companyPersistence;
617            }
618    
619            /**
620             * Returns the group local service.
621             *
622             * @return the group local service
623             */
624            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
625                    return groupLocalService;
626            }
627    
628            /**
629             * Sets the group local service.
630             *
631             * @param groupLocalService the group local service
632             */
633            public void setGroupLocalService(
634                    com.liferay.portal.service.GroupLocalService groupLocalService) {
635                    this.groupLocalService = groupLocalService;
636            }
637    
638            /**
639             * Returns the group remote service.
640             *
641             * @return the group remote service
642             */
643            public com.liferay.portal.service.GroupService getGroupService() {
644                    return groupService;
645            }
646    
647            /**
648             * Sets the group remote service.
649             *
650             * @param groupService the group remote service
651             */
652            public void setGroupService(
653                    com.liferay.portal.service.GroupService groupService) {
654                    this.groupService = groupService;
655            }
656    
657            /**
658             * Returns the group persistence.
659             *
660             * @return the group persistence
661             */
662            public GroupPersistence getGroupPersistence() {
663                    return groupPersistence;
664            }
665    
666            /**
667             * Sets the group persistence.
668             *
669             * @param groupPersistence the group persistence
670             */
671            public void setGroupPersistence(GroupPersistence groupPersistence) {
672                    this.groupPersistence = groupPersistence;
673            }
674    
675            /**
676             * Returns the group finder.
677             *
678             * @return the group finder
679             */
680            public GroupFinder getGroupFinder() {
681                    return groupFinder;
682            }
683    
684            /**
685             * Sets the group finder.
686             *
687             * @param groupFinder the group finder
688             */
689            public void setGroupFinder(GroupFinder groupFinder) {
690                    this.groupFinder = groupFinder;
691            }
692    
693            /**
694             * Returns the asset entry local service.
695             *
696             * @return the asset entry local service
697             */
698            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
699                    return assetEntryLocalService;
700            }
701    
702            /**
703             * Sets the asset entry local service.
704             *
705             * @param assetEntryLocalService the asset entry local service
706             */
707            public void setAssetEntryLocalService(
708                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
709                    this.assetEntryLocalService = assetEntryLocalService;
710            }
711    
712            /**
713             * Returns the asset entry remote service.
714             *
715             * @return the asset entry remote service
716             */
717            public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
718                    return assetEntryService;
719            }
720    
721            /**
722             * Sets the asset entry remote service.
723             *
724             * @param assetEntryService the asset entry remote service
725             */
726            public void setAssetEntryService(
727                    com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
728                    this.assetEntryService = assetEntryService;
729            }
730    
731            /**
732             * Returns the asset entry persistence.
733             *
734             * @return the asset entry persistence
735             */
736            public AssetEntryPersistence getAssetEntryPersistence() {
737                    return assetEntryPersistence;
738            }
739    
740            /**
741             * Sets the asset entry persistence.
742             *
743             * @param assetEntryPersistence the asset entry persistence
744             */
745            public void setAssetEntryPersistence(
746                    AssetEntryPersistence assetEntryPersistence) {
747                    this.assetEntryPersistence = assetEntryPersistence;
748            }
749    
750            /**
751             * Returns the asset entry finder.
752             *
753             * @return the asset entry finder
754             */
755            public AssetEntryFinder getAssetEntryFinder() {
756                    return assetEntryFinder;
757            }
758    
759            /**
760             * Sets the asset entry finder.
761             *
762             * @param assetEntryFinder the asset entry finder
763             */
764            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
765                    this.assetEntryFinder = assetEntryFinder;
766            }
767    
768            /**
769             * Returns the d l app helper local service.
770             *
771             * @return the d l app helper local service
772             */
773            public com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService getDLAppHelperLocalService() {
774                    return dlAppHelperLocalService;
775            }
776    
777            /**
778             * Sets the d l app helper local service.
779             *
780             * @param dlAppHelperLocalService the d l app helper local service
781             */
782            public void setDLAppHelperLocalService(
783                    com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService dlAppHelperLocalService) {
784                    this.dlAppHelperLocalService = dlAppHelperLocalService;
785            }
786    
787            /**
788             * Returns the document library file entry local service.
789             *
790             * @return the document library file entry local service
791             */
792            public com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService getDLFileEntryLocalService() {
793                    return dlFileEntryLocalService;
794            }
795    
796            /**
797             * Sets the document library file entry local service.
798             *
799             * @param dlFileEntryLocalService the document library file entry local service
800             */
801            public void setDLFileEntryLocalService(
802                    com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService) {
803                    this.dlFileEntryLocalService = dlFileEntryLocalService;
804            }
805    
806            /**
807             * Returns the document library file entry remote service.
808             *
809             * @return the document library file entry remote service
810             */
811            public com.liferay.portlet.documentlibrary.service.DLFileEntryService getDLFileEntryService() {
812                    return dlFileEntryService;
813            }
814    
815            /**
816             * Sets the document library file entry remote service.
817             *
818             * @param dlFileEntryService the document library file entry remote service
819             */
820            public void setDLFileEntryService(
821                    com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService) {
822                    this.dlFileEntryService = dlFileEntryService;
823            }
824    
825            /**
826             * Returns the document library file entry persistence.
827             *
828             * @return the document library file entry persistence
829             */
830            public DLFileEntryPersistence getDLFileEntryPersistence() {
831                    return dlFileEntryPersistence;
832            }
833    
834            /**
835             * Sets the document library file entry persistence.
836             *
837             * @param dlFileEntryPersistence the document library file entry persistence
838             */
839            public void setDLFileEntryPersistence(
840                    DLFileEntryPersistence dlFileEntryPersistence) {
841                    this.dlFileEntryPersistence = dlFileEntryPersistence;
842            }
843    
844            /**
845             * Returns the document library file entry finder.
846             *
847             * @return the document library file entry finder
848             */
849            public DLFileEntryFinder getDLFileEntryFinder() {
850                    return dlFileEntryFinder;
851            }
852    
853            /**
854             * Sets the document library file entry finder.
855             *
856             * @param dlFileEntryFinder the document library file entry finder
857             */
858            public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
859                    this.dlFileEntryFinder = dlFileEntryFinder;
860            }
861    
862            /**
863             * Returns the document library file entry type local service.
864             *
865             * @return the document library file entry type local service
866             */
867            public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
868                    return dlFileEntryTypeLocalService;
869            }
870    
871            /**
872             * Sets the document library file entry type local service.
873             *
874             * @param dlFileEntryTypeLocalService the document library file entry type local service
875             */
876            public void setDLFileEntryTypeLocalService(
877                    com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
878                    this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
879            }
880    
881            /**
882             * Returns the document library file entry type remote service.
883             *
884             * @return the document library file entry type remote service
885             */
886            public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService getDLFileEntryTypeService() {
887                    return dlFileEntryTypeService;
888            }
889    
890            /**
891             * Sets the document library file entry type remote service.
892             *
893             * @param dlFileEntryTypeService the document library file entry type remote service
894             */
895            public void setDLFileEntryTypeService(
896                    com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService) {
897                    this.dlFileEntryTypeService = dlFileEntryTypeService;
898            }
899    
900            /**
901             * Returns the document library file entry type persistence.
902             *
903             * @return the document library file entry type persistence
904             */
905            public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
906                    return dlFileEntryTypePersistence;
907            }
908    
909            /**
910             * Sets the document library file entry type persistence.
911             *
912             * @param dlFileEntryTypePersistence the document library file entry type persistence
913             */
914            public void setDLFileEntryTypePersistence(
915                    DLFileEntryTypePersistence dlFileEntryTypePersistence) {
916                    this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
917            }
918    
919            /**
920             * Returns the document library file entry type finder.
921             *
922             * @return the document library file entry type finder
923             */
924            public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
925                    return dlFileEntryTypeFinder;
926            }
927    
928            /**
929             * Sets the document library file entry type finder.
930             *
931             * @param dlFileEntryTypeFinder the document library file entry type finder
932             */
933            public void setDLFileEntryTypeFinder(
934                    DLFileEntryTypeFinder dlFileEntryTypeFinder) {
935                    this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
936            }
937    
938            /**
939             * Returns the document library file version local service.
940             *
941             * @return the document library file version local service
942             */
943            public com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService getDLFileVersionLocalService() {
944                    return dlFileVersionLocalService;
945            }
946    
947            /**
948             * Sets the document library file version local service.
949             *
950             * @param dlFileVersionLocalService the document library file version local service
951             */
952            public void setDLFileVersionLocalService(
953                    com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService dlFileVersionLocalService) {
954                    this.dlFileVersionLocalService = dlFileVersionLocalService;
955            }
956    
957            /**
958             * Returns the document library file version remote service.
959             *
960             * @return the document library file version remote service
961             */
962            public com.liferay.portlet.documentlibrary.service.DLFileVersionService getDLFileVersionService() {
963                    return dlFileVersionService;
964            }
965    
966            /**
967             * Sets the document library file version remote service.
968             *
969             * @param dlFileVersionService the document library file version remote service
970             */
971            public void setDLFileVersionService(
972                    com.liferay.portlet.documentlibrary.service.DLFileVersionService dlFileVersionService) {
973                    this.dlFileVersionService = dlFileVersionService;
974            }
975    
976            /**
977             * Returns the document library file version persistence.
978             *
979             * @return the document library file version persistence
980             */
981            public DLFileVersionPersistence getDLFileVersionPersistence() {
982                    return dlFileVersionPersistence;
983            }
984    
985            /**
986             * Sets the document library file version persistence.
987             *
988             * @param dlFileVersionPersistence the document library file version persistence
989             */
990            public void setDLFileVersionPersistence(
991                    DLFileVersionPersistence dlFileVersionPersistence) {
992                    this.dlFileVersionPersistence = dlFileVersionPersistence;
993            }
994    
995            /**
996             * Returns the document library folder local service.
997             *
998             * @return the document library folder local service
999             */
1000            public com.liferay.portlet.documentlibrary.service.DLFolderLocalService getDLFolderLocalService() {
1001                    return dlFolderLocalService;
1002            }
1003    
1004            /**
1005             * Sets the document library folder local service.
1006             *
1007             * @param dlFolderLocalService the document library folder local service
1008             */
1009            public void setDLFolderLocalService(
1010                    com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService) {
1011                    this.dlFolderLocalService = dlFolderLocalService;
1012            }
1013    
1014            /**
1015             * Returns the document library folder remote service.
1016             *
1017             * @return the document library folder remote service
1018             */
1019            public com.liferay.portlet.documentlibrary.service.DLFolderService getDLFolderService() {
1020                    return dlFolderService;
1021            }
1022    
1023            /**
1024             * Sets the document library folder remote service.
1025             *
1026             * @param dlFolderService the document library folder remote service
1027             */
1028            public void setDLFolderService(
1029                    com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService) {
1030                    this.dlFolderService = dlFolderService;
1031            }
1032    
1033            /**
1034             * Returns the document library folder persistence.
1035             *
1036             * @return the document library folder persistence
1037             */
1038            public DLFolderPersistence getDLFolderPersistence() {
1039                    return dlFolderPersistence;
1040            }
1041    
1042            /**
1043             * Sets the document library folder persistence.
1044             *
1045             * @param dlFolderPersistence the document library folder persistence
1046             */
1047            public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
1048                    this.dlFolderPersistence = dlFolderPersistence;
1049            }
1050    
1051            /**
1052             * Returns the document library folder finder.
1053             *
1054             * @return the document library folder finder
1055             */
1056            public DLFolderFinder getDLFolderFinder() {
1057                    return dlFolderFinder;
1058            }
1059    
1060            /**
1061             * Sets the document library folder finder.
1062             *
1063             * @param dlFolderFinder the document library folder finder
1064             */
1065            public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
1066                    this.dlFolderFinder = dlFolderFinder;
1067            }
1068    
1069            /**
1070             * Returns the expando value local service.
1071             *
1072             * @return the expando value local service
1073             */
1074            public com.liferay.portlet.expando.service.ExpandoValueLocalService getExpandoValueLocalService() {
1075                    return expandoValueLocalService;
1076            }
1077    
1078            /**
1079             * Sets the expando value local service.
1080             *
1081             * @param expandoValueLocalService the expando value local service
1082             */
1083            public void setExpandoValueLocalService(
1084                    com.liferay.portlet.expando.service.ExpandoValueLocalService expandoValueLocalService) {
1085                    this.expandoValueLocalService = expandoValueLocalService;
1086            }
1087    
1088            /**
1089             * Returns the expando value remote service.
1090             *
1091             * @return the expando value remote service
1092             */
1093            public com.liferay.portlet.expando.service.ExpandoValueService getExpandoValueService() {
1094                    return expandoValueService;
1095            }
1096    
1097            /**
1098             * Sets the expando value remote service.
1099             *
1100             * @param expandoValueService the expando value remote service
1101             */
1102            public void setExpandoValueService(
1103                    com.liferay.portlet.expando.service.ExpandoValueService expandoValueService) {
1104                    this.expandoValueService = expandoValueService;
1105            }
1106    
1107            /**
1108             * Returns the expando value persistence.
1109             *
1110             * @return the expando value persistence
1111             */
1112            public ExpandoValuePersistence getExpandoValuePersistence() {
1113                    return expandoValuePersistence;
1114            }
1115    
1116            /**
1117             * Sets the expando value persistence.
1118             *
1119             * @param expandoValuePersistence the expando value persistence
1120             */
1121            public void setExpandoValuePersistence(
1122                    ExpandoValuePersistence expandoValuePersistence) {
1123                    this.expandoValuePersistence = expandoValuePersistence;
1124            }
1125    
1126            /**
1127             * Returns the repository entry local service.
1128             *
1129             * @return the repository entry local service
1130             */
1131            public com.liferay.portal.service.RepositoryEntryLocalService getRepositoryEntryLocalService() {
1132                    return repositoryEntryLocalService;
1133            }
1134    
1135            /**
1136             * Sets the repository entry local service.
1137             *
1138             * @param repositoryEntryLocalService the repository entry local service
1139             */
1140            public void setRepositoryEntryLocalService(
1141                    com.liferay.portal.service.RepositoryEntryLocalService repositoryEntryLocalService) {
1142                    this.repositoryEntryLocalService = repositoryEntryLocalService;
1143            }
1144    
1145            /**
1146             * Returns the repository entry persistence.
1147             *
1148             * @return the repository entry persistence
1149             */
1150            public RepositoryEntryPersistence getRepositoryEntryPersistence() {
1151                    return repositoryEntryPersistence;
1152            }
1153    
1154            /**
1155             * Sets the repository entry persistence.
1156             *
1157             * @param repositoryEntryPersistence the repository entry persistence
1158             */
1159            public void setRepositoryEntryPersistence(
1160                    RepositoryEntryPersistence repositoryEntryPersistence) {
1161                    this.repositoryEntryPersistence = repositoryEntryPersistence;
1162            }
1163    
1164            /**
1165             * Returns the resource local service.
1166             *
1167             * @return the resource local service
1168             */
1169            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
1170                    return resourceLocalService;
1171            }
1172    
1173            /**
1174             * Sets the resource local service.
1175             *
1176             * @param resourceLocalService the resource local service
1177             */
1178            public void setResourceLocalService(
1179                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
1180                    this.resourceLocalService = resourceLocalService;
1181            }
1182    
1183            /**
1184             * Returns the system event local service.
1185             *
1186             * @return the system event local service
1187             */
1188            public com.liferay.portal.service.SystemEventLocalService getSystemEventLocalService() {
1189                    return systemEventLocalService;
1190            }
1191    
1192            /**
1193             * Sets the system event local service.
1194             *
1195             * @param systemEventLocalService the system event local service
1196             */
1197            public void setSystemEventLocalService(
1198                    com.liferay.portal.service.SystemEventLocalService systemEventLocalService) {
1199                    this.systemEventLocalService = systemEventLocalService;
1200            }
1201    
1202            /**
1203             * Returns the system event persistence.
1204             *
1205             * @return the system event persistence
1206             */
1207            public SystemEventPersistence getSystemEventPersistence() {
1208                    return systemEventPersistence;
1209            }
1210    
1211            /**
1212             * Sets the system event persistence.
1213             *
1214             * @param systemEventPersistence the system event persistence
1215             */
1216            public void setSystemEventPersistence(
1217                    SystemEventPersistence systemEventPersistence) {
1218                    this.systemEventPersistence = systemEventPersistence;
1219            }
1220    
1221            /**
1222             * Returns the user local service.
1223             *
1224             * @return the user local service
1225             */
1226            public com.liferay.portal.service.UserLocalService getUserLocalService() {
1227                    return userLocalService;
1228            }
1229    
1230            /**
1231             * Sets the user local service.
1232             *
1233             * @param userLocalService the user local service
1234             */
1235            public void setUserLocalService(
1236                    com.liferay.portal.service.UserLocalService userLocalService) {
1237                    this.userLocalService = userLocalService;
1238            }
1239    
1240            /**
1241             * Returns the user remote service.
1242             *
1243             * @return the user remote service
1244             */
1245            public com.liferay.portal.service.UserService getUserService() {
1246                    return userService;
1247            }
1248    
1249            /**
1250             * Sets the user remote service.
1251             *
1252             * @param userService the user remote service
1253             */
1254            public void setUserService(
1255                    com.liferay.portal.service.UserService userService) {
1256                    this.userService = userService;
1257            }
1258    
1259            /**
1260             * Returns the user persistence.
1261             *
1262             * @return the user persistence
1263             */
1264            public UserPersistence getUserPersistence() {
1265                    return userPersistence;
1266            }
1267    
1268            /**
1269             * Sets the user persistence.
1270             *
1271             * @param userPersistence the user persistence
1272             */
1273            public void setUserPersistence(UserPersistence userPersistence) {
1274                    this.userPersistence = userPersistence;
1275            }
1276    
1277            /**
1278             * Returns the user finder.
1279             *
1280             * @return the user finder
1281             */
1282            public UserFinder getUserFinder() {
1283                    return userFinder;
1284            }
1285    
1286            /**
1287             * Sets the user finder.
1288             *
1289             * @param userFinder the user finder
1290             */
1291            public void setUserFinder(UserFinder userFinder) {
1292                    this.userFinder = userFinder;
1293            }
1294    
1295            public void afterPropertiesSet() {
1296                    persistedModelLocalServiceRegistry.register("com.liferay.portal.model.Repository",
1297                            repositoryLocalService);
1298            }
1299    
1300            public void destroy() {
1301                    persistedModelLocalServiceRegistry.unregister(
1302                            "com.liferay.portal.model.Repository");
1303            }
1304    
1305            /**
1306             * Returns the Spring bean ID for this bean.
1307             *
1308             * @return the Spring bean ID for this bean
1309             */
1310            @Override
1311            public String getBeanIdentifier() {
1312                    return _beanIdentifier;
1313            }
1314    
1315            /**
1316             * Sets the Spring bean ID for this bean.
1317             *
1318             * @param beanIdentifier the Spring bean ID for this bean
1319             */
1320            @Override
1321            public void setBeanIdentifier(String beanIdentifier) {
1322                    _beanIdentifier = beanIdentifier;
1323            }
1324    
1325            protected Class<?> getModelClass() {
1326                    return Repository.class;
1327            }
1328    
1329            protected String getModelClassName() {
1330                    return Repository.class.getName();
1331            }
1332    
1333            /**
1334             * Performs a SQL query.
1335             *
1336             * @param sql the sql query
1337             */
1338            protected void runSQL(String sql) {
1339                    try {
1340                            DataSource dataSource = repositoryPersistence.getDataSource();
1341    
1342                            DB db = DBFactoryUtil.getDB();
1343    
1344                            sql = db.buildSQL(sql);
1345                            sql = PortalUtil.transformSQL(sql);
1346    
1347                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1348                                            sql, new int[0]);
1349    
1350                            sqlUpdate.update();
1351                    }
1352                    catch (Exception e) {
1353                            throw new SystemException(e);
1354                    }
1355            }
1356    
1357            @BeanReference(type = com.liferay.portal.service.RepositoryLocalService.class)
1358            protected com.liferay.portal.service.RepositoryLocalService repositoryLocalService;
1359            @BeanReference(type = com.liferay.portal.service.RepositoryService.class)
1360            protected com.liferay.portal.service.RepositoryService repositoryService;
1361            @BeanReference(type = RepositoryPersistence.class)
1362            protected RepositoryPersistence repositoryPersistence;
1363            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1364            protected com.liferay.counter.service.CounterLocalService counterLocalService;
1365            @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
1366            protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
1367            @BeanReference(type = com.liferay.portal.service.ClassNameService.class)
1368            protected com.liferay.portal.service.ClassNameService classNameService;
1369            @BeanReference(type = ClassNamePersistence.class)
1370            protected ClassNamePersistence classNamePersistence;
1371            @BeanReference(type = com.liferay.portal.service.CompanyLocalService.class)
1372            protected com.liferay.portal.service.CompanyLocalService companyLocalService;
1373            @BeanReference(type = com.liferay.portal.service.CompanyService.class)
1374            protected com.liferay.portal.service.CompanyService companyService;
1375            @BeanReference(type = CompanyPersistence.class)
1376            protected CompanyPersistence companyPersistence;
1377            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1378            protected com.liferay.portal.service.GroupLocalService groupLocalService;
1379            @BeanReference(type = com.liferay.portal.service.GroupService.class)
1380            protected com.liferay.portal.service.GroupService groupService;
1381            @BeanReference(type = GroupPersistence.class)
1382            protected GroupPersistence groupPersistence;
1383            @BeanReference(type = GroupFinder.class)
1384            protected GroupFinder groupFinder;
1385            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1386            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1387            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1388            protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1389            @BeanReference(type = AssetEntryPersistence.class)
1390            protected AssetEntryPersistence assetEntryPersistence;
1391            @BeanReference(type = AssetEntryFinder.class)
1392            protected AssetEntryFinder assetEntryFinder;
1393            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService.class)
1394            protected com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService dlAppHelperLocalService;
1395            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService.class)
1396            protected com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService;
1397            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryService.class)
1398            protected com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService;
1399            @BeanReference(type = DLFileEntryPersistence.class)
1400            protected DLFileEntryPersistence dlFileEntryPersistence;
1401            @BeanReference(type = DLFileEntryFinder.class)
1402            protected DLFileEntryFinder dlFileEntryFinder;
1403            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService.class)
1404            protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1405            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService.class)
1406            protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService;
1407            @BeanReference(type = DLFileEntryTypePersistence.class)
1408            protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1409            @BeanReference(type = DLFileEntryTypeFinder.class)
1410            protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1411            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService.class)
1412            protected com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService dlFileVersionLocalService;
1413            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileVersionService.class)
1414            protected com.liferay.portlet.documentlibrary.service.DLFileVersionService dlFileVersionService;
1415            @BeanReference(type = DLFileVersionPersistence.class)
1416            protected DLFileVersionPersistence dlFileVersionPersistence;
1417            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderLocalService.class)
1418            protected com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService;
1419            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderService.class)
1420            protected com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService;
1421            @BeanReference(type = DLFolderPersistence.class)
1422            protected DLFolderPersistence dlFolderPersistence;
1423            @BeanReference(type = DLFolderFinder.class)
1424            protected DLFolderFinder dlFolderFinder;
1425            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoValueLocalService.class)
1426            protected com.liferay.portlet.expando.service.ExpandoValueLocalService expandoValueLocalService;
1427            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoValueService.class)
1428            protected com.liferay.portlet.expando.service.ExpandoValueService expandoValueService;
1429            @BeanReference(type = ExpandoValuePersistence.class)
1430            protected ExpandoValuePersistence expandoValuePersistence;
1431            @BeanReference(type = com.liferay.portal.service.RepositoryEntryLocalService.class)
1432            protected com.liferay.portal.service.RepositoryEntryLocalService repositoryEntryLocalService;
1433            @BeanReference(type = RepositoryEntryPersistence.class)
1434            protected RepositoryEntryPersistence repositoryEntryPersistence;
1435            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1436            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1437            @BeanReference(type = com.liferay.portal.service.SystemEventLocalService.class)
1438            protected com.liferay.portal.service.SystemEventLocalService systemEventLocalService;
1439            @BeanReference(type = SystemEventPersistence.class)
1440            protected SystemEventPersistence systemEventPersistence;
1441            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1442            protected com.liferay.portal.service.UserLocalService userLocalService;
1443            @BeanReference(type = com.liferay.portal.service.UserService.class)
1444            protected com.liferay.portal.service.UserService userService;
1445            @BeanReference(type = UserPersistence.class)
1446            protected UserPersistence userPersistence;
1447            @BeanReference(type = UserFinder.class)
1448            protected UserFinder userFinder;
1449            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1450            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1451            private String _beanIdentifier;
1452    }