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 int getExtraSettingsFileEntriesCount()
559                    throws com.liferay.portal.kernel.exception.SystemException {
560                    return _dlFileEntryLocalService.getExtraSettingsFileEntriesCount();
561            }
562    
563            @Override
564            public java.io.File getFile(long userId, long fileEntryId,
565                    java.lang.String version, boolean incrementCounter)
566                    throws com.liferay.portal.kernel.exception.PortalException,
567                            com.liferay.portal.kernel.exception.SystemException {
568                    return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
569                            incrementCounter);
570            }
571    
572            @Override
573            public java.io.File getFile(long userId, long fileEntryId,
574                    java.lang.String version, boolean incrementCounter, int increment)
575                    throws com.liferay.portal.kernel.exception.PortalException,
576                            com.liferay.portal.kernel.exception.SystemException {
577                    return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
578                            incrementCounter, increment);
579            }
580    
581            @Override
582            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
583                    java.lang.String version)
584                    throws com.liferay.portal.kernel.exception.PortalException,
585                            com.liferay.portal.kernel.exception.SystemException {
586                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
587                            version);
588            }
589    
590            @Override
591            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
592                    java.lang.String version, boolean incrementCounter)
593                    throws com.liferay.portal.kernel.exception.PortalException,
594                            com.liferay.portal.kernel.exception.SystemException {
595                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
596                            version, incrementCounter);
597            }
598    
599            @Override
600            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
601                    java.lang.String version, boolean incrementCounter, int increment)
602                    throws com.liferay.portal.kernel.exception.PortalException,
603                            com.liferay.portal.kernel.exception.SystemException {
604                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
605                            version, incrementCounter, increment);
606            }
607    
608            @Override
609            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
610                    int start, int end)
611                    throws com.liferay.portal.kernel.exception.SystemException {
612                    return _dlFileEntryLocalService.getFileEntries(start, end);
613            }
614    
615            @Override
616            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
617                    long groupId, long folderId)
618                    throws com.liferay.portal.kernel.exception.SystemException {
619                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId);
620            }
621    
622            @Override
623            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
624                    long groupId, long folderId, int status, int start, int end,
625                    com.liferay.portal.kernel.util.OrderByComparator obc)
626                    throws com.liferay.portal.kernel.exception.SystemException {
627                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
628                            status, start, end, obc);
629            }
630    
631            @Override
632            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
633                    long groupId, long folderId, int start, int end,
634                    com.liferay.portal.kernel.util.OrderByComparator obc)
635                    throws com.liferay.portal.kernel.exception.SystemException {
636                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
637                            start, end, obc);
638            }
639    
640            @Override
641            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
642                    long groupId, long userId, java.util.List<java.lang.Long> folderIds,
643                    java.lang.String[] mimeTypes,
644                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
645                    throws java.lang.Exception {
646                    return _dlFileEntryLocalService.getFileEntries(groupId, userId,
647                            folderIds, mimeTypes, queryDefinition);
648            }
649    
650            @Override
651            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
652                    long folderId, java.lang.String name)
653                    throws com.liferay.portal.kernel.exception.SystemException {
654                    return _dlFileEntryLocalService.getFileEntries(folderId, name);
655            }
656    
657            @Override
658            public int getFileEntriesCount()
659                    throws com.liferay.portal.kernel.exception.SystemException {
660                    return _dlFileEntryLocalService.getFileEntriesCount();
661            }
662    
663            @Override
664            public int getFileEntriesCount(long groupId,
665                    com.liferay.portal.kernel.util.DateRange dateRange, long repositoryId,
666                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
667                    throws com.liferay.portal.kernel.exception.SystemException {
668                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, dateRange,
669                            repositoryId, queryDefinition);
670            }
671    
672            @Override
673            public int getFileEntriesCount(long groupId, long folderId)
674                    throws com.liferay.portal.kernel.exception.SystemException {
675                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
676            }
677    
678            @Override
679            public int getFileEntriesCount(long groupId, long folderId, int status)
680                    throws com.liferay.portal.kernel.exception.SystemException {
681                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId,
682                            status);
683            }
684    
685            @Override
686            public int getFileEntriesCount(long groupId, long userId,
687                    java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
688                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
689                    throws java.lang.Exception {
690                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, userId,
691                            folderIds, mimeTypes, queryDefinition);
692            }
693    
694            @Override
695            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
696                    long fileEntryId)
697                    throws com.liferay.portal.kernel.exception.PortalException,
698                            com.liferay.portal.kernel.exception.SystemException {
699                    return _dlFileEntryLocalService.getFileEntry(fileEntryId);
700            }
701    
702            @Override
703            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
704                    long groupId, long folderId, java.lang.String title)
705                    throws com.liferay.portal.kernel.exception.PortalException,
706                            com.liferay.portal.kernel.exception.SystemException {
707                    return _dlFileEntryLocalService.getFileEntry(groupId, folderId, title);
708            }
709    
710            @Override
711            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
712                    long groupId, long folderId, java.lang.String name)
713                    throws com.liferay.portal.kernel.exception.PortalException,
714                            com.liferay.portal.kernel.exception.SystemException {
715                    return _dlFileEntryLocalService.getFileEntryByName(groupId, folderId,
716                            name);
717            }
718    
719            @Override
720            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
721                    java.lang.String uuid, long groupId)
722                    throws com.liferay.portal.kernel.exception.PortalException,
723                            com.liferay.portal.kernel.exception.SystemException {
724                    return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
725                            groupId);
726            }
727    
728            @Override
729            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
730                    long groupId, int start, int end)
731                    throws com.liferay.portal.kernel.exception.SystemException {
732                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
733            }
734    
735            @Override
736            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
737                    long groupId, int start, int end,
738                    com.liferay.portal.kernel.util.OrderByComparator obc)
739                    throws com.liferay.portal.kernel.exception.SystemException {
740                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
741                            end, obc);
742            }
743    
744            @Override
745            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
746                    long groupId, long userId, int start, int end)
747                    throws com.liferay.portal.kernel.exception.SystemException {
748                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
749                            start, end);
750            }
751    
752            @Override
753            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
754                    long groupId, long userId, int start, int end,
755                    com.liferay.portal.kernel.util.OrderByComparator obc)
756                    throws com.liferay.portal.kernel.exception.SystemException {
757                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
758                            start, end, obc);
759            }
760    
761            @Override
762            public int getGroupFileEntriesCount(long groupId)
763                    throws com.liferay.portal.kernel.exception.SystemException {
764                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
765            }
766    
767            @Override
768            public int getGroupFileEntriesCount(long groupId, long userId)
769                    throws com.liferay.portal.kernel.exception.SystemException {
770                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
771            }
772    
773            @Override
774            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries()
775                    throws com.liferay.portal.kernel.exception.SystemException {
776                    return _dlFileEntryLocalService.getMisversionedFileEntries();
777            }
778    
779            @Override
780            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
781                    throws com.liferay.portal.kernel.exception.SystemException {
782                    return _dlFileEntryLocalService.getNoAssetFileEntries();
783            }
784    
785            @Override
786            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries()
787                    throws com.liferay.portal.kernel.exception.SystemException {
788                    return _dlFileEntryLocalService.getOrphanedFileEntries();
789            }
790    
791            @Override
792            public boolean hasExtraSettings()
793                    throws com.liferay.portal.kernel.exception.SystemException {
794                    return _dlFileEntryLocalService.hasExtraSettings();
795            }
796    
797            @Override
798            public boolean hasFileEntryLock(long userId, long fileEntryId)
799                    throws com.liferay.portal.kernel.exception.PortalException,
800                            com.liferay.portal.kernel.exception.SystemException {
801                    return _dlFileEntryLocalService.hasFileEntryLock(userId, fileEntryId);
802            }
803    
804            @Override
805            public void incrementViewCounter(
806                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
807                    int increment)
808                    throws com.liferay.portal.kernel.exception.SystemException {
809                    _dlFileEntryLocalService.incrementViewCounter(dlFileEntry, increment);
810            }
811    
812            @Override
813            public boolean isFileEntryCheckedOut(long fileEntryId)
814                    throws com.liferay.portal.kernel.exception.PortalException,
815                            com.liferay.portal.kernel.exception.SystemException {
816                    return _dlFileEntryLocalService.isFileEntryCheckedOut(fileEntryId);
817            }
818    
819            @Override
820            public com.liferay.portal.model.Lock lockFileEntry(long userId,
821                    long fileEntryId)
822                    throws com.liferay.portal.kernel.exception.PortalException,
823                            com.liferay.portal.kernel.exception.SystemException {
824                    return _dlFileEntryLocalService.lockFileEntry(userId, fileEntryId);
825            }
826    
827            @Override
828            public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
829                    long userId, long fileEntryId, long newFolderId,
830                    com.liferay.portal.service.ServiceContext serviceContext)
831                    throws com.liferay.portal.kernel.exception.PortalException,
832                            com.liferay.portal.kernel.exception.SystemException {
833                    return _dlFileEntryLocalService.moveFileEntry(userId, fileEntryId,
834                            newFolderId, serviceContext);
835            }
836    
837            @Override
838            public void rebuildTree(long companyId)
839                    throws com.liferay.portal.kernel.exception.PortalException,
840                            com.liferay.portal.kernel.exception.SystemException {
841                    _dlFileEntryLocalService.rebuildTree(companyId);
842            }
843    
844            @Override
845            public void revertFileEntry(long userId, long fileEntryId,
846                    java.lang.String version,
847                    com.liferay.portal.service.ServiceContext serviceContext)
848                    throws com.liferay.portal.kernel.exception.PortalException,
849                            com.liferay.portal.kernel.exception.SystemException {
850                    _dlFileEntryLocalService.revertFileEntry(userId, fileEntryId, version,
851                            serviceContext);
852            }
853    
854            @Override
855            public com.liferay.portal.kernel.search.Hits search(long groupId,
856                    long userId, long creatorUserId, int status, int start, int end)
857                    throws com.liferay.portal.kernel.exception.PortalException,
858                            com.liferay.portal.kernel.exception.SystemException {
859                    return _dlFileEntryLocalService.search(groupId, userId, creatorUserId,
860                            status, start, end);
861            }
862    
863            @Override
864            public com.liferay.portal.kernel.search.Hits search(long groupId,
865                    long userId, long creatorUserId, long folderId,
866                    java.lang.String[] mimeTypes, int status, int start, int end)
867                    throws com.liferay.portal.kernel.exception.PortalException,
868                            com.liferay.portal.kernel.exception.SystemException {
869                    return _dlFileEntryLocalService.search(groupId, userId, creatorUserId,
870                            folderId, mimeTypes, status, start, end);
871            }
872    
873            @Override
874            public void unlockFileEntry(long fileEntryId)
875                    throws com.liferay.portal.kernel.exception.SystemException {
876                    _dlFileEntryLocalService.unlockFileEntry(fileEntryId);
877            }
878    
879            @Override
880            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
881                    long userId, long fileEntryId, java.lang.String sourceFileName,
882                    java.lang.String mimeType, java.lang.String title,
883                    java.lang.String description, java.lang.String changeLog,
884                    boolean majorVersion, long fileEntryTypeId,
885                    java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
886                    java.io.File file, java.io.InputStream is, long size,
887                    com.liferay.portal.service.ServiceContext serviceContext)
888                    throws com.liferay.portal.kernel.exception.PortalException,
889                            com.liferay.portal.kernel.exception.SystemException {
890                    return _dlFileEntryLocalService.updateFileEntry(userId, fileEntryId,
891                            sourceFileName, mimeType, title, description, changeLog,
892                            majorVersion, fileEntryTypeId, fieldsMap, file, is, size,
893                            serviceContext);
894            }
895    
896            @Override
897            public void updateSmallImage(long smallImageId, long largeImageId)
898                    throws com.liferay.portal.kernel.exception.PortalException,
899                            com.liferay.portal.kernel.exception.SystemException {
900                    _dlFileEntryLocalService.updateSmallImage(smallImageId, largeImageId);
901            }
902    
903            @Override
904            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
905                    long userId, long fileVersionId, int status,
906                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
907                    com.liferay.portal.service.ServiceContext serviceContext)
908                    throws com.liferay.portal.kernel.exception.PortalException,
909                            com.liferay.portal.kernel.exception.SystemException {
910                    return _dlFileEntryLocalService.updateStatus(userId, fileVersionId,
911                            status, workflowContext, serviceContext);
912            }
913    
914            @Override
915            public boolean verifyFileEntryCheckOut(long fileEntryId,
916                    java.lang.String lockUuid)
917                    throws com.liferay.portal.kernel.exception.PortalException,
918                            com.liferay.portal.kernel.exception.SystemException {
919                    return _dlFileEntryLocalService.verifyFileEntryCheckOut(fileEntryId,
920                            lockUuid);
921            }
922    
923            @Override
924            public boolean verifyFileEntryLock(long fileEntryId,
925                    java.lang.String lockUuid)
926                    throws com.liferay.portal.kernel.exception.PortalException,
927                            com.liferay.portal.kernel.exception.SystemException {
928                    return _dlFileEntryLocalService.verifyFileEntryLock(fileEntryId,
929                            lockUuid);
930            }
931    
932            /**
933             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
934             */
935            public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
936                    return _dlFileEntryLocalService;
937            }
938    
939            /**
940             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
941             */
942            public void setWrappedDLFileEntryLocalService(
943                    DLFileEntryLocalService dlFileEntryLocalService) {
944                    _dlFileEntryLocalService = dlFileEntryLocalService;
945            }
946    
947            @Override
948            public DLFileEntryLocalService getWrappedService() {
949                    return _dlFileEntryLocalService;
950            }
951    
952            @Override
953            public void setWrappedService(
954                    DLFileEntryLocalService dlFileEntryLocalService) {
955                    _dlFileEntryLocalService = dlFileEntryLocalService;
956            }
957    
958            private DLFileEntryLocalService _dlFileEntryLocalService;
959    }