001    /**
002     * Copyright (c) 2000-2013 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 com.liferay.portal.kernel.bean.BeanReference;
018    import com.liferay.portal.kernel.bean.IdentifiableBean;
019    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
020    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
021    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
022    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
023    import com.liferay.portal.kernel.dao.orm.Projection;
024    import com.liferay.portal.kernel.exception.PortalException;
025    import com.liferay.portal.kernel.exception.SystemException;
026    import com.liferay.portal.kernel.search.Indexable;
027    import com.liferay.portal.kernel.search.IndexableType;
028    import com.liferay.portal.kernel.util.OrderByComparator;
029    import com.liferay.portal.model.PersistedModel;
030    import com.liferay.portal.service.BaseLocalServiceImpl;
031    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
032    import com.liferay.portal.service.persistence.UserFinder;
033    import com.liferay.portal.service.persistence.UserPersistence;
034    import com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence;
035    import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
036    
037    import com.liferay.portlet.documentlibrary.model.DLFileEntryType;
038    import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService;
039    import com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence;
040    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
041    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
042    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
043    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
044    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
045    import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
046    import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
047    import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
048    import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
049    import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
050    import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
051    import com.liferay.portlet.documentlibrary.service.persistence.DLSyncEventPersistence;
052    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder;
053    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence;
054    
055    import java.io.Serializable;
056    
057    import java.util.List;
058    
059    import javax.sql.DataSource;
060    
061    /**
062     * Provides the base implementation for the document library file entry type local service.
063     *
064     * <p>
065     * 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.DLFileEntryTypeLocalServiceImpl}.
066     * </p>
067     *
068     * @author Brian Wing Shun Chan
069     * @see com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeLocalServiceImpl
070     * @see com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalServiceUtil
071     * @generated
072     */
073    public abstract class DLFileEntryTypeLocalServiceBaseImpl
074            extends BaseLocalServiceImpl implements DLFileEntryTypeLocalService,
075                    IdentifiableBean {
076            /*
077             * NOTE FOR DEVELOPERS:
078             *
079             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalServiceUtil} to access the document library file entry type local service.
080             */
081    
082            /**
083             * Adds the document library file entry type to the database. Also notifies the appropriate model listeners.
084             *
085             * @param dlFileEntryType the document library file entry type
086             * @return the document library file entry type that was added
087             * @throws SystemException if a system exception occurred
088             */
089            @Indexable(type = IndexableType.REINDEX)
090            @Override
091            public DLFileEntryType addDLFileEntryType(DLFileEntryType dlFileEntryType)
092                    throws SystemException {
093                    dlFileEntryType.setNew(true);
094    
095                    return dlFileEntryTypePersistence.update(dlFileEntryType);
096            }
097    
098            /**
099             * Creates a new document library file entry type with the primary key. Does not add the document library file entry type to the database.
100             *
101             * @param fileEntryTypeId the primary key for the new document library file entry type
102             * @return the new document library file entry type
103             */
104            @Override
105            public DLFileEntryType createDLFileEntryType(long fileEntryTypeId) {
106                    return dlFileEntryTypePersistence.create(fileEntryTypeId);
107            }
108    
109            /**
110             * Deletes the document library file entry type with the primary key from the database. Also notifies the appropriate model listeners.
111             *
112             * @param fileEntryTypeId the primary key of the document library file entry type
113             * @return the document library file entry type that was removed
114             * @throws PortalException if a document library file entry type with the primary key could not be found
115             * @throws SystemException if a system exception occurred
116             */
117            @Indexable(type = IndexableType.DELETE)
118            @Override
119            public DLFileEntryType deleteDLFileEntryType(long fileEntryTypeId)
120                    throws PortalException, SystemException {
121                    return dlFileEntryTypePersistence.remove(fileEntryTypeId);
122            }
123    
124            /**
125             * Deletes the document library file entry type from the database. Also notifies the appropriate model listeners.
126             *
127             * @param dlFileEntryType the document library file entry type
128             * @return the document library file entry type that was removed
129             * @throws SystemException if a system exception occurred
130             */
131            @Indexable(type = IndexableType.DELETE)
132            @Override
133            public DLFileEntryType deleteDLFileEntryType(
134                    DLFileEntryType dlFileEntryType) throws SystemException {
135                    return dlFileEntryTypePersistence.remove(dlFileEntryType);
136            }
137    
138            @Override
139            public DynamicQuery dynamicQuery() {
140                    Class<?> clazz = getClass();
141    
142                    return DynamicQueryFactoryUtil.forClass(DLFileEntryType.class,
143                            clazz.getClassLoader());
144            }
145    
146            /**
147             * Performs a dynamic query on the database and returns the matching rows.
148             *
149             * @param dynamicQuery the dynamic query
150             * @return the matching rows
151             * @throws SystemException if a system exception occurred
152             */
153            @Override
154            @SuppressWarnings("rawtypes")
155            public List dynamicQuery(DynamicQuery dynamicQuery)
156                    throws SystemException {
157                    return dlFileEntryTypePersistence.findWithDynamicQuery(dynamicQuery);
158            }
159    
160            /**
161             * Performs a dynamic query on the database and returns a range of the matching rows.
162             *
163             * <p>
164             * 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.DLFileEntryTypeModelImpl}. 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.
165             * </p>
166             *
167             * @param dynamicQuery the dynamic query
168             * @param start the lower bound of the range of model instances
169             * @param end the upper bound of the range of model instances (not inclusive)
170             * @return the range of matching rows
171             * @throws SystemException if a system exception occurred
172             */
173            @Override
174            @SuppressWarnings("rawtypes")
175            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
176                    throws SystemException {
177                    return dlFileEntryTypePersistence.findWithDynamicQuery(dynamicQuery,
178                            start, end);
179            }
180    
181            /**
182             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
183             *
184             * <p>
185             * 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.DLFileEntryTypeModelImpl}. 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.
186             * </p>
187             *
188             * @param dynamicQuery the dynamic query
189             * @param start the lower bound of the range of model instances
190             * @param end the upper bound of the range of model instances (not inclusive)
191             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
192             * @return the ordered range of matching rows
193             * @throws SystemException if a system exception occurred
194             */
195            @Override
196            @SuppressWarnings("rawtypes")
197            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
198                    OrderByComparator orderByComparator) throws SystemException {
199                    return dlFileEntryTypePersistence.findWithDynamicQuery(dynamicQuery,
200                            start, end, orderByComparator);
201            }
202    
203            /**
204             * Returns the number of rows that match the dynamic query.
205             *
206             * @param dynamicQuery the dynamic query
207             * @return the number of rows that match the dynamic query
208             * @throws SystemException if a system exception occurred
209             */
210            @Override
211            public long dynamicQueryCount(DynamicQuery dynamicQuery)
212                    throws SystemException {
213                    return dlFileEntryTypePersistence.countWithDynamicQuery(dynamicQuery);
214            }
215    
216            /**
217             * Returns the number of rows that match the dynamic query.
218             *
219             * @param dynamicQuery the dynamic query
220             * @param projection the projection to apply to the query
221             * @return the number of rows that match the dynamic query
222             * @throws SystemException if a system exception occurred
223             */
224            @Override
225            public long dynamicQueryCount(DynamicQuery dynamicQuery,
226                    Projection projection) throws SystemException {
227                    return dlFileEntryTypePersistence.countWithDynamicQuery(dynamicQuery,
228                            projection);
229            }
230    
231            @Override
232            public DLFileEntryType fetchDLFileEntryType(long fileEntryTypeId)
233                    throws SystemException {
234                    return dlFileEntryTypePersistence.fetchByPrimaryKey(fileEntryTypeId);
235            }
236    
237            /**
238             * Returns the document library file entry type with the matching UUID and company.
239             *
240             * @param uuid the document library file entry type's UUID
241             * @param  companyId the primary key of the company
242             * @return the matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found
243             * @throws SystemException if a system exception occurred
244             */
245            @Override
246            public DLFileEntryType fetchDLFileEntryTypeByUuidAndCompanyId(String uuid,
247                    long companyId) throws SystemException {
248                    return dlFileEntryTypePersistence.fetchByUuid_C_First(uuid, companyId,
249                            null);
250            }
251    
252            /**
253             * Returns the document library file entry type matching the UUID and group.
254             *
255             * @param uuid the document library file entry type's UUID
256             * @param groupId the primary key of the group
257             * @return the matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found
258             * @throws SystemException if a system exception occurred
259             */
260            @Override
261            public DLFileEntryType fetchDLFileEntryTypeByUuidAndGroupId(String uuid,
262                    long groupId) throws SystemException {
263                    return dlFileEntryTypePersistence.fetchByUUID_G(uuid, groupId);
264            }
265    
266            /**
267             * Returns the document library file entry type with the primary key.
268             *
269             * @param fileEntryTypeId the primary key of the document library file entry type
270             * @return the document library file entry type
271             * @throws PortalException if a document library file entry type with the primary key could not be found
272             * @throws SystemException if a system exception occurred
273             */
274            @Override
275            public DLFileEntryType getDLFileEntryType(long fileEntryTypeId)
276                    throws PortalException, SystemException {
277                    return dlFileEntryTypePersistence.findByPrimaryKey(fileEntryTypeId);
278            }
279    
280            @Override
281            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
282                    throws PortalException, SystemException {
283                    return dlFileEntryTypePersistence.findByPrimaryKey(primaryKeyObj);
284            }
285    
286            /**
287             * Returns the document library file entry type with the matching UUID and company.
288             *
289             * @param uuid the document library file entry type's UUID
290             * @param  companyId the primary key of the company
291             * @return the matching document library file entry type
292             * @throws PortalException if a matching document library file entry type could not be found
293             * @throws SystemException if a system exception occurred
294             */
295            @Override
296            public DLFileEntryType getDLFileEntryTypeByUuidAndCompanyId(String uuid,
297                    long companyId) throws PortalException, SystemException {
298                    return dlFileEntryTypePersistence.findByUuid_C_First(uuid, companyId,
299                            null);
300            }
301    
302            /**
303             * Returns the document library file entry type matching the UUID and group.
304             *
305             * @param uuid the document library file entry type's UUID
306             * @param groupId the primary key of the group
307             * @return the matching document library file entry type
308             * @throws PortalException if a matching document library file entry type could not be found
309             * @throws SystemException if a system exception occurred
310             */
311            @Override
312            public DLFileEntryType getDLFileEntryTypeByUuidAndGroupId(String uuid,
313                    long groupId) throws PortalException, SystemException {
314                    return dlFileEntryTypePersistence.findByUUID_G(uuid, groupId);
315            }
316    
317            /**
318             * Returns a range of all the document library file entry types.
319             *
320             * <p>
321             * 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.DLFileEntryTypeModelImpl}. 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.
322             * </p>
323             *
324             * @param start the lower bound of the range of document library file entry types
325             * @param end the upper bound of the range of document library file entry types (not inclusive)
326             * @return the range of document library file entry types
327             * @throws SystemException if a system exception occurred
328             */
329            @Override
330            public List<DLFileEntryType> getDLFileEntryTypes(int start, int end)
331                    throws SystemException {
332                    return dlFileEntryTypePersistence.findAll(start, end);
333            }
334    
335            /**
336             * Returns the number of document library file entry types.
337             *
338             * @return the number of document library file entry types
339             * @throws SystemException if a system exception occurred
340             */
341            @Override
342            public int getDLFileEntryTypesCount() throws SystemException {
343                    return dlFileEntryTypePersistence.countAll();
344            }
345    
346            /**
347             * Updates the document library file entry type in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
348             *
349             * @param dlFileEntryType the document library file entry type
350             * @return the document library file entry type that was updated
351             * @throws SystemException if a system exception occurred
352             */
353            @Indexable(type = IndexableType.REINDEX)
354            @Override
355            public DLFileEntryType updateDLFileEntryType(
356                    DLFileEntryType dlFileEntryType) throws SystemException {
357                    return dlFileEntryTypePersistence.update(dlFileEntryType);
358            }
359    
360            /**
361             * @throws SystemException if a system exception occurred
362             */
363            @Override
364            public void addDLFolderDLFileEntryType(long folderId, long fileEntryTypeId)
365                    throws SystemException {
366                    dlFolderPersistence.addDLFileEntryType(folderId, fileEntryTypeId);
367            }
368    
369            /**
370             * @throws SystemException if a system exception occurred
371             */
372            @Override
373            public void addDLFolderDLFileEntryType(long folderId,
374                    DLFileEntryType dlFileEntryType) throws SystemException {
375                    dlFolderPersistence.addDLFileEntryType(folderId, dlFileEntryType);
376            }
377    
378            /**
379             * @throws SystemException if a system exception occurred
380             */
381            @Override
382            public void addDLFolderDLFileEntryTypes(long folderId,
383                    long[] fileEntryTypeIds) throws SystemException {
384                    dlFolderPersistence.addDLFileEntryTypes(folderId, fileEntryTypeIds);
385            }
386    
387            /**
388             * @throws SystemException if a system exception occurred
389             */
390            @Override
391            public void addDLFolderDLFileEntryTypes(long folderId,
392                    List<DLFileEntryType> DLFileEntryTypes) throws SystemException {
393                    dlFolderPersistence.addDLFileEntryTypes(folderId, DLFileEntryTypes);
394            }
395    
396            /**
397             * @throws SystemException if a system exception occurred
398             */
399            @Override
400            public void clearDLFolderDLFileEntryTypes(long folderId)
401                    throws SystemException {
402                    dlFolderPersistence.clearDLFileEntryTypes(folderId);
403            }
404    
405            /**
406             * @throws SystemException if a system exception occurred
407             */
408            @Override
409            public void deleteDLFolderDLFileEntryType(long folderId,
410                    long fileEntryTypeId) throws SystemException {
411                    dlFolderPersistence.removeDLFileEntryType(folderId, fileEntryTypeId);
412            }
413    
414            /**
415             * @throws SystemException if a system exception occurred
416             */
417            @Override
418            public void deleteDLFolderDLFileEntryType(long folderId,
419                    DLFileEntryType dlFileEntryType) throws SystemException {
420                    dlFolderPersistence.removeDLFileEntryType(folderId, dlFileEntryType);
421            }
422    
423            /**
424             * @throws SystemException if a system exception occurred
425             */
426            @Override
427            public void deleteDLFolderDLFileEntryTypes(long folderId,
428                    long[] fileEntryTypeIds) throws SystemException {
429                    dlFolderPersistence.removeDLFileEntryTypes(folderId, fileEntryTypeIds);
430            }
431    
432            /**
433             * @throws SystemException if a system exception occurred
434             */
435            @Override
436            public void deleteDLFolderDLFileEntryTypes(long folderId,
437                    List<DLFileEntryType> DLFileEntryTypes) throws SystemException {
438                    dlFolderPersistence.removeDLFileEntryTypes(folderId, DLFileEntryTypes);
439            }
440    
441            /**
442             * @throws SystemException if a system exception occurred
443             */
444            @Override
445            public List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId)
446                    throws SystemException {
447                    return dlFolderPersistence.getDLFileEntryTypes(folderId);
448            }
449    
450            /**
451             * @throws SystemException if a system exception occurred
452             */
453            @Override
454            public List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId,
455                    int start, int end) throws SystemException {
456                    return dlFolderPersistence.getDLFileEntryTypes(folderId, start, end);
457            }
458    
459            /**
460             * @throws SystemException if a system exception occurred
461             */
462            @Override
463            public List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId,
464                    int start, int end, OrderByComparator orderByComparator)
465                    throws SystemException {
466                    return dlFolderPersistence.getDLFileEntryTypes(folderId, start, end,
467                            orderByComparator);
468            }
469    
470            /**
471             * @throws SystemException if a system exception occurred
472             */
473            @Override
474            public int getDLFolderDLFileEntryTypesCount(long folderId)
475                    throws SystemException {
476                    return dlFolderPersistence.getDLFileEntryTypesSize(folderId);
477            }
478    
479            /**
480             * @throws SystemException if a system exception occurred
481             */
482            @Override
483            public boolean hasDLFolderDLFileEntryType(long folderId,
484                    long fileEntryTypeId) throws SystemException {
485                    return dlFolderPersistence.containsDLFileEntryType(folderId,
486                            fileEntryTypeId);
487            }
488    
489            /**
490             * @throws SystemException if a system exception occurred
491             */
492            @Override
493            public boolean hasDLFolderDLFileEntryTypes(long folderId)
494                    throws SystemException {
495                    return dlFolderPersistence.containsDLFileEntryTypes(folderId);
496            }
497    
498            /**
499             * @throws SystemException if a system exception occurred
500             */
501            @Override
502            public void setDLFolderDLFileEntryTypes(long folderId,
503                    long[] fileEntryTypeIds) throws SystemException {
504                    dlFolderPersistence.setDLFileEntryTypes(folderId, fileEntryTypeIds);
505            }
506    
507            /**
508             * @throws SystemException if a system exception occurred
509             */
510            @Override
511            public void addDDMStructureDLFileEntryType(long structureId,
512                    long fileEntryTypeId) throws SystemException {
513                    ddmStructurePersistence.addDLFileEntryType(structureId, fileEntryTypeId);
514            }
515    
516            /**
517             * @throws SystemException if a system exception occurred
518             */
519            @Override
520            public void addDDMStructureDLFileEntryType(long structureId,
521                    DLFileEntryType dlFileEntryType) throws SystemException {
522                    ddmStructurePersistence.addDLFileEntryType(structureId, dlFileEntryType);
523            }
524    
525            /**
526             * @throws SystemException if a system exception occurred
527             */
528            @Override
529            public void addDDMStructureDLFileEntryTypes(long structureId,
530                    long[] fileEntryTypeIds) throws SystemException {
531                    ddmStructurePersistence.addDLFileEntryTypes(structureId,
532                            fileEntryTypeIds);
533            }
534    
535            /**
536             * @throws SystemException if a system exception occurred
537             */
538            @Override
539            public void addDDMStructureDLFileEntryTypes(long structureId,
540                    List<DLFileEntryType> DLFileEntryTypes) throws SystemException {
541                    ddmStructurePersistence.addDLFileEntryTypes(structureId,
542                            DLFileEntryTypes);
543            }
544    
545            /**
546             * @throws SystemException if a system exception occurred
547             */
548            @Override
549            public void clearDDMStructureDLFileEntryTypes(long structureId)
550                    throws SystemException {
551                    ddmStructurePersistence.clearDLFileEntryTypes(structureId);
552            }
553    
554            /**
555             * @throws SystemException if a system exception occurred
556             */
557            @Override
558            public void deleteDDMStructureDLFileEntryType(long structureId,
559                    long fileEntryTypeId) throws SystemException {
560                    ddmStructurePersistence.removeDLFileEntryType(structureId,
561                            fileEntryTypeId);
562            }
563    
564            /**
565             * @throws SystemException if a system exception occurred
566             */
567            @Override
568            public void deleteDDMStructureDLFileEntryType(long structureId,
569                    DLFileEntryType dlFileEntryType) throws SystemException {
570                    ddmStructurePersistence.removeDLFileEntryType(structureId,
571                            dlFileEntryType);
572            }
573    
574            /**
575             * @throws SystemException if a system exception occurred
576             */
577            @Override
578            public void deleteDDMStructureDLFileEntryTypes(long structureId,
579                    long[] fileEntryTypeIds) throws SystemException {
580                    ddmStructurePersistence.removeDLFileEntryTypes(structureId,
581                            fileEntryTypeIds);
582            }
583    
584            /**
585             * @throws SystemException if a system exception occurred
586             */
587            @Override
588            public void deleteDDMStructureDLFileEntryTypes(long structureId,
589                    List<DLFileEntryType> DLFileEntryTypes) throws SystemException {
590                    ddmStructurePersistence.removeDLFileEntryTypes(structureId,
591                            DLFileEntryTypes);
592            }
593    
594            /**
595             * @throws SystemException if a system exception occurred
596             */
597            @Override
598            public List<DLFileEntryType> getDDMStructureDLFileEntryTypes(
599                    long structureId) throws SystemException {
600                    return ddmStructurePersistence.getDLFileEntryTypes(structureId);
601            }
602    
603            /**
604             * @throws SystemException if a system exception occurred
605             */
606            @Override
607            public List<DLFileEntryType> getDDMStructureDLFileEntryTypes(
608                    long structureId, int start, int end) throws SystemException {
609                    return ddmStructurePersistence.getDLFileEntryTypes(structureId, start,
610                            end);
611            }
612    
613            /**
614             * @throws SystemException if a system exception occurred
615             */
616            @Override
617            public List<DLFileEntryType> getDDMStructureDLFileEntryTypes(
618                    long structureId, int start, int end,
619                    OrderByComparator orderByComparator) throws SystemException {
620                    return ddmStructurePersistence.getDLFileEntryTypes(structureId, start,
621                            end, orderByComparator);
622            }
623    
624            /**
625             * @throws SystemException if a system exception occurred
626             */
627            @Override
628            public int getDDMStructureDLFileEntryTypesCount(long structureId)
629                    throws SystemException {
630                    return ddmStructurePersistence.getDLFileEntryTypesSize(structureId);
631            }
632    
633            /**
634             * @throws SystemException if a system exception occurred
635             */
636            @Override
637            public boolean hasDDMStructureDLFileEntryType(long structureId,
638                    long fileEntryTypeId) throws SystemException {
639                    return ddmStructurePersistence.containsDLFileEntryType(structureId,
640                            fileEntryTypeId);
641            }
642    
643            /**
644             * @throws SystemException if a system exception occurred
645             */
646            @Override
647            public boolean hasDDMStructureDLFileEntryTypes(long structureId)
648                    throws SystemException {
649                    return ddmStructurePersistence.containsDLFileEntryTypes(structureId);
650            }
651    
652            /**
653             * @throws SystemException if a system exception occurred
654             */
655            @Override
656            public void setDDMStructureDLFileEntryTypes(long structureId,
657                    long[] fileEntryTypeIds) throws SystemException {
658                    ddmStructurePersistence.setDLFileEntryTypes(structureId,
659                            fileEntryTypeIds);
660            }
661    
662            /**
663             * Returns the d l app local service.
664             *
665             * @return the d l app local service
666             */
667            public com.liferay.portlet.documentlibrary.service.DLAppLocalService getDLAppLocalService() {
668                    return dlAppLocalService;
669            }
670    
671            /**
672             * Sets the d l app local service.
673             *
674             * @param dlAppLocalService the d l app local service
675             */
676            public void setDLAppLocalService(
677                    com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService) {
678                    this.dlAppLocalService = dlAppLocalService;
679            }
680    
681            /**
682             * Returns the d l app remote service.
683             *
684             * @return the d l app remote service
685             */
686            public com.liferay.portlet.documentlibrary.service.DLAppService getDLAppService() {
687                    return dlAppService;
688            }
689    
690            /**
691             * Sets the d l app remote service.
692             *
693             * @param dlAppService the d l app remote service
694             */
695            public void setDLAppService(
696                    com.liferay.portlet.documentlibrary.service.DLAppService dlAppService) {
697                    this.dlAppService = dlAppService;
698            }
699    
700            /**
701             * Returns the d l app helper local service.
702             *
703             * @return the d l app helper local service
704             */
705            public com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService getDLAppHelperLocalService() {
706                    return dlAppHelperLocalService;
707            }
708    
709            /**
710             * Sets the d l app helper local service.
711             *
712             * @param dlAppHelperLocalService the d l app helper local service
713             */
714            public void setDLAppHelperLocalService(
715                    com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService dlAppHelperLocalService) {
716                    this.dlAppHelperLocalService = dlAppHelperLocalService;
717            }
718    
719            /**
720             * Returns the document library content local service.
721             *
722             * @return the document library content local service
723             */
724            public com.liferay.portlet.documentlibrary.service.DLContentLocalService getDLContentLocalService() {
725                    return dlContentLocalService;
726            }
727    
728            /**
729             * Sets the document library content local service.
730             *
731             * @param dlContentLocalService the document library content local service
732             */
733            public void setDLContentLocalService(
734                    com.liferay.portlet.documentlibrary.service.DLContentLocalService dlContentLocalService) {
735                    this.dlContentLocalService = dlContentLocalService;
736            }
737    
738            /**
739             * Returns the document library content persistence.
740             *
741             * @return the document library content persistence
742             */
743            public DLContentPersistence getDLContentPersistence() {
744                    return dlContentPersistence;
745            }
746    
747            /**
748             * Sets the document library content persistence.
749             *
750             * @param dlContentPersistence the document library content persistence
751             */
752            public void setDLContentPersistence(
753                    DLContentPersistence dlContentPersistence) {
754                    this.dlContentPersistence = dlContentPersistence;
755            }
756    
757            /**
758             * Returns the document library file entry local service.
759             *
760             * @return the document library file entry local service
761             */
762            public com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService getDLFileEntryLocalService() {
763                    return dlFileEntryLocalService;
764            }
765    
766            /**
767             * Sets the document library file entry local service.
768             *
769             * @param dlFileEntryLocalService the document library file entry local service
770             */
771            public void setDLFileEntryLocalService(
772                    com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService) {
773                    this.dlFileEntryLocalService = dlFileEntryLocalService;
774            }
775    
776            /**
777             * Returns the document library file entry remote service.
778             *
779             * @return the document library file entry remote service
780             */
781            public com.liferay.portlet.documentlibrary.service.DLFileEntryService getDLFileEntryService() {
782                    return dlFileEntryService;
783            }
784    
785            /**
786             * Sets the document library file entry remote service.
787             *
788             * @param dlFileEntryService the document library file entry remote service
789             */
790            public void setDLFileEntryService(
791                    com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService) {
792                    this.dlFileEntryService = dlFileEntryService;
793            }
794    
795            /**
796             * Returns the document library file entry persistence.
797             *
798             * @return the document library file entry persistence
799             */
800            public DLFileEntryPersistence getDLFileEntryPersistence() {
801                    return dlFileEntryPersistence;
802            }
803    
804            /**
805             * Sets the document library file entry persistence.
806             *
807             * @param dlFileEntryPersistence the document library file entry persistence
808             */
809            public void setDLFileEntryPersistence(
810                    DLFileEntryPersistence dlFileEntryPersistence) {
811                    this.dlFileEntryPersistence = dlFileEntryPersistence;
812            }
813    
814            /**
815             * Returns the document library file entry finder.
816             *
817             * @return the document library file entry finder
818             */
819            public DLFileEntryFinder getDLFileEntryFinder() {
820                    return dlFileEntryFinder;
821            }
822    
823            /**
824             * Sets the document library file entry finder.
825             *
826             * @param dlFileEntryFinder the document library file entry finder
827             */
828            public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
829                    this.dlFileEntryFinder = dlFileEntryFinder;
830            }
831    
832            /**
833             * Returns the document library file entry metadata local service.
834             *
835             * @return the document library file entry metadata local service
836             */
837            public com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
838                    return dlFileEntryMetadataLocalService;
839            }
840    
841            /**
842             * Sets the document library file entry metadata local service.
843             *
844             * @param dlFileEntryMetadataLocalService the document library file entry metadata local service
845             */
846            public void setDLFileEntryMetadataLocalService(
847                    com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
848                    this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
849            }
850    
851            /**
852             * Returns the document library file entry metadata persistence.
853             *
854             * @return the document library file entry metadata persistence
855             */
856            public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
857                    return dlFileEntryMetadataPersistence;
858            }
859    
860            /**
861             * Sets the document library file entry metadata persistence.
862             *
863             * @param dlFileEntryMetadataPersistence the document library file entry metadata persistence
864             */
865            public void setDLFileEntryMetadataPersistence(
866                    DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
867                    this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
868            }
869    
870            /**
871             * Returns the document library file entry type local service.
872             *
873             * @return the document library file entry type local service
874             */
875            public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
876                    return dlFileEntryTypeLocalService;
877            }
878    
879            /**
880             * Sets the document library file entry type local service.
881             *
882             * @param dlFileEntryTypeLocalService the document library file entry type local service
883             */
884            public void setDLFileEntryTypeLocalService(
885                    com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
886                    this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
887            }
888    
889            /**
890             * Returns the document library file entry type remote service.
891             *
892             * @return the document library file entry type remote service
893             */
894            public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService getDLFileEntryTypeService() {
895                    return dlFileEntryTypeService;
896            }
897    
898            /**
899             * Sets the document library file entry type remote service.
900             *
901             * @param dlFileEntryTypeService the document library file entry type remote service
902             */
903            public void setDLFileEntryTypeService(
904                    com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService) {
905                    this.dlFileEntryTypeService = dlFileEntryTypeService;
906            }
907    
908            /**
909             * Returns the document library file entry type persistence.
910             *
911             * @return the document library file entry type persistence
912             */
913            public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
914                    return dlFileEntryTypePersistence;
915            }
916    
917            /**
918             * Sets the document library file entry type persistence.
919             *
920             * @param dlFileEntryTypePersistence the document library file entry type persistence
921             */
922            public void setDLFileEntryTypePersistence(
923                    DLFileEntryTypePersistence dlFileEntryTypePersistence) {
924                    this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
925            }
926    
927            /**
928             * Returns the document library file entry type finder.
929             *
930             * @return the document library file entry type finder
931             */
932            public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
933                    return dlFileEntryTypeFinder;
934            }
935    
936            /**
937             * Sets the document library file entry type finder.
938             *
939             * @param dlFileEntryTypeFinder the document library file entry type finder
940             */
941            public void setDLFileEntryTypeFinder(
942                    DLFileEntryTypeFinder dlFileEntryTypeFinder) {
943                    this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
944            }
945    
946            /**
947             * Returns the document library file rank local service.
948             *
949             * @return the document library file rank local service
950             */
951            public com.liferay.portlet.documentlibrary.service.DLFileRankLocalService getDLFileRankLocalService() {
952                    return dlFileRankLocalService;
953            }
954    
955            /**
956             * Sets the document library file rank local service.
957             *
958             * @param dlFileRankLocalService the document library file rank local service
959             */
960            public void setDLFileRankLocalService(
961                    com.liferay.portlet.documentlibrary.service.DLFileRankLocalService dlFileRankLocalService) {
962                    this.dlFileRankLocalService = dlFileRankLocalService;
963            }
964    
965            /**
966             * Returns the document library file rank persistence.
967             *
968             * @return the document library file rank persistence
969             */
970            public DLFileRankPersistence getDLFileRankPersistence() {
971                    return dlFileRankPersistence;
972            }
973    
974            /**
975             * Sets the document library file rank persistence.
976             *
977             * @param dlFileRankPersistence the document library file rank persistence
978             */
979            public void setDLFileRankPersistence(
980                    DLFileRankPersistence dlFileRankPersistence) {
981                    this.dlFileRankPersistence = dlFileRankPersistence;
982            }
983    
984            /**
985             * Returns the document library file rank finder.
986             *
987             * @return the document library file rank finder
988             */
989            public DLFileRankFinder getDLFileRankFinder() {
990                    return dlFileRankFinder;
991            }
992    
993            /**
994             * Sets the document library file rank finder.
995             *
996             * @param dlFileRankFinder the document library file rank finder
997             */
998            public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
999                    this.dlFileRankFinder = dlFileRankFinder;
1000            }
1001    
1002            /**
1003             * Returns the document library file shortcut local service.
1004             *
1005             * @return the document library file shortcut local service
1006             */
1007            public com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService getDLFileShortcutLocalService() {
1008                    return dlFileShortcutLocalService;
1009            }
1010    
1011            /**
1012             * Sets the document library file shortcut local service.
1013             *
1014             * @param dlFileShortcutLocalService the document library file shortcut local service
1015             */
1016            public void setDLFileShortcutLocalService(
1017                    com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService dlFileShortcutLocalService) {
1018                    this.dlFileShortcutLocalService = dlFileShortcutLocalService;
1019            }
1020    
1021            /**
1022             * Returns the document library file shortcut remote service.
1023             *
1024             * @return the document library file shortcut remote service
1025             */
1026            public com.liferay.portlet.documentlibrary.service.DLFileShortcutService getDLFileShortcutService() {
1027                    return dlFileShortcutService;
1028            }
1029    
1030            /**
1031             * Sets the document library file shortcut remote service.
1032             *
1033             * @param dlFileShortcutService the document library file shortcut remote service
1034             */
1035            public void setDLFileShortcutService(
1036                    com.liferay.portlet.documentlibrary.service.DLFileShortcutService dlFileShortcutService) {
1037                    this.dlFileShortcutService = dlFileShortcutService;
1038            }
1039    
1040            /**
1041             * Returns the document library file shortcut persistence.
1042             *
1043             * @return the document library file shortcut persistence
1044             */
1045            public DLFileShortcutPersistence getDLFileShortcutPersistence() {
1046                    return dlFileShortcutPersistence;
1047            }
1048    
1049            /**
1050             * Sets the document library file shortcut persistence.
1051             *
1052             * @param dlFileShortcutPersistence the document library file shortcut persistence
1053             */
1054            public void setDLFileShortcutPersistence(
1055                    DLFileShortcutPersistence dlFileShortcutPersistence) {
1056                    this.dlFileShortcutPersistence = dlFileShortcutPersistence;
1057            }
1058    
1059            /**
1060             * Returns the document library file version local service.
1061             *
1062             * @return the document library file version local service
1063             */
1064            public com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService getDLFileVersionLocalService() {
1065                    return dlFileVersionLocalService;
1066            }
1067    
1068            /**
1069             * Sets the document library file version local service.
1070             *
1071             * @param dlFileVersionLocalService the document library file version local service
1072             */
1073            public void setDLFileVersionLocalService(
1074                    com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService dlFileVersionLocalService) {
1075                    this.dlFileVersionLocalService = dlFileVersionLocalService;
1076            }
1077    
1078            /**
1079             * Returns the document library file version remote service.
1080             *
1081             * @return the document library file version remote service
1082             */
1083            public com.liferay.portlet.documentlibrary.service.DLFileVersionService getDLFileVersionService() {
1084                    return dlFileVersionService;
1085            }
1086    
1087            /**
1088             * Sets the document library file version remote service.
1089             *
1090             * @param dlFileVersionService the document library file version remote service
1091             */
1092            public void setDLFileVersionService(
1093                    com.liferay.portlet.documentlibrary.service.DLFileVersionService dlFileVersionService) {
1094                    this.dlFileVersionService = dlFileVersionService;
1095            }
1096    
1097            /**
1098             * Returns the document library file version persistence.
1099             *
1100             * @return the document library file version persistence
1101             */
1102            public DLFileVersionPersistence getDLFileVersionPersistence() {
1103                    return dlFileVersionPersistence;
1104            }
1105    
1106            /**
1107             * Sets the document library file version persistence.
1108             *
1109             * @param dlFileVersionPersistence the document library file version persistence
1110             */
1111            public void setDLFileVersionPersistence(
1112                    DLFileVersionPersistence dlFileVersionPersistence) {
1113                    this.dlFileVersionPersistence = dlFileVersionPersistence;
1114            }
1115    
1116            /**
1117             * Returns the document library folder local service.
1118             *
1119             * @return the document library folder local service
1120             */
1121            public com.liferay.portlet.documentlibrary.service.DLFolderLocalService getDLFolderLocalService() {
1122                    return dlFolderLocalService;
1123            }
1124    
1125            /**
1126             * Sets the document library folder local service.
1127             *
1128             * @param dlFolderLocalService the document library folder local service
1129             */
1130            public void setDLFolderLocalService(
1131                    com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService) {
1132                    this.dlFolderLocalService = dlFolderLocalService;
1133            }
1134    
1135            /**
1136             * Returns the document library folder remote service.
1137             *
1138             * @return the document library folder remote service
1139             */
1140            public com.liferay.portlet.documentlibrary.service.DLFolderService getDLFolderService() {
1141                    return dlFolderService;
1142            }
1143    
1144            /**
1145             * Sets the document library folder remote service.
1146             *
1147             * @param dlFolderService the document library folder remote service
1148             */
1149            public void setDLFolderService(
1150                    com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService) {
1151                    this.dlFolderService = dlFolderService;
1152            }
1153    
1154            /**
1155             * Returns the document library folder persistence.
1156             *
1157             * @return the document library folder persistence
1158             */
1159            public DLFolderPersistence getDLFolderPersistence() {
1160                    return dlFolderPersistence;
1161            }
1162    
1163            /**
1164             * Sets the document library folder persistence.
1165             *
1166             * @param dlFolderPersistence the document library folder persistence
1167             */
1168            public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
1169                    this.dlFolderPersistence = dlFolderPersistence;
1170            }
1171    
1172            /**
1173             * Returns the document library folder finder.
1174             *
1175             * @return the document library folder finder
1176             */
1177            public DLFolderFinder getDLFolderFinder() {
1178                    return dlFolderFinder;
1179            }
1180    
1181            /**
1182             * Sets the document library folder finder.
1183             *
1184             * @param dlFolderFinder the document library folder finder
1185             */
1186            public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
1187                    this.dlFolderFinder = dlFolderFinder;
1188            }
1189    
1190            /**
1191             * Returns the d l sync event local service.
1192             *
1193             * @return the d l sync event local service
1194             */
1195            public com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService getDLSyncEventLocalService() {
1196                    return dlSyncEventLocalService;
1197            }
1198    
1199            /**
1200             * Sets the d l sync event local service.
1201             *
1202             * @param dlSyncEventLocalService the d l sync event local service
1203             */
1204            public void setDLSyncEventLocalService(
1205                    com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService dlSyncEventLocalService) {
1206                    this.dlSyncEventLocalService = dlSyncEventLocalService;
1207            }
1208    
1209            /**
1210             * Returns the d l sync event persistence.
1211             *
1212             * @return the d l sync event persistence
1213             */
1214            public DLSyncEventPersistence getDLSyncEventPersistence() {
1215                    return dlSyncEventPersistence;
1216            }
1217    
1218            /**
1219             * Sets the d l sync event persistence.
1220             *
1221             * @param dlSyncEventPersistence the d l sync event persistence
1222             */
1223            public void setDLSyncEventPersistence(
1224                    DLSyncEventPersistence dlSyncEventPersistence) {
1225                    this.dlSyncEventPersistence = dlSyncEventPersistence;
1226            }
1227    
1228            /**
1229             * Returns the counter local service.
1230             *
1231             * @return the counter local service
1232             */
1233            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
1234                    return counterLocalService;
1235            }
1236    
1237            /**
1238             * Sets the counter local service.
1239             *
1240             * @param counterLocalService the counter local service
1241             */
1242            public void setCounterLocalService(
1243                    com.liferay.counter.service.CounterLocalService counterLocalService) {
1244                    this.counterLocalService = counterLocalService;
1245            }
1246    
1247            /**
1248             * Returns the resource local service.
1249             *
1250             * @return the resource local service
1251             */
1252            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
1253                    return resourceLocalService;
1254            }
1255    
1256            /**
1257             * Sets the resource local service.
1258             *
1259             * @param resourceLocalService the resource local service
1260             */
1261            public void setResourceLocalService(
1262                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
1263                    this.resourceLocalService = resourceLocalService;
1264            }
1265    
1266            /**
1267             * Returns the user local service.
1268             *
1269             * @return the user local service
1270             */
1271            public com.liferay.portal.service.UserLocalService getUserLocalService() {
1272                    return userLocalService;
1273            }
1274    
1275            /**
1276             * Sets the user local service.
1277             *
1278             * @param userLocalService the user local service
1279             */
1280            public void setUserLocalService(
1281                    com.liferay.portal.service.UserLocalService userLocalService) {
1282                    this.userLocalService = userLocalService;
1283            }
1284    
1285            /**
1286             * Returns the user remote service.
1287             *
1288             * @return the user remote service
1289             */
1290            public com.liferay.portal.service.UserService getUserService() {
1291                    return userService;
1292            }
1293    
1294            /**
1295             * Sets the user remote service.
1296             *
1297             * @param userService the user remote service
1298             */
1299            public void setUserService(
1300                    com.liferay.portal.service.UserService userService) {
1301                    this.userService = userService;
1302            }
1303    
1304            /**
1305             * Returns the user persistence.
1306             *
1307             * @return the user persistence
1308             */
1309            public UserPersistence getUserPersistence() {
1310                    return userPersistence;
1311            }
1312    
1313            /**
1314             * Sets the user persistence.
1315             *
1316             * @param userPersistence the user persistence
1317             */
1318            public void setUserPersistence(UserPersistence userPersistence) {
1319                    this.userPersistence = userPersistence;
1320            }
1321    
1322            /**
1323             * Returns the user finder.
1324             *
1325             * @return the user finder
1326             */
1327            public UserFinder getUserFinder() {
1328                    return userFinder;
1329            }
1330    
1331            /**
1332             * Sets the user finder.
1333             *
1334             * @param userFinder the user finder
1335             */
1336            public void setUserFinder(UserFinder userFinder) {
1337                    this.userFinder = userFinder;
1338            }
1339    
1340            /**
1341             * Returns the workflow definition link local service.
1342             *
1343             * @return the workflow definition link local service
1344             */
1345            public com.liferay.portal.service.WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService() {
1346                    return workflowDefinitionLinkLocalService;
1347            }
1348    
1349            /**
1350             * Sets the workflow definition link local service.
1351             *
1352             * @param workflowDefinitionLinkLocalService the workflow definition link local service
1353             */
1354            public void setWorkflowDefinitionLinkLocalService(
1355                    com.liferay.portal.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
1356                    this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
1357            }
1358    
1359            /**
1360             * Returns the workflow definition link persistence.
1361             *
1362             * @return the workflow definition link persistence
1363             */
1364            public WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence() {
1365                    return workflowDefinitionLinkPersistence;
1366            }
1367    
1368            /**
1369             * Sets the workflow definition link persistence.
1370             *
1371             * @param workflowDefinitionLinkPersistence the workflow definition link persistence
1372             */
1373            public void setWorkflowDefinitionLinkPersistence(
1374                    WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence) {
1375                    this.workflowDefinitionLinkPersistence = workflowDefinitionLinkPersistence;
1376            }
1377    
1378            /**
1379             * Returns the workflow instance link local service.
1380             *
1381             * @return the workflow instance link local service
1382             */
1383            public com.liferay.portal.service.WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1384                    return workflowInstanceLinkLocalService;
1385            }
1386    
1387            /**
1388             * Sets the workflow instance link local service.
1389             *
1390             * @param workflowInstanceLinkLocalService the workflow instance link local service
1391             */
1392            public void setWorkflowInstanceLinkLocalService(
1393                    com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1394                    this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1395            }
1396    
1397            /**
1398             * Returns the workflow instance link persistence.
1399             *
1400             * @return the workflow instance link persistence
1401             */
1402            public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1403                    return workflowInstanceLinkPersistence;
1404            }
1405    
1406            /**
1407             * Sets the workflow instance link persistence.
1408             *
1409             * @param workflowInstanceLinkPersistence the workflow instance link persistence
1410             */
1411            public void setWorkflowInstanceLinkPersistence(
1412                    WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1413                    this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1414            }
1415    
1416            /**
1417             * Returns the d d m structure local service.
1418             *
1419             * @return the d d m structure local service
1420             */
1421            public com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService getDDMStructureLocalService() {
1422                    return ddmStructureLocalService;
1423            }
1424    
1425            /**
1426             * Sets the d d m structure local service.
1427             *
1428             * @param ddmStructureLocalService the d d m structure local service
1429             */
1430            public void setDDMStructureLocalService(
1431                    com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService) {
1432                    this.ddmStructureLocalService = ddmStructureLocalService;
1433            }
1434    
1435            /**
1436             * Returns the d d m structure remote service.
1437             *
1438             * @return the d d m structure remote service
1439             */
1440            public com.liferay.portlet.dynamicdatamapping.service.DDMStructureService getDDMStructureService() {
1441                    return ddmStructureService;
1442            }
1443    
1444            /**
1445             * Sets the d d m structure remote service.
1446             *
1447             * @param ddmStructureService the d d m structure remote service
1448             */
1449            public void setDDMStructureService(
1450                    com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService) {
1451                    this.ddmStructureService = ddmStructureService;
1452            }
1453    
1454            /**
1455             * Returns the d d m structure persistence.
1456             *
1457             * @return the d d m structure persistence
1458             */
1459            public DDMStructurePersistence getDDMStructurePersistence() {
1460                    return ddmStructurePersistence;
1461            }
1462    
1463            /**
1464             * Sets the d d m structure persistence.
1465             *
1466             * @param ddmStructurePersistence the d d m structure persistence
1467             */
1468            public void setDDMStructurePersistence(
1469                    DDMStructurePersistence ddmStructurePersistence) {
1470                    this.ddmStructurePersistence = ddmStructurePersistence;
1471            }
1472    
1473            /**
1474             * Returns the d d m structure finder.
1475             *
1476             * @return the d d m structure finder
1477             */
1478            public DDMStructureFinder getDDMStructureFinder() {
1479                    return ddmStructureFinder;
1480            }
1481    
1482            /**
1483             * Sets the d d m structure finder.
1484             *
1485             * @param ddmStructureFinder the d d m structure finder
1486             */
1487            public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder) {
1488                    this.ddmStructureFinder = ddmStructureFinder;
1489            }
1490    
1491            public void afterPropertiesSet() {
1492                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFileEntryType",
1493                            dlFileEntryTypeLocalService);
1494            }
1495    
1496            public void destroy() {
1497                    persistedModelLocalServiceRegistry.unregister(
1498                            "com.liferay.portlet.documentlibrary.model.DLFileEntryType");
1499            }
1500    
1501            /**
1502             * Returns the Spring bean ID for this bean.
1503             *
1504             * @return the Spring bean ID for this bean
1505             */
1506            @Override
1507            public String getBeanIdentifier() {
1508                    return _beanIdentifier;
1509            }
1510    
1511            /**
1512             * Sets the Spring bean ID for this bean.
1513             *
1514             * @param beanIdentifier the Spring bean ID for this bean
1515             */
1516            @Override
1517            public void setBeanIdentifier(String beanIdentifier) {
1518                    _beanIdentifier = beanIdentifier;
1519            }
1520    
1521            protected Class<?> getModelClass() {
1522                    return DLFileEntryType.class;
1523            }
1524    
1525            protected String getModelClassName() {
1526                    return DLFileEntryType.class.getName();
1527            }
1528    
1529            /**
1530             * Performs an SQL query.
1531             *
1532             * @param sql the sql query
1533             */
1534            protected void runSQL(String sql) throws SystemException {
1535                    try {
1536                            DataSource dataSource = dlFileEntryTypePersistence.getDataSource();
1537    
1538                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1539                                            sql, new int[0]);
1540    
1541                            sqlUpdate.update();
1542                    }
1543                    catch (Exception e) {
1544                            throw new SystemException(e);
1545                    }
1546            }
1547    
1548            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppLocalService.class)
1549            protected com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService;
1550            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppService.class)
1551            protected com.liferay.portlet.documentlibrary.service.DLAppService dlAppService;
1552            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService.class)
1553            protected com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService dlAppHelperLocalService;
1554            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLContentLocalService.class)
1555            protected com.liferay.portlet.documentlibrary.service.DLContentLocalService dlContentLocalService;
1556            @BeanReference(type = DLContentPersistence.class)
1557            protected DLContentPersistence dlContentPersistence;
1558            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService.class)
1559            protected com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService;
1560            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryService.class)
1561            protected com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService;
1562            @BeanReference(type = DLFileEntryPersistence.class)
1563            protected DLFileEntryPersistence dlFileEntryPersistence;
1564            @BeanReference(type = DLFileEntryFinder.class)
1565            protected DLFileEntryFinder dlFileEntryFinder;
1566            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService.class)
1567            protected com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1568            @BeanReference(type = DLFileEntryMetadataPersistence.class)
1569            protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1570            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService.class)
1571            protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1572            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService.class)
1573            protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService;
1574            @BeanReference(type = DLFileEntryTypePersistence.class)
1575            protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1576            @BeanReference(type = DLFileEntryTypeFinder.class)
1577            protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1578            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileRankLocalService.class)
1579            protected com.liferay.portlet.documentlibrary.service.DLFileRankLocalService dlFileRankLocalService;
1580            @BeanReference(type = DLFileRankPersistence.class)
1581            protected DLFileRankPersistence dlFileRankPersistence;
1582            @BeanReference(type = DLFileRankFinder.class)
1583            protected DLFileRankFinder dlFileRankFinder;
1584            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService.class)
1585            protected com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService dlFileShortcutLocalService;
1586            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileShortcutService.class)
1587            protected com.liferay.portlet.documentlibrary.service.DLFileShortcutService dlFileShortcutService;
1588            @BeanReference(type = DLFileShortcutPersistence.class)
1589            protected DLFileShortcutPersistence dlFileShortcutPersistence;
1590            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService.class)
1591            protected com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService dlFileVersionLocalService;
1592            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileVersionService.class)
1593            protected com.liferay.portlet.documentlibrary.service.DLFileVersionService dlFileVersionService;
1594            @BeanReference(type = DLFileVersionPersistence.class)
1595            protected DLFileVersionPersistence dlFileVersionPersistence;
1596            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderLocalService.class)
1597            protected com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService;
1598            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderService.class)
1599            protected com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService;
1600            @BeanReference(type = DLFolderPersistence.class)
1601            protected DLFolderPersistence dlFolderPersistence;
1602            @BeanReference(type = DLFolderFinder.class)
1603            protected DLFolderFinder dlFolderFinder;
1604            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService.class)
1605            protected com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService dlSyncEventLocalService;
1606            @BeanReference(type = DLSyncEventPersistence.class)
1607            protected DLSyncEventPersistence dlSyncEventPersistence;
1608            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1609            protected com.liferay.counter.service.CounterLocalService counterLocalService;
1610            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1611            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1612            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1613            protected com.liferay.portal.service.UserLocalService userLocalService;
1614            @BeanReference(type = com.liferay.portal.service.UserService.class)
1615            protected com.liferay.portal.service.UserService userService;
1616            @BeanReference(type = UserPersistence.class)
1617            protected UserPersistence userPersistence;
1618            @BeanReference(type = UserFinder.class)
1619            protected UserFinder userFinder;
1620            @BeanReference(type = com.liferay.portal.service.WorkflowDefinitionLinkLocalService.class)
1621            protected com.liferay.portal.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService;
1622            @BeanReference(type = WorkflowDefinitionLinkPersistence.class)
1623            protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence;
1624            @BeanReference(type = com.liferay.portal.service.WorkflowInstanceLinkLocalService.class)
1625            protected com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1626            @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1627            protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1628            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService.class)
1629            protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService;
1630            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureService.class)
1631            protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService;
1632            @BeanReference(type = DDMStructurePersistence.class)
1633            protected DDMStructurePersistence ddmStructurePersistence;
1634            @BeanReference(type = DDMStructureFinder.class)
1635            protected DDMStructureFinder ddmStructureFinder;
1636            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1637            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1638            private String _beanIdentifier;
1639    }