001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.documentlibrary.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link DLFileEntryLocalService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       DLFileEntryLocalService
026     * @generated
027     */
028    public class DLFileEntryLocalServiceWrapper implements DLFileEntryLocalService,
029            ServiceWrapper<DLFileEntryLocalService> {
030            public DLFileEntryLocalServiceWrapper(
031                    DLFileEntryLocalService dlFileEntryLocalService) {
032                    _dlFileEntryLocalService = dlFileEntryLocalService;
033            }
034    
035            /**
036            * Adds the document library file entry to the database. Also notifies the appropriate model listeners.
037            *
038            * @param dlFileEntry the document library file entry
039            * @return the document library file entry that was added
040            * @throws SystemException if a system exception occurred
041            */
042            public com.liferay.portlet.documentlibrary.model.DLFileEntry addDLFileEntry(
043                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
044                    throws com.liferay.portal.kernel.exception.SystemException {
045                    return _dlFileEntryLocalService.addDLFileEntry(dlFileEntry);
046            }
047    
048            /**
049            * Creates a new document library file entry with the primary key. Does not add the document library file entry to the database.
050            *
051            * @param fileEntryId the primary key for the new document library file entry
052            * @return the new document library file entry
053            */
054            public com.liferay.portlet.documentlibrary.model.DLFileEntry createDLFileEntry(
055                    long fileEntryId) {
056                    return _dlFileEntryLocalService.createDLFileEntry(fileEntryId);
057            }
058    
059            /**
060            * Deletes the document library file entry with the primary key from the database. Also notifies the appropriate model listeners.
061            *
062            * @param fileEntryId the primary key of the document library file entry
063            * @return the document library file entry that was removed
064            * @throws PortalException if a document library file entry with the primary key could not be found
065            * @throws SystemException if a system exception occurred
066            */
067            public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteDLFileEntry(
068                    long fileEntryId)
069                    throws com.liferay.portal.kernel.exception.PortalException,
070                            com.liferay.portal.kernel.exception.SystemException {
071                    return _dlFileEntryLocalService.deleteDLFileEntry(fileEntryId);
072            }
073    
074            /**
075            * Deletes the document library file entry from the database. Also notifies the appropriate model listeners.
076            *
077            * @param dlFileEntry the document library file entry
078            * @return the document library file entry that was removed
079            * @throws SystemException if a system exception occurred
080            */
081            public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteDLFileEntry(
082                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
083                    throws com.liferay.portal.kernel.exception.SystemException {
084                    return _dlFileEntryLocalService.deleteDLFileEntry(dlFileEntry);
085            }
086    
087            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
088                    return _dlFileEntryLocalService.dynamicQuery();
089            }
090    
091            /**
092            * Performs a dynamic query on the database and returns the matching rows.
093            *
094            * @param dynamicQuery the dynamic query
095            * @return the matching rows
096            * @throws SystemException if a system exception occurred
097            */
098            @SuppressWarnings("rawtypes")
099            public java.util.List dynamicQuery(
100                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
101                    throws com.liferay.portal.kernel.exception.SystemException {
102                    return _dlFileEntryLocalService.dynamicQuery(dynamicQuery);
103            }
104    
105            /**
106            * Performs a dynamic query on the database and returns a range of the matching rows.
107            *
108            * <p>
109            * 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.
110            * </p>
111            *
112            * @param dynamicQuery the dynamic query
113            * @param start the lower bound of the range of model instances
114            * @param end the upper bound of the range of model instances (not inclusive)
115            * @return the range of matching rows
116            * @throws SystemException if a system exception occurred
117            */
118            @SuppressWarnings("rawtypes")
119            public java.util.List dynamicQuery(
120                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
121                    int end) throws com.liferay.portal.kernel.exception.SystemException {
122                    return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end);
123            }
124    
125            /**
126            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
127            *
128            * <p>
129            * 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.
130            * </p>
131            *
132            * @param dynamicQuery the dynamic query
133            * @param start the lower bound of the range of model instances
134            * @param end the upper bound of the range of model instances (not inclusive)
135            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
136            * @return the ordered range of matching rows
137            * @throws SystemException if a system exception occurred
138            */
139            @SuppressWarnings("rawtypes")
140            public java.util.List dynamicQuery(
141                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142                    int end,
143                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144                    throws com.liferay.portal.kernel.exception.SystemException {
145                    return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end,
146                            orderByComparator);
147            }
148    
149            /**
150            * Returns the number of rows that match the dynamic query.
151            *
152            * @param dynamicQuery the dynamic query
153            * @return the number of rows that match the dynamic query
154            * @throws SystemException if a system exception occurred
155            */
156            public long dynamicQueryCount(
157                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
158                    throws com.liferay.portal.kernel.exception.SystemException {
159                    return _dlFileEntryLocalService.dynamicQueryCount(dynamicQuery);
160            }
161    
162            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchDLFileEntry(
163                    long fileEntryId)
164                    throws com.liferay.portal.kernel.exception.SystemException {
165                    return _dlFileEntryLocalService.fetchDLFileEntry(fileEntryId);
166            }
167    
168            /**
169            * Returns the document library file entry with the primary key.
170            *
171            * @param fileEntryId the primary key of the document library file entry
172            * @return the document library file entry
173            * @throws PortalException if a document library file entry with the primary key could not be found
174            * @throws SystemException if a system exception occurred
175            */
176            public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntry(
177                    long fileEntryId)
178                    throws com.liferay.portal.kernel.exception.PortalException,
179                            com.liferay.portal.kernel.exception.SystemException {
180                    return _dlFileEntryLocalService.getDLFileEntry(fileEntryId);
181            }
182    
183            public com.liferay.portal.model.PersistedModel getPersistedModel(
184                    java.io.Serializable primaryKeyObj)
185                    throws com.liferay.portal.kernel.exception.PortalException,
186                            com.liferay.portal.kernel.exception.SystemException {
187                    return _dlFileEntryLocalService.getPersistedModel(primaryKeyObj);
188            }
189    
190            /**
191            * Returns the document library file entry matching the UUID and group.
192            *
193            * @param uuid the document library file entry's UUID
194            * @param groupId the primary key of the group
195            * @return the matching document library file entry
196            * @throws PortalException if a matching document library file entry could not be found
197            * @throws SystemException if a system exception occurred
198            */
199            public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntryByUuidAndGroupId(
200                    java.lang.String uuid, long groupId)
201                    throws com.liferay.portal.kernel.exception.PortalException,
202                            com.liferay.portal.kernel.exception.SystemException {
203                    return _dlFileEntryLocalService.getDLFileEntryByUuidAndGroupId(uuid,
204                            groupId);
205            }
206    
207            /**
208            * Returns a range of all the document library file entries.
209            *
210            * <p>
211            * 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.
212            * </p>
213            *
214            * @param start the lower bound of the range of document library file entries
215            * @param end the upper bound of the range of document library file entries (not inclusive)
216            * @return the range of document library file entries
217            * @throws SystemException if a system exception occurred
218            */
219            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntries(
220                    int start, int end)
221                    throws com.liferay.portal.kernel.exception.SystemException {
222                    return _dlFileEntryLocalService.getDLFileEntries(start, end);
223            }
224    
225            /**
226            * Returns the number of document library file entries.
227            *
228            * @return the number of document library file entries
229            * @throws SystemException if a system exception occurred
230            */
231            public int getDLFileEntriesCount()
232                    throws com.liferay.portal.kernel.exception.SystemException {
233                    return _dlFileEntryLocalService.getDLFileEntriesCount();
234            }
235    
236            /**
237            * Updates the document library file entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
238            *
239            * @param dlFileEntry the document library file entry
240            * @return the document library file entry that was updated
241            * @throws SystemException if a system exception occurred
242            */
243            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
244                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
245                    throws com.liferay.portal.kernel.exception.SystemException {
246                    return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry);
247            }
248    
249            /**
250            * Returns the Spring bean ID for this bean.
251            *
252            * @return the Spring bean ID for this bean
253            */
254            public java.lang.String getBeanIdentifier() {
255                    return _dlFileEntryLocalService.getBeanIdentifier();
256            }
257    
258            /**
259            * Sets the Spring bean ID for this bean.
260            *
261            * @param beanIdentifier the Spring bean ID for this bean
262            */
263            public void setBeanIdentifier(java.lang.String beanIdentifier) {
264                    _dlFileEntryLocalService.setBeanIdentifier(beanIdentifier);
265            }
266    
267            public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
268                    long userId, long groupId, long repositoryId, long folderId,
269                    java.lang.String sourceFileName, java.lang.String mimeType,
270                    java.lang.String title, java.lang.String description,
271                    java.lang.String changeLog, long fileEntryTypeId,
272                    java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
273                    java.io.File file, java.io.InputStream is, long size,
274                    com.liferay.portal.service.ServiceContext serviceContext)
275                    throws com.liferay.portal.kernel.exception.PortalException,
276                            com.liferay.portal.kernel.exception.SystemException {
277                    return _dlFileEntryLocalService.addFileEntry(userId, groupId,
278                            repositoryId, folderId, sourceFileName, mimeType, title,
279                            description, changeLog, fileEntryTypeId, fieldsMap, file, is, size,
280                            serviceContext);
281            }
282    
283            public com.liferay.portlet.documentlibrary.model.DLFileVersion cancelCheckOut(
284                    long userId, long fileEntryId)
285                    throws com.liferay.portal.kernel.exception.PortalException,
286                            com.liferay.portal.kernel.exception.SystemException {
287                    return _dlFileEntryLocalService.cancelCheckOut(userId, fileEntryId);
288            }
289    
290            public void checkInFileEntry(long userId, long fileEntryId,
291                    boolean majorVersion, java.lang.String changeLog,
292                    com.liferay.portal.service.ServiceContext serviceContext)
293                    throws com.liferay.portal.kernel.exception.PortalException,
294                            com.liferay.portal.kernel.exception.SystemException {
295                    _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId,
296                            majorVersion, changeLog, serviceContext);
297            }
298    
299            /**
300            * @deprecated As of 6.2.0, replaced by {@link #checkInFileEntry(long, long,
301            String, ServiceContext)}
302            */
303            public void checkInFileEntry(long userId, long fileEntryId,
304                    java.lang.String lockUuid)
305                    throws com.liferay.portal.kernel.exception.PortalException,
306                            com.liferay.portal.kernel.exception.SystemException {
307                    _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId, lockUuid);
308            }
309    
310            public void checkInFileEntry(long userId, long fileEntryId,
311                    java.lang.String lockUuid,
312                    com.liferay.portal.service.ServiceContext serviceContext)
313                    throws com.liferay.portal.kernel.exception.PortalException,
314                            com.liferay.portal.kernel.exception.SystemException {
315                    _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId,
316                            lockUuid, serviceContext);
317            }
318    
319            /**
320            * @deprecated As of 6.2.0, replaced by {@link #checkOutFileEntry(long,
321            long, ServiceContext)}
322            */
323            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
324                    long userId, long fileEntryId)
325                    throws com.liferay.portal.kernel.exception.PortalException,
326                            com.liferay.portal.kernel.exception.SystemException {
327                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId);
328            }
329    
330            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
331                    long userId, long fileEntryId,
332                    com.liferay.portal.service.ServiceContext serviceContext)
333                    throws com.liferay.portal.kernel.exception.PortalException,
334                            com.liferay.portal.kernel.exception.SystemException {
335                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
336                            serviceContext);
337            }
338    
339            /**
340            * @deprecated As of 6.2.0, replaced by {@link #checkOutFileEntry(long,
341            long, String, long, ServiceContext)}
342            */
343            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
344                    long userId, long fileEntryId, java.lang.String owner,
345                    long expirationTime)
346                    throws com.liferay.portal.kernel.exception.PortalException,
347                            com.liferay.portal.kernel.exception.SystemException {
348                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
349                            owner, expirationTime);
350            }
351    
352            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
353                    long userId, long fileEntryId, java.lang.String owner,
354                    long expirationTime,
355                    com.liferay.portal.service.ServiceContext serviceContext)
356                    throws com.liferay.portal.kernel.exception.PortalException,
357                            com.liferay.portal.kernel.exception.SystemException {
358                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
359                            owner, expirationTime, serviceContext);
360            }
361    
362            public void convertExtraSettings(java.lang.String[] keys)
363                    throws com.liferay.portal.kernel.exception.PortalException,
364                            com.liferay.portal.kernel.exception.SystemException {
365                    _dlFileEntryLocalService.convertExtraSettings(keys);
366            }
367    
368            public void copyFileEntryMetadata(long companyId, long fileEntryTypeId,
369                    long fileEntryId, long fromFileVersionId, long toFileVersionId,
370                    com.liferay.portal.service.ServiceContext serviceContext)
371                    throws com.liferay.portal.kernel.exception.PortalException,
372                            com.liferay.portal.kernel.exception.SystemException {
373                    _dlFileEntryLocalService.copyFileEntryMetadata(companyId,
374                            fileEntryTypeId, fileEntryId, fromFileVersionId, toFileVersionId,
375                            serviceContext);
376            }
377    
378            public void deleteFileEntries(long groupId, long folderId)
379                    throws com.liferay.portal.kernel.exception.PortalException,
380                            com.liferay.portal.kernel.exception.SystemException {
381                    _dlFileEntryLocalService.deleteFileEntries(groupId, folderId);
382            }
383    
384            public void deleteFileEntries(long groupId, long folderId,
385                    boolean includeTrashedEntries)
386                    throws com.liferay.portal.kernel.exception.PortalException,
387                            com.liferay.portal.kernel.exception.SystemException {
388                    _dlFileEntryLocalService.deleteFileEntries(groupId, folderId,
389                            includeTrashedEntries);
390            }
391    
392            public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
393                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
394                    throws com.liferay.portal.kernel.exception.PortalException,
395                            com.liferay.portal.kernel.exception.SystemException {
396                    return _dlFileEntryLocalService.deleteFileEntry(dlFileEntry);
397            }
398    
399            public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
400                    long fileEntryId)
401                    throws com.liferay.portal.kernel.exception.PortalException,
402                            com.liferay.portal.kernel.exception.SystemException {
403                    return _dlFileEntryLocalService.deleteFileEntry(fileEntryId);
404            }
405    
406            public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
407                    long userId, long fileEntryId)
408                    throws com.liferay.portal.kernel.exception.PortalException,
409                            com.liferay.portal.kernel.exception.SystemException {
410                    return _dlFileEntryLocalService.deleteFileEntry(userId, fileEntryId);
411            }
412    
413            public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileVersion(
414                    long userId, long fileEntryId, java.lang.String version)
415                    throws com.liferay.portal.kernel.exception.PortalException,
416                            com.liferay.portal.kernel.exception.SystemException {
417                    return _dlFileEntryLocalService.deleteFileVersion(userId, fileEntryId,
418                            version);
419            }
420    
421            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntry(
422                    long groupId, long folderId, java.lang.String title)
423                    throws com.liferay.portal.kernel.exception.SystemException {
424                    return _dlFileEntryLocalService.fetchFileEntry(groupId, folderId, title);
425            }
426    
427            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByAnyImageId(
428                    long imageId)
429                    throws com.liferay.portal.kernel.exception.SystemException {
430                    return _dlFileEntryLocalService.fetchFileEntryByAnyImageId(imageId);
431            }
432    
433            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByName(
434                    long groupId, long folderId, java.lang.String name)
435                    throws com.liferay.portal.kernel.exception.SystemException {
436                    return _dlFileEntryLocalService.fetchFileEntryByName(groupId, folderId,
437                            name);
438            }
439    
440            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDDMStructureFileEntries(
441                    long[] ddmStructureIds)
442                    throws com.liferay.portal.kernel.exception.SystemException {
443                    return _dlFileEntryLocalService.getDDMStructureFileEntries(ddmStructureIds);
444            }
445    
446            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
447                    int start, int end)
448                    throws com.liferay.portal.kernel.exception.SystemException {
449                    return _dlFileEntryLocalService.getExtraSettingsFileEntries(start, end);
450            }
451    
452            public java.io.File getFile(long userId, long fileEntryId,
453                    java.lang.String version, boolean incrementCounter)
454                    throws com.liferay.portal.kernel.exception.PortalException,
455                            com.liferay.portal.kernel.exception.SystemException {
456                    return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
457                            incrementCounter);
458            }
459    
460            public java.io.File getFile(long userId, long fileEntryId,
461                    java.lang.String version, boolean incrementCounter, int increment)
462                    throws com.liferay.portal.kernel.exception.PortalException,
463                            com.liferay.portal.kernel.exception.SystemException {
464                    return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
465                            incrementCounter, increment);
466            }
467    
468            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
469                    java.lang.String version)
470                    throws com.liferay.portal.kernel.exception.PortalException,
471                            com.liferay.portal.kernel.exception.SystemException {
472                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
473                            version);
474            }
475    
476            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
477                    java.lang.String version, boolean incrementCounter)
478                    throws com.liferay.portal.kernel.exception.PortalException,
479                            com.liferay.portal.kernel.exception.SystemException {
480                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
481                            version, incrementCounter);
482            }
483    
484            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
485                    java.lang.String version, boolean incrementCounter, int increment)
486                    throws com.liferay.portal.kernel.exception.PortalException,
487                            com.liferay.portal.kernel.exception.SystemException {
488                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
489                            version, incrementCounter, increment);
490            }
491    
492            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
493                    int start, int end)
494                    throws com.liferay.portal.kernel.exception.SystemException {
495                    return _dlFileEntryLocalService.getFileEntries(start, end);
496            }
497    
498            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
499                    long groupId, long folderId)
500                    throws com.liferay.portal.kernel.exception.SystemException {
501                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId);
502            }
503    
504            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
505                    long groupId, long folderId, int status, int start, int end,
506                    com.liferay.portal.kernel.util.OrderByComparator obc)
507                    throws com.liferay.portal.kernel.exception.SystemException {
508                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
509                            status, start, end, obc);
510            }
511    
512            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
513                    long groupId, long folderId, int start, int end,
514                    com.liferay.portal.kernel.util.OrderByComparator obc)
515                    throws com.liferay.portal.kernel.exception.SystemException {
516                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
517                            start, end, obc);
518            }
519    
520            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
521                    long folderId, java.lang.String name)
522                    throws com.liferay.portal.kernel.exception.SystemException {
523                    return _dlFileEntryLocalService.getFileEntries(folderId, name);
524            }
525    
526            public int getFileEntriesCount()
527                    throws com.liferay.portal.kernel.exception.SystemException {
528                    return _dlFileEntryLocalService.getFileEntriesCount();
529            }
530    
531            public int getFileEntriesCount(long groupId, long folderId)
532                    throws com.liferay.portal.kernel.exception.SystemException {
533                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
534            }
535    
536            public int getFileEntriesCount(long groupId, long folderId, int status)
537                    throws com.liferay.portal.kernel.exception.SystemException {
538                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId,
539                            status);
540            }
541    
542            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
543                    long fileEntryId)
544                    throws com.liferay.portal.kernel.exception.PortalException,
545                            com.liferay.portal.kernel.exception.SystemException {
546                    return _dlFileEntryLocalService.getFileEntry(fileEntryId);
547            }
548    
549            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
550                    long groupId, long folderId, java.lang.String title)
551                    throws com.liferay.portal.kernel.exception.PortalException,
552                            com.liferay.portal.kernel.exception.SystemException {
553                    return _dlFileEntryLocalService.getFileEntry(groupId, folderId, title);
554            }
555    
556            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
557                    long groupId, long folderId, java.lang.String name)
558                    throws com.liferay.portal.kernel.exception.PortalException,
559                            com.liferay.portal.kernel.exception.SystemException {
560                    return _dlFileEntryLocalService.getFileEntryByName(groupId, folderId,
561                            name);
562            }
563    
564            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
565                    java.lang.String uuid, long groupId)
566                    throws com.liferay.portal.kernel.exception.PortalException,
567                            com.liferay.portal.kernel.exception.SystemException {
568                    return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
569                            groupId);
570            }
571    
572            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
573                    long groupId, int start, int end)
574                    throws com.liferay.portal.kernel.exception.SystemException {
575                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
576            }
577    
578            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
579                    long groupId, int start, int end,
580                    com.liferay.portal.kernel.util.OrderByComparator obc)
581                    throws com.liferay.portal.kernel.exception.SystemException {
582                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
583                            end, obc);
584            }
585    
586            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
587                    long groupId, long userId, int start, int end)
588                    throws com.liferay.portal.kernel.exception.SystemException {
589                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
590                            start, end);
591            }
592    
593            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
594                    long groupId, long userId, int start, int end,
595                    com.liferay.portal.kernel.util.OrderByComparator obc)
596                    throws com.liferay.portal.kernel.exception.SystemException {
597                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
598                            start, end, obc);
599            }
600    
601            public int getGroupFileEntriesCount(long groupId)
602                    throws com.liferay.portal.kernel.exception.SystemException {
603                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
604            }
605    
606            public int getGroupFileEntriesCount(long groupId, long userId)
607                    throws com.liferay.portal.kernel.exception.SystemException {
608                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
609            }
610    
611            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries()
612                    throws com.liferay.portal.kernel.exception.SystemException {
613                    return _dlFileEntryLocalService.getMisversionedFileEntries();
614            }
615    
616            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
617                    throws com.liferay.portal.kernel.exception.SystemException {
618                    return _dlFileEntryLocalService.getNoAssetFileEntries();
619            }
620    
621            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries()
622                    throws com.liferay.portal.kernel.exception.SystemException {
623                    return _dlFileEntryLocalService.getOrphanedFileEntries();
624            }
625    
626            public boolean hasExtraSettings()
627                    throws com.liferay.portal.kernel.exception.SystemException {
628                    return _dlFileEntryLocalService.hasExtraSettings();
629            }
630    
631            public boolean hasFileEntryLock(long userId, long fileEntryId)
632                    throws com.liferay.portal.kernel.exception.PortalException,
633                            com.liferay.portal.kernel.exception.SystemException {
634                    return _dlFileEntryLocalService.hasFileEntryLock(userId, fileEntryId);
635            }
636    
637            public void incrementViewCounter(
638                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
639                    int increment)
640                    throws com.liferay.portal.kernel.exception.SystemException {
641                    _dlFileEntryLocalService.incrementViewCounter(dlFileEntry, increment);
642            }
643    
644            public boolean isFileEntryCheckedOut(long fileEntryId)
645                    throws com.liferay.portal.kernel.exception.PortalException,
646                            com.liferay.portal.kernel.exception.SystemException {
647                    return _dlFileEntryLocalService.isFileEntryCheckedOut(fileEntryId);
648            }
649    
650            public com.liferay.portal.model.Lock lockFileEntry(long userId,
651                    long fileEntryId)
652                    throws com.liferay.portal.kernel.exception.PortalException,
653                            com.liferay.portal.kernel.exception.SystemException {
654                    return _dlFileEntryLocalService.lockFileEntry(userId, fileEntryId);
655            }
656    
657            public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
658                    long userId, long fileEntryId, long newFolderId,
659                    com.liferay.portal.service.ServiceContext serviceContext)
660                    throws com.liferay.portal.kernel.exception.PortalException,
661                            com.liferay.portal.kernel.exception.SystemException {
662                    return _dlFileEntryLocalService.moveFileEntry(userId, fileEntryId,
663                            newFolderId, serviceContext);
664            }
665    
666            public void revertFileEntry(long userId, long fileEntryId,
667                    java.lang.String version,
668                    com.liferay.portal.service.ServiceContext serviceContext)
669                    throws com.liferay.portal.kernel.exception.PortalException,
670                            com.liferay.portal.kernel.exception.SystemException {
671                    _dlFileEntryLocalService.revertFileEntry(userId, fileEntryId, version,
672                            serviceContext);
673            }
674    
675            public void unlockFileEntry(long fileEntryId)
676                    throws com.liferay.portal.kernel.exception.SystemException {
677                    _dlFileEntryLocalService.unlockFileEntry(fileEntryId);
678            }
679    
680            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
681                    long userId, long fileEntryId, java.lang.String sourceFileName,
682                    java.lang.String mimeType, java.lang.String title,
683                    java.lang.String description, java.lang.String changeLog,
684                    boolean majorVersion, long fileEntryTypeId,
685                    java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
686                    java.io.File file, java.io.InputStream is, long size,
687                    com.liferay.portal.service.ServiceContext serviceContext)
688                    throws com.liferay.portal.kernel.exception.PortalException,
689                            com.liferay.portal.kernel.exception.SystemException {
690                    return _dlFileEntryLocalService.updateFileEntry(userId, fileEntryId,
691                            sourceFileName, mimeType, title, description, changeLog,
692                            majorVersion, fileEntryTypeId, fieldsMap, file, is, size,
693                            serviceContext);
694            }
695    
696            public void updateSmallImage(long smallImageId, long largeImageId)
697                    throws com.liferay.portal.kernel.exception.PortalException,
698                            com.liferay.portal.kernel.exception.SystemException {
699                    _dlFileEntryLocalService.updateSmallImage(smallImageId, largeImageId);
700            }
701    
702            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
703                    long userId, long fileVersionId, int status,
704                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
705                    com.liferay.portal.service.ServiceContext serviceContext)
706                    throws com.liferay.portal.kernel.exception.PortalException,
707                            com.liferay.portal.kernel.exception.SystemException {
708                    return _dlFileEntryLocalService.updateStatus(userId, fileVersionId,
709                            status, workflowContext, serviceContext);
710            }
711    
712            public boolean verifyFileEntryCheckOut(long fileEntryId,
713                    java.lang.String lockUuid)
714                    throws com.liferay.portal.kernel.exception.PortalException,
715                            com.liferay.portal.kernel.exception.SystemException {
716                    return _dlFileEntryLocalService.verifyFileEntryCheckOut(fileEntryId,
717                            lockUuid);
718            }
719    
720            public boolean verifyFileEntryLock(long fileEntryId,
721                    java.lang.String lockUuid)
722                    throws com.liferay.portal.kernel.exception.PortalException,
723                            com.liferay.portal.kernel.exception.SystemException {
724                    return _dlFileEntryLocalService.verifyFileEntryLock(fileEntryId,
725                            lockUuid);
726            }
727    
728            /**
729             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
730             */
731            public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
732                    return _dlFileEntryLocalService;
733            }
734    
735            /**
736             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
737             */
738            public void setWrappedDLFileEntryLocalService(
739                    DLFileEntryLocalService dlFileEntryLocalService) {
740                    _dlFileEntryLocalService = dlFileEntryLocalService;
741            }
742    
743            public DLFileEntryLocalService getWrappedService() {
744                    return _dlFileEntryLocalService;
745            }
746    
747            public void setWrappedService(
748                    DLFileEntryLocalService dlFileEntryLocalService) {
749                    _dlFileEntryLocalService = dlFileEntryLocalService;
750            }
751    
752            private DLFileEntryLocalService _dlFileEntryLocalService;
753    }