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,
649                    com.liferay.portal.kernel.util.DateRange dateRange, long repositoryId,
650                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
651                    throws com.liferay.portal.kernel.exception.SystemException {
652                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, dateRange,
653                            repositoryId, queryDefinition);
654            }
655    
656            @Override
657            public int getFileEntriesCount(long groupId, long folderId)
658                    throws com.liferay.portal.kernel.exception.SystemException {
659                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
660            }
661    
662            @Override
663            public int getFileEntriesCount(long groupId, long folderId, int status)
664                    throws com.liferay.portal.kernel.exception.SystemException {
665                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId,
666                            status);
667            }
668    
669            @Override
670            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
671                    long fileEntryId)
672                    throws com.liferay.portal.kernel.exception.PortalException,
673                            com.liferay.portal.kernel.exception.SystemException {
674                    return _dlFileEntryLocalService.getFileEntry(fileEntryId);
675            }
676    
677            @Override
678            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
679                    long groupId, long folderId, java.lang.String title)
680                    throws com.liferay.portal.kernel.exception.PortalException,
681                            com.liferay.portal.kernel.exception.SystemException {
682                    return _dlFileEntryLocalService.getFileEntry(groupId, folderId, title);
683            }
684    
685            @Override
686            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
687                    long groupId, long folderId, java.lang.String name)
688                    throws com.liferay.portal.kernel.exception.PortalException,
689                            com.liferay.portal.kernel.exception.SystemException {
690                    return _dlFileEntryLocalService.getFileEntryByName(groupId, folderId,
691                            name);
692            }
693    
694            @Override
695            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
696                    java.lang.String uuid, long groupId)
697                    throws com.liferay.portal.kernel.exception.PortalException,
698                            com.liferay.portal.kernel.exception.SystemException {
699                    return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
700                            groupId);
701            }
702    
703            @Override
704            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
705                    long groupId, int start, int end)
706                    throws com.liferay.portal.kernel.exception.SystemException {
707                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
708            }
709    
710            @Override
711            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
712                    long groupId, int start, int end,
713                    com.liferay.portal.kernel.util.OrderByComparator obc)
714                    throws com.liferay.portal.kernel.exception.SystemException {
715                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
716                            end, obc);
717            }
718    
719            @Override
720            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
721                    long groupId, long userId, int start, int end)
722                    throws com.liferay.portal.kernel.exception.SystemException {
723                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
724                            start, end);
725            }
726    
727            @Override
728            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
729                    long groupId, long userId, int start, int end,
730                    com.liferay.portal.kernel.util.OrderByComparator obc)
731                    throws com.liferay.portal.kernel.exception.SystemException {
732                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
733                            start, end, obc);
734            }
735    
736            @Override
737            public int getGroupFileEntriesCount(long groupId)
738                    throws com.liferay.portal.kernel.exception.SystemException {
739                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
740            }
741    
742            @Override
743            public int getGroupFileEntriesCount(long groupId, long userId)
744                    throws com.liferay.portal.kernel.exception.SystemException {
745                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
746            }
747    
748            @Override
749            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries()
750                    throws com.liferay.portal.kernel.exception.SystemException {
751                    return _dlFileEntryLocalService.getMisversionedFileEntries();
752            }
753    
754            @Override
755            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
756                    throws com.liferay.portal.kernel.exception.SystemException {
757                    return _dlFileEntryLocalService.getNoAssetFileEntries();
758            }
759    
760            @Override
761            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries()
762                    throws com.liferay.portal.kernel.exception.SystemException {
763                    return _dlFileEntryLocalService.getOrphanedFileEntries();
764            }
765    
766            @Override
767            public boolean hasExtraSettings()
768                    throws com.liferay.portal.kernel.exception.SystemException {
769                    return _dlFileEntryLocalService.hasExtraSettings();
770            }
771    
772            @Override
773            public boolean hasFileEntryLock(long userId, long fileEntryId)
774                    throws com.liferay.portal.kernel.exception.PortalException,
775                            com.liferay.portal.kernel.exception.SystemException {
776                    return _dlFileEntryLocalService.hasFileEntryLock(userId, fileEntryId);
777            }
778    
779            @Override
780            public void incrementViewCounter(
781                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
782                    int increment)
783                    throws com.liferay.portal.kernel.exception.SystemException {
784                    _dlFileEntryLocalService.incrementViewCounter(dlFileEntry, increment);
785            }
786    
787            @Override
788            public boolean isFileEntryCheckedOut(long fileEntryId)
789                    throws com.liferay.portal.kernel.exception.PortalException,
790                            com.liferay.portal.kernel.exception.SystemException {
791                    return _dlFileEntryLocalService.isFileEntryCheckedOut(fileEntryId);
792            }
793    
794            @Override
795            public com.liferay.portal.model.Lock lockFileEntry(long userId,
796                    long fileEntryId)
797                    throws com.liferay.portal.kernel.exception.PortalException,
798                            com.liferay.portal.kernel.exception.SystemException {
799                    return _dlFileEntryLocalService.lockFileEntry(userId, fileEntryId);
800            }
801    
802            @Override
803            public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
804                    long userId, long fileEntryId, long newFolderId,
805                    com.liferay.portal.service.ServiceContext serviceContext)
806                    throws com.liferay.portal.kernel.exception.PortalException,
807                            com.liferay.portal.kernel.exception.SystemException {
808                    return _dlFileEntryLocalService.moveFileEntry(userId, fileEntryId,
809                            newFolderId, serviceContext);
810            }
811    
812            @Override
813            public void rebuildTree(long companyId)
814                    throws com.liferay.portal.kernel.exception.PortalException,
815                            com.liferay.portal.kernel.exception.SystemException {
816                    _dlFileEntryLocalService.rebuildTree(companyId);
817            }
818    
819            @Override
820            public void revertFileEntry(long userId, long fileEntryId,
821                    java.lang.String version,
822                    com.liferay.portal.service.ServiceContext serviceContext)
823                    throws com.liferay.portal.kernel.exception.PortalException,
824                            com.liferay.portal.kernel.exception.SystemException {
825                    _dlFileEntryLocalService.revertFileEntry(userId, fileEntryId, version,
826                            serviceContext);
827            }
828    
829            @Override
830            public com.liferay.portal.kernel.search.Hits search(long groupId,
831                    long userId, long creatorUserId, int status, int start, int end)
832                    throws com.liferay.portal.kernel.exception.PortalException,
833                            com.liferay.portal.kernel.exception.SystemException {
834                    return _dlFileEntryLocalService.search(groupId, userId, creatorUserId,
835                            status, start, end);
836            }
837    
838            @Override
839            public com.liferay.portal.kernel.search.Hits search(long groupId,
840                    long userId, long creatorUserId, long folderId,
841                    java.lang.String[] mimeTypes, int status, int start, int end)
842                    throws com.liferay.portal.kernel.exception.PortalException,
843                            com.liferay.portal.kernel.exception.SystemException {
844                    return _dlFileEntryLocalService.search(groupId, userId, creatorUserId,
845                            folderId, mimeTypes, status, start, end);
846            }
847    
848            @Override
849            public void unlockFileEntry(long fileEntryId)
850                    throws com.liferay.portal.kernel.exception.SystemException {
851                    _dlFileEntryLocalService.unlockFileEntry(fileEntryId);
852            }
853    
854            @Override
855            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
856                    long userId, long fileEntryId, java.lang.String sourceFileName,
857                    java.lang.String mimeType, java.lang.String title,
858                    java.lang.String description, java.lang.String changeLog,
859                    boolean majorVersion, long fileEntryTypeId,
860                    java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
861                    java.io.File file, java.io.InputStream is, long size,
862                    com.liferay.portal.service.ServiceContext serviceContext)
863                    throws com.liferay.portal.kernel.exception.PortalException,
864                            com.liferay.portal.kernel.exception.SystemException {
865                    return _dlFileEntryLocalService.updateFileEntry(userId, fileEntryId,
866                            sourceFileName, mimeType, title, description, changeLog,
867                            majorVersion, fileEntryTypeId, fieldsMap, file, is, size,
868                            serviceContext);
869            }
870    
871            @Override
872            public void updateSmallImage(long smallImageId, long largeImageId)
873                    throws com.liferay.portal.kernel.exception.PortalException,
874                            com.liferay.portal.kernel.exception.SystemException {
875                    _dlFileEntryLocalService.updateSmallImage(smallImageId, largeImageId);
876            }
877    
878            @Override
879            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
880                    long userId, long fileVersionId, int status,
881                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
882                    com.liferay.portal.service.ServiceContext serviceContext)
883                    throws com.liferay.portal.kernel.exception.PortalException,
884                            com.liferay.portal.kernel.exception.SystemException {
885                    return _dlFileEntryLocalService.updateStatus(userId, fileVersionId,
886                            status, workflowContext, serviceContext);
887            }
888    
889            @Override
890            public boolean verifyFileEntryCheckOut(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.verifyFileEntryCheckOut(fileEntryId,
895                            lockUuid);
896            }
897    
898            @Override
899            public boolean verifyFileEntryLock(long fileEntryId,
900                    java.lang.String lockUuid)
901                    throws com.liferay.portal.kernel.exception.PortalException,
902                            com.liferay.portal.kernel.exception.SystemException {
903                    return _dlFileEntryLocalService.verifyFileEntryLock(fileEntryId,
904                            lockUuid);
905            }
906    
907            /**
908             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
909             */
910            public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
911                    return _dlFileEntryLocalService;
912            }
913    
914            /**
915             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
916             */
917            public void setWrappedDLFileEntryLocalService(
918                    DLFileEntryLocalService dlFileEntryLocalService) {
919                    _dlFileEntryLocalService = dlFileEntryLocalService;
920            }
921    
922            @Override
923            public DLFileEntryLocalService getWrappedService() {
924                    return _dlFileEntryLocalService;
925            }
926    
927            @Override
928            public void setWrappedService(
929                    DLFileEntryLocalService dlFileEntryLocalService) {
930                    _dlFileEntryLocalService = dlFileEntryLocalService;
931            }
932    
933            private DLFileEntryLocalService _dlFileEntryLocalService;
934    }