001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.documentlibrary.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link DLFileEntryLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see DLFileEntryLocalService
026     * @generated
027     */
028    @ProviderType
029    public class DLFileEntryLocalServiceWrapper implements DLFileEntryLocalService,
030            ServiceWrapper<DLFileEntryLocalService> {
031            public DLFileEntryLocalServiceWrapper(
032                    DLFileEntryLocalService dlFileEntryLocalService) {
033                    _dlFileEntryLocalService = dlFileEntryLocalService;
034            }
035    
036            /**
037            * Adds the document library file entry to the database. Also notifies the appropriate model listeners.
038            *
039            * @param dlFileEntry the document library file entry
040            * @return the document library file entry that was added
041            */
042            @Override
043            public com.liferay.portlet.documentlibrary.model.DLFileEntry addDLFileEntry(
044                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry) {
045                    return _dlFileEntryLocalService.addDLFileEntry(dlFileEntry);
046            }
047    
048            @Override
049            public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
050                    long userId, long groupId, long repositoryId, long folderId,
051                    java.lang.String sourceFileName, java.lang.String mimeType,
052                    java.lang.String title, java.lang.String description,
053                    java.lang.String changeLog, long fileEntryTypeId,
054                    java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.DDMFormValues> ddmFormValuesMap,
055                    java.io.File file, java.io.InputStream is, long size,
056                    com.liferay.portal.service.ServiceContext serviceContext)
057                    throws com.liferay.portal.kernel.exception.PortalException {
058                    return _dlFileEntryLocalService.addFileEntry(userId, groupId,
059                            repositoryId, folderId, sourceFileName, mimeType, title,
060                            description, changeLog, fileEntryTypeId, ddmFormValuesMap, file,
061                            is, size, serviceContext);
062            }
063    
064            @Override
065            public com.liferay.portlet.documentlibrary.model.DLFileVersion cancelCheckOut(
066                    long userId, long fileEntryId)
067                    throws com.liferay.portal.kernel.exception.PortalException {
068                    return _dlFileEntryLocalService.cancelCheckOut(userId, fileEntryId);
069            }
070    
071            /**
072            * @deprecated As of 6.2.0, replaced by {@link #checkInFileEntry(long, long,
073            String, ServiceContext)}
074            */
075            @Deprecated
076            @Override
077            public void checkInFileEntry(long userId, long fileEntryId,
078                    java.lang.String lockUuid)
079                    throws com.liferay.portal.kernel.exception.PortalException {
080                    _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId, lockUuid);
081            }
082    
083            @Override
084            public void checkInFileEntry(long userId, long fileEntryId,
085                    java.lang.String lockUuid,
086                    com.liferay.portal.service.ServiceContext serviceContext)
087                    throws com.liferay.portal.kernel.exception.PortalException {
088                    _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId,
089                            lockUuid, serviceContext);
090            }
091    
092            @Override
093            public void checkInFileEntry(long userId, long fileEntryId,
094                    boolean majorVersion, java.lang.String changeLog,
095                    com.liferay.portal.service.ServiceContext serviceContext)
096                    throws com.liferay.portal.kernel.exception.PortalException {
097                    _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId,
098                            majorVersion, changeLog, serviceContext);
099            }
100    
101            /**
102            * @deprecated As of 6.2.0, replaced by {@link #checkOutFileEntry(long,
103            long, ServiceContext)}
104            */
105            @Deprecated
106            @Override
107            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
108                    long userId, long fileEntryId)
109                    throws com.liferay.portal.kernel.exception.PortalException {
110                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId);
111            }
112    
113            /**
114            * @deprecated As of 6.2.0, replaced by {@link #checkOutFileEntry(long,
115            long, String, long, ServiceContext)}
116            */
117            @Deprecated
118            @Override
119            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
120                    long userId, long fileEntryId, java.lang.String owner,
121                    long expirationTime)
122                    throws com.liferay.portal.kernel.exception.PortalException {
123                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
124                            owner, expirationTime);
125            }
126    
127            @Override
128            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
129                    long userId, long fileEntryId, java.lang.String owner,
130                    long expirationTime,
131                    com.liferay.portal.service.ServiceContext serviceContext)
132                    throws com.liferay.portal.kernel.exception.PortalException {
133                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
134                            owner, expirationTime, serviceContext);
135            }
136    
137            @Override
138            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
139                    long userId, long fileEntryId,
140                    com.liferay.portal.service.ServiceContext serviceContext)
141                    throws com.liferay.portal.kernel.exception.PortalException {
142                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
143                            serviceContext);
144            }
145    
146            @Override
147            public void convertExtraSettings(java.lang.String[] keys)
148                    throws com.liferay.portal.kernel.exception.PortalException {
149                    _dlFileEntryLocalService.convertExtraSettings(keys);
150            }
151    
152            @Override
153            public com.liferay.portlet.documentlibrary.model.DLFileEntry copyFileEntry(
154                    long userId, long groupId, long repositoryId, long fileEntryId,
155                    long destFolderId,
156                    com.liferay.portal.service.ServiceContext serviceContext)
157                    throws com.liferay.portal.kernel.exception.PortalException {
158                    return _dlFileEntryLocalService.copyFileEntry(userId, groupId,
159                            repositoryId, fileEntryId, destFolderId, serviceContext);
160            }
161    
162            @Override
163            public void copyFileEntryMetadata(long companyId, long fileEntryTypeId,
164                    long fileEntryId, long fromFileVersionId, long toFileVersionId,
165                    com.liferay.portal.service.ServiceContext serviceContext)
166                    throws com.liferay.portal.kernel.exception.PortalException {
167                    _dlFileEntryLocalService.copyFileEntryMetadata(companyId,
168                            fileEntryTypeId, fileEntryId, fromFileVersionId, toFileVersionId,
169                            serviceContext);
170            }
171    
172            /**
173            * Creates a new document library file entry with the primary key. Does not add the document library file entry to the database.
174            *
175            * @param fileEntryId the primary key for the new document library file entry
176            * @return the new document library file entry
177            */
178            @Override
179            public com.liferay.portlet.documentlibrary.model.DLFileEntry createDLFileEntry(
180                    long fileEntryId) {
181                    return _dlFileEntryLocalService.createDLFileEntry(fileEntryId);
182            }
183    
184            /**
185            * Deletes the document library file entry from the database. Also notifies the appropriate model listeners.
186            *
187            * @param dlFileEntry the document library file entry
188            * @return the document library file entry that was removed
189            */
190            @Override
191            public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteDLFileEntry(
192                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry) {
193                    return _dlFileEntryLocalService.deleteDLFileEntry(dlFileEntry);
194            }
195    
196            /**
197            * Deletes the document library file entry with the primary key from the database. Also notifies the appropriate model listeners.
198            *
199            * @param fileEntryId the primary key of the document library file entry
200            * @return the document library file entry that was removed
201            * @throws PortalException if a document library file entry with the primary key could not be found
202            */
203            @Override
204            public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteDLFileEntry(
205                    long fileEntryId)
206                    throws com.liferay.portal.kernel.exception.PortalException {
207                    return _dlFileEntryLocalService.deleteDLFileEntry(fileEntryId);
208            }
209    
210            @Override
211            public void deleteFileEntries(long groupId, long folderId)
212                    throws com.liferay.portal.kernel.exception.PortalException {
213                    _dlFileEntryLocalService.deleteFileEntries(groupId, folderId);
214            }
215    
216            @Override
217            public void deleteFileEntries(long groupId, long folderId,
218                    boolean includeTrashedEntries)
219                    throws com.liferay.portal.kernel.exception.PortalException {
220                    _dlFileEntryLocalService.deleteFileEntries(groupId, folderId,
221                            includeTrashedEntries);
222            }
223    
224            @Override
225            public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
226                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
227                    throws com.liferay.portal.kernel.exception.PortalException {
228                    return _dlFileEntryLocalService.deleteFileEntry(dlFileEntry);
229            }
230    
231            @Override
232            public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
233                    long fileEntryId)
234                    throws com.liferay.portal.kernel.exception.PortalException {
235                    return _dlFileEntryLocalService.deleteFileEntry(fileEntryId);
236            }
237    
238            @Override
239            public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
240                    long userId, long fileEntryId)
241                    throws com.liferay.portal.kernel.exception.PortalException {
242                    return _dlFileEntryLocalService.deleteFileEntry(userId, fileEntryId);
243            }
244    
245            @Override
246            public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileVersion(
247                    long userId, long fileEntryId, java.lang.String version)
248                    throws com.liferay.portal.kernel.exception.PortalException {
249                    return _dlFileEntryLocalService.deleteFileVersion(userId, fileEntryId,
250                            version);
251            }
252    
253            /**
254            * @throws PortalException
255            */
256            @Override
257            public com.liferay.portal.model.PersistedModel deletePersistedModel(
258                    com.liferay.portal.model.PersistedModel persistedModel)
259                    throws com.liferay.portal.kernel.exception.PortalException {
260                    return _dlFileEntryLocalService.deletePersistedModel(persistedModel);
261            }
262    
263            @Override
264            public void deleteRepositoryFileEntries(long repositoryId, long folderId)
265                    throws com.liferay.portal.kernel.exception.PortalException {
266                    _dlFileEntryLocalService.deleteRepositoryFileEntries(repositoryId,
267                            folderId);
268            }
269    
270            @Override
271            public void deleteRepositoryFileEntries(long repositoryId, long folderId,
272                    boolean includeTrashedEntries)
273                    throws com.liferay.portal.kernel.exception.PortalException {
274                    _dlFileEntryLocalService.deleteRepositoryFileEntries(repositoryId,
275                            folderId, includeTrashedEntries);
276            }
277    
278            @Override
279            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
280                    return _dlFileEntryLocalService.dynamicQuery();
281            }
282    
283            /**
284            * Performs a dynamic query on the database and returns the matching rows.
285            *
286            * @param dynamicQuery the dynamic query
287            * @return the matching rows
288            */
289            @Override
290            public <T> java.util.List<T> dynamicQuery(
291                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
292                    return _dlFileEntryLocalService.dynamicQuery(dynamicQuery);
293            }
294    
295            /**
296            * Performs a dynamic query on the database and returns a range of the matching rows.
297            *
298            * <p>
299            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
300            * </p>
301            *
302            * @param dynamicQuery the dynamic query
303            * @param start the lower bound of the range of model instances
304            * @param end the upper bound of the range of model instances (not inclusive)
305            * @return the range of matching rows
306            */
307            @Override
308            public <T> java.util.List<T> dynamicQuery(
309                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
310                    int end) {
311                    return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end);
312            }
313    
314            /**
315            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
316            *
317            * <p>
318            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
319            * </p>
320            *
321            * @param dynamicQuery the dynamic query
322            * @param start the lower bound of the range of model instances
323            * @param end the upper bound of the range of model instances (not inclusive)
324            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
325            * @return the ordered range of matching rows
326            */
327            @Override
328            public <T> java.util.List<T> dynamicQuery(
329                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
330                    int end,
331                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
332                    return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end,
333                            orderByComparator);
334            }
335    
336            /**
337            * Returns the number of rows matching the dynamic query.
338            *
339            * @param dynamicQuery the dynamic query
340            * @return the number of rows matching the dynamic query
341            */
342            @Override
343            public long dynamicQueryCount(
344                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
345                    return _dlFileEntryLocalService.dynamicQueryCount(dynamicQuery);
346            }
347    
348            /**
349            * Returns the number of rows matching the dynamic query.
350            *
351            * @param dynamicQuery the dynamic query
352            * @param projection the projection to apply to the query
353            * @return the number of rows matching the dynamic query
354            */
355            @Override
356            public long dynamicQueryCount(
357                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
358                    com.liferay.portal.kernel.dao.orm.Projection projection) {
359                    return _dlFileEntryLocalService.dynamicQueryCount(dynamicQuery,
360                            projection);
361            }
362    
363            @Override
364            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchDLFileEntry(
365                    long fileEntryId) {
366                    return _dlFileEntryLocalService.fetchDLFileEntry(fileEntryId);
367            }
368    
369            /**
370            * Returns the document library file entry matching the UUID and group.
371            *
372            * @param uuid the document library file entry's UUID
373            * @param groupId the primary key of the group
374            * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
375            */
376            @Override
377            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchDLFileEntryByUuidAndGroupId(
378                    java.lang.String uuid, long groupId) {
379                    return _dlFileEntryLocalService.fetchDLFileEntryByUuidAndGroupId(uuid,
380                            groupId);
381            }
382    
383            @Override
384            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntry(
385                    long groupId, long folderId, java.lang.String title) {
386                    return _dlFileEntryLocalService.fetchFileEntry(groupId, folderId, title);
387            }
388    
389            @Override
390            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByAnyImageId(
391                    long imageId) {
392                    return _dlFileEntryLocalService.fetchFileEntryByAnyImageId(imageId);
393            }
394    
395            @Override
396            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByFileName(
397                    long groupId, long folderId, java.lang.String fileName) {
398                    return _dlFileEntryLocalService.fetchFileEntryByFileName(groupId,
399                            folderId, fileName);
400            }
401    
402            @Override
403            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByName(
404                    long groupId, long folderId, java.lang.String name) {
405                    return _dlFileEntryLocalService.fetchFileEntryByName(groupId, folderId,
406                            name);
407            }
408    
409            @Override
410            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
411                    return _dlFileEntryLocalService.getActionableDynamicQuery();
412            }
413    
414            /**
415            * Returns the Spring bean ID for this bean.
416            *
417            * @return the Spring bean ID for this bean
418            */
419            @Override
420            public java.lang.String getBeanIdentifier() {
421                    return _dlFileEntryLocalService.getBeanIdentifier();
422            }
423    
424            @Override
425            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDDMStructureFileEntries(
426                    long[] ddmStructureIds) {
427                    return _dlFileEntryLocalService.getDDMStructureFileEntries(ddmStructureIds);
428            }
429    
430            @Override
431            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDDMStructureFileEntries(
432                    long groupId, long[] ddmStructureIds) {
433                    return _dlFileEntryLocalService.getDDMStructureFileEntries(groupId,
434                            ddmStructureIds);
435            }
436    
437            /**
438            * Returns a range of all the document library file entries.
439            *
440            * <p>
441            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
442            * </p>
443            *
444            * @param start the lower bound of the range of document library file entries
445            * @param end the upper bound of the range of document library file entries (not inclusive)
446            * @return the range of document library file entries
447            */
448            @Override
449            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntries(
450                    int start, int end) {
451                    return _dlFileEntryLocalService.getDLFileEntries(start, end);
452            }
453    
454            /**
455            * Returns all the document library file entries matching the UUID and company.
456            *
457            * @param uuid the UUID of the document library file entries
458            * @param companyId the primary key of the company
459            * @return the matching document library file entries, or an empty list if no matches were found
460            */
461            @Override
462            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntriesByUuidAndCompanyId(
463                    java.lang.String uuid, long companyId) {
464                    return _dlFileEntryLocalService.getDLFileEntriesByUuidAndCompanyId(uuid,
465                            companyId);
466            }
467    
468            /**
469            * Returns a range of document library file entries matching the UUID and company.
470            *
471            * @param uuid the UUID of the document library file entries
472            * @param companyId the primary key of the company
473            * @param start the lower bound of the range of document library file entries
474            * @param end the upper bound of the range of document library file entries (not inclusive)
475            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
476            * @return the range of matching document library file entries, or an empty list if no matches were found
477            */
478            @Override
479            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntriesByUuidAndCompanyId(
480                    java.lang.String uuid, long companyId, int start, int end,
481                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator) {
482                    return _dlFileEntryLocalService.getDLFileEntriesByUuidAndCompanyId(uuid,
483                            companyId, start, end, orderByComparator);
484            }
485    
486            /**
487            * Returns the number of document library file entries.
488            *
489            * @return the number of document library file entries
490            */
491            @Override
492            public int getDLFileEntriesCount() {
493                    return _dlFileEntryLocalService.getDLFileEntriesCount();
494            }
495    
496            /**
497            * Returns the document library file entry with the primary key.
498            *
499            * @param fileEntryId the primary key of the document library file entry
500            * @return the document library file entry
501            * @throws PortalException if a document library file entry with the primary key could not be found
502            */
503            @Override
504            public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntry(
505                    long fileEntryId)
506                    throws com.liferay.portal.kernel.exception.PortalException {
507                    return _dlFileEntryLocalService.getDLFileEntry(fileEntryId);
508            }
509    
510            /**
511            * Returns the document library file entry matching the UUID and group.
512            *
513            * @param uuid the document library file entry's UUID
514            * @param groupId the primary key of the group
515            * @return the matching document library file entry
516            * @throws PortalException if a matching document library file entry could not be found
517            */
518            @Override
519            public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntryByUuidAndGroupId(
520                    java.lang.String uuid, long groupId)
521                    throws com.liferay.portal.kernel.exception.PortalException {
522                    return _dlFileEntryLocalService.getDLFileEntryByUuidAndGroupId(uuid,
523                            groupId);
524            }
525    
526            @Override
527            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
528                    com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) {
529                    return _dlFileEntryLocalService.getExportActionableDynamicQuery(portletDataContext);
530            }
531    
532            @Override
533            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
534                    int start, int end) {
535                    return _dlFileEntryLocalService.getExtraSettingsFileEntries(start, end);
536            }
537    
538            @Override
539            public int getExtraSettingsFileEntriesCount() {
540                    return _dlFileEntryLocalService.getExtraSettingsFileEntriesCount();
541            }
542    
543            @Override
544            public java.io.File getFile(long fileEntryId, java.lang.String version,
545                    boolean incrementCounter)
546                    throws com.liferay.portal.kernel.exception.PortalException {
547                    return _dlFileEntryLocalService.getFile(fileEntryId, version,
548                            incrementCounter);
549            }
550    
551            @Override
552            public java.io.File getFile(long fileEntryId, java.lang.String version,
553                    boolean incrementCounter, int increment)
554                    throws com.liferay.portal.kernel.exception.PortalException {
555                    return _dlFileEntryLocalService.getFile(fileEntryId, version,
556                            incrementCounter, increment);
557            }
558    
559            /**
560            * @deprecated As of 7.0.0, replaced by {@link #getFile(long, String,
561            boolean)}
562            */
563            @Deprecated
564            @Override
565            public java.io.File getFile(long userId, long fileEntryId,
566                    java.lang.String version, boolean incrementCounter)
567                    throws com.liferay.portal.kernel.exception.PortalException {
568                    return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
569                            incrementCounter);
570            }
571    
572            /**
573            * @deprecated As of 7.0.0, replaced by {@link #getFile(long, String,
574            boolean, int)}
575            */
576            @Deprecated
577            @Override
578            public java.io.File getFile(long userId, long fileEntryId,
579                    java.lang.String version, boolean incrementCounter, int increment)
580                    throws com.liferay.portal.kernel.exception.PortalException {
581                    return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
582                            incrementCounter, increment);
583            }
584    
585            @Override
586            public java.io.InputStream getFileAsStream(long fileEntryId,
587                    java.lang.String version)
588                    throws com.liferay.portal.kernel.exception.PortalException {
589                    return _dlFileEntryLocalService.getFileAsStream(fileEntryId, version);
590            }
591    
592            @Override
593            public java.io.InputStream getFileAsStream(long fileEntryId,
594                    java.lang.String version, boolean incrementCounter)
595                    throws com.liferay.portal.kernel.exception.PortalException {
596                    return _dlFileEntryLocalService.getFileAsStream(fileEntryId, version,
597                            incrementCounter);
598            }
599    
600            @Override
601            public java.io.InputStream getFileAsStream(long fileEntryId,
602                    java.lang.String version, boolean incrementCounter, int increment)
603                    throws com.liferay.portal.kernel.exception.PortalException {
604                    return _dlFileEntryLocalService.getFileAsStream(fileEntryId, version,
605                            incrementCounter, increment);
606            }
607    
608            /**
609            * @deprecated As of 7.0.0, replaced by {@link #getFileAsStream(long,
610            String)}
611            */
612            @Deprecated
613            @Override
614            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
615                    java.lang.String version)
616                    throws com.liferay.portal.kernel.exception.PortalException {
617                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
618                            version);
619            }
620    
621            /**
622            * @deprecated As of 7.0.0, replaced by {@link #getFileAsStream(long,
623            String, boolean)}
624            */
625            @Deprecated
626            @Override
627            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
628                    java.lang.String version, boolean incrementCounter)
629                    throws com.liferay.portal.kernel.exception.PortalException {
630                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
631                            version, incrementCounter);
632            }
633    
634            /**
635            * @deprecated As of 7.0.0, replaced by {@link #getFileAsStream(long,
636            String, boolean, int)}
637            */
638            @Deprecated
639            @Override
640            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
641                    java.lang.String version, boolean incrementCounter, int increment)
642                    throws com.liferay.portal.kernel.exception.PortalException {
643                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
644                            version, incrementCounter, increment);
645            }
646    
647            @Override
648            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
649                    long folderId, java.lang.String name) {
650                    return _dlFileEntryLocalService.getFileEntries(folderId, name);
651            }
652    
653            @Override
654            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
655                    long groupId, long folderId) {
656                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId);
657            }
658    
659            @Override
660            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
661                    long groupId, long folderId, int start, int end,
662                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc) {
663                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
664                            start, end, obc);
665            }
666    
667            @Override
668            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
669                    long groupId, long folderId, int status, int start, int end,
670                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc) {
671                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
672                            status, start, end, obc);
673            }
674    
675            @Override
676            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
677                    long groupId, long userId, java.util.List<java.lang.Long> folderIds,
678                    java.lang.String[] mimeTypes,
679                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
680                    throws java.lang.Exception {
681                    return _dlFileEntryLocalService.getFileEntries(groupId, userId,
682                            folderIds, mimeTypes, queryDefinition);
683            }
684    
685            @Override
686            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
687                    long groupId, long userId,
688                    java.util.List<java.lang.Long> repositoryIds,
689                    java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
690                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
691                    throws java.lang.Exception {
692                    return _dlFileEntryLocalService.getFileEntries(groupId, userId,
693                            repositoryIds, folderIds, mimeTypes, queryDefinition);
694            }
695    
696            @Override
697            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
698                    int start, int end) {
699                    return _dlFileEntryLocalService.getFileEntries(start, end);
700            }
701    
702            @Override
703            public int getFileEntriesCount() {
704                    return _dlFileEntryLocalService.getFileEntriesCount();
705            }
706    
707            /**
708            * @deprecated As of 7.0.0, with no direct replacement
709            */
710            @Deprecated
711            @Override
712            public int getFileEntriesCount(long groupId,
713                    com.liferay.portal.kernel.util.DateRange dateRange, long repositoryId,
714                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition) {
715                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, dateRange,
716                            repositoryId, queryDefinition);
717            }
718    
719            @Override
720            public int getFileEntriesCount(long groupId, long folderId) {
721                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
722            }
723    
724            @Override
725            public int getFileEntriesCount(long groupId, long folderId, int status) {
726                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId,
727                            status);
728            }
729    
730            @Override
731            public int getFileEntriesCount(long groupId, long userId,
732                    java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
733                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
734                    throws java.lang.Exception {
735                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, userId,
736                            folderIds, mimeTypes, queryDefinition);
737            }
738    
739            @Override
740            public int getFileEntriesCount(long groupId, long userId,
741                    java.util.List<java.lang.Long> repositoryIds,
742                    java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
743                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
744                    throws java.lang.Exception {
745                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, userId,
746                            repositoryIds, folderIds, mimeTypes, queryDefinition);
747            }
748    
749            @Override
750            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
751                    long fileEntryId)
752                    throws com.liferay.portal.kernel.exception.PortalException {
753                    return _dlFileEntryLocalService.getFileEntry(fileEntryId);
754            }
755    
756            @Override
757            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
758                    long groupId, long folderId, java.lang.String title)
759                    throws com.liferay.portal.kernel.exception.PortalException {
760                    return _dlFileEntryLocalService.getFileEntry(groupId, folderId, title);
761            }
762    
763            @Override
764            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
765                    long groupId, long folderId, java.lang.String name)
766                    throws com.liferay.portal.kernel.exception.PortalException {
767                    return _dlFileEntryLocalService.getFileEntryByName(groupId, folderId,
768                            name);
769            }
770    
771            @Override
772            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
773                    java.lang.String uuid, long groupId)
774                    throws com.liferay.portal.kernel.exception.PortalException {
775                    return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
776                            groupId);
777            }
778    
779            @Override
780            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
781                    long groupId, int start, int end) {
782                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
783            }
784    
785            @Override
786            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
787                    long groupId, int start, int end,
788                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc) {
789                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
790                            end, obc);
791            }
792    
793            @Override
794            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
795                    long groupId, long userId, long repositoryId, long rootFolderId,
796                    int start, int end,
797                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc) {
798                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
799                            repositoryId, rootFolderId, start, end, obc);
800            }
801    
802            @Override
803            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
804                    long groupId, long userId, long rootFolderId, int start, int end,
805                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc) {
806                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
807                            rootFolderId, start, end, obc);
808            }
809    
810            @Override
811            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
812                    long groupId, long userId, int start, int end) {
813                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
814                            start, end);
815            }
816    
817            @Override
818            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
819                    long groupId, long userId, int start, int end,
820                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc) {
821                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
822                            start, end, obc);
823            }
824    
825            @Override
826            public int getGroupFileEntriesCount(long groupId) {
827                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
828            }
829    
830            @Override
831            public int getGroupFileEntriesCount(long groupId, long userId) {
832                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
833            }
834    
835            @Override
836            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries() {
837                    return _dlFileEntryLocalService.getMisversionedFileEntries();
838            }
839    
840            @Override
841            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries() {
842                    return _dlFileEntryLocalService.getNoAssetFileEntries();
843            }
844    
845            @Override
846            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries() {
847                    return _dlFileEntryLocalService.getOrphanedFileEntries();
848            }
849    
850            @Override
851            public com.liferay.portal.model.PersistedModel getPersistedModel(
852                    java.io.Serializable primaryKeyObj)
853                    throws com.liferay.portal.kernel.exception.PortalException {
854                    return _dlFileEntryLocalService.getPersistedModel(primaryKeyObj);
855            }
856    
857            @Override
858            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getRepositoryFileEntries(
859                    long repositoryId, int start, int end) {
860                    return _dlFileEntryLocalService.getRepositoryFileEntries(repositoryId,
861                            start, end);
862            }
863    
864            @Override
865            public int getRepositoryFileEntriesCount(long repositoryId) {
866                    return _dlFileEntryLocalService.getRepositoryFileEntriesCount(repositoryId);
867            }
868    
869            @Override
870            public boolean hasExtraSettings() {
871                    return _dlFileEntryLocalService.hasExtraSettings();
872            }
873    
874            @Override
875            public boolean hasFileEntryLock(long userId, long fileEntryId)
876                    throws com.liferay.portal.kernel.exception.PortalException {
877                    return _dlFileEntryLocalService.hasFileEntryLock(userId, fileEntryId);
878            }
879    
880            @Override
881            public void incrementViewCounter(
882                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
883                    int increment) {
884                    _dlFileEntryLocalService.incrementViewCounter(dlFileEntry, increment);
885            }
886    
887            @Override
888            public boolean isFileEntryCheckedOut(long fileEntryId)
889                    throws com.liferay.portal.kernel.exception.PortalException {
890                    return _dlFileEntryLocalService.isFileEntryCheckedOut(fileEntryId);
891            }
892    
893            @Override
894            public boolean isKeepFileVersionLabel(long fileEntryId,
895                    com.liferay.portal.service.ServiceContext serviceContext)
896                    throws com.liferay.portal.kernel.exception.PortalException {
897                    return _dlFileEntryLocalService.isKeepFileVersionLabel(fileEntryId,
898                            serviceContext);
899            }
900    
901            @Override
902            public com.liferay.portal.kernel.lock.Lock lockFileEntry(long userId,
903                    long fileEntryId)
904                    throws com.liferay.portal.kernel.exception.PortalException {
905                    return _dlFileEntryLocalService.lockFileEntry(userId, fileEntryId);
906            }
907    
908            @Override
909            public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
910                    long userId, long fileEntryId, long newFolderId,
911                    com.liferay.portal.service.ServiceContext serviceContext)
912                    throws com.liferay.portal.kernel.exception.PortalException {
913                    return _dlFileEntryLocalService.moveFileEntry(userId, fileEntryId,
914                            newFolderId, serviceContext);
915            }
916    
917            @Override
918            public void rebuildTree(long companyId)
919                    throws com.liferay.portal.kernel.exception.PortalException {
920                    _dlFileEntryLocalService.rebuildTree(companyId);
921            }
922    
923            @Override
924            public void revertFileEntry(long userId, long fileEntryId,
925                    java.lang.String version,
926                    com.liferay.portal.service.ServiceContext serviceContext)
927                    throws com.liferay.portal.kernel.exception.PortalException {
928                    _dlFileEntryLocalService.revertFileEntry(userId, fileEntryId, version,
929                            serviceContext);
930            }
931    
932            @Override
933            public com.liferay.portal.kernel.search.Hits search(long groupId,
934                    long userId, long creatorUserId, long folderId,
935                    java.lang.String[] mimeTypes, int status, int start, int end)
936                    throws com.liferay.portal.kernel.exception.PortalException {
937                    return _dlFileEntryLocalService.search(groupId, userId, creatorUserId,
938                            folderId, mimeTypes, status, start, end);
939            }
940    
941            @Override
942            public com.liferay.portal.kernel.search.Hits search(long groupId,
943                    long userId, long creatorUserId, int status, int start, int end)
944                    throws com.liferay.portal.kernel.exception.PortalException {
945                    return _dlFileEntryLocalService.search(groupId, userId, creatorUserId,
946                            status, start, end);
947            }
948    
949            /**
950            * Sets the Spring bean ID for this bean.
951            *
952            * @param beanIdentifier the Spring bean ID for this bean
953            */
954            @Override
955            public void setBeanIdentifier(java.lang.String beanIdentifier) {
956                    _dlFileEntryLocalService.setBeanIdentifier(beanIdentifier);
957            }
958    
959            @Override
960            public void setTreePaths(long folderId, java.lang.String treePath,
961                    boolean reindex)
962                    throws com.liferay.portal.kernel.exception.PortalException {
963                    _dlFileEntryLocalService.setTreePaths(folderId, treePath, reindex);
964            }
965    
966            @Override
967            public void unlockFileEntry(long fileEntryId) {
968                    _dlFileEntryLocalService.unlockFileEntry(fileEntryId);
969            }
970    
971            /**
972            * Updates the document library file entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
973            *
974            * @param dlFileEntry the document library file entry
975            * @return the document library file entry that was updated
976            */
977            @Override
978            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
979                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry) {
980                    return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry);
981            }
982    
983            @Override
984            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
985                    long userId, long fileEntryId, java.lang.String sourceFileName,
986                    java.lang.String mimeType, java.lang.String title,
987                    java.lang.String description, java.lang.String changeLog,
988                    boolean majorVersion, long fileEntryTypeId,
989                    java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.DDMFormValues> ddmFormValuesMap,
990                    java.io.File file, java.io.InputStream is, long size,
991                    com.liferay.portal.service.ServiceContext serviceContext)
992                    throws com.liferay.portal.kernel.exception.PortalException {
993                    return _dlFileEntryLocalService.updateFileEntry(userId, fileEntryId,
994                            sourceFileName, mimeType, title, description, changeLog,
995                            majorVersion, fileEntryTypeId, ddmFormValuesMap, file, is, size,
996                            serviceContext);
997            }
998    
999            @Override
1000            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntryType(
1001                    long userId, long fileEntryId, long fileEntryTypeId,
1002                    com.liferay.portal.service.ServiceContext serviceContext)
1003                    throws com.liferay.portal.kernel.exception.PortalException {
1004                    return _dlFileEntryLocalService.updateFileEntryType(userId,
1005                            fileEntryId, fileEntryTypeId, serviceContext);
1006            }
1007    
1008            @Override
1009            public void updateSmallImage(long smallImageId, long largeImageId)
1010                    throws com.liferay.portal.kernel.exception.PortalException {
1011                    _dlFileEntryLocalService.updateSmallImage(smallImageId, largeImageId);
1012            }
1013    
1014            @Override
1015            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
1016                    long userId, long fileVersionId, int status,
1017                    com.liferay.portal.service.ServiceContext serviceContext,
1018                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext)
1019                    throws com.liferay.portal.kernel.exception.PortalException {
1020                    return _dlFileEntryLocalService.updateStatus(userId, fileVersionId,
1021                            status, serviceContext, workflowContext);
1022            }
1023    
1024            @Override
1025            public void validateFile(long groupId, long folderId, long fileEntryId,
1026                    java.lang.String fileName, java.lang.String title)
1027                    throws com.liferay.portal.kernel.exception.PortalException {
1028                    _dlFileEntryLocalService.validateFile(groupId, folderId, fileEntryId,
1029                            fileName, title);
1030            }
1031    
1032            @Override
1033            public boolean verifyFileEntryCheckOut(long fileEntryId,
1034                    java.lang.String lockUuid)
1035                    throws com.liferay.portal.kernel.exception.PortalException {
1036                    return _dlFileEntryLocalService.verifyFileEntryCheckOut(fileEntryId,
1037                            lockUuid);
1038            }
1039    
1040            @Override
1041            public boolean verifyFileEntryLock(long fileEntryId,
1042                    java.lang.String lockUuid)
1043                    throws com.liferay.portal.kernel.exception.PortalException {
1044                    return _dlFileEntryLocalService.verifyFileEntryLock(fileEntryId,
1045                            lockUuid);
1046            }
1047    
1048            /**
1049             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
1050             */
1051            @Deprecated
1052            public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
1053                    return _dlFileEntryLocalService;
1054            }
1055    
1056            /**
1057             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
1058             */
1059            @Deprecated
1060            public void setWrappedDLFileEntryLocalService(
1061                    DLFileEntryLocalService dlFileEntryLocalService) {
1062                    _dlFileEntryLocalService = dlFileEntryLocalService;
1063            }
1064    
1065            @Override
1066            public DLFileEntryLocalService getWrappedService() {
1067                    return _dlFileEntryLocalService;
1068            }
1069    
1070            @Override
1071            public void setWrappedService(
1072                    DLFileEntryLocalService dlFileEntryLocalService) {
1073                    _dlFileEntryLocalService = dlFileEntryLocalService;
1074            }
1075    
1076            private DLFileEntryLocalService _dlFileEntryLocalService;
1077    }