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