001    /**
002     * Copyright (c) 2000-2011 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    /**
018     * <p>
019     * This class is a wrapper for {@link DLFileEntryLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       DLFileEntryLocalService
024     * @generated
025     */
026    public class DLFileEntryLocalServiceWrapper implements DLFileEntryLocalService {
027            public DLFileEntryLocalServiceWrapper(
028                    DLFileEntryLocalService dlFileEntryLocalService) {
029                    _dlFileEntryLocalService = dlFileEntryLocalService;
030            }
031    
032            /**
033            * Adds the document library file entry to the database. Also notifies the appropriate model listeners.
034            *
035            * @param dlFileEntry the document library file entry
036            * @return the document library file entry that was added
037            * @throws SystemException if a system exception occurred
038            */
039            public com.liferay.portlet.documentlibrary.model.DLFileEntry addDLFileEntry(
040                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
041                    throws com.liferay.portal.kernel.exception.SystemException {
042                    return _dlFileEntryLocalService.addDLFileEntry(dlFileEntry);
043            }
044    
045            /**
046            * Creates a new document library file entry with the primary key. Does not add the document library file entry to the database.
047            *
048            * @param fileEntryId the primary key for the new document library file entry
049            * @return the new document library file entry
050            */
051            public com.liferay.portlet.documentlibrary.model.DLFileEntry createDLFileEntry(
052                    long fileEntryId) {
053                    return _dlFileEntryLocalService.createDLFileEntry(fileEntryId);
054            }
055    
056            /**
057            * Deletes the document library file entry with the primary key from the database. Also notifies the appropriate model listeners.
058            *
059            * @param fileEntryId the primary key of the document library file entry
060            * @throws PortalException if a document library file entry with the primary key could not be found
061            * @throws SystemException if a system exception occurred
062            */
063            public void deleteDLFileEntry(long fileEntryId)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    _dlFileEntryLocalService.deleteDLFileEntry(fileEntryId);
067            }
068    
069            /**
070            * Deletes the document library file entry from the database. Also notifies the appropriate model listeners.
071            *
072            * @param dlFileEntry the document library file entry
073            * @throws SystemException if a system exception occurred
074            */
075            public void deleteDLFileEntry(
076                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
077                    throws com.liferay.portal.kernel.exception.SystemException {
078                    _dlFileEntryLocalService.deleteDLFileEntry(dlFileEntry);
079            }
080    
081            /**
082            * Performs a dynamic query on the database and returns the matching rows.
083            *
084            * @param dynamicQuery the dynamic query
085            * @return the matching rows
086            * @throws SystemException if a system exception occurred
087            */
088            @SuppressWarnings("rawtypes")
089            public java.util.List dynamicQuery(
090                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
091                    throws com.liferay.portal.kernel.exception.SystemException {
092                    return _dlFileEntryLocalService.dynamicQuery(dynamicQuery);
093            }
094    
095            /**
096            * Performs a dynamic query on the database and returns a range of the matching rows.
097            *
098            * <p>
099            * 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.
100            * </p>
101            *
102            * @param dynamicQuery the dynamic query
103            * @param start the lower bound of the range of model instances
104            * @param end the upper bound of the range of model instances (not inclusive)
105            * @return the range of matching rows
106            * @throws SystemException if a system exception occurred
107            */
108            @SuppressWarnings("rawtypes")
109            public java.util.List dynamicQuery(
110                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
111                    int end) throws com.liferay.portal.kernel.exception.SystemException {
112                    return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end);
113            }
114    
115            /**
116            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
117            *
118            * <p>
119            * 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.
120            * </p>
121            *
122            * @param dynamicQuery the dynamic query
123            * @param start the lower bound of the range of model instances
124            * @param end the upper bound of the range of model instances (not inclusive)
125            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
126            * @return the ordered range of matching rows
127            * @throws SystemException if a system exception occurred
128            */
129            @SuppressWarnings("rawtypes")
130            public java.util.List dynamicQuery(
131                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
132                    int end,
133                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134                    throws com.liferay.portal.kernel.exception.SystemException {
135                    return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end,
136                            orderByComparator);
137            }
138    
139            /**
140            * Returns the number of rows that match the dynamic query.
141            *
142            * @param dynamicQuery the dynamic query
143            * @return the number of rows that match the dynamic query
144            * @throws SystemException if a system exception occurred
145            */
146            public long dynamicQueryCount(
147                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
148                    throws com.liferay.portal.kernel.exception.SystemException {
149                    return _dlFileEntryLocalService.dynamicQueryCount(dynamicQuery);
150            }
151    
152            /**
153            * Returns the document library file entry with the primary key.
154            *
155            * @param fileEntryId the primary key of the document library file entry
156            * @return the document library file entry
157            * @throws PortalException if a document library file entry with the primary key could not be found
158            * @throws SystemException if a system exception occurred
159            */
160            public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntry(
161                    long fileEntryId)
162                    throws com.liferay.portal.kernel.exception.PortalException,
163                            com.liferay.portal.kernel.exception.SystemException {
164                    return _dlFileEntryLocalService.getDLFileEntry(fileEntryId);
165            }
166    
167            public com.liferay.portal.model.PersistedModel getPersistedModel(
168                    java.io.Serializable primaryKeyObj)
169                    throws com.liferay.portal.kernel.exception.PortalException,
170                            com.liferay.portal.kernel.exception.SystemException {
171                    return _dlFileEntryLocalService.getPersistedModel(primaryKeyObj);
172            }
173    
174            /**
175            * Returns the document library file entry with the UUID in the group.
176            *
177            * @param uuid the UUID of document library file entry
178            * @param groupId the group id of the document library file entry
179            * @return the document library file entry
180            * @throws PortalException if a document library file entry with the UUID in the group could not be found
181            * @throws SystemException if a system exception occurred
182            */
183            public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntryByUuidAndGroupId(
184                    java.lang.String uuid, long groupId)
185                    throws com.liferay.portal.kernel.exception.PortalException,
186                            com.liferay.portal.kernel.exception.SystemException {
187                    return _dlFileEntryLocalService.getDLFileEntryByUuidAndGroupId(uuid,
188                            groupId);
189            }
190    
191            /**
192            * Returns a range of all the document library file entries.
193            *
194            * <p>
195            * 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.
196            * </p>
197            *
198            * @param start the lower bound of the range of document library file entries
199            * @param end the upper bound of the range of document library file entries (not inclusive)
200            * @return the range of document library file entries
201            * @throws SystemException if a system exception occurred
202            */
203            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntries(
204                    int start, int end)
205                    throws com.liferay.portal.kernel.exception.SystemException {
206                    return _dlFileEntryLocalService.getDLFileEntries(start, end);
207            }
208    
209            /**
210            * Returns the number of document library file entries.
211            *
212            * @return the number of document library file entries
213            * @throws SystemException if a system exception occurred
214            */
215            public int getDLFileEntriesCount()
216                    throws com.liferay.portal.kernel.exception.SystemException {
217                    return _dlFileEntryLocalService.getDLFileEntriesCount();
218            }
219    
220            /**
221            * Updates the document library file entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
222            *
223            * @param dlFileEntry the document library file entry
224            * @return the document library file entry that was updated
225            * @throws SystemException if a system exception occurred
226            */
227            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
228                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
229                    throws com.liferay.portal.kernel.exception.SystemException {
230                    return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry);
231            }
232    
233            /**
234            * Updates the document library file entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
235            *
236            * @param dlFileEntry the document library file entry
237            * @param merge whether to merge the document library file entry with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
238            * @return the document library file entry that was updated
239            * @throws SystemException if a system exception occurred
240            */
241            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
242                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
243                    boolean merge)
244                    throws com.liferay.portal.kernel.exception.SystemException {
245                    return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry, merge);
246            }
247    
248            /**
249            * Returns the Spring bean ID for this bean.
250            *
251            * @return the Spring bean ID for this bean
252            */
253            public java.lang.String getBeanIdentifier() {
254                    return _dlFileEntryLocalService.getBeanIdentifier();
255            }
256    
257            /**
258            * Sets the Spring bean ID for this bean.
259            *
260            * @param beanIdentifier the Spring bean ID for this bean
261            */
262            public void setBeanIdentifier(java.lang.String beanIdentifier) {
263                    _dlFileEntryLocalService.setBeanIdentifier(beanIdentifier);
264            }
265    
266            public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
267                    long userId, long groupId, long repositoryId, long folderId,
268                    java.lang.String sourceFileName, java.lang.String mimeType,
269                    java.lang.String title, java.lang.String description,
270                    java.lang.String changeLog, long fileEntryTypeId,
271                    java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
272                    java.io.File file, java.io.InputStream is, long size,
273                    com.liferay.portal.service.ServiceContext serviceContext)
274                    throws com.liferay.portal.kernel.exception.PortalException,
275                            com.liferay.portal.kernel.exception.SystemException {
276                    return _dlFileEntryLocalService.addFileEntry(userId, groupId,
277                            repositoryId, folderId, sourceFileName, mimeType, title,
278                            description, changeLog, fileEntryTypeId, fieldsMap, file, is, size,
279                            serviceContext);
280            }
281    
282            public void addFileEntryResources(
283                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
284                    boolean addGroupPermissions, boolean addGuestPermissions)
285                    throws com.liferay.portal.kernel.exception.PortalException,
286                            com.liferay.portal.kernel.exception.SystemException {
287                    _dlFileEntryLocalService.addFileEntryResources(dlFileEntry,
288                            addGroupPermissions, addGuestPermissions);
289            }
290    
291            public void addFileEntryResources(
292                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
293                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
294                    throws com.liferay.portal.kernel.exception.PortalException,
295                            com.liferay.portal.kernel.exception.SystemException {
296                    _dlFileEntryLocalService.addFileEntryResources(dlFileEntry,
297                            groupPermissions, guestPermissions);
298            }
299    
300            public void cancelCheckOut(long userId, long fileEntryId)
301                    throws com.liferay.portal.kernel.exception.PortalException,
302                            com.liferay.portal.kernel.exception.SystemException {
303                    _dlFileEntryLocalService.cancelCheckOut(userId, fileEntryId);
304            }
305    
306            public void checkInFileEntry(long userId, long fileEntryId,
307                    boolean majorVersion, java.lang.String changeLog,
308                    com.liferay.portal.service.ServiceContext serviceContext)
309                    throws com.liferay.portal.kernel.exception.PortalException,
310                            com.liferay.portal.kernel.exception.SystemException {
311                    _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId,
312                            majorVersion, changeLog, serviceContext);
313            }
314    
315            public void checkInFileEntry(long userId, long fileEntryId,
316                    java.lang.String lockUuid)
317                    throws com.liferay.portal.kernel.exception.PortalException,
318                            com.liferay.portal.kernel.exception.SystemException {
319                    _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId, lockUuid);
320            }
321    
322            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
323                    long userId, long fileEntryId)
324                    throws com.liferay.portal.kernel.exception.PortalException,
325                            com.liferay.portal.kernel.exception.SystemException {
326                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId);
327            }
328    
329            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
330                    long userId, long fileEntryId, java.lang.String owner,
331                    long expirationTime)
332                    throws com.liferay.portal.kernel.exception.PortalException,
333                            com.liferay.portal.kernel.exception.SystemException {
334                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
335                            owner, expirationTime);
336            }
337    
338            public void convertExtraSettings(java.lang.String[] keys)
339                    throws com.liferay.portal.kernel.exception.PortalException,
340                            com.liferay.portal.kernel.exception.SystemException {
341                    _dlFileEntryLocalService.convertExtraSettings(keys);
342            }
343    
344            public void copyFileEntryMetadata(long companyId, long fileEntryTypeId,
345                    long fileEntryId, long fromFileVersionId, long toFileVersionId,
346                    com.liferay.portal.service.ServiceContext serviceContext)
347                    throws com.liferay.portal.kernel.exception.PortalException,
348                            com.liferay.portal.kernel.exception.SystemException {
349                    _dlFileEntryLocalService.copyFileEntryMetadata(companyId,
350                            fileEntryTypeId, fileEntryId, fromFileVersionId, toFileVersionId,
351                            serviceContext);
352            }
353    
354            public void deleteFileEntries(long groupId, long folderId)
355                    throws com.liferay.portal.kernel.exception.PortalException,
356                            com.liferay.portal.kernel.exception.SystemException {
357                    _dlFileEntryLocalService.deleteFileEntries(groupId, folderId);
358            }
359    
360            public void deleteFileEntry(long fileEntryId)
361                    throws com.liferay.portal.kernel.exception.PortalException,
362                            com.liferay.portal.kernel.exception.SystemException {
363                    _dlFileEntryLocalService.deleteFileEntry(fileEntryId);
364            }
365    
366            public void deleteFileEntry(long userId, long fileEntryId)
367                    throws com.liferay.portal.kernel.exception.PortalException,
368                            com.liferay.portal.kernel.exception.SystemException {
369                    _dlFileEntryLocalService.deleteFileEntry(userId, fileEntryId);
370            }
371    
372            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByAnyImageId(
373                    long imageId)
374                    throws com.liferay.portal.kernel.exception.SystemException {
375                    return _dlFileEntryLocalService.fetchFileEntryByAnyImageId(imageId);
376            }
377    
378            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
379                    int start, int end)
380                    throws com.liferay.portal.kernel.exception.SystemException {
381                    return _dlFileEntryLocalService.getExtraSettingsFileEntries(start, end);
382            }
383    
384            public java.io.File getFile(long userId, long fileEntryId,
385                    java.lang.String version, boolean incrementCounter)
386                    throws com.liferay.portal.kernel.exception.PortalException,
387                            com.liferay.portal.kernel.exception.SystemException {
388                    return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
389                            incrementCounter);
390            }
391    
392            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
393                    java.lang.String version)
394                    throws com.liferay.portal.kernel.exception.PortalException,
395                            com.liferay.portal.kernel.exception.SystemException {
396                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
397                            version);
398            }
399    
400            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
401                    java.lang.String version, boolean incrementCounter)
402                    throws com.liferay.portal.kernel.exception.PortalException,
403                            com.liferay.portal.kernel.exception.SystemException {
404                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
405                            version, incrementCounter);
406            }
407    
408            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
409                    int start, int end)
410                    throws com.liferay.portal.kernel.exception.SystemException {
411                    return _dlFileEntryLocalService.getFileEntries(start, end);
412            }
413    
414            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
415                    long groupId, long folderId, int start, int end,
416                    com.liferay.portal.kernel.util.OrderByComparator obc)
417                    throws com.liferay.portal.kernel.exception.SystemException {
418                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
419                            start, end, obc);
420            }
421    
422            public int getFileEntriesCount()
423                    throws com.liferay.portal.kernel.exception.SystemException {
424                    return _dlFileEntryLocalService.getFileEntriesCount();
425            }
426    
427            public int getFileEntriesCount(long groupId, long folderId)
428                    throws com.liferay.portal.kernel.exception.SystemException {
429                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
430            }
431    
432            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
433                    long fileEntryId)
434                    throws com.liferay.portal.kernel.exception.PortalException,
435                            com.liferay.portal.kernel.exception.SystemException {
436                    return _dlFileEntryLocalService.getFileEntry(fileEntryId);
437            }
438    
439            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
440                    long groupId, long folderId, java.lang.String title)
441                    throws com.liferay.portal.kernel.exception.PortalException,
442                            com.liferay.portal.kernel.exception.SystemException {
443                    return _dlFileEntryLocalService.getFileEntry(groupId, folderId, title);
444            }
445    
446            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
447                    long groupId, long folderId, java.lang.String name)
448                    throws com.liferay.portal.kernel.exception.PortalException,
449                            com.liferay.portal.kernel.exception.SystemException {
450                    return _dlFileEntryLocalService.getFileEntryByName(groupId, folderId,
451                            name);
452            }
453    
454            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
455                    java.lang.String uuid, long groupId)
456                    throws com.liferay.portal.kernel.exception.PortalException,
457                            com.liferay.portal.kernel.exception.SystemException {
458                    return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
459                            groupId);
460            }
461    
462            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
463                    long groupId, int start, int end)
464                    throws com.liferay.portal.kernel.exception.SystemException {
465                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
466            }
467    
468            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
469                    long groupId, int start, int end,
470                    com.liferay.portal.kernel.util.OrderByComparator obc)
471                    throws com.liferay.portal.kernel.exception.SystemException {
472                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
473                            end, obc);
474            }
475    
476            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
477                    long groupId, long userId, int start, int end)
478                    throws com.liferay.portal.kernel.exception.SystemException {
479                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
480                            start, end);
481            }
482    
483            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
484                    long groupId, long userId, int start, int end,
485                    com.liferay.portal.kernel.util.OrderByComparator obc)
486                    throws com.liferay.portal.kernel.exception.SystemException {
487                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
488                            start, end, obc);
489            }
490    
491            public int getGroupFileEntriesCount(long groupId)
492                    throws com.liferay.portal.kernel.exception.SystemException {
493                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
494            }
495    
496            public int getGroupFileEntriesCount(long groupId, long userId)
497                    throws com.liferay.portal.kernel.exception.SystemException {
498                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
499            }
500    
501            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
502                    throws com.liferay.portal.kernel.exception.SystemException {
503                    return _dlFileEntryLocalService.getNoAssetFileEntries();
504            }
505    
506            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries()
507                    throws com.liferay.portal.kernel.exception.SystemException {
508                    return _dlFileEntryLocalService.getOrphanedFileEntries();
509            }
510    
511            public boolean hasExtraSettings()
512                    throws com.liferay.portal.kernel.exception.SystemException {
513                    return _dlFileEntryLocalService.hasExtraSettings();
514            }
515    
516            public boolean hasFileEntryLock(long userId, long fileEntryId)
517                    throws com.liferay.portal.kernel.exception.PortalException,
518                            com.liferay.portal.kernel.exception.SystemException {
519                    return _dlFileEntryLocalService.hasFileEntryLock(userId, fileEntryId);
520            }
521    
522            public boolean isFileEntryCheckedOut(long fileEntryId)
523                    throws com.liferay.portal.kernel.exception.PortalException,
524                            com.liferay.portal.kernel.exception.SystemException {
525                    return _dlFileEntryLocalService.isFileEntryCheckedOut(fileEntryId);
526            }
527    
528            public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
529                    long userId, long fileEntryId, long newFolderId,
530                    com.liferay.portal.service.ServiceContext serviceContext)
531                    throws com.liferay.portal.kernel.exception.PortalException,
532                            com.liferay.portal.kernel.exception.SystemException {
533                    return _dlFileEntryLocalService.moveFileEntry(userId, fileEntryId,
534                            newFolderId, serviceContext);
535            }
536    
537            public void revertFileEntry(long userId, long fileEntryId,
538                    java.lang.String version,
539                    com.liferay.portal.service.ServiceContext serviceContext)
540                    throws com.liferay.portal.kernel.exception.PortalException,
541                            com.liferay.portal.kernel.exception.SystemException {
542                    _dlFileEntryLocalService.revertFileEntry(userId, fileEntryId, version,
543                            serviceContext);
544            }
545    
546            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
547                    long userId, long fileEntryId, java.lang.String sourceFileName,
548                    java.lang.String mimeType, java.lang.String title,
549                    java.lang.String description, java.lang.String changeLog,
550                    boolean majorVersion, long fileEntryTypeId,
551                    java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
552                    java.io.File file, java.io.InputStream is, long size,
553                    com.liferay.portal.service.ServiceContext serviceContext)
554                    throws com.liferay.portal.kernel.exception.PortalException,
555                            com.liferay.portal.kernel.exception.SystemException {
556                    return _dlFileEntryLocalService.updateFileEntry(userId, fileEntryId,
557                            sourceFileName, mimeType, title, description, changeLog,
558                            majorVersion, fileEntryTypeId, fieldsMap, file, is, size,
559                            serviceContext);
560            }
561    
562            public void updateSmallImage(long smallImageId, long largeImageId)
563                    throws com.liferay.portal.kernel.exception.PortalException,
564                            com.liferay.portal.kernel.exception.SystemException {
565                    _dlFileEntryLocalService.updateSmallImage(smallImageId, largeImageId);
566            }
567    
568            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
569                    long userId, long fileVersionId, int status,
570                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
571                    com.liferay.portal.service.ServiceContext serviceContext)
572                    throws com.liferay.portal.kernel.exception.PortalException,
573                            com.liferay.portal.kernel.exception.SystemException {
574                    return _dlFileEntryLocalService.updateStatus(userId, fileVersionId,
575                            status, workflowContext, serviceContext);
576            }
577    
578            public boolean verifyFileEntryCheckOut(long fileEntryId,
579                    java.lang.String lockUuid)
580                    throws com.liferay.portal.kernel.exception.PortalException,
581                            com.liferay.portal.kernel.exception.SystemException {
582                    return _dlFileEntryLocalService.verifyFileEntryCheckOut(fileEntryId,
583                            lockUuid);
584            }
585    
586            public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
587                    return _dlFileEntryLocalService;
588            }
589    
590            public void setWrappedDLFileEntryLocalService(
591                    DLFileEntryLocalService dlFileEntryLocalService) {
592                    _dlFileEntryLocalService = dlFileEntryLocalService;
593            }
594    
595            private DLFileEntryLocalService _dlFileEntryLocalService;
596    }