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;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link DLFileEntryTypeLocalService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       DLFileEntryTypeLocalService
026     * @generated
027     */
028    public class DLFileEntryTypeLocalServiceWrapper
029            implements DLFileEntryTypeLocalService,
030                    ServiceWrapper<DLFileEntryTypeLocalService> {
031            public DLFileEntryTypeLocalServiceWrapper(
032                    DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
033                    _dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
034            }
035    
036            /**
037            * Adds the document library file entry type to the database. Also notifies the appropriate model listeners.
038            *
039            * @param dlFileEntryType the document library file entry type
040            * @return the document library file entry type that was added
041            * @throws SystemException if a system exception occurred
042            */
043            public com.liferay.portlet.documentlibrary.model.DLFileEntryType addDLFileEntryType(
044                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
045                    throws com.liferay.portal.kernel.exception.SystemException {
046                    return _dlFileEntryTypeLocalService.addDLFileEntryType(dlFileEntryType);
047            }
048    
049            /**
050            * Creates a new document library file entry type with the primary key. Does not add the document library file entry type to the database.
051            *
052            * @param fileEntryTypeId the primary key for the new document library file entry type
053            * @return the new document library file entry type
054            */
055            public com.liferay.portlet.documentlibrary.model.DLFileEntryType createDLFileEntryType(
056                    long fileEntryTypeId) {
057                    return _dlFileEntryTypeLocalService.createDLFileEntryType(fileEntryTypeId);
058            }
059    
060            /**
061            * Deletes the document library file entry type with the primary key from the database. Also notifies the appropriate model listeners.
062            *
063            * @param fileEntryTypeId the primary key of the document library file entry type
064            * @return the document library file entry type that was removed
065            * @throws PortalException if a document library file entry type with the primary key could not be found
066            * @throws SystemException if a system exception occurred
067            */
068            public com.liferay.portlet.documentlibrary.model.DLFileEntryType deleteDLFileEntryType(
069                    long fileEntryTypeId)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _dlFileEntryTypeLocalService.deleteDLFileEntryType(fileEntryTypeId);
073            }
074    
075            /**
076            * Deletes the document library file entry type from the database. Also notifies the appropriate model listeners.
077            *
078            * @param dlFileEntryType the document library file entry type
079            * @return the document library file entry type that was removed
080            * @throws SystemException if a system exception occurred
081            */
082            public com.liferay.portlet.documentlibrary.model.DLFileEntryType deleteDLFileEntryType(
083                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
084                    throws com.liferay.portal.kernel.exception.SystemException {
085                    return _dlFileEntryTypeLocalService.deleteDLFileEntryType(dlFileEntryType);
086            }
087    
088            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
089                    return _dlFileEntryTypeLocalService.dynamicQuery();
090            }
091    
092            /**
093            * Performs a dynamic query on the database and returns the matching rows.
094            *
095            * @param dynamicQuery the dynamic query
096            * @return the matching rows
097            * @throws SystemException if a system exception occurred
098            */
099            @SuppressWarnings("rawtypes")
100            public java.util.List dynamicQuery(
101                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
102                    throws com.liferay.portal.kernel.exception.SystemException {
103                    return _dlFileEntryTypeLocalService.dynamicQuery(dynamicQuery);
104            }
105    
106            /**
107            * Performs a dynamic query on the database and returns a range of the matching rows.
108            *
109            * <p>
110            * 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.
111            * </p>
112            *
113            * @param dynamicQuery the dynamic query
114            * @param start the lower bound of the range of model instances
115            * @param end the upper bound of the range of model instances (not inclusive)
116            * @return the range of matching rows
117            * @throws SystemException if a system exception occurred
118            */
119            @SuppressWarnings("rawtypes")
120            public java.util.List dynamicQuery(
121                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
122                    int end) throws com.liferay.portal.kernel.exception.SystemException {
123                    return _dlFileEntryTypeLocalService.dynamicQuery(dynamicQuery, start,
124                            end);
125            }
126    
127            /**
128            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
129            *
130            * <p>
131            * 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.
132            * </p>
133            *
134            * @param dynamicQuery the dynamic query
135            * @param start the lower bound of the range of model instances
136            * @param end the upper bound of the range of model instances (not inclusive)
137            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
138            * @return the ordered range of matching rows
139            * @throws SystemException if a system exception occurred
140            */
141            @SuppressWarnings("rawtypes")
142            public java.util.List dynamicQuery(
143                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
144                    int end,
145                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    return _dlFileEntryTypeLocalService.dynamicQuery(dynamicQuery, start,
148                            end, orderByComparator);
149            }
150    
151            /**
152            * Returns the number of rows that match the dynamic query.
153            *
154            * @param dynamicQuery the dynamic query
155            * @return the number of rows that match the dynamic query
156            * @throws SystemException if a system exception occurred
157            */
158            public long dynamicQueryCount(
159                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
160                    throws com.liferay.portal.kernel.exception.SystemException {
161                    return _dlFileEntryTypeLocalService.dynamicQueryCount(dynamicQuery);
162            }
163    
164            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchDLFileEntryType(
165                    long fileEntryTypeId)
166                    throws com.liferay.portal.kernel.exception.SystemException {
167                    return _dlFileEntryTypeLocalService.fetchDLFileEntryType(fileEntryTypeId);
168            }
169    
170            /**
171            * Returns the document library file entry type with the primary key.
172            *
173            * @param fileEntryTypeId the primary key of the document library file entry type
174            * @return the document library file entry type
175            * @throws PortalException if a document library file entry type with the primary key could not be found
176            * @throws SystemException if a system exception occurred
177            */
178            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getDLFileEntryType(
179                    long fileEntryTypeId)
180                    throws com.liferay.portal.kernel.exception.PortalException,
181                            com.liferay.portal.kernel.exception.SystemException {
182                    return _dlFileEntryTypeLocalService.getDLFileEntryType(fileEntryTypeId);
183            }
184    
185            public com.liferay.portal.model.PersistedModel getPersistedModel(
186                    java.io.Serializable primaryKeyObj)
187                    throws com.liferay.portal.kernel.exception.PortalException,
188                            com.liferay.portal.kernel.exception.SystemException {
189                    return _dlFileEntryTypeLocalService.getPersistedModel(primaryKeyObj);
190            }
191    
192            /**
193            * Returns the document library file entry type with the UUID in the group.
194            *
195            * @param uuid the UUID of document library file entry type
196            * @param groupId the group id of the document library file entry type
197            * @return the document library file entry type
198            * @throws PortalException if a document library file entry type with the UUID in the group could not be found
199            * @throws SystemException if a system exception occurred
200            */
201            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getDLFileEntryTypeByUuidAndGroupId(
202                    java.lang.String uuid, long groupId)
203                    throws com.liferay.portal.kernel.exception.PortalException,
204                            com.liferay.portal.kernel.exception.SystemException {
205                    return _dlFileEntryTypeLocalService.getDLFileEntryTypeByUuidAndGroupId(uuid,
206                            groupId);
207            }
208    
209            /**
210            * Returns a range of all the document library file entry types.
211            *
212            * <p>
213            * 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.
214            * </p>
215            *
216            * @param start the lower bound of the range of document library file entry types
217            * @param end the upper bound of the range of document library file entry types (not inclusive)
218            * @return the range of document library file entry types
219            * @throws SystemException if a system exception occurred
220            */
221            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes(
222                    int start, int end)
223                    throws com.liferay.portal.kernel.exception.SystemException {
224                    return _dlFileEntryTypeLocalService.getDLFileEntryTypes(start, end);
225            }
226    
227            /**
228            * Returns the number of document library file entry types.
229            *
230            * @return the number of document library file entry types
231            * @throws SystemException if a system exception occurred
232            */
233            public int getDLFileEntryTypesCount()
234                    throws com.liferay.portal.kernel.exception.SystemException {
235                    return _dlFileEntryTypeLocalService.getDLFileEntryTypesCount();
236            }
237    
238            /**
239            * 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.
240            *
241            * @param dlFileEntryType the document library file entry type
242            * @return the document library file entry type that was updated
243            * @throws SystemException if a system exception occurred
244            */
245            public com.liferay.portlet.documentlibrary.model.DLFileEntryType updateDLFileEntryType(
246                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
247                    throws com.liferay.portal.kernel.exception.SystemException {
248                    return _dlFileEntryTypeLocalService.updateDLFileEntryType(dlFileEntryType);
249            }
250    
251            /**
252            * 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.
253            *
254            * @param dlFileEntryType the document library file entry type
255            * @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.
256            * @return the document library file entry type that was updated
257            * @throws SystemException if a system exception occurred
258            */
259            public com.liferay.portlet.documentlibrary.model.DLFileEntryType updateDLFileEntryType(
260                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType,
261                    boolean merge)
262                    throws com.liferay.portal.kernel.exception.SystemException {
263                    return _dlFileEntryTypeLocalService.updateDLFileEntryType(dlFileEntryType,
264                            merge);
265            }
266    
267            /**
268            * @throws SystemException if a system exception occurred
269            */
270            public void addDLFolderDLFileEntryType(long folderId, long fileEntryTypeId)
271                    throws com.liferay.portal.kernel.exception.SystemException {
272                    _dlFileEntryTypeLocalService.addDLFolderDLFileEntryType(folderId,
273                            fileEntryTypeId);
274            }
275    
276            /**
277            * @throws SystemException if a system exception occurred
278            */
279            public void addDLFolderDLFileEntryType(long folderId,
280                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
281                    throws com.liferay.portal.kernel.exception.SystemException {
282                    _dlFileEntryTypeLocalService.addDLFolderDLFileEntryType(folderId,
283                            dlFileEntryType);
284            }
285    
286            /**
287            * @throws SystemException if a system exception occurred
288            */
289            public void addDLFolderDLFileEntryTypes(long folderId,
290                    long[] fileEntryTypeIds)
291                    throws com.liferay.portal.kernel.exception.SystemException {
292                    _dlFileEntryTypeLocalService.addDLFolderDLFileEntryTypes(folderId,
293                            fileEntryTypeIds);
294            }
295    
296            /**
297            * @throws SystemException if a system exception occurred
298            */
299            public void addDLFolderDLFileEntryTypes(long folderId,
300                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> DLFileEntryTypes)
301                    throws com.liferay.portal.kernel.exception.SystemException {
302                    _dlFileEntryTypeLocalService.addDLFolderDLFileEntryTypes(folderId,
303                            DLFileEntryTypes);
304            }
305    
306            /**
307            * @throws SystemException if a system exception occurred
308            */
309            public void clearDLFolderDLFileEntryTypes(long folderId)
310                    throws com.liferay.portal.kernel.exception.SystemException {
311                    _dlFileEntryTypeLocalService.clearDLFolderDLFileEntryTypes(folderId);
312            }
313    
314            /**
315            * @throws SystemException if a system exception occurred
316            */
317            public void deleteDLFolderDLFileEntryType(long folderId,
318                    long fileEntryTypeId)
319                    throws com.liferay.portal.kernel.exception.SystemException {
320                    _dlFileEntryTypeLocalService.deleteDLFolderDLFileEntryType(folderId,
321                            fileEntryTypeId);
322            }
323    
324            /**
325            * @throws SystemException if a system exception occurred
326            */
327            public void deleteDLFolderDLFileEntryType(long folderId,
328                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
329                    throws com.liferay.portal.kernel.exception.SystemException {
330                    _dlFileEntryTypeLocalService.deleteDLFolderDLFileEntryType(folderId,
331                            dlFileEntryType);
332            }
333    
334            /**
335            * @throws SystemException if a system exception occurred
336            */
337            public void deleteDLFolderDLFileEntryTypes(long folderId,
338                    long[] fileEntryTypeIds)
339                    throws com.liferay.portal.kernel.exception.SystemException {
340                    _dlFileEntryTypeLocalService.deleteDLFolderDLFileEntryTypes(folderId,
341                            fileEntryTypeIds);
342            }
343    
344            /**
345            * @throws SystemException if a system exception occurred
346            */
347            public void deleteDLFolderDLFileEntryTypes(long folderId,
348                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> DLFileEntryTypes)
349                    throws com.liferay.portal.kernel.exception.SystemException {
350                    _dlFileEntryTypeLocalService.deleteDLFolderDLFileEntryTypes(folderId,
351                            DLFileEntryTypes);
352            }
353    
354            /**
355            * @throws SystemException if a system exception occurred
356            */
357            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFolderDLFileEntryTypes(
358                    long folderId)
359                    throws com.liferay.portal.kernel.exception.SystemException {
360                    return _dlFileEntryTypeLocalService.getDLFolderDLFileEntryTypes(folderId);
361            }
362    
363            /**
364            * @throws SystemException if a system exception occurred
365            */
366            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFolderDLFileEntryTypes(
367                    long folderId, int start, int end)
368                    throws com.liferay.portal.kernel.exception.SystemException {
369                    return _dlFileEntryTypeLocalService.getDLFolderDLFileEntryTypes(folderId,
370                            start, end);
371            }
372    
373            /**
374            * @throws SystemException if a system exception occurred
375            */
376            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFolderDLFileEntryTypes(
377                    long folderId, int start, int end,
378                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
379                    throws com.liferay.portal.kernel.exception.SystemException {
380                    return _dlFileEntryTypeLocalService.getDLFolderDLFileEntryTypes(folderId,
381                            start, end, orderByComparator);
382            }
383    
384            /**
385            * @throws SystemException if a system exception occurred
386            */
387            public int getDLFolderDLFileEntryTypesCount(long folderId)
388                    throws com.liferay.portal.kernel.exception.SystemException {
389                    return _dlFileEntryTypeLocalService.getDLFolderDLFileEntryTypesCount(folderId);
390            }
391    
392            /**
393            * @throws SystemException if a system exception occurred
394            */
395            public boolean hasDLFolderDLFileEntryType(long folderId,
396                    long fileEntryTypeId)
397                    throws com.liferay.portal.kernel.exception.SystemException {
398                    return _dlFileEntryTypeLocalService.hasDLFolderDLFileEntryType(folderId,
399                            fileEntryTypeId);
400            }
401    
402            /**
403            * @throws SystemException if a system exception occurred
404            */
405            public boolean hasDLFolderDLFileEntryTypes(long folderId)
406                    throws com.liferay.portal.kernel.exception.SystemException {
407                    return _dlFileEntryTypeLocalService.hasDLFolderDLFileEntryTypes(folderId);
408            }
409    
410            /**
411            * @throws SystemException if a system exception occurred
412            */
413            public void setDLFolderDLFileEntryTypes(long folderId,
414                    long[] fileEntryTypeIds)
415                    throws com.liferay.portal.kernel.exception.SystemException {
416                    _dlFileEntryTypeLocalService.setDLFolderDLFileEntryTypes(folderId,
417                            fileEntryTypeIds);
418            }
419    
420            /**
421            * @throws SystemException if a system exception occurred
422            */
423            public void addDDMStructureDLFileEntryType(long structureId,
424                    long fileEntryTypeId)
425                    throws com.liferay.portal.kernel.exception.SystemException {
426                    _dlFileEntryTypeLocalService.addDDMStructureDLFileEntryType(structureId,
427                            fileEntryTypeId);
428            }
429    
430            /**
431            * @throws SystemException if a system exception occurred
432            */
433            public void addDDMStructureDLFileEntryType(long structureId,
434                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
435                    throws com.liferay.portal.kernel.exception.SystemException {
436                    _dlFileEntryTypeLocalService.addDDMStructureDLFileEntryType(structureId,
437                            dlFileEntryType);
438            }
439    
440            /**
441            * @throws SystemException if a system exception occurred
442            */
443            public void addDDMStructureDLFileEntryTypes(long structureId,
444                    long[] fileEntryTypeIds)
445                    throws com.liferay.portal.kernel.exception.SystemException {
446                    _dlFileEntryTypeLocalService.addDDMStructureDLFileEntryTypes(structureId,
447                            fileEntryTypeIds);
448            }
449    
450            /**
451            * @throws SystemException if a system exception occurred
452            */
453            public void addDDMStructureDLFileEntryTypes(long structureId,
454                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> DLFileEntryTypes)
455                    throws com.liferay.portal.kernel.exception.SystemException {
456                    _dlFileEntryTypeLocalService.addDDMStructureDLFileEntryTypes(structureId,
457                            DLFileEntryTypes);
458            }
459    
460            /**
461            * @throws SystemException if a system exception occurred
462            */
463            public void clearDDMStructureDLFileEntryTypes(long structureId)
464                    throws com.liferay.portal.kernel.exception.SystemException {
465                    _dlFileEntryTypeLocalService.clearDDMStructureDLFileEntryTypes(structureId);
466            }
467    
468            /**
469            * @throws SystemException if a system exception occurred
470            */
471            public void deleteDDMStructureDLFileEntryType(long structureId,
472                    long fileEntryTypeId)
473                    throws com.liferay.portal.kernel.exception.SystemException {
474                    _dlFileEntryTypeLocalService.deleteDDMStructureDLFileEntryType(structureId,
475                            fileEntryTypeId);
476            }
477    
478            /**
479            * @throws SystemException if a system exception occurred
480            */
481            public void deleteDDMStructureDLFileEntryType(long structureId,
482                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
483                    throws com.liferay.portal.kernel.exception.SystemException {
484                    _dlFileEntryTypeLocalService.deleteDDMStructureDLFileEntryType(structureId,
485                            dlFileEntryType);
486            }
487    
488            /**
489            * @throws SystemException if a system exception occurred
490            */
491            public void deleteDDMStructureDLFileEntryTypes(long structureId,
492                    long[] fileEntryTypeIds)
493                    throws com.liferay.portal.kernel.exception.SystemException {
494                    _dlFileEntryTypeLocalService.deleteDDMStructureDLFileEntryTypes(structureId,
495                            fileEntryTypeIds);
496            }
497    
498            /**
499            * @throws SystemException if a system exception occurred
500            */
501            public void deleteDDMStructureDLFileEntryTypes(long structureId,
502                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> DLFileEntryTypes)
503                    throws com.liferay.portal.kernel.exception.SystemException {
504                    _dlFileEntryTypeLocalService.deleteDDMStructureDLFileEntryTypes(structureId,
505                            DLFileEntryTypes);
506            }
507    
508            /**
509            * @throws SystemException if a system exception occurred
510            */
511            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDDMStructureDLFileEntryTypes(
512                    long structureId)
513                    throws com.liferay.portal.kernel.exception.SystemException {
514                    return _dlFileEntryTypeLocalService.getDDMStructureDLFileEntryTypes(structureId);
515            }
516    
517            /**
518            * @throws SystemException if a system exception occurred
519            */
520            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDDMStructureDLFileEntryTypes(
521                    long structureId, int start, int end)
522                    throws com.liferay.portal.kernel.exception.SystemException {
523                    return _dlFileEntryTypeLocalService.getDDMStructureDLFileEntryTypes(structureId,
524                            start, end);
525            }
526    
527            /**
528            * @throws SystemException if a system exception occurred
529            */
530            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDDMStructureDLFileEntryTypes(
531                    long structureId, int start, int end,
532                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
533                    throws com.liferay.portal.kernel.exception.SystemException {
534                    return _dlFileEntryTypeLocalService.getDDMStructureDLFileEntryTypes(structureId,
535                            start, end, orderByComparator);
536            }
537    
538            /**
539            * @throws SystemException if a system exception occurred
540            */
541            public int getDDMStructureDLFileEntryTypesCount(long structureId)
542                    throws com.liferay.portal.kernel.exception.SystemException {
543                    return _dlFileEntryTypeLocalService.getDDMStructureDLFileEntryTypesCount(structureId);
544            }
545    
546            /**
547            * @throws SystemException if a system exception occurred
548            */
549            public boolean hasDDMStructureDLFileEntryType(long structureId,
550                    long fileEntryTypeId)
551                    throws com.liferay.portal.kernel.exception.SystemException {
552                    return _dlFileEntryTypeLocalService.hasDDMStructureDLFileEntryType(structureId,
553                            fileEntryTypeId);
554            }
555    
556            /**
557            * @throws SystemException if a system exception occurred
558            */
559            public boolean hasDDMStructureDLFileEntryTypes(long structureId)
560                    throws com.liferay.portal.kernel.exception.SystemException {
561                    return _dlFileEntryTypeLocalService.hasDDMStructureDLFileEntryTypes(structureId);
562            }
563    
564            /**
565            * @throws SystemException if a system exception occurred
566            */
567            public void setDDMStructureDLFileEntryTypes(long structureId,
568                    long[] fileEntryTypeIds)
569                    throws com.liferay.portal.kernel.exception.SystemException {
570                    _dlFileEntryTypeLocalService.setDDMStructureDLFileEntryTypes(structureId,
571                            fileEntryTypeIds);
572            }
573    
574            /**
575            * Returns the Spring bean ID for this bean.
576            *
577            * @return the Spring bean ID for this bean
578            */
579            public java.lang.String getBeanIdentifier() {
580                    return _dlFileEntryTypeLocalService.getBeanIdentifier();
581            }
582    
583            /**
584            * Sets the Spring bean ID for this bean.
585            *
586            * @param beanIdentifier the Spring bean ID for this bean
587            */
588            public void setBeanIdentifier(java.lang.String beanIdentifier) {
589                    _dlFileEntryTypeLocalService.setBeanIdentifier(beanIdentifier);
590            }
591    
592            public com.liferay.portlet.documentlibrary.model.DLFileEntryType addFileEntryType(
593                    long userId, long groupId, java.lang.String name,
594                    java.lang.String description, long[] ddmStructureIds,
595                    com.liferay.portal.service.ServiceContext serviceContext)
596                    throws com.liferay.portal.kernel.exception.PortalException,
597                            com.liferay.portal.kernel.exception.SystemException {
598                    return _dlFileEntryTypeLocalService.addFileEntryType(userId, groupId,
599                            name, description, ddmStructureIds, serviceContext);
600            }
601    
602            public void cascadeFileEntryTypes(long userId,
603                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
604                    throws com.liferay.portal.kernel.exception.PortalException,
605                            com.liferay.portal.kernel.exception.SystemException {
606                    _dlFileEntryTypeLocalService.cascadeFileEntryTypes(userId, dlFolder);
607            }
608    
609            public void deleteFileEntryType(
610                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
611                    throws com.liferay.portal.kernel.exception.PortalException,
612                            com.liferay.portal.kernel.exception.SystemException {
613                    _dlFileEntryTypeLocalService.deleteFileEntryType(dlFileEntryType);
614            }
615    
616            public void deleteFileEntryType(long fileEntryTypeId)
617                    throws com.liferay.portal.kernel.exception.PortalException,
618                            com.liferay.portal.kernel.exception.SystemException {
619                    _dlFileEntryTypeLocalService.deleteFileEntryType(fileEntryTypeId);
620            }
621    
622            public void deleteFileEntryTypes(long groupId)
623                    throws com.liferay.portal.kernel.exception.PortalException,
624                            com.liferay.portal.kernel.exception.SystemException {
625                    _dlFileEntryTypeLocalService.deleteFileEntryTypes(groupId);
626            }
627    
628            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchFileEntryType(
629                    long fileEntryTypeId)
630                    throws com.liferay.portal.kernel.exception.SystemException {
631                    return _dlFileEntryTypeLocalService.fetchFileEntryType(fileEntryTypeId);
632            }
633    
634            public long getDefaultFileEntryTypeId(long folderId)
635                    throws com.liferay.portal.kernel.exception.PortalException,
636                            com.liferay.portal.kernel.exception.SystemException {
637                    return _dlFileEntryTypeLocalService.getDefaultFileEntryTypeId(folderId);
638            }
639    
640            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getFileEntryType(
641                    long fileEntryTypeId)
642                    throws com.liferay.portal.kernel.exception.PortalException,
643                            com.liferay.portal.kernel.exception.SystemException {
644                    return _dlFileEntryTypeLocalService.getFileEntryType(fileEntryTypeId);
645            }
646    
647            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getFileEntryType(
648                    long groupId, java.lang.String name)
649                    throws com.liferay.portal.kernel.exception.PortalException,
650                            com.liferay.portal.kernel.exception.SystemException {
651                    return _dlFileEntryTypeLocalService.getFileEntryType(groupId, name);
652            }
653    
654            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFileEntryTypes(
655                    long[] groupIds)
656                    throws com.liferay.portal.kernel.exception.SystemException {
657                    return _dlFileEntryTypeLocalService.getFileEntryTypes(groupIds);
658            }
659    
660            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFolderFileEntryTypes(
661                    long[] groupIds, long folderId, boolean inherited)
662                    throws com.liferay.portal.kernel.exception.PortalException,
663                            com.liferay.portal.kernel.exception.SystemException {
664                    return _dlFileEntryTypeLocalService.getFolderFileEntryTypes(groupIds,
665                            folderId, inherited);
666            }
667    
668            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> search(
669                    long companyId, long[] groupIds, java.lang.String keywords,
670                    boolean includeBasicFileEntryType, int start, int end,
671                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
672                    throws com.liferay.portal.kernel.exception.SystemException {
673                    return _dlFileEntryTypeLocalService.search(companyId, groupIds,
674                            keywords, includeBasicFileEntryType, start, end, orderByComparator);
675            }
676    
677            public int searchCount(long companyId, long[] groupIds,
678                    java.lang.String keywords, boolean includeBasicFileEntryType)
679                    throws com.liferay.portal.kernel.exception.SystemException {
680                    return _dlFileEntryTypeLocalService.searchCount(companyId, groupIds,
681                            keywords, includeBasicFileEntryType);
682            }
683    
684            public void unsetFolderFileEntryTypes(long folderId)
685                    throws com.liferay.portal.kernel.exception.SystemException {
686                    _dlFileEntryTypeLocalService.unsetFolderFileEntryTypes(folderId);
687            }
688    
689            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntryFileEntryType(
690                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
691                    com.liferay.portal.service.ServiceContext serviceContext)
692                    throws com.liferay.portal.kernel.exception.PortalException,
693                            com.liferay.portal.kernel.exception.SystemException {
694                    return _dlFileEntryTypeLocalService.updateFileEntryFileEntryType(dlFileEntry,
695                            serviceContext);
696            }
697    
698            public void updateFileEntryType(long userId, long fileEntryTypeId,
699                    java.lang.String name, java.lang.String description,
700                    long[] ddmStructureIds,
701                    com.liferay.portal.service.ServiceContext serviceContext)
702                    throws com.liferay.portal.kernel.exception.PortalException,
703                            com.liferay.portal.kernel.exception.SystemException {
704                    _dlFileEntryTypeLocalService.updateFileEntryType(userId,
705                            fileEntryTypeId, name, description, ddmStructureIds, serviceContext);
706            }
707    
708            public void updateFolderFileEntryTypes(
709                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
710                    java.util.List<java.lang.Long> fileEntryTypeIds,
711                    long defaultFileEntryTypeId,
712                    com.liferay.portal.service.ServiceContext serviceContext)
713                    throws com.liferay.portal.kernel.exception.PortalException,
714                            com.liferay.portal.kernel.exception.SystemException {
715                    _dlFileEntryTypeLocalService.updateFolderFileEntryTypes(dlFolder,
716                            fileEntryTypeIds, defaultFileEntryTypeId, serviceContext);
717            }
718    
719            /**
720             * @deprecated Renamed to {@link #getWrappedService}
721             */
722            public DLFileEntryTypeLocalService getWrappedDLFileEntryTypeLocalService() {
723                    return _dlFileEntryTypeLocalService;
724            }
725    
726            /**
727             * @deprecated Renamed to {@link #setWrappedService}
728             */
729            public void setWrappedDLFileEntryTypeLocalService(
730                    DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
731                    _dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
732            }
733    
734            public DLFileEntryTypeLocalService getWrappedService() {
735                    return _dlFileEntryTypeLocalService;
736            }
737    
738            public void setWrappedService(
739                    DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
740                    _dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
741            }
742    
743            private DLFileEntryTypeLocalService _dlFileEntryTypeLocalService;
744    }