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