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 void deleteRepositoryFileEntries(long repositoryId, long folderId)
526                    throws com.liferay.portal.kernel.exception.PortalException,
527                            com.liferay.portal.kernel.exception.SystemException {
528                    _dlFileEntryLocalService.deleteRepositoryFileEntries(repositoryId,
529                            folderId);
530            }
531    
532            @Override
533            public void deleteRepositoryFileEntries(long repositoryId, long folderId,
534                    boolean includeTrashedEntries)
535                    throws com.liferay.portal.kernel.exception.PortalException,
536                            com.liferay.portal.kernel.exception.SystemException {
537                    _dlFileEntryLocalService.deleteRepositoryFileEntries(repositoryId,
538                            folderId, includeTrashedEntries);
539            }
540    
541            @Override
542            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntry(
543                    long groupId, long folderId, java.lang.String title)
544                    throws com.liferay.portal.kernel.exception.SystemException {
545                    return _dlFileEntryLocalService.fetchFileEntry(groupId, folderId, title);
546            }
547    
548            @Override
549            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByAnyImageId(
550                    long imageId)
551                    throws com.liferay.portal.kernel.exception.SystemException {
552                    return _dlFileEntryLocalService.fetchFileEntryByAnyImageId(imageId);
553            }
554    
555            @Override
556            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByName(
557                    long groupId, long folderId, java.lang.String name)
558                    throws com.liferay.portal.kernel.exception.SystemException {
559                    return _dlFileEntryLocalService.fetchFileEntryByName(groupId, folderId,
560                            name);
561            }
562    
563            @Override
564            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDDMStructureFileEntries(
565                    long groupId, long[] ddmStructureIds)
566                    throws com.liferay.portal.kernel.exception.SystemException {
567                    return _dlFileEntryLocalService.getDDMStructureFileEntries(groupId,
568                            ddmStructureIds);
569            }
570    
571            @Override
572            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDDMStructureFileEntries(
573                    long[] ddmStructureIds)
574                    throws com.liferay.portal.kernel.exception.SystemException {
575                    return _dlFileEntryLocalService.getDDMStructureFileEntries(ddmStructureIds);
576            }
577    
578            @Override
579            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
580                    int start, int end)
581                    throws com.liferay.portal.kernel.exception.SystemException {
582                    return _dlFileEntryLocalService.getExtraSettingsFileEntries(start, end);
583            }
584    
585            @Override
586            public int getExtraSettingsFileEntriesCount()
587                    throws com.liferay.portal.kernel.exception.SystemException {
588                    return _dlFileEntryLocalService.getExtraSettingsFileEntriesCount();
589            }
590    
591            @Override
592            public java.io.File getFile(long userId, long fileEntryId,
593                    java.lang.String version, boolean incrementCounter)
594                    throws com.liferay.portal.kernel.exception.PortalException,
595                            com.liferay.portal.kernel.exception.SystemException {
596                    return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
597                            incrementCounter);
598            }
599    
600            @Override
601            public java.io.File getFile(long userId, long fileEntryId,
602                    java.lang.String version, boolean incrementCounter, int increment)
603                    throws com.liferay.portal.kernel.exception.PortalException,
604                            com.liferay.portal.kernel.exception.SystemException {
605                    return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
606                            incrementCounter, increment);
607            }
608    
609            /**
610            * @deprecated As of 7.0.0, replaced by {@link #getFileAsStream(long,
611            String)}
612            */
613            @Override
614            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
615                    java.lang.String version)
616                    throws com.liferay.portal.kernel.exception.PortalException,
617                            com.liferay.portal.kernel.exception.SystemException {
618                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
619                            version);
620            }
621    
622            /**
623            * @deprecated As of 7.0.0, replaced by {@link #getFileAsStream(long,
624            String, boolean)}
625            */
626            @Override
627            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
628                    java.lang.String version, boolean incrementCounter)
629                    throws com.liferay.portal.kernel.exception.PortalException,
630                            com.liferay.portal.kernel.exception.SystemException {
631                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
632                            version, incrementCounter);
633            }
634    
635            /**
636            * @deprecated As of 7.0.0, replaced by {@link #getFileAsStream(long,
637            String, boolean, int)}
638            */
639            @Override
640            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
641                    java.lang.String version, boolean incrementCounter, int increment)
642                    throws com.liferay.portal.kernel.exception.PortalException,
643                            com.liferay.portal.kernel.exception.SystemException {
644                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
645                            version, incrementCounter, increment);
646            }
647    
648            @Override
649            public java.io.InputStream getFileAsStream(long fileEntryId,
650                    java.lang.String version)
651                    throws com.liferay.portal.kernel.exception.PortalException,
652                            com.liferay.portal.kernel.exception.SystemException {
653                    return _dlFileEntryLocalService.getFileAsStream(fileEntryId, version);
654            }
655    
656            @Override
657            public java.io.InputStream getFileAsStream(long fileEntryId,
658                    java.lang.String version, boolean incrementCounter)
659                    throws com.liferay.portal.kernel.exception.PortalException,
660                            com.liferay.portal.kernel.exception.SystemException {
661                    return _dlFileEntryLocalService.getFileAsStream(fileEntryId, version,
662                            incrementCounter);
663            }
664    
665            @Override
666            public java.io.InputStream getFileAsStream(long fileEntryId,
667                    java.lang.String version, boolean incrementCounter, int increment)
668                    throws com.liferay.portal.kernel.exception.PortalException,
669                            com.liferay.portal.kernel.exception.SystemException {
670                    return _dlFileEntryLocalService.getFileAsStream(fileEntryId, version,
671                            incrementCounter, increment);
672            }
673    
674            @Override
675            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
676                    int start, int end)
677                    throws com.liferay.portal.kernel.exception.SystemException {
678                    return _dlFileEntryLocalService.getFileEntries(start, end);
679            }
680    
681            @Override
682            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
683                    long groupId, long folderId)
684                    throws com.liferay.portal.kernel.exception.SystemException {
685                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId);
686            }
687    
688            @Override
689            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
690                    long groupId, long folderId, int status, int start, int end,
691                    com.liferay.portal.kernel.util.OrderByComparator obc)
692                    throws com.liferay.portal.kernel.exception.SystemException {
693                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
694                            status, start, end, obc);
695            }
696    
697            @Override
698            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
699                    long groupId, long folderId, int start, int end,
700                    com.liferay.portal.kernel.util.OrderByComparator obc)
701                    throws com.liferay.portal.kernel.exception.SystemException {
702                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
703                            start, end, obc);
704            }
705    
706            @Override
707            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
708                    long groupId, long userId, java.util.List<java.lang.Long> folderIds,
709                    java.lang.String[] mimeTypes,
710                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
711                    throws java.lang.Exception {
712                    return _dlFileEntryLocalService.getFileEntries(groupId, userId,
713                            folderIds, mimeTypes, queryDefinition);
714            }
715    
716            @Override
717            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
718                    long groupId, long userId,
719                    java.util.List<java.lang.Long> repositoryIds,
720                    java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
721                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
722                    throws java.lang.Exception {
723                    return _dlFileEntryLocalService.getFileEntries(groupId, userId,
724                            repositoryIds, folderIds, mimeTypes, queryDefinition);
725            }
726    
727            @Override
728            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
729                    long folderId, java.lang.String name)
730                    throws com.liferay.portal.kernel.exception.SystemException {
731                    return _dlFileEntryLocalService.getFileEntries(folderId, name);
732            }
733    
734            @Override
735            public int getFileEntriesCount()
736                    throws com.liferay.portal.kernel.exception.SystemException {
737                    return _dlFileEntryLocalService.getFileEntriesCount();
738            }
739    
740            @Override
741            public int getFileEntriesCount(long groupId,
742                    com.liferay.portal.kernel.util.DateRange dateRange, long repositoryId,
743                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
744                    throws com.liferay.portal.kernel.exception.SystemException {
745                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, dateRange,
746                            repositoryId, queryDefinition);
747            }
748    
749            @Override
750            public int getFileEntriesCount(long groupId, long folderId)
751                    throws com.liferay.portal.kernel.exception.SystemException {
752                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
753            }
754    
755            @Override
756            public int getFileEntriesCount(long groupId, long folderId, int status)
757                    throws com.liferay.portal.kernel.exception.SystemException {
758                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId,
759                            status);
760            }
761    
762            @Override
763            public int getFileEntriesCount(long groupId, long userId,
764                    java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
765                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
766                    throws java.lang.Exception {
767                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, userId,
768                            folderIds, mimeTypes, queryDefinition);
769            }
770    
771            @Override
772            public int getFileEntriesCount(long groupId, long userId,
773                    java.util.List<java.lang.Long> repositoryIds,
774                    java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
775                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
776                    throws java.lang.Exception {
777                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, userId,
778                            repositoryIds, folderIds, mimeTypes, queryDefinition);
779            }
780    
781            @Override
782            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
783                    long fileEntryId)
784                    throws com.liferay.portal.kernel.exception.PortalException,
785                            com.liferay.portal.kernel.exception.SystemException {
786                    return _dlFileEntryLocalService.getFileEntry(fileEntryId);
787            }
788    
789            @Override
790            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
791                    long groupId, long folderId, java.lang.String title)
792                    throws com.liferay.portal.kernel.exception.PortalException,
793                            com.liferay.portal.kernel.exception.SystemException {
794                    return _dlFileEntryLocalService.getFileEntry(groupId, folderId, title);
795            }
796    
797            @Override
798            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
799                    long groupId, long folderId, java.lang.String name)
800                    throws com.liferay.portal.kernel.exception.PortalException,
801                            com.liferay.portal.kernel.exception.SystemException {
802                    return _dlFileEntryLocalService.getFileEntryByName(groupId, folderId,
803                            name);
804            }
805    
806            @Override
807            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
808                    java.lang.String uuid, long groupId)
809                    throws com.liferay.portal.kernel.exception.PortalException,
810                            com.liferay.portal.kernel.exception.SystemException {
811                    return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
812                            groupId);
813            }
814    
815            @Override
816            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
817                    long groupId, int start, int end)
818                    throws com.liferay.portal.kernel.exception.SystemException {
819                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
820            }
821    
822            @Override
823            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
824                    long groupId, int start, int end,
825                    com.liferay.portal.kernel.util.OrderByComparator obc)
826                    throws com.liferay.portal.kernel.exception.SystemException {
827                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
828                            end, obc);
829            }
830    
831            @Override
832            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
833                    long groupId, long userId, int start, int end)
834                    throws com.liferay.portal.kernel.exception.SystemException {
835                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
836                            start, end);
837            }
838    
839            @Override
840            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
841                    long groupId, long userId, int start, int end,
842                    com.liferay.portal.kernel.util.OrderByComparator obc)
843                    throws com.liferay.portal.kernel.exception.SystemException {
844                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
845                            start, end, obc);
846            }
847    
848            @Override
849            public int getGroupFileEntriesCount(long groupId)
850                    throws com.liferay.portal.kernel.exception.SystemException {
851                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
852            }
853    
854            @Override
855            public int getGroupFileEntriesCount(long groupId, long userId)
856                    throws com.liferay.portal.kernel.exception.SystemException {
857                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
858            }
859    
860            @Override
861            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries()
862                    throws com.liferay.portal.kernel.exception.SystemException {
863                    return _dlFileEntryLocalService.getMisversionedFileEntries();
864            }
865    
866            @Override
867            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
868                    throws com.liferay.portal.kernel.exception.SystemException {
869                    return _dlFileEntryLocalService.getNoAssetFileEntries();
870            }
871    
872            @Override
873            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries()
874                    throws com.liferay.portal.kernel.exception.SystemException {
875                    return _dlFileEntryLocalService.getOrphanedFileEntries();
876            }
877    
878            @Override
879            public java.lang.String getUniqueTitle(long groupId, long folderId,
880                    long fileEntryId, java.lang.String title, java.lang.String extension)
881                    throws com.liferay.portal.kernel.exception.PortalException,
882                            com.liferay.portal.kernel.exception.SystemException {
883                    return _dlFileEntryLocalService.getUniqueTitle(groupId, folderId,
884                            fileEntryId, title, extension);
885            }
886    
887            @Override
888            public boolean hasExtraSettings()
889                    throws com.liferay.portal.kernel.exception.SystemException {
890                    return _dlFileEntryLocalService.hasExtraSettings();
891            }
892    
893            @Override
894            public boolean hasFileEntryLock(long userId, long fileEntryId)
895                    throws com.liferay.portal.kernel.exception.PortalException,
896                            com.liferay.portal.kernel.exception.SystemException {
897                    return _dlFileEntryLocalService.hasFileEntryLock(userId, fileEntryId);
898            }
899    
900            @Override
901            public void incrementViewCounter(
902                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
903                    int increment)
904                    throws com.liferay.portal.kernel.exception.SystemException {
905                    _dlFileEntryLocalService.incrementViewCounter(dlFileEntry, increment);
906            }
907    
908            @Override
909            public boolean isFileEntryCheckedOut(long fileEntryId)
910                    throws com.liferay.portal.kernel.exception.PortalException,
911                            com.liferay.portal.kernel.exception.SystemException {
912                    return _dlFileEntryLocalService.isFileEntryCheckedOut(fileEntryId);
913            }
914    
915            @Override
916            public com.liferay.portal.model.Lock lockFileEntry(long userId,
917                    long fileEntryId)
918                    throws com.liferay.portal.kernel.exception.PortalException,
919                            com.liferay.portal.kernel.exception.SystemException {
920                    return _dlFileEntryLocalService.lockFileEntry(userId, fileEntryId);
921            }
922    
923            @Override
924            public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
925                    long userId, long fileEntryId, long newFolderId,
926                    com.liferay.portal.service.ServiceContext serviceContext)
927                    throws com.liferay.portal.kernel.exception.PortalException,
928                            com.liferay.portal.kernel.exception.SystemException {
929                    return _dlFileEntryLocalService.moveFileEntry(userId, fileEntryId,
930                            newFolderId, serviceContext);
931            }
932    
933            @Override
934            public void rebuildTree(long companyId)
935                    throws com.liferay.portal.kernel.exception.PortalException,
936                            com.liferay.portal.kernel.exception.SystemException {
937                    _dlFileEntryLocalService.rebuildTree(companyId);
938            }
939    
940            @Override
941            public void revertFileEntry(long userId, long fileEntryId,
942                    java.lang.String version,
943                    com.liferay.portal.service.ServiceContext serviceContext)
944                    throws com.liferay.portal.kernel.exception.PortalException,
945                            com.liferay.portal.kernel.exception.SystemException {
946                    _dlFileEntryLocalService.revertFileEntry(userId, fileEntryId, version,
947                            serviceContext);
948            }
949    
950            @Override
951            public com.liferay.portal.kernel.search.Hits search(long groupId,
952                    long userId, long creatorUserId, int status, int start, int end)
953                    throws com.liferay.portal.kernel.exception.PortalException,
954                            com.liferay.portal.kernel.exception.SystemException {
955                    return _dlFileEntryLocalService.search(groupId, userId, creatorUserId,
956                            status, start, end);
957            }
958    
959            @Override
960            public com.liferay.portal.kernel.search.Hits search(long groupId,
961                    long userId, long creatorUserId, long folderId,
962                    java.lang.String[] mimeTypes, int status, int start, int end)
963                    throws com.liferay.portal.kernel.exception.PortalException,
964                            com.liferay.portal.kernel.exception.SystemException {
965                    return _dlFileEntryLocalService.search(groupId, userId, creatorUserId,
966                            folderId, mimeTypes, status, start, end);
967            }
968    
969            @Override
970            public void setTreePaths(long folderId, java.lang.String treePath,
971                    boolean reindex)
972                    throws com.liferay.portal.kernel.exception.PortalException,
973                            com.liferay.portal.kernel.exception.SystemException {
974                    _dlFileEntryLocalService.setTreePaths(folderId, treePath, reindex);
975            }
976    
977            @Override
978            public void unlockFileEntry(long fileEntryId)
979                    throws com.liferay.portal.kernel.exception.SystemException {
980                    _dlFileEntryLocalService.unlockFileEntry(fileEntryId);
981            }
982    
983            @Override
984            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
985                    long userId, long fileEntryId, java.lang.String sourceFileName,
986                    java.lang.String mimeType, java.lang.String title,
987                    java.lang.String description, java.lang.String changeLog,
988                    boolean majorVersion, long fileEntryTypeId,
989                    java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
990                    java.io.File file, java.io.InputStream is, long size,
991                    com.liferay.portal.service.ServiceContext serviceContext)
992                    throws com.liferay.portal.kernel.exception.PortalException,
993                            com.liferay.portal.kernel.exception.SystemException {
994                    return _dlFileEntryLocalService.updateFileEntry(userId, fileEntryId,
995                            sourceFileName, mimeType, title, description, changeLog,
996                            majorVersion, fileEntryTypeId, fieldsMap, file, is, size,
997                            serviceContext);
998            }
999    
1000            @Override
1001            public void updateSmallImage(long smallImageId, long largeImageId)
1002                    throws com.liferay.portal.kernel.exception.PortalException,
1003                            com.liferay.portal.kernel.exception.SystemException {
1004                    _dlFileEntryLocalService.updateSmallImage(smallImageId, largeImageId);
1005            }
1006    
1007            @Override
1008            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
1009                    long userId, long fileVersionId, int status,
1010                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
1011                    com.liferay.portal.service.ServiceContext serviceContext)
1012                    throws com.liferay.portal.kernel.exception.PortalException,
1013                            com.liferay.portal.kernel.exception.SystemException {
1014                    return _dlFileEntryLocalService.updateStatus(userId, fileVersionId,
1015                            status, workflowContext, serviceContext);
1016            }
1017    
1018            @Override
1019            public boolean verifyFileEntryCheckOut(long fileEntryId,
1020                    java.lang.String lockUuid)
1021                    throws com.liferay.portal.kernel.exception.PortalException,
1022                            com.liferay.portal.kernel.exception.SystemException {
1023                    return _dlFileEntryLocalService.verifyFileEntryCheckOut(fileEntryId,
1024                            lockUuid);
1025            }
1026    
1027            @Override
1028            public boolean verifyFileEntryLock(long fileEntryId,
1029                    java.lang.String lockUuid)
1030                    throws com.liferay.portal.kernel.exception.PortalException,
1031                            com.liferay.portal.kernel.exception.SystemException {
1032                    return _dlFileEntryLocalService.verifyFileEntryLock(fileEntryId,
1033                            lockUuid);
1034            }
1035    
1036            @Override
1037            public void validateFile(long groupId, long folderId, long fileEntryId,
1038                    java.lang.String title, java.lang.String extension)
1039                    throws com.liferay.portal.kernel.exception.PortalException,
1040                            com.liferay.portal.kernel.exception.SystemException {
1041                    _dlFileEntryLocalService.validateFile(groupId, folderId, fileEntryId,
1042                            title, extension);
1043            }
1044    
1045            /**
1046             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
1047             */
1048            public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
1049                    return _dlFileEntryLocalService;
1050            }
1051    
1052            /**
1053             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
1054             */
1055            public void setWrappedDLFileEntryLocalService(
1056                    DLFileEntryLocalService dlFileEntryLocalService) {
1057                    _dlFileEntryLocalService = dlFileEntryLocalService;
1058            }
1059    
1060            @Override
1061            public DLFileEntryLocalService getWrappedService() {
1062                    return _dlFileEntryLocalService;
1063            }
1064    
1065            @Override
1066            public void setWrappedService(
1067                    DLFileEntryLocalService dlFileEntryLocalService) {
1068                    _dlFileEntryLocalService = dlFileEntryLocalService;
1069            }
1070    
1071            private DLFileEntryLocalService _dlFileEntryLocalService;
1072    }