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.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            @Override
415            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDDMStructureFileEntries(
416                    long[] ddmStructureIds) {
417                    return _dlFileEntryLocalService.getDDMStructureFileEntries(ddmStructureIds);
418            }
419    
420            @Override
421            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDDMStructureFileEntries(
422                    long groupId, long[] ddmStructureIds) {
423                    return _dlFileEntryLocalService.getDDMStructureFileEntries(groupId,
424                            ddmStructureIds);
425            }
426    
427            /**
428            * Returns a range of all the document library file entries.
429            *
430            * <p>
431            * 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.
432            * </p>
433            *
434            * @param start the lower bound of the range of document library file entries
435            * @param end the upper bound of the range of document library file entries (not inclusive)
436            * @return the range of document library file entries
437            */
438            @Override
439            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntries(
440                    int start, int end) {
441                    return _dlFileEntryLocalService.getDLFileEntries(start, end);
442            }
443    
444            /**
445            * Returns all the document library file entries matching the UUID and company.
446            *
447            * @param uuid the UUID of the document library file entries
448            * @param companyId the primary key of the company
449            * @return the matching document library file entries, or an empty list if no matches were found
450            */
451            @Override
452            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntriesByUuidAndCompanyId(
453                    java.lang.String uuid, long companyId) {
454                    return _dlFileEntryLocalService.getDLFileEntriesByUuidAndCompanyId(uuid,
455                            companyId);
456            }
457    
458            /**
459            * Returns a range of document library file entries matching the UUID and company.
460            *
461            * @param uuid the UUID of the document library file entries
462            * @param companyId the primary key of the company
463            * @param start the lower bound of the range of document library file entries
464            * @param end the upper bound of the range of document library file entries (not inclusive)
465            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
466            * @return the range of matching document library file entries, or an empty list if no matches were found
467            */
468            @Override
469            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntriesByUuidAndCompanyId(
470                    java.lang.String uuid, long companyId, int start, int end,
471                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator) {
472                    return _dlFileEntryLocalService.getDLFileEntriesByUuidAndCompanyId(uuid,
473                            companyId, start, end, orderByComparator);
474            }
475    
476            /**
477            * Returns the number of document library file entries.
478            *
479            * @return the number of document library file entries
480            */
481            @Override
482            public int getDLFileEntriesCount() {
483                    return _dlFileEntryLocalService.getDLFileEntriesCount();
484            }
485    
486            /**
487            * Returns the document library file entry with the primary key.
488            *
489            * @param fileEntryId the primary key of the document library file entry
490            * @return the document library file entry
491            * @throws PortalException if a document library file entry with the primary key could not be found
492            */
493            @Override
494            public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntry(
495                    long fileEntryId)
496                    throws com.liferay.portal.kernel.exception.PortalException {
497                    return _dlFileEntryLocalService.getDLFileEntry(fileEntryId);
498            }
499    
500            /**
501            * Returns the document library file entry matching the UUID and group.
502            *
503            * @param uuid the document library file entry's UUID
504            * @param groupId the primary key of the group
505            * @return the matching document library file entry
506            * @throws PortalException if a matching document library file entry could not be found
507            */
508            @Override
509            public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntryByUuidAndGroupId(
510                    java.lang.String uuid, long groupId)
511                    throws com.liferay.portal.kernel.exception.PortalException {
512                    return _dlFileEntryLocalService.getDLFileEntryByUuidAndGroupId(uuid,
513                            groupId);
514            }
515    
516            @Override
517            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
518                    com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) {
519                    return _dlFileEntryLocalService.getExportActionableDynamicQuery(portletDataContext);
520            }
521    
522            @Override
523            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
524                    int start, int end) {
525                    return _dlFileEntryLocalService.getExtraSettingsFileEntries(start, end);
526            }
527    
528            @Override
529            public int getExtraSettingsFileEntriesCount() {
530                    return _dlFileEntryLocalService.getExtraSettingsFileEntriesCount();
531            }
532    
533            @Override
534            public java.io.File getFile(long fileEntryId, java.lang.String version,
535                    boolean incrementCounter)
536                    throws com.liferay.portal.kernel.exception.PortalException {
537                    return _dlFileEntryLocalService.getFile(fileEntryId, version,
538                            incrementCounter);
539            }
540    
541            @Override
542            public java.io.File getFile(long fileEntryId, java.lang.String version,
543                    boolean incrementCounter, int increment)
544                    throws com.liferay.portal.kernel.exception.PortalException {
545                    return _dlFileEntryLocalService.getFile(fileEntryId, version,
546                            incrementCounter, increment);
547            }
548    
549            /**
550            * @deprecated As of 7.0.0, replaced by {@link #getFile(long, String,
551            boolean)}
552            */
553            @Deprecated
554            @Override
555            public java.io.File getFile(long userId, long fileEntryId,
556                    java.lang.String version, boolean incrementCounter)
557                    throws com.liferay.portal.kernel.exception.PortalException {
558                    return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
559                            incrementCounter);
560            }
561    
562            /**
563            * @deprecated As of 7.0.0, replaced by {@link #getFile(long, String,
564            boolean, int)}
565            */
566            @Deprecated
567            @Override
568            public java.io.File getFile(long userId, long fileEntryId,
569                    java.lang.String version, boolean incrementCounter, int increment)
570                    throws com.liferay.portal.kernel.exception.PortalException {
571                    return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
572                            incrementCounter, increment);
573            }
574    
575            @Override
576            public java.io.InputStream getFileAsStream(long fileEntryId,
577                    java.lang.String version)
578                    throws com.liferay.portal.kernel.exception.PortalException {
579                    return _dlFileEntryLocalService.getFileAsStream(fileEntryId, version);
580            }
581    
582            @Override
583            public java.io.InputStream getFileAsStream(long fileEntryId,
584                    java.lang.String version, boolean incrementCounter)
585                    throws com.liferay.portal.kernel.exception.PortalException {
586                    return _dlFileEntryLocalService.getFileAsStream(fileEntryId, version,
587                            incrementCounter);
588            }
589    
590            @Override
591            public java.io.InputStream getFileAsStream(long fileEntryId,
592                    java.lang.String version, boolean incrementCounter, int increment)
593                    throws com.liferay.portal.kernel.exception.PortalException {
594                    return _dlFileEntryLocalService.getFileAsStream(fileEntryId, version,
595                            incrementCounter, increment);
596            }
597    
598            /**
599            * @deprecated As of 7.0.0, replaced by {@link #getFileAsStream(long,
600            String)}
601            */
602            @Deprecated
603            @Override
604            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
605                    java.lang.String version)
606                    throws com.liferay.portal.kernel.exception.PortalException {
607                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
608                            version);
609            }
610    
611            /**
612            * @deprecated As of 7.0.0, replaced by {@link #getFileAsStream(long,
613            String, boolean)}
614            */
615            @Deprecated
616            @Override
617            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
618                    java.lang.String version, boolean incrementCounter)
619                    throws com.liferay.portal.kernel.exception.PortalException {
620                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
621                            version, incrementCounter);
622            }
623    
624            /**
625            * @deprecated As of 7.0.0, replaced by {@link #getFileAsStream(long,
626            String, boolean, int)}
627            */
628            @Deprecated
629            @Override
630            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
631                    java.lang.String version, boolean incrementCounter, int increment)
632                    throws com.liferay.portal.kernel.exception.PortalException {
633                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
634                            version, incrementCounter, increment);
635            }
636    
637            @Override
638            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
639                    long folderId, java.lang.String name) {
640                    return _dlFileEntryLocalService.getFileEntries(folderId, name);
641            }
642    
643            @Override
644            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
645                    long groupId, long folderId) {
646                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId);
647            }
648    
649            @Override
650            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
651                    long groupId, long folderId, int start, int end,
652                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc) {
653                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
654                            start, end, obc);
655            }
656    
657            @Override
658            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
659                    long groupId, long folderId, int status, int start, int end,
660                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc) {
661                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
662                            status, start, end, obc);
663            }
664    
665            @Override
666            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
667                    long groupId, long userId, java.util.List<java.lang.Long> folderIds,
668                    java.lang.String[] mimeTypes,
669                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
670                    throws java.lang.Exception {
671                    return _dlFileEntryLocalService.getFileEntries(groupId, userId,
672                            folderIds, mimeTypes, queryDefinition);
673            }
674    
675            @Override
676            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
677                    long groupId, long userId,
678                    java.util.List<java.lang.Long> repositoryIds,
679                    java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
680                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
681                    throws java.lang.Exception {
682                    return _dlFileEntryLocalService.getFileEntries(groupId, userId,
683                            repositoryIds, folderIds, mimeTypes, queryDefinition);
684            }
685    
686            @Override
687            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
688                    int start, int end) {
689                    return _dlFileEntryLocalService.getFileEntries(start, end);
690            }
691    
692            @Override
693            public int getFileEntriesCount() {
694                    return _dlFileEntryLocalService.getFileEntriesCount();
695            }
696    
697            /**
698            * @deprecated As of 7.0.0, with no direct replacement
699            */
700            @Deprecated
701            @Override
702            public int getFileEntriesCount(long groupId,
703                    com.liferay.portal.kernel.util.DateRange dateRange, long repositoryId,
704                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition) {
705                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, dateRange,
706                            repositoryId, queryDefinition);
707            }
708    
709            @Override
710            public int getFileEntriesCount(long groupId, long folderId) {
711                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
712            }
713    
714            @Override
715            public int getFileEntriesCount(long groupId, long folderId, int status) {
716                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId,
717                            status);
718            }
719    
720            @Override
721            public int getFileEntriesCount(long groupId, long userId,
722                    java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
723                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
724                    throws java.lang.Exception {
725                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, userId,
726                            folderIds, mimeTypes, queryDefinition);
727            }
728    
729            @Override
730            public int getFileEntriesCount(long groupId, long userId,
731                    java.util.List<java.lang.Long> repositoryIds,
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                            repositoryIds, folderIds, mimeTypes, queryDefinition);
737            }
738    
739            @Override
740            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
741                    long fileEntryId)
742                    throws com.liferay.portal.kernel.exception.PortalException {
743                    return _dlFileEntryLocalService.getFileEntry(fileEntryId);
744            }
745    
746            @Override
747            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
748                    long groupId, long folderId, java.lang.String title)
749                    throws com.liferay.portal.kernel.exception.PortalException {
750                    return _dlFileEntryLocalService.getFileEntry(groupId, folderId, title);
751            }
752    
753            @Override
754            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
755                    long groupId, long folderId, java.lang.String name)
756                    throws com.liferay.portal.kernel.exception.PortalException {
757                    return _dlFileEntryLocalService.getFileEntryByName(groupId, folderId,
758                            name);
759            }
760    
761            @Override
762            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
763                    java.lang.String uuid, long groupId)
764                    throws com.liferay.portal.kernel.exception.PortalException {
765                    return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
766                            groupId);
767            }
768    
769            @Override
770            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
771                    long groupId, int start, int end) {
772                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
773            }
774    
775            @Override
776            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
777                    long groupId, int start, int end,
778                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc) {
779                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
780                            end, obc);
781            }
782    
783            @Override
784            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
785                    long groupId, long userId, long repositoryId, long rootFolderId,
786                    int start, int end,
787                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc) {
788                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
789                            repositoryId, rootFolderId, start, end, obc);
790            }
791    
792            @Override
793            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
794                    long groupId, long userId, long rootFolderId, int start, int end,
795                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc) {
796                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
797                            rootFolderId, start, end, obc);
798            }
799    
800            @Override
801            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
802                    long groupId, long userId, int start, int end) {
803                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
804                            start, end);
805            }
806    
807            @Override
808            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
809                    long groupId, long userId, int start, int end,
810                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc) {
811                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
812                            start, end, obc);
813            }
814    
815            @Override
816            public int getGroupFileEntriesCount(long groupId) {
817                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
818            }
819    
820            @Override
821            public int getGroupFileEntriesCount(long groupId, long userId) {
822                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
823            }
824    
825            @Override
826            public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
827                    return _dlFileEntryLocalService.getIndexableActionableDynamicQuery();
828            }
829    
830            @Override
831            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries() {
832                    return _dlFileEntryLocalService.getMisversionedFileEntries();
833            }
834    
835            @Override
836            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries() {
837                    return _dlFileEntryLocalService.getNoAssetFileEntries();
838            }
839    
840            /**
841            * Returns the OSGi service identifier.
842            *
843            * @return the OSGi service identifier
844            */
845            @Override
846            public java.lang.String getOSGiServiceIdentifier() {
847                    return _dlFileEntryLocalService.getOSGiServiceIdentifier();
848            }
849    
850            @Override
851            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries() {
852                    return _dlFileEntryLocalService.getOrphanedFileEntries();
853            }
854    
855            @Override
856            public com.liferay.portal.model.PersistedModel getPersistedModel(
857                    java.io.Serializable primaryKeyObj)
858                    throws com.liferay.portal.kernel.exception.PortalException {
859                    return _dlFileEntryLocalService.getPersistedModel(primaryKeyObj);
860            }
861    
862            @Override
863            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getRepositoryFileEntries(
864                    long repositoryId, int start, int end) {
865                    return _dlFileEntryLocalService.getRepositoryFileEntries(repositoryId,
866                            start, end);
867            }
868    
869            @Override
870            public int getRepositoryFileEntriesCount(long repositoryId) {
871                    return _dlFileEntryLocalService.getRepositoryFileEntriesCount(repositoryId);
872            }
873    
874            @Override
875            public java.lang.String getUniqueTitle(long groupId, long folderId,
876                    long fileEntryId, java.lang.String title, java.lang.String extension)
877                    throws com.liferay.portal.kernel.exception.PortalException {
878                    return _dlFileEntryLocalService.getUniqueTitle(groupId, folderId,
879                            fileEntryId, title, extension);
880            }
881    
882            @Override
883            public boolean hasExtraSettings() {
884                    return _dlFileEntryLocalService.hasExtraSettings();
885            }
886    
887            @Override
888            public boolean hasFileEntryLock(long userId, long fileEntryId)
889                    throws com.liferay.portal.kernel.exception.PortalException {
890                    return _dlFileEntryLocalService.hasFileEntryLock(userId, fileEntryId);
891            }
892    
893            @Override
894            public void incrementViewCounter(
895                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
896                    int increment) {
897                    _dlFileEntryLocalService.incrementViewCounter(dlFileEntry, increment);
898            }
899    
900            @Override
901            public boolean isFileEntryCheckedOut(long fileEntryId)
902                    throws com.liferay.portal.kernel.exception.PortalException {
903                    return _dlFileEntryLocalService.isFileEntryCheckedOut(fileEntryId);
904            }
905    
906            @Override
907            public boolean isKeepFileVersionLabel(long fileEntryId,
908                    com.liferay.portal.service.ServiceContext serviceContext)
909                    throws com.liferay.portal.kernel.exception.PortalException {
910                    return _dlFileEntryLocalService.isKeepFileVersionLabel(fileEntryId,
911                            serviceContext);
912            }
913    
914            @Override
915            public com.liferay.portal.kernel.lock.Lock lockFileEntry(long userId,
916                    long fileEntryId)
917                    throws com.liferay.portal.kernel.exception.PortalException {
918                    return _dlFileEntryLocalService.lockFileEntry(userId, fileEntryId);
919            }
920    
921            @Override
922            public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
923                    long userId, long fileEntryId, long newFolderId,
924                    com.liferay.portal.service.ServiceContext serviceContext)
925                    throws com.liferay.portal.kernel.exception.PortalException {
926                    return _dlFileEntryLocalService.moveFileEntry(userId, fileEntryId,
927                            newFolderId, serviceContext);
928            }
929    
930            @Override
931            public void rebuildTree(long companyId)
932                    throws com.liferay.portal.kernel.exception.PortalException {
933                    _dlFileEntryLocalService.rebuildTree(companyId);
934            }
935    
936            @Override
937            public void revertFileEntry(long userId, long fileEntryId,
938                    java.lang.String version,
939                    com.liferay.portal.service.ServiceContext serviceContext)
940                    throws com.liferay.portal.kernel.exception.PortalException {
941                    _dlFileEntryLocalService.revertFileEntry(userId, fileEntryId, version,
942                            serviceContext);
943            }
944    
945            @Override
946            public com.liferay.portal.kernel.search.Hits search(long groupId,
947                    long userId, long creatorUserId, long folderId,
948                    java.lang.String[] mimeTypes, int status, int start, int end)
949                    throws com.liferay.portal.kernel.exception.PortalException {
950                    return _dlFileEntryLocalService.search(groupId, userId, creatorUserId,
951                            folderId, mimeTypes, status, start, end);
952            }
953    
954            @Override
955            public com.liferay.portal.kernel.search.Hits search(long groupId,
956                    long userId, long creatorUserId, int status, int start, int end)
957                    throws com.liferay.portal.kernel.exception.PortalException {
958                    return _dlFileEntryLocalService.search(groupId, userId, creatorUserId,
959                            status, start, end);
960            }
961    
962            @Override
963            public void setTreePaths(long folderId, java.lang.String treePath,
964                    boolean reindex)
965                    throws com.liferay.portal.kernel.exception.PortalException {
966                    _dlFileEntryLocalService.setTreePaths(folderId, treePath, reindex);
967            }
968    
969            @Override
970            public void unlockFileEntry(long fileEntryId) {
971                    _dlFileEntryLocalService.unlockFileEntry(fileEntryId);
972            }
973    
974            /**
975            * Updates the document library file entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
976            *
977            * @param dlFileEntry the document library file entry
978            * @return the document library file entry that was updated
979            */
980            @Override
981            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
982                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry) {
983                    return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry);
984            }
985    
986            @Override
987            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
988                    long userId, long fileEntryId, java.lang.String sourceFileName,
989                    java.lang.String mimeType, java.lang.String title,
990                    java.lang.String description, java.lang.String changeLog,
991                    boolean majorVersion, long fileEntryTypeId,
992                    java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.DDMFormValues> ddmFormValuesMap,
993                    java.io.File file, java.io.InputStream is, long size,
994                    com.liferay.portal.service.ServiceContext serviceContext)
995                    throws com.liferay.portal.kernel.exception.PortalException {
996                    return _dlFileEntryLocalService.updateFileEntry(userId, fileEntryId,
997                            sourceFileName, mimeType, title, description, changeLog,
998                            majorVersion, fileEntryTypeId, ddmFormValuesMap, file, is, size,
999                            serviceContext);
1000            }
1001    
1002            @Override
1003            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntryType(
1004                    long userId, long fileEntryId, long fileEntryTypeId,
1005                    com.liferay.portal.service.ServiceContext serviceContext)
1006                    throws com.liferay.portal.kernel.exception.PortalException {
1007                    return _dlFileEntryLocalService.updateFileEntryType(userId,
1008                            fileEntryId, fileEntryTypeId, serviceContext);
1009            }
1010    
1011            @Override
1012            public void updateSmallImage(long smallImageId, long largeImageId)
1013                    throws com.liferay.portal.kernel.exception.PortalException {
1014                    _dlFileEntryLocalService.updateSmallImage(smallImageId, largeImageId);
1015            }
1016    
1017            @Override
1018            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
1019                    long userId, long fileVersionId, int status,
1020                    com.liferay.portal.service.ServiceContext serviceContext,
1021                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext)
1022                    throws com.liferay.portal.kernel.exception.PortalException {
1023                    return _dlFileEntryLocalService.updateStatus(userId, fileVersionId,
1024                            status, serviceContext, workflowContext);
1025            }
1026    
1027            @Override
1028            public void validateFile(long groupId, long folderId, long fileEntryId,
1029                    java.lang.String fileName, java.lang.String title)
1030                    throws com.liferay.portal.kernel.exception.PortalException {
1031                    _dlFileEntryLocalService.validateFile(groupId, folderId, fileEntryId,
1032                            fileName, title);
1033            }
1034    
1035            @Override
1036            public boolean verifyFileEntryCheckOut(long fileEntryId,
1037                    java.lang.String lockUuid)
1038                    throws com.liferay.portal.kernel.exception.PortalException {
1039                    return _dlFileEntryLocalService.verifyFileEntryCheckOut(fileEntryId,
1040                            lockUuid);
1041            }
1042    
1043            @Override
1044            public boolean verifyFileEntryLock(long fileEntryId,
1045                    java.lang.String lockUuid)
1046                    throws com.liferay.portal.kernel.exception.PortalException {
1047                    return _dlFileEntryLocalService.verifyFileEntryLock(fileEntryId,
1048                            lockUuid);
1049            }
1050    
1051            @Override
1052            public DLFileEntryLocalService getWrappedService() {
1053                    return _dlFileEntryLocalService;
1054            }
1055    
1056            @Override
1057            public void setWrappedService(
1058                    DLFileEntryLocalService dlFileEntryLocalService) {
1059                    _dlFileEntryLocalService = dlFileEntryLocalService;
1060            }
1061    
1062            private DLFileEntryLocalService _dlFileEntryLocalService;
1063    }