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