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