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.portlet.documentlibrary.service.base;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.bean.IdentifiableBean;
021    import com.liferay.portal.kernel.dao.db.DB;
022    import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
023    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
024    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
025    import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery;
026    import com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery;
027    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
028    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
029    import com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery;
030    import com.liferay.portal.kernel.dao.orm.Projection;
031    import com.liferay.portal.kernel.dao.orm.Property;
032    import com.liferay.portal.kernel.dao.orm.PropertyFactoryUtil;
033    import com.liferay.portal.kernel.exception.PortalException;
034    import com.liferay.portal.kernel.exception.SystemException;
035    import com.liferay.portal.kernel.search.Indexable;
036    import com.liferay.portal.kernel.search.IndexableType;
037    import com.liferay.portal.kernel.util.OrderByComparator;
038    import com.liferay.portal.model.PersistedModel;
039    import com.liferay.portal.service.BaseLocalServiceImpl;
040    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
041    import com.liferay.portal.service.persistence.ClassNamePersistence;
042    import com.liferay.portal.service.persistence.GroupFinder;
043    import com.liferay.portal.service.persistence.GroupPersistence;
044    import com.liferay.portal.service.persistence.ImagePersistence;
045    import com.liferay.portal.service.persistence.RepositoryPersistence;
046    import com.liferay.portal.service.persistence.UserFinder;
047    import com.liferay.portal.service.persistence.UserPersistence;
048    import com.liferay.portal.service.persistence.WebDAVPropsPersistence;
049    import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
050    import com.liferay.portal.util.PortalUtil;
051    
052    import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
053    import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
054    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
055    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
056    import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
057    import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
058    import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
059    import com.liferay.portlet.documentlibrary.model.DLFileEntry;
060    import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
061    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
062    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataFinder;
063    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
064    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
065    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
066    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
067    import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
068    import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
069    import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
070    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder;
071    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence;
072    import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
073    import com.liferay.portlet.expando.service.persistence.ExpandoTablePersistence;
074    import com.liferay.portlet.exportimport.lar.ExportImportHelperUtil;
075    import com.liferay.portlet.exportimport.lar.ManifestSummary;
076    import com.liferay.portlet.exportimport.lar.PortletDataContext;
077    import com.liferay.portlet.exportimport.lar.StagedModelDataHandlerUtil;
078    import com.liferay.portlet.exportimport.lar.StagedModelType;
079    import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
080    
081    import java.io.Serializable;
082    
083    import java.util.List;
084    
085    import javax.sql.DataSource;
086    
087    /**
088     * Provides the base implementation for the document library file entry local service.
089     *
090     * <p>
091     * 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.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl}.
092     * </p>
093     *
094     * @author Brian Wing Shun Chan
095     * @see com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl
096     * @see com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil
097     * @generated
098     */
099    @ProviderType
100    public abstract class DLFileEntryLocalServiceBaseImpl
101            extends BaseLocalServiceImpl implements DLFileEntryLocalService,
102                    IdentifiableBean {
103            /*
104             * NOTE FOR DEVELOPERS:
105             *
106             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil} to access the document library file entry local service.
107             */
108    
109            /**
110             * Adds the document library file entry to the database. Also notifies the appropriate model listeners.
111             *
112             * @param dlFileEntry the document library file entry
113             * @return the document library file entry that was added
114             */
115            @Indexable(type = IndexableType.REINDEX)
116            @Override
117            public DLFileEntry addDLFileEntry(DLFileEntry dlFileEntry) {
118                    dlFileEntry.setNew(true);
119    
120                    return dlFileEntryPersistence.update(dlFileEntry);
121            }
122    
123            /**
124             * Creates a new document library file entry with the primary key. Does not add the document library file entry to the database.
125             *
126             * @param fileEntryId the primary key for the new document library file entry
127             * @return the new document library file entry
128             */
129            @Override
130            public DLFileEntry createDLFileEntry(long fileEntryId) {
131                    return dlFileEntryPersistence.create(fileEntryId);
132            }
133    
134            /**
135             * Deletes the document library file entry with the primary key from the database. Also notifies the appropriate model listeners.
136             *
137             * @param fileEntryId the primary key of the document library file entry
138             * @return the document library file entry that was removed
139             * @throws PortalException if a document library file entry with the primary key could not be found
140             */
141            @Indexable(type = IndexableType.DELETE)
142            @Override
143            public DLFileEntry deleteDLFileEntry(long fileEntryId)
144                    throws PortalException {
145                    return dlFileEntryPersistence.remove(fileEntryId);
146            }
147    
148            /**
149             * Deletes the document library file entry from the database. Also notifies the appropriate model listeners.
150             *
151             * @param dlFileEntry the document library file entry
152             * @return the document library file entry that was removed
153             */
154            @Indexable(type = IndexableType.DELETE)
155            @Override
156            public DLFileEntry deleteDLFileEntry(DLFileEntry dlFileEntry) {
157                    return dlFileEntryPersistence.remove(dlFileEntry);
158            }
159    
160            @Override
161            public DynamicQuery dynamicQuery() {
162                    Class<?> clazz = getClass();
163    
164                    return DynamicQueryFactoryUtil.forClass(DLFileEntry.class,
165                            clazz.getClassLoader());
166            }
167    
168            /**
169             * Performs a dynamic query on the database and returns the matching rows.
170             *
171             * @param dynamicQuery the dynamic query
172             * @return the matching rows
173             */
174            @Override
175            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery) {
176                    return dlFileEntryPersistence.findWithDynamicQuery(dynamicQuery);
177            }
178    
179            /**
180             * Performs a dynamic query on the database and returns a range of the matching rows.
181             *
182             * <p>
183             * 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.portlet.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
184             * </p>
185             *
186             * @param dynamicQuery the dynamic query
187             * @param start the lower bound of the range of model instances
188             * @param end the upper bound of the range of model instances (not inclusive)
189             * @return the range of matching rows
190             */
191            @Override
192            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
193                    int end) {
194                    return dlFileEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
195                            end);
196            }
197    
198            /**
199             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
200             *
201             * <p>
202             * 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.portlet.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
203             * </p>
204             *
205             * @param dynamicQuery the dynamic query
206             * @param start the lower bound of the range of model instances
207             * @param end the upper bound of the range of model instances (not inclusive)
208             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
209             * @return the ordered range of matching rows
210             */
211            @Override
212            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
213                    int end, OrderByComparator<T> orderByComparator) {
214                    return dlFileEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
215                            end, orderByComparator);
216            }
217    
218            /**
219             * Returns the number of rows matching the dynamic query.
220             *
221             * @param dynamicQuery the dynamic query
222             * @return the number of rows matching the dynamic query
223             */
224            @Override
225            public long dynamicQueryCount(DynamicQuery dynamicQuery) {
226                    return dlFileEntryPersistence.countWithDynamicQuery(dynamicQuery);
227            }
228    
229            /**
230             * Returns the number of rows matching the dynamic query.
231             *
232             * @param dynamicQuery the dynamic query
233             * @param projection the projection to apply to the query
234             * @return the number of rows matching the dynamic query
235             */
236            @Override
237            public long dynamicQueryCount(DynamicQuery dynamicQuery,
238                    Projection projection) {
239                    return dlFileEntryPersistence.countWithDynamicQuery(dynamicQuery,
240                            projection);
241            }
242    
243            @Override
244            public DLFileEntry fetchDLFileEntry(long fileEntryId) {
245                    return dlFileEntryPersistence.fetchByPrimaryKey(fileEntryId);
246            }
247    
248            /**
249             * Returns the document library file entry matching the UUID and group.
250             *
251             * @param uuid the document library file entry's UUID
252             * @param groupId the primary key of the group
253             * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
254             */
255            @Override
256            public DLFileEntry fetchDLFileEntryByUuidAndGroupId(String uuid,
257                    long groupId) {
258                    return dlFileEntryPersistence.fetchByUUID_G(uuid, groupId);
259            }
260    
261            /**
262             * Returns the document library file entry with the primary key.
263             *
264             * @param fileEntryId the primary key of the document library file entry
265             * @return the document library file entry
266             * @throws PortalException if a document library file entry with the primary key could not be found
267             */
268            @Override
269            public DLFileEntry getDLFileEntry(long fileEntryId)
270                    throws PortalException {
271                    return dlFileEntryPersistence.findByPrimaryKey(fileEntryId);
272            }
273    
274            @Override
275            public ActionableDynamicQuery getActionableDynamicQuery() {
276                    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
277    
278                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil.getService());
279                    actionableDynamicQuery.setClass(DLFileEntry.class);
280                    actionableDynamicQuery.setClassLoader(getClassLoader());
281    
282                    actionableDynamicQuery.setPrimaryKeyPropertyName("fileEntryId");
283    
284                    return actionableDynamicQuery;
285            }
286    
287            protected void initActionableDynamicQuery(
288                    ActionableDynamicQuery actionableDynamicQuery) {
289                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil.getService());
290                    actionableDynamicQuery.setClass(DLFileEntry.class);
291                    actionableDynamicQuery.setClassLoader(getClassLoader());
292    
293                    actionableDynamicQuery.setPrimaryKeyPropertyName("fileEntryId");
294            }
295    
296            @Override
297            public ExportActionableDynamicQuery getExportActionableDynamicQuery(
298                    final PortletDataContext portletDataContext) {
299                    final ExportActionableDynamicQuery exportActionableDynamicQuery = new ExportActionableDynamicQuery() {
300                                    @Override
301                                    public long performCount() throws PortalException {
302                                            ManifestSummary manifestSummary = portletDataContext.getManifestSummary();
303    
304                                            StagedModelType stagedModelType = getStagedModelType();
305    
306                                            long modelAdditionCount = super.performCount();
307    
308                                            manifestSummary.addModelAdditionCount(stagedModelType.toString(),
309                                                    modelAdditionCount);
310    
311                                            long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(portletDataContext,
312                                                            stagedModelType);
313    
314                                            manifestSummary.addModelDeletionCount(stagedModelType.toString(),
315                                                    modelDeletionCount);
316    
317                                            return modelAdditionCount;
318                                    }
319                            };
320    
321                    initActionableDynamicQuery(exportActionableDynamicQuery);
322    
323                    exportActionableDynamicQuery.setAddCriteriaMethod(new ActionableDynamicQuery.AddCriteriaMethod() {
324                                    @Override
325                                    public void addCriteria(DynamicQuery dynamicQuery) {
326                                            portletDataContext.addDateRangeCriteria(dynamicQuery,
327                                                    "modifiedDate");
328    
329                                            StagedModelType stagedModelType = exportActionableDynamicQuery.getStagedModelType();
330    
331                                            if (stagedModelType.getReferrerClassNameId() >= 0) {
332                                                    Property classNameIdProperty = PropertyFactoryUtil.forName(
333                                                                    "classNameId");
334    
335                                                    dynamicQuery.add(classNameIdProperty.eq(
336                                                                    stagedModelType.getReferrerClassNameId()));
337                                            }
338                                    }
339                            });
340    
341                    exportActionableDynamicQuery.setCompanyId(portletDataContext.getCompanyId());
342    
343                    exportActionableDynamicQuery.setGroupId(portletDataContext.getScopeGroupId());
344    
345                    exportActionableDynamicQuery.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod() {
346                                    @Override
347                                    public void performAction(Object object)
348                                            throws PortalException {
349                                            DLFileEntry stagedModel = (DLFileEntry)object;
350    
351                                            StagedModelDataHandlerUtil.exportStagedModel(portletDataContext,
352                                                    stagedModel);
353                                    }
354                            });
355                    exportActionableDynamicQuery.setStagedModelType(new StagedModelType(
356                                    PortalUtil.getClassNameId(DLFileEntry.class.getName())));
357    
358                    return exportActionableDynamicQuery;
359            }
360    
361            /**
362             * @throws PortalException
363             */
364            @Override
365            public PersistedModel deletePersistedModel(PersistedModel persistedModel)
366                    throws PortalException {
367                    return dlFileEntryLocalService.deleteDLFileEntry((DLFileEntry)persistedModel);
368            }
369    
370            @Override
371            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
372                    throws PortalException {
373                    return dlFileEntryPersistence.findByPrimaryKey(primaryKeyObj);
374            }
375    
376            /**
377             * Returns all the document library file entries matching the UUID and company.
378             *
379             * @param uuid the UUID of the document library file entries
380             * @param companyId the primary key of the company
381             * @return the matching document library file entries, or an empty list if no matches were found
382             */
383            @Override
384            public List<DLFileEntry> getDLFileEntriesByUuidAndCompanyId(String uuid,
385                    long companyId) {
386                    return dlFileEntryPersistence.findByUuid_C(uuid, companyId);
387            }
388    
389            /**
390             * Returns a range of document library file entries matching the UUID and company.
391             *
392             * @param uuid the UUID of the document library file entries
393             * @param companyId the primary key of the company
394             * @param start the lower bound of the range of document library file entries
395             * @param end the upper bound of the range of document library file entries (not inclusive)
396             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
397             * @return the range of matching document library file entries, or an empty list if no matches were found
398             */
399            @Override
400            public List<DLFileEntry> getDLFileEntriesByUuidAndCompanyId(String uuid,
401                    long companyId, int start, int end,
402                    OrderByComparator<DLFileEntry> orderByComparator) {
403                    return dlFileEntryPersistence.findByUuid_C(uuid, companyId, start, end,
404                            orderByComparator);
405            }
406    
407            /**
408             * Returns the document library file entry matching the UUID and group.
409             *
410             * @param uuid the document library file entry's UUID
411             * @param groupId the primary key of the group
412             * @return the matching document library file entry
413             * @throws PortalException if a matching document library file entry could not be found
414             */
415            @Override
416            public DLFileEntry getDLFileEntryByUuidAndGroupId(String uuid, long groupId)
417                    throws PortalException {
418                    return dlFileEntryPersistence.findByUUID_G(uuid, groupId);
419            }
420    
421            /**
422             * Returns a range of all the document library file entries.
423             *
424             * <p>
425             * 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.portlet.documentlibrary.model.impl.DLFileEntryModelImpl}. 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.
426             * </p>
427             *
428             * @param start the lower bound of the range of document library file entries
429             * @param end the upper bound of the range of document library file entries (not inclusive)
430             * @return the range of document library file entries
431             */
432            @Override
433            public List<DLFileEntry> getDLFileEntries(int start, int end) {
434                    return dlFileEntryPersistence.findAll(start, end);
435            }
436    
437            /**
438             * Returns the number of document library file entries.
439             *
440             * @return the number of document library file entries
441             */
442            @Override
443            public int getDLFileEntriesCount() {
444                    return dlFileEntryPersistence.countAll();
445            }
446    
447            /**
448             * Updates the document library file entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
449             *
450             * @param dlFileEntry the document library file entry
451             * @return the document library file entry that was updated
452             */
453            @Indexable(type = IndexableType.REINDEX)
454            @Override
455            public DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry) {
456                    return dlFileEntryPersistence.update(dlFileEntry);
457            }
458    
459            /**
460             * Returns the document library file entry local service.
461             *
462             * @return the document library file entry local service
463             */
464            public DLFileEntryLocalService getDLFileEntryLocalService() {
465                    return dlFileEntryLocalService;
466            }
467    
468            /**
469             * Sets the document library file entry local service.
470             *
471             * @param dlFileEntryLocalService the document library file entry local service
472             */
473            public void setDLFileEntryLocalService(
474                    DLFileEntryLocalService dlFileEntryLocalService) {
475                    this.dlFileEntryLocalService = dlFileEntryLocalService;
476            }
477    
478            /**
479             * Returns the document library file entry remote service.
480             *
481             * @return the document library file entry remote service
482             */
483            public com.liferay.portlet.documentlibrary.service.DLFileEntryService getDLFileEntryService() {
484                    return dlFileEntryService;
485            }
486    
487            /**
488             * Sets the document library file entry remote service.
489             *
490             * @param dlFileEntryService the document library file entry remote service
491             */
492            public void setDLFileEntryService(
493                    com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService) {
494                    this.dlFileEntryService = dlFileEntryService;
495            }
496    
497            /**
498             * Returns the document library file entry persistence.
499             *
500             * @return the document library file entry persistence
501             */
502            public DLFileEntryPersistence getDLFileEntryPersistence() {
503                    return dlFileEntryPersistence;
504            }
505    
506            /**
507             * Sets the document library file entry persistence.
508             *
509             * @param dlFileEntryPersistence the document library file entry persistence
510             */
511            public void setDLFileEntryPersistence(
512                    DLFileEntryPersistence dlFileEntryPersistence) {
513                    this.dlFileEntryPersistence = dlFileEntryPersistence;
514            }
515    
516            /**
517             * Returns the document library file entry finder.
518             *
519             * @return the document library file entry finder
520             */
521            public DLFileEntryFinder getDLFileEntryFinder() {
522                    return dlFileEntryFinder;
523            }
524    
525            /**
526             * Sets the document library file entry finder.
527             *
528             * @param dlFileEntryFinder the document library file entry finder
529             */
530            public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
531                    this.dlFileEntryFinder = dlFileEntryFinder;
532            }
533    
534            /**
535             * Returns the counter local service.
536             *
537             * @return the counter local service
538             */
539            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
540                    return counterLocalService;
541            }
542    
543            /**
544             * Sets the counter local service.
545             *
546             * @param counterLocalService the counter local service
547             */
548            public void setCounterLocalService(
549                    com.liferay.counter.service.CounterLocalService counterLocalService) {
550                    this.counterLocalService = counterLocalService;
551            }
552    
553            /**
554             * Returns the class name local service.
555             *
556             * @return the class name local service
557             */
558            public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
559                    return classNameLocalService;
560            }
561    
562            /**
563             * Sets the class name local service.
564             *
565             * @param classNameLocalService the class name local service
566             */
567            public void setClassNameLocalService(
568                    com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
569                    this.classNameLocalService = classNameLocalService;
570            }
571    
572            /**
573             * Returns the class name remote service.
574             *
575             * @return the class name remote service
576             */
577            public com.liferay.portal.service.ClassNameService getClassNameService() {
578                    return classNameService;
579            }
580    
581            /**
582             * Sets the class name remote service.
583             *
584             * @param classNameService the class name remote service
585             */
586            public void setClassNameService(
587                    com.liferay.portal.service.ClassNameService classNameService) {
588                    this.classNameService = classNameService;
589            }
590    
591            /**
592             * Returns the class name persistence.
593             *
594             * @return the class name persistence
595             */
596            public ClassNamePersistence getClassNamePersistence() {
597                    return classNamePersistence;
598            }
599    
600            /**
601             * Sets the class name persistence.
602             *
603             * @param classNamePersistence the class name persistence
604             */
605            public void setClassNamePersistence(
606                    ClassNamePersistence classNamePersistence) {
607                    this.classNamePersistence = classNamePersistence;
608            }
609    
610            /**
611             * Returns the group local service.
612             *
613             * @return the group local service
614             */
615            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
616                    return groupLocalService;
617            }
618    
619            /**
620             * Sets the group local service.
621             *
622             * @param groupLocalService the group local service
623             */
624            public void setGroupLocalService(
625                    com.liferay.portal.service.GroupLocalService groupLocalService) {
626                    this.groupLocalService = groupLocalService;
627            }
628    
629            /**
630             * Returns the group remote service.
631             *
632             * @return the group remote service
633             */
634            public com.liferay.portal.service.GroupService getGroupService() {
635                    return groupService;
636            }
637    
638            /**
639             * Sets the group remote service.
640             *
641             * @param groupService the group remote service
642             */
643            public void setGroupService(
644                    com.liferay.portal.service.GroupService groupService) {
645                    this.groupService = groupService;
646            }
647    
648            /**
649             * Returns the group persistence.
650             *
651             * @return the group persistence
652             */
653            public GroupPersistence getGroupPersistence() {
654                    return groupPersistence;
655            }
656    
657            /**
658             * Sets the group persistence.
659             *
660             * @param groupPersistence the group persistence
661             */
662            public void setGroupPersistence(GroupPersistence groupPersistence) {
663                    this.groupPersistence = groupPersistence;
664            }
665    
666            /**
667             * Returns the group finder.
668             *
669             * @return the group finder
670             */
671            public GroupFinder getGroupFinder() {
672                    return groupFinder;
673            }
674    
675            /**
676             * Sets the group finder.
677             *
678             * @param groupFinder the group finder
679             */
680            public void setGroupFinder(GroupFinder groupFinder) {
681                    this.groupFinder = groupFinder;
682            }
683    
684            /**
685             * Returns the image local service.
686             *
687             * @return the image local service
688             */
689            public com.liferay.portal.service.ImageLocalService getImageLocalService() {
690                    return imageLocalService;
691            }
692    
693            /**
694             * Sets the image local service.
695             *
696             * @param imageLocalService the image local service
697             */
698            public void setImageLocalService(
699                    com.liferay.portal.service.ImageLocalService imageLocalService) {
700                    this.imageLocalService = imageLocalService;
701            }
702    
703            /**
704             * Returns the image remote service.
705             *
706             * @return the image remote service
707             */
708            public com.liferay.portal.service.ImageService getImageService() {
709                    return imageService;
710            }
711    
712            /**
713             * Sets the image remote service.
714             *
715             * @param imageService the image remote service
716             */
717            public void setImageService(
718                    com.liferay.portal.service.ImageService imageService) {
719                    this.imageService = imageService;
720            }
721    
722            /**
723             * Returns the image persistence.
724             *
725             * @return the image persistence
726             */
727            public ImagePersistence getImagePersistence() {
728                    return imagePersistence;
729            }
730    
731            /**
732             * Sets the image persistence.
733             *
734             * @param imagePersistence the image persistence
735             */
736            public void setImagePersistence(ImagePersistence imagePersistence) {
737                    this.imagePersistence = imagePersistence;
738            }
739    
740            /**
741             * Returns the repository local service.
742             *
743             * @return the repository local service
744             */
745            public com.liferay.portal.service.RepositoryLocalService getRepositoryLocalService() {
746                    return repositoryLocalService;
747            }
748    
749            /**
750             * Sets the repository local service.
751             *
752             * @param repositoryLocalService the repository local service
753             */
754            public void setRepositoryLocalService(
755                    com.liferay.portal.service.RepositoryLocalService repositoryLocalService) {
756                    this.repositoryLocalService = repositoryLocalService;
757            }
758    
759            /**
760             * Returns the repository remote service.
761             *
762             * @return the repository remote service
763             */
764            public com.liferay.portal.service.RepositoryService getRepositoryService() {
765                    return repositoryService;
766            }
767    
768            /**
769             * Sets the repository remote service.
770             *
771             * @param repositoryService the repository remote service
772             */
773            public void setRepositoryService(
774                    com.liferay.portal.service.RepositoryService repositoryService) {
775                    this.repositoryService = repositoryService;
776            }
777    
778            /**
779             * Returns the repository persistence.
780             *
781             * @return the repository persistence
782             */
783            public RepositoryPersistence getRepositoryPersistence() {
784                    return repositoryPersistence;
785            }
786    
787            /**
788             * Sets the repository persistence.
789             *
790             * @param repositoryPersistence the repository persistence
791             */
792            public void setRepositoryPersistence(
793                    RepositoryPersistence repositoryPersistence) {
794                    this.repositoryPersistence = repositoryPersistence;
795            }
796    
797            /**
798             * Returns the resource local service.
799             *
800             * @return the resource local service
801             */
802            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
803                    return resourceLocalService;
804            }
805    
806            /**
807             * Sets the resource local service.
808             *
809             * @param resourceLocalService the resource local service
810             */
811            public void setResourceLocalService(
812                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
813                    this.resourceLocalService = resourceLocalService;
814            }
815    
816            /**
817             * Returns the user local service.
818             *
819             * @return the user local service
820             */
821            public com.liferay.portal.service.UserLocalService getUserLocalService() {
822                    return userLocalService;
823            }
824    
825            /**
826             * Sets the user local service.
827             *
828             * @param userLocalService the user local service
829             */
830            public void setUserLocalService(
831                    com.liferay.portal.service.UserLocalService userLocalService) {
832                    this.userLocalService = userLocalService;
833            }
834    
835            /**
836             * Returns the user remote service.
837             *
838             * @return the user remote service
839             */
840            public com.liferay.portal.service.UserService getUserService() {
841                    return userService;
842            }
843    
844            /**
845             * Sets the user remote service.
846             *
847             * @param userService the user remote service
848             */
849            public void setUserService(
850                    com.liferay.portal.service.UserService userService) {
851                    this.userService = userService;
852            }
853    
854            /**
855             * Returns the user persistence.
856             *
857             * @return the user persistence
858             */
859            public UserPersistence getUserPersistence() {
860                    return userPersistence;
861            }
862    
863            /**
864             * Sets the user persistence.
865             *
866             * @param userPersistence the user persistence
867             */
868            public void setUserPersistence(UserPersistence userPersistence) {
869                    this.userPersistence = userPersistence;
870            }
871    
872            /**
873             * Returns the user finder.
874             *
875             * @return the user finder
876             */
877            public UserFinder getUserFinder() {
878                    return userFinder;
879            }
880    
881            /**
882             * Sets the user finder.
883             *
884             * @param userFinder the user finder
885             */
886            public void setUserFinder(UserFinder userFinder) {
887                    this.userFinder = userFinder;
888            }
889    
890            /**
891             * Returns the web d a v props local service.
892             *
893             * @return the web d a v props local service
894             */
895            public com.liferay.portal.service.WebDAVPropsLocalService getWebDAVPropsLocalService() {
896                    return webDAVPropsLocalService;
897            }
898    
899            /**
900             * Sets the web d a v props local service.
901             *
902             * @param webDAVPropsLocalService the web d a v props local service
903             */
904            public void setWebDAVPropsLocalService(
905                    com.liferay.portal.service.WebDAVPropsLocalService webDAVPropsLocalService) {
906                    this.webDAVPropsLocalService = webDAVPropsLocalService;
907            }
908    
909            /**
910             * Returns the web d a v props persistence.
911             *
912             * @return the web d a v props persistence
913             */
914            public WebDAVPropsPersistence getWebDAVPropsPersistence() {
915                    return webDAVPropsPersistence;
916            }
917    
918            /**
919             * Sets the web d a v props persistence.
920             *
921             * @param webDAVPropsPersistence the web d a v props persistence
922             */
923            public void setWebDAVPropsPersistence(
924                    WebDAVPropsPersistence webDAVPropsPersistence) {
925                    this.webDAVPropsPersistence = webDAVPropsPersistence;
926            }
927    
928            /**
929             * Returns the workflow instance link local service.
930             *
931             * @return the workflow instance link local service
932             */
933            public com.liferay.portal.service.WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
934                    return workflowInstanceLinkLocalService;
935            }
936    
937            /**
938             * Sets the workflow instance link local service.
939             *
940             * @param workflowInstanceLinkLocalService the workflow instance link local service
941             */
942            public void setWorkflowInstanceLinkLocalService(
943                    com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
944                    this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
945            }
946    
947            /**
948             * Returns the workflow instance link persistence.
949             *
950             * @return the workflow instance link persistence
951             */
952            public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
953                    return workflowInstanceLinkPersistence;
954            }
955    
956            /**
957             * Sets the workflow instance link persistence.
958             *
959             * @param workflowInstanceLinkPersistence the workflow instance link persistence
960             */
961            public void setWorkflowInstanceLinkPersistence(
962                    WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
963                    this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
964            }
965    
966            /**
967             * Returns the asset category local service.
968             *
969             * @return the asset category local service
970             */
971            public com.liferay.portlet.asset.service.AssetCategoryLocalService getAssetCategoryLocalService() {
972                    return assetCategoryLocalService;
973            }
974    
975            /**
976             * Sets the asset category local service.
977             *
978             * @param assetCategoryLocalService the asset category local service
979             */
980            public void setAssetCategoryLocalService(
981                    com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService) {
982                    this.assetCategoryLocalService = assetCategoryLocalService;
983            }
984    
985            /**
986             * Returns the asset category remote service.
987             *
988             * @return the asset category remote service
989             */
990            public com.liferay.portlet.asset.service.AssetCategoryService getAssetCategoryService() {
991                    return assetCategoryService;
992            }
993    
994            /**
995             * Sets the asset category remote service.
996             *
997             * @param assetCategoryService the asset category remote service
998             */
999            public void setAssetCategoryService(
1000                    com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService) {
1001                    this.assetCategoryService = assetCategoryService;
1002            }
1003    
1004            /**
1005             * Returns the asset category persistence.
1006             *
1007             * @return the asset category persistence
1008             */
1009            public AssetCategoryPersistence getAssetCategoryPersistence() {
1010                    return assetCategoryPersistence;
1011            }
1012    
1013            /**
1014             * Sets the asset category persistence.
1015             *
1016             * @param assetCategoryPersistence the asset category persistence
1017             */
1018            public void setAssetCategoryPersistence(
1019                    AssetCategoryPersistence assetCategoryPersistence) {
1020                    this.assetCategoryPersistence = assetCategoryPersistence;
1021            }
1022    
1023            /**
1024             * Returns the asset category finder.
1025             *
1026             * @return the asset category finder
1027             */
1028            public AssetCategoryFinder getAssetCategoryFinder() {
1029                    return assetCategoryFinder;
1030            }
1031    
1032            /**
1033             * Sets the asset category finder.
1034             *
1035             * @param assetCategoryFinder the asset category finder
1036             */
1037            public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
1038                    this.assetCategoryFinder = assetCategoryFinder;
1039            }
1040    
1041            /**
1042             * Returns the asset entry local service.
1043             *
1044             * @return the asset entry local service
1045             */
1046            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
1047                    return assetEntryLocalService;
1048            }
1049    
1050            /**
1051             * Sets the asset entry local service.
1052             *
1053             * @param assetEntryLocalService the asset entry local service
1054             */
1055            public void setAssetEntryLocalService(
1056                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
1057                    this.assetEntryLocalService = assetEntryLocalService;
1058            }
1059    
1060            /**
1061             * Returns the asset entry remote service.
1062             *
1063             * @return the asset entry remote service
1064             */
1065            public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
1066                    return assetEntryService;
1067            }
1068    
1069            /**
1070             * Sets the asset entry remote service.
1071             *
1072             * @param assetEntryService the asset entry remote service
1073             */
1074            public void setAssetEntryService(
1075                    com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
1076                    this.assetEntryService = assetEntryService;
1077            }
1078    
1079            /**
1080             * Returns the asset entry persistence.
1081             *
1082             * @return the asset entry persistence
1083             */
1084            public AssetEntryPersistence getAssetEntryPersistence() {
1085                    return assetEntryPersistence;
1086            }
1087    
1088            /**
1089             * Sets the asset entry persistence.
1090             *
1091             * @param assetEntryPersistence the asset entry persistence
1092             */
1093            public void setAssetEntryPersistence(
1094                    AssetEntryPersistence assetEntryPersistence) {
1095                    this.assetEntryPersistence = assetEntryPersistence;
1096            }
1097    
1098            /**
1099             * Returns the asset entry finder.
1100             *
1101             * @return the asset entry finder
1102             */
1103            public AssetEntryFinder getAssetEntryFinder() {
1104                    return assetEntryFinder;
1105            }
1106    
1107            /**
1108             * Sets the asset entry finder.
1109             *
1110             * @param assetEntryFinder the asset entry finder
1111             */
1112            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1113                    this.assetEntryFinder = assetEntryFinder;
1114            }
1115    
1116            /**
1117             * Returns the asset link local service.
1118             *
1119             * @return the asset link local service
1120             */
1121            public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
1122                    return assetLinkLocalService;
1123            }
1124    
1125            /**
1126             * Sets the asset link local service.
1127             *
1128             * @param assetLinkLocalService the asset link local service
1129             */
1130            public void setAssetLinkLocalService(
1131                    com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
1132                    this.assetLinkLocalService = assetLinkLocalService;
1133            }
1134    
1135            /**
1136             * Returns the asset link persistence.
1137             *
1138             * @return the asset link persistence
1139             */
1140            public AssetLinkPersistence getAssetLinkPersistence() {
1141                    return assetLinkPersistence;
1142            }
1143    
1144            /**
1145             * Sets the asset link persistence.
1146             *
1147             * @param assetLinkPersistence the asset link persistence
1148             */
1149            public void setAssetLinkPersistence(
1150                    AssetLinkPersistence assetLinkPersistence) {
1151                    this.assetLinkPersistence = assetLinkPersistence;
1152            }
1153    
1154            /**
1155             * Returns the asset tag local service.
1156             *
1157             * @return the asset tag local service
1158             */
1159            public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
1160                    return assetTagLocalService;
1161            }
1162    
1163            /**
1164             * Sets the asset tag local service.
1165             *
1166             * @param assetTagLocalService the asset tag local service
1167             */
1168            public void setAssetTagLocalService(
1169                    com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
1170                    this.assetTagLocalService = assetTagLocalService;
1171            }
1172    
1173            /**
1174             * Returns the asset tag remote service.
1175             *
1176             * @return the asset tag remote service
1177             */
1178            public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
1179                    return assetTagService;
1180            }
1181    
1182            /**
1183             * Sets the asset tag remote service.
1184             *
1185             * @param assetTagService the asset tag remote service
1186             */
1187            public void setAssetTagService(
1188                    com.liferay.portlet.asset.service.AssetTagService assetTagService) {
1189                    this.assetTagService = assetTagService;
1190            }
1191    
1192            /**
1193             * Returns the asset tag persistence.
1194             *
1195             * @return the asset tag persistence
1196             */
1197            public AssetTagPersistence getAssetTagPersistence() {
1198                    return assetTagPersistence;
1199            }
1200    
1201            /**
1202             * Sets the asset tag persistence.
1203             *
1204             * @param assetTagPersistence the asset tag persistence
1205             */
1206            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1207                    this.assetTagPersistence = assetTagPersistence;
1208            }
1209    
1210            /**
1211             * Returns the asset tag finder.
1212             *
1213             * @return the asset tag finder
1214             */
1215            public AssetTagFinder getAssetTagFinder() {
1216                    return assetTagFinder;
1217            }
1218    
1219            /**
1220             * Sets the asset tag finder.
1221             *
1222             * @param assetTagFinder the asset tag finder
1223             */
1224            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1225                    this.assetTagFinder = assetTagFinder;
1226            }
1227    
1228            /**
1229             * Returns the d l app helper local service.
1230             *
1231             * @return the d l app helper local service
1232             */
1233            public com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService getDLAppHelperLocalService() {
1234                    return dlAppHelperLocalService;
1235            }
1236    
1237            /**
1238             * Sets the d l app helper local service.
1239             *
1240             * @param dlAppHelperLocalService the d l app helper local service
1241             */
1242            public void setDLAppHelperLocalService(
1243                    com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService dlAppHelperLocalService) {
1244                    this.dlAppHelperLocalService = dlAppHelperLocalService;
1245            }
1246    
1247            /**
1248             * Returns the d d m structure local service.
1249             *
1250             * @return the d d m structure local service
1251             */
1252            public com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService getDDMStructureLocalService() {
1253                    return ddmStructureLocalService;
1254            }
1255    
1256            /**
1257             * Sets the d d m structure local service.
1258             *
1259             * @param ddmStructureLocalService the d d m structure local service
1260             */
1261            public void setDDMStructureLocalService(
1262                    com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService) {
1263                    this.ddmStructureLocalService = ddmStructureLocalService;
1264            }
1265    
1266            /**
1267             * Returns the d d m structure remote service.
1268             *
1269             * @return the d d m structure remote service
1270             */
1271            public com.liferay.portlet.dynamicdatamapping.service.DDMStructureService getDDMStructureService() {
1272                    return ddmStructureService;
1273            }
1274    
1275            /**
1276             * Sets the d d m structure remote service.
1277             *
1278             * @param ddmStructureService the d d m structure remote service
1279             */
1280            public void setDDMStructureService(
1281                    com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService) {
1282                    this.ddmStructureService = ddmStructureService;
1283            }
1284    
1285            /**
1286             * Returns the d d m structure persistence.
1287             *
1288             * @return the d d m structure persistence
1289             */
1290            public DDMStructurePersistence getDDMStructurePersistence() {
1291                    return ddmStructurePersistence;
1292            }
1293    
1294            /**
1295             * Sets the d d m structure persistence.
1296             *
1297             * @param ddmStructurePersistence the d d m structure persistence
1298             */
1299            public void setDDMStructurePersistence(
1300                    DDMStructurePersistence ddmStructurePersistence) {
1301                    this.ddmStructurePersistence = ddmStructurePersistence;
1302            }
1303    
1304            /**
1305             * Returns the d d m structure finder.
1306             *
1307             * @return the d d m structure finder
1308             */
1309            public DDMStructureFinder getDDMStructureFinder() {
1310                    return ddmStructureFinder;
1311            }
1312    
1313            /**
1314             * Sets the d d m structure finder.
1315             *
1316             * @param ddmStructureFinder the d d m structure finder
1317             */
1318            public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder) {
1319                    this.ddmStructureFinder = ddmStructureFinder;
1320            }
1321    
1322            /**
1323             * Returns the expando row local service.
1324             *
1325             * @return the expando row local service
1326             */
1327            public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
1328                    return expandoRowLocalService;
1329            }
1330    
1331            /**
1332             * Sets the expando row local service.
1333             *
1334             * @param expandoRowLocalService the expando row local service
1335             */
1336            public void setExpandoRowLocalService(
1337                    com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
1338                    this.expandoRowLocalService = expandoRowLocalService;
1339            }
1340    
1341            /**
1342             * Returns the expando row persistence.
1343             *
1344             * @return the expando row persistence
1345             */
1346            public ExpandoRowPersistence getExpandoRowPersistence() {
1347                    return expandoRowPersistence;
1348            }
1349    
1350            /**
1351             * Sets the expando row persistence.
1352             *
1353             * @param expandoRowPersistence the expando row persistence
1354             */
1355            public void setExpandoRowPersistence(
1356                    ExpandoRowPersistence expandoRowPersistence) {
1357                    this.expandoRowPersistence = expandoRowPersistence;
1358            }
1359    
1360            /**
1361             * Returns the expando table local service.
1362             *
1363             * @return the expando table local service
1364             */
1365            public com.liferay.portlet.expando.service.ExpandoTableLocalService getExpandoTableLocalService() {
1366                    return expandoTableLocalService;
1367            }
1368    
1369            /**
1370             * Sets the expando table local service.
1371             *
1372             * @param expandoTableLocalService the expando table local service
1373             */
1374            public void setExpandoTableLocalService(
1375                    com.liferay.portlet.expando.service.ExpandoTableLocalService expandoTableLocalService) {
1376                    this.expandoTableLocalService = expandoTableLocalService;
1377            }
1378    
1379            /**
1380             * Returns the expando table persistence.
1381             *
1382             * @return the expando table persistence
1383             */
1384            public ExpandoTablePersistence getExpandoTablePersistence() {
1385                    return expandoTablePersistence;
1386            }
1387    
1388            /**
1389             * Sets the expando table persistence.
1390             *
1391             * @param expandoTablePersistence the expando table persistence
1392             */
1393            public void setExpandoTablePersistence(
1394                    ExpandoTablePersistence expandoTablePersistence) {
1395                    this.expandoTablePersistence = expandoTablePersistence;
1396            }
1397    
1398            /**
1399             * Returns the trash entry local service.
1400             *
1401             * @return the trash entry local service
1402             */
1403            public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
1404                    return trashEntryLocalService;
1405            }
1406    
1407            /**
1408             * Sets the trash entry local service.
1409             *
1410             * @param trashEntryLocalService the trash entry local service
1411             */
1412            public void setTrashEntryLocalService(
1413                    com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
1414                    this.trashEntryLocalService = trashEntryLocalService;
1415            }
1416    
1417            /**
1418             * Returns the trash entry remote service.
1419             *
1420             * @return the trash entry remote service
1421             */
1422            public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
1423                    return trashEntryService;
1424            }
1425    
1426            /**
1427             * Sets the trash entry remote service.
1428             *
1429             * @param trashEntryService the trash entry remote service
1430             */
1431            public void setTrashEntryService(
1432                    com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
1433                    this.trashEntryService = trashEntryService;
1434            }
1435    
1436            /**
1437             * Returns the trash entry persistence.
1438             *
1439             * @return the trash entry persistence
1440             */
1441            public TrashEntryPersistence getTrashEntryPersistence() {
1442                    return trashEntryPersistence;
1443            }
1444    
1445            /**
1446             * Sets the trash entry persistence.
1447             *
1448             * @param trashEntryPersistence the trash entry persistence
1449             */
1450            public void setTrashEntryPersistence(
1451                    TrashEntryPersistence trashEntryPersistence) {
1452                    this.trashEntryPersistence = trashEntryPersistence;
1453            }
1454    
1455            /**
1456             * Returns the document library file entry metadata local service.
1457             *
1458             * @return the document library file entry metadata local service
1459             */
1460            public com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
1461                    return dlFileEntryMetadataLocalService;
1462            }
1463    
1464            /**
1465             * Sets the document library file entry metadata local service.
1466             *
1467             * @param dlFileEntryMetadataLocalService the document library file entry metadata local service
1468             */
1469            public void setDLFileEntryMetadataLocalService(
1470                    com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
1471                    this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
1472            }
1473    
1474            /**
1475             * Returns the document library file entry metadata persistence.
1476             *
1477             * @return the document library file entry metadata persistence
1478             */
1479            public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
1480                    return dlFileEntryMetadataPersistence;
1481            }
1482    
1483            /**
1484             * Sets the document library file entry metadata persistence.
1485             *
1486             * @param dlFileEntryMetadataPersistence the document library file entry metadata persistence
1487             */
1488            public void setDLFileEntryMetadataPersistence(
1489                    DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
1490                    this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
1491            }
1492    
1493            /**
1494             * Returns the document library file entry metadata finder.
1495             *
1496             * @return the document library file entry metadata finder
1497             */
1498            public DLFileEntryMetadataFinder getDLFileEntryMetadataFinder() {
1499                    return dlFileEntryMetadataFinder;
1500            }
1501    
1502            /**
1503             * Sets the document library file entry metadata finder.
1504             *
1505             * @param dlFileEntryMetadataFinder the document library file entry metadata finder
1506             */
1507            public void setDLFileEntryMetadataFinder(
1508                    DLFileEntryMetadataFinder dlFileEntryMetadataFinder) {
1509                    this.dlFileEntryMetadataFinder = dlFileEntryMetadataFinder;
1510            }
1511    
1512            /**
1513             * Returns the document library file entry type local service.
1514             *
1515             * @return the document library file entry type local service
1516             */
1517            public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
1518                    return dlFileEntryTypeLocalService;
1519            }
1520    
1521            /**
1522             * Sets the document library file entry type local service.
1523             *
1524             * @param dlFileEntryTypeLocalService the document library file entry type local service
1525             */
1526            public void setDLFileEntryTypeLocalService(
1527                    com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
1528                    this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
1529            }
1530    
1531            /**
1532             * Returns the document library file entry type remote service.
1533             *
1534             * @return the document library file entry type remote service
1535             */
1536            public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService getDLFileEntryTypeService() {
1537                    return dlFileEntryTypeService;
1538            }
1539    
1540            /**
1541             * Sets the document library file entry type remote service.
1542             *
1543             * @param dlFileEntryTypeService the document library file entry type remote service
1544             */
1545            public void setDLFileEntryTypeService(
1546                    com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService) {
1547                    this.dlFileEntryTypeService = dlFileEntryTypeService;
1548            }
1549    
1550            /**
1551             * Returns the document library file entry type persistence.
1552             *
1553             * @return the document library file entry type persistence
1554             */
1555            public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
1556                    return dlFileEntryTypePersistence;
1557            }
1558    
1559            /**
1560             * Sets the document library file entry type persistence.
1561             *
1562             * @param dlFileEntryTypePersistence the document library file entry type persistence
1563             */
1564            public void setDLFileEntryTypePersistence(
1565                    DLFileEntryTypePersistence dlFileEntryTypePersistence) {
1566                    this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
1567            }
1568    
1569            /**
1570             * Returns the document library file entry type finder.
1571             *
1572             * @return the document library file entry type finder
1573             */
1574            public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
1575                    return dlFileEntryTypeFinder;
1576            }
1577    
1578            /**
1579             * Sets the document library file entry type finder.
1580             *
1581             * @param dlFileEntryTypeFinder the document library file entry type finder
1582             */
1583            public void setDLFileEntryTypeFinder(
1584                    DLFileEntryTypeFinder dlFileEntryTypeFinder) {
1585                    this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
1586            }
1587    
1588            /**
1589             * Returns the document library file version local service.
1590             *
1591             * @return the document library file version local service
1592             */
1593            public com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService getDLFileVersionLocalService() {
1594                    return dlFileVersionLocalService;
1595            }
1596    
1597            /**
1598             * Sets the document library file version local service.
1599             *
1600             * @param dlFileVersionLocalService the document library file version local service
1601             */
1602            public void setDLFileVersionLocalService(
1603                    com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService dlFileVersionLocalService) {
1604                    this.dlFileVersionLocalService = dlFileVersionLocalService;
1605            }
1606    
1607            /**
1608             * Returns the document library file version remote service.
1609             *
1610             * @return the document library file version remote service
1611             */
1612            public com.liferay.portlet.documentlibrary.service.DLFileVersionService getDLFileVersionService() {
1613                    return dlFileVersionService;
1614            }
1615    
1616            /**
1617             * Sets the document library file version remote service.
1618             *
1619             * @param dlFileVersionService the document library file version remote service
1620             */
1621            public void setDLFileVersionService(
1622                    com.liferay.portlet.documentlibrary.service.DLFileVersionService dlFileVersionService) {
1623                    this.dlFileVersionService = dlFileVersionService;
1624            }
1625    
1626            /**
1627             * Returns the document library file version persistence.
1628             *
1629             * @return the document library file version persistence
1630             */
1631            public DLFileVersionPersistence getDLFileVersionPersistence() {
1632                    return dlFileVersionPersistence;
1633            }
1634    
1635            /**
1636             * Sets the document library file version persistence.
1637             *
1638             * @param dlFileVersionPersistence the document library file version persistence
1639             */
1640            public void setDLFileVersionPersistence(
1641                    DLFileVersionPersistence dlFileVersionPersistence) {
1642                    this.dlFileVersionPersistence = dlFileVersionPersistence;
1643            }
1644    
1645            /**
1646             * Returns the document library folder local service.
1647             *
1648             * @return the document library folder local service
1649             */
1650            public com.liferay.portlet.documentlibrary.service.DLFolderLocalService getDLFolderLocalService() {
1651                    return dlFolderLocalService;
1652            }
1653    
1654            /**
1655             * Sets the document library folder local service.
1656             *
1657             * @param dlFolderLocalService the document library folder local service
1658             */
1659            public void setDLFolderLocalService(
1660                    com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService) {
1661                    this.dlFolderLocalService = dlFolderLocalService;
1662            }
1663    
1664            /**
1665             * Returns the document library folder remote service.
1666             *
1667             * @return the document library folder remote service
1668             */
1669            public com.liferay.portlet.documentlibrary.service.DLFolderService getDLFolderService() {
1670                    return dlFolderService;
1671            }
1672    
1673            /**
1674             * Sets the document library folder remote service.
1675             *
1676             * @param dlFolderService the document library folder remote service
1677             */
1678            public void setDLFolderService(
1679                    com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService) {
1680                    this.dlFolderService = dlFolderService;
1681            }
1682    
1683            /**
1684             * Returns the document library folder persistence.
1685             *
1686             * @return the document library folder persistence
1687             */
1688            public DLFolderPersistence getDLFolderPersistence() {
1689                    return dlFolderPersistence;
1690            }
1691    
1692            /**
1693             * Sets the document library folder persistence.
1694             *
1695             * @param dlFolderPersistence the document library folder persistence
1696             */
1697            public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
1698                    this.dlFolderPersistence = dlFolderPersistence;
1699            }
1700    
1701            /**
1702             * Returns the document library folder finder.
1703             *
1704             * @return the document library folder finder
1705             */
1706            public DLFolderFinder getDLFolderFinder() {
1707                    return dlFolderFinder;
1708            }
1709    
1710            /**
1711             * Sets the document library folder finder.
1712             *
1713             * @param dlFolderFinder the document library folder finder
1714             */
1715            public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
1716                    this.dlFolderFinder = dlFolderFinder;
1717            }
1718    
1719            public void afterPropertiesSet() {
1720                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFileEntry",
1721                            dlFileEntryLocalService);
1722            }
1723    
1724            public void destroy() {
1725                    persistedModelLocalServiceRegistry.unregister(
1726                            "com.liferay.portlet.documentlibrary.model.DLFileEntry");
1727            }
1728    
1729            /**
1730             * Returns the Spring bean ID for this bean.
1731             *
1732             * @return the Spring bean ID for this bean
1733             */
1734            @Override
1735            public String getBeanIdentifier() {
1736                    return _beanIdentifier;
1737            }
1738    
1739            /**
1740             * Sets the Spring bean ID for this bean.
1741             *
1742             * @param beanIdentifier the Spring bean ID for this bean
1743             */
1744            @Override
1745            public void setBeanIdentifier(String beanIdentifier) {
1746                    _beanIdentifier = beanIdentifier;
1747            }
1748    
1749            protected Class<?> getModelClass() {
1750                    return DLFileEntry.class;
1751            }
1752    
1753            protected String getModelClassName() {
1754                    return DLFileEntry.class.getName();
1755            }
1756    
1757            /**
1758             * Performs a SQL query.
1759             *
1760             * @param sql the sql query
1761             */
1762            protected void runSQL(String sql) {
1763                    try {
1764                            DataSource dataSource = dlFileEntryPersistence.getDataSource();
1765    
1766                            DB db = DBFactoryUtil.getDB();
1767    
1768                            sql = db.buildSQL(sql);
1769                            sql = PortalUtil.transformSQL(sql);
1770    
1771                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1772                                            sql, new int[0]);
1773    
1774                            sqlUpdate.update();
1775                    }
1776                    catch (Exception e) {
1777                            throw new SystemException(e);
1778                    }
1779            }
1780    
1781            @BeanReference(type = DLFileEntryLocalService.class)
1782            protected DLFileEntryLocalService dlFileEntryLocalService;
1783            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryService.class)
1784            protected com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService;
1785            @BeanReference(type = DLFileEntryPersistence.class)
1786            protected DLFileEntryPersistence dlFileEntryPersistence;
1787            @BeanReference(type = DLFileEntryFinder.class)
1788            protected DLFileEntryFinder dlFileEntryFinder;
1789            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1790            protected com.liferay.counter.service.CounterLocalService counterLocalService;
1791            @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
1792            protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
1793            @BeanReference(type = com.liferay.portal.service.ClassNameService.class)
1794            protected com.liferay.portal.service.ClassNameService classNameService;
1795            @BeanReference(type = ClassNamePersistence.class)
1796            protected ClassNamePersistence classNamePersistence;
1797            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1798            protected com.liferay.portal.service.GroupLocalService groupLocalService;
1799            @BeanReference(type = com.liferay.portal.service.GroupService.class)
1800            protected com.liferay.portal.service.GroupService groupService;
1801            @BeanReference(type = GroupPersistence.class)
1802            protected GroupPersistence groupPersistence;
1803            @BeanReference(type = GroupFinder.class)
1804            protected GroupFinder groupFinder;
1805            @BeanReference(type = com.liferay.portal.service.ImageLocalService.class)
1806            protected com.liferay.portal.service.ImageLocalService imageLocalService;
1807            @BeanReference(type = com.liferay.portal.service.ImageService.class)
1808            protected com.liferay.portal.service.ImageService imageService;
1809            @BeanReference(type = ImagePersistence.class)
1810            protected ImagePersistence imagePersistence;
1811            @BeanReference(type = com.liferay.portal.service.RepositoryLocalService.class)
1812            protected com.liferay.portal.service.RepositoryLocalService repositoryLocalService;
1813            @BeanReference(type = com.liferay.portal.service.RepositoryService.class)
1814            protected com.liferay.portal.service.RepositoryService repositoryService;
1815            @BeanReference(type = RepositoryPersistence.class)
1816            protected RepositoryPersistence repositoryPersistence;
1817            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1818            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1819            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1820            protected com.liferay.portal.service.UserLocalService userLocalService;
1821            @BeanReference(type = com.liferay.portal.service.UserService.class)
1822            protected com.liferay.portal.service.UserService userService;
1823            @BeanReference(type = UserPersistence.class)
1824            protected UserPersistence userPersistence;
1825            @BeanReference(type = UserFinder.class)
1826            protected UserFinder userFinder;
1827            @BeanReference(type = com.liferay.portal.service.WebDAVPropsLocalService.class)
1828            protected com.liferay.portal.service.WebDAVPropsLocalService webDAVPropsLocalService;
1829            @BeanReference(type = WebDAVPropsPersistence.class)
1830            protected WebDAVPropsPersistence webDAVPropsPersistence;
1831            @BeanReference(type = com.liferay.portal.service.WorkflowInstanceLinkLocalService.class)
1832            protected com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1833            @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1834            protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1835            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryLocalService.class)
1836            protected com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService;
1837            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryService.class)
1838            protected com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService;
1839            @BeanReference(type = AssetCategoryPersistence.class)
1840            protected AssetCategoryPersistence assetCategoryPersistence;
1841            @BeanReference(type = AssetCategoryFinder.class)
1842            protected AssetCategoryFinder assetCategoryFinder;
1843            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1844            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1845            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1846            protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1847            @BeanReference(type = AssetEntryPersistence.class)
1848            protected AssetEntryPersistence assetEntryPersistence;
1849            @BeanReference(type = AssetEntryFinder.class)
1850            protected AssetEntryFinder assetEntryFinder;
1851            @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
1852            protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
1853            @BeanReference(type = AssetLinkPersistence.class)
1854            protected AssetLinkPersistence assetLinkPersistence;
1855            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
1856            protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
1857            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
1858            protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
1859            @BeanReference(type = AssetTagPersistence.class)
1860            protected AssetTagPersistence assetTagPersistence;
1861            @BeanReference(type = AssetTagFinder.class)
1862            protected AssetTagFinder assetTagFinder;
1863            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService.class)
1864            protected com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService dlAppHelperLocalService;
1865            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService.class)
1866            protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService;
1867            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureService.class)
1868            protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService;
1869            @BeanReference(type = DDMStructurePersistence.class)
1870            protected DDMStructurePersistence ddmStructurePersistence;
1871            @BeanReference(type = DDMStructureFinder.class)
1872            protected DDMStructureFinder ddmStructureFinder;
1873            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
1874            protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
1875            @BeanReference(type = ExpandoRowPersistence.class)
1876            protected ExpandoRowPersistence expandoRowPersistence;
1877            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoTableLocalService.class)
1878            protected com.liferay.portlet.expando.service.ExpandoTableLocalService expandoTableLocalService;
1879            @BeanReference(type = ExpandoTablePersistence.class)
1880            protected ExpandoTablePersistence expandoTablePersistence;
1881            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
1882            protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
1883            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
1884            protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
1885            @BeanReference(type = TrashEntryPersistence.class)
1886            protected TrashEntryPersistence trashEntryPersistence;
1887            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService.class)
1888            protected com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1889            @BeanReference(type = DLFileEntryMetadataPersistence.class)
1890            protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1891            @BeanReference(type = DLFileEntryMetadataFinder.class)
1892            protected DLFileEntryMetadataFinder dlFileEntryMetadataFinder;
1893            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService.class)
1894            protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1895            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService.class)
1896            protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService;
1897            @BeanReference(type = DLFileEntryTypePersistence.class)
1898            protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1899            @BeanReference(type = DLFileEntryTypeFinder.class)
1900            protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1901            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService.class)
1902            protected com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService dlFileVersionLocalService;
1903            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileVersionService.class)
1904            protected com.liferay.portlet.documentlibrary.service.DLFileVersionService dlFileVersionService;
1905            @BeanReference(type = DLFileVersionPersistence.class)
1906            protected DLFileVersionPersistence dlFileVersionPersistence;
1907            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderLocalService.class)
1908            protected com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService;
1909            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderService.class)
1910            protected com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService;
1911            @BeanReference(type = DLFolderPersistence.class)
1912            protected DLFolderPersistence dlFolderPersistence;
1913            @BeanReference(type = DLFolderFinder.class)
1914            protected DLFolderFinder dlFolderFinder;
1915            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1916            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1917            private String _beanIdentifier;
1918    }