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