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