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.
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.
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 with the UUID in the group.
192            *
193            * @param uuid the UUID of document library file entry
194            * @param groupId the group id of the document library file entry
195            * @return the document library file entry
196            * @throws PortalException if a document library file entry with the UUID in the group 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.
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            * Updates the document library file entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
251            *
252            * @param dlFileEntry the document library file entry
253            * @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.
254            * @return the document library file entry that was updated
255            * @throws SystemException if a system exception occurred
256            */
257            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
258                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
259                    boolean merge)
260                    throws com.liferay.portal.kernel.exception.SystemException {
261                    return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry, merge);
262            }
263    
264            /**
265            * Returns the Spring bean ID for this bean.
266            *
267            * @return the Spring bean ID for this bean
268            */
269            public java.lang.String getBeanIdentifier() {
270                    return _dlFileEntryLocalService.getBeanIdentifier();
271            }
272    
273            /**
274            * Sets the Spring bean ID for this bean.
275            *
276            * @param beanIdentifier the Spring bean ID for this bean
277            */
278            public void setBeanIdentifier(java.lang.String beanIdentifier) {
279                    _dlFileEntryLocalService.setBeanIdentifier(beanIdentifier);
280            }
281    
282            public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
283                    long userId, long groupId, long repositoryId, long folderId,
284                    java.lang.String sourceFileName, java.lang.String mimeType,
285                    java.lang.String title, java.lang.String description,
286                    java.lang.String changeLog, long fileEntryTypeId,
287                    java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
288                    java.io.File file, java.io.InputStream is, long size,
289                    com.liferay.portal.service.ServiceContext serviceContext)
290                    throws com.liferay.portal.kernel.exception.PortalException,
291                            com.liferay.portal.kernel.exception.SystemException {
292                    return _dlFileEntryLocalService.addFileEntry(userId, groupId,
293                            repositoryId, folderId, sourceFileName, mimeType, title,
294                            description, changeLog, fileEntryTypeId, fieldsMap, file, is, size,
295                            serviceContext);
296            }
297    
298            public com.liferay.portlet.documentlibrary.model.DLFileVersion cancelCheckOut(
299                    long userId, long fileEntryId)
300                    throws com.liferay.portal.kernel.exception.PortalException,
301                            com.liferay.portal.kernel.exception.SystemException {
302                    return _dlFileEntryLocalService.cancelCheckOut(userId, fileEntryId);
303            }
304    
305            public void checkInFileEntry(long userId, long fileEntryId,
306                    boolean majorVersion, java.lang.String changeLog,
307                    com.liferay.portal.service.ServiceContext serviceContext)
308                    throws com.liferay.portal.kernel.exception.PortalException,
309                            com.liferay.portal.kernel.exception.SystemException {
310                    _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId,
311                            majorVersion, changeLog, serviceContext);
312            }
313    
314            public void checkInFileEntry(long userId, long fileEntryId,
315                    java.lang.String lockUuid)
316                    throws com.liferay.portal.kernel.exception.PortalException,
317                            com.liferay.portal.kernel.exception.SystemException {
318                    _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId, lockUuid);
319            }
320    
321            /**
322            * @deprecated {@link #checkOutFileEntry(long, long, ServiceContext)}
323            */
324            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
325                    long userId, long fileEntryId)
326                    throws com.liferay.portal.kernel.exception.PortalException,
327                            com.liferay.portal.kernel.exception.SystemException {
328                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId);
329            }
330    
331            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
332                    long userId, long fileEntryId,
333                    com.liferay.portal.service.ServiceContext serviceContext)
334                    throws com.liferay.portal.kernel.exception.PortalException,
335                            com.liferay.portal.kernel.exception.SystemException {
336                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
337                            serviceContext);
338            }
339    
340            /**
341            * @deprecated {@link #checkOutFileEntry(long, long, String, long,
342            ServiceContext)}
343            */
344            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
345                    long userId, long fileEntryId, java.lang.String owner,
346                    long expirationTime)
347                    throws com.liferay.portal.kernel.exception.PortalException,
348                            com.liferay.portal.kernel.exception.SystemException {
349                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
350                            owner, expirationTime);
351            }
352    
353            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
354                    long userId, long fileEntryId, java.lang.String owner,
355                    long expirationTime,
356                    com.liferay.portal.service.ServiceContext serviceContext)
357                    throws com.liferay.portal.kernel.exception.PortalException,
358                            com.liferay.portal.kernel.exception.SystemException {
359                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
360                            owner, expirationTime, serviceContext);
361            }
362    
363            public void convertExtraSettings(java.lang.String[] keys)
364                    throws com.liferay.portal.kernel.exception.PortalException,
365                            com.liferay.portal.kernel.exception.SystemException {
366                    _dlFileEntryLocalService.convertExtraSettings(keys);
367            }
368    
369            public void copyFileEntryMetadata(long companyId, long fileEntryTypeId,
370                    long fileEntryId, long fromFileVersionId, long toFileVersionId,
371                    com.liferay.portal.service.ServiceContext serviceContext)
372                    throws com.liferay.portal.kernel.exception.PortalException,
373                            com.liferay.portal.kernel.exception.SystemException {
374                    _dlFileEntryLocalService.copyFileEntryMetadata(companyId,
375                            fileEntryTypeId, fileEntryId, fromFileVersionId, toFileVersionId,
376                            serviceContext);
377            }
378    
379            public void deleteFileEntries(long groupId, long folderId)
380                    throws com.liferay.portal.kernel.exception.PortalException,
381                            com.liferay.portal.kernel.exception.SystemException {
382                    _dlFileEntryLocalService.deleteFileEntries(groupId, folderId);
383            }
384    
385            public void deleteFileEntry(long fileEntryId)
386                    throws com.liferay.portal.kernel.exception.PortalException,
387                            com.liferay.portal.kernel.exception.SystemException {
388                    _dlFileEntryLocalService.deleteFileEntry(fileEntryId);
389            }
390    
391            public void deleteFileEntry(long userId, long fileEntryId)
392                    throws com.liferay.portal.kernel.exception.PortalException,
393                            com.liferay.portal.kernel.exception.SystemException {
394                    _dlFileEntryLocalService.deleteFileEntry(userId, fileEntryId);
395            }
396    
397            public void deleteFileVersion(long userId, long fileEntryId,
398                    java.lang.String version)
399                    throws com.liferay.portal.kernel.exception.PortalException,
400                            com.liferay.portal.kernel.exception.SystemException {
401                    _dlFileEntryLocalService.deleteFileVersion(userId, fileEntryId, version);
402            }
403    
404            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByAnyImageId(
405                    long imageId)
406                    throws com.liferay.portal.kernel.exception.SystemException {
407                    return _dlFileEntryLocalService.fetchFileEntryByAnyImageId(imageId);
408            }
409    
410            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByName(
411                    long groupId, long folderId, java.lang.String name)
412                    throws com.liferay.portal.kernel.exception.SystemException {
413                    return _dlFileEntryLocalService.fetchFileEntryByName(groupId, folderId,
414                            name);
415            }
416    
417            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
418                    int start, int end)
419                    throws com.liferay.portal.kernel.exception.SystemException {
420                    return _dlFileEntryLocalService.getExtraSettingsFileEntries(start, end);
421            }
422    
423            public java.io.File getFile(long userId, long fileEntryId,
424                    java.lang.String version, boolean incrementCounter)
425                    throws com.liferay.portal.kernel.exception.PortalException,
426                            com.liferay.portal.kernel.exception.SystemException {
427                    return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
428                            incrementCounter);
429            }
430    
431            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
432                    java.lang.String version)
433                    throws com.liferay.portal.kernel.exception.PortalException,
434                            com.liferay.portal.kernel.exception.SystemException {
435                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
436                            version);
437            }
438    
439            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
440                    java.lang.String version, boolean incrementCounter)
441                    throws com.liferay.portal.kernel.exception.PortalException,
442                            com.liferay.portal.kernel.exception.SystemException {
443                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
444                            version, incrementCounter);
445            }
446    
447            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
448                    int start, int end)
449                    throws com.liferay.portal.kernel.exception.SystemException {
450                    return _dlFileEntryLocalService.getFileEntries(start, end);
451            }
452    
453            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
454                    long groupId, long folderId, int start, int end,
455                    com.liferay.portal.kernel.util.OrderByComparator obc)
456                    throws com.liferay.portal.kernel.exception.SystemException {
457                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
458                            start, end, obc);
459            }
460    
461            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
462                    long folderId, java.lang.String name)
463                    throws com.liferay.portal.kernel.exception.SystemException {
464                    return _dlFileEntryLocalService.getFileEntries(folderId, name);
465            }
466    
467            public int getFileEntriesCount()
468                    throws com.liferay.portal.kernel.exception.SystemException {
469                    return _dlFileEntryLocalService.getFileEntriesCount();
470            }
471    
472            public int getFileEntriesCount(long groupId, long folderId)
473                    throws com.liferay.portal.kernel.exception.SystemException {
474                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
475            }
476    
477            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
478                    long fileEntryId)
479                    throws com.liferay.portal.kernel.exception.PortalException,
480                            com.liferay.portal.kernel.exception.SystemException {
481                    return _dlFileEntryLocalService.getFileEntry(fileEntryId);
482            }
483    
484            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
485                    long groupId, long folderId, java.lang.String title)
486                    throws com.liferay.portal.kernel.exception.PortalException,
487                            com.liferay.portal.kernel.exception.SystemException {
488                    return _dlFileEntryLocalService.getFileEntry(groupId, folderId, title);
489            }
490    
491            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
492                    long groupId, long folderId, java.lang.String name)
493                    throws com.liferay.portal.kernel.exception.PortalException,
494                            com.liferay.portal.kernel.exception.SystemException {
495                    return _dlFileEntryLocalService.getFileEntryByName(groupId, folderId,
496                            name);
497            }
498    
499            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
500                    java.lang.String uuid, long groupId)
501                    throws com.liferay.portal.kernel.exception.PortalException,
502                            com.liferay.portal.kernel.exception.SystemException {
503                    return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
504                            groupId);
505            }
506    
507            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
508                    long groupId, int start, int end)
509                    throws com.liferay.portal.kernel.exception.SystemException {
510                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
511            }
512    
513            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
514                    long groupId, int start, int end,
515                    com.liferay.portal.kernel.util.OrderByComparator obc)
516                    throws com.liferay.portal.kernel.exception.SystemException {
517                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
518                            end, obc);
519            }
520    
521            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
522                    long groupId, long userId, int start, int end)
523                    throws com.liferay.portal.kernel.exception.SystemException {
524                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
525                            start, end);
526            }
527    
528            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
529                    long groupId, long userId, int start, int end,
530                    com.liferay.portal.kernel.util.OrderByComparator obc)
531                    throws com.liferay.portal.kernel.exception.SystemException {
532                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
533                            start, end, obc);
534            }
535    
536            public int getGroupFileEntriesCount(long groupId)
537                    throws com.liferay.portal.kernel.exception.SystemException {
538                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
539            }
540    
541            public int getGroupFileEntriesCount(long groupId, long userId)
542                    throws com.liferay.portal.kernel.exception.SystemException {
543                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
544            }
545    
546            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries()
547                    throws com.liferay.portal.kernel.exception.SystemException {
548                    return _dlFileEntryLocalService.getMisversionedFileEntries();
549            }
550    
551            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
552                    throws com.liferay.portal.kernel.exception.SystemException {
553                    return _dlFileEntryLocalService.getNoAssetFileEntries();
554            }
555    
556            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries()
557                    throws com.liferay.portal.kernel.exception.SystemException {
558                    return _dlFileEntryLocalService.getOrphanedFileEntries();
559            }
560    
561            public boolean hasExtraSettings()
562                    throws com.liferay.portal.kernel.exception.SystemException {
563                    return _dlFileEntryLocalService.hasExtraSettings();
564            }
565    
566            public boolean hasFileEntryLock(long userId, long fileEntryId)
567                    throws com.liferay.portal.kernel.exception.PortalException,
568                            com.liferay.portal.kernel.exception.SystemException {
569                    return _dlFileEntryLocalService.hasFileEntryLock(userId, fileEntryId);
570            }
571    
572            public boolean isFileEntryCheckedOut(long fileEntryId)
573                    throws com.liferay.portal.kernel.exception.PortalException,
574                            com.liferay.portal.kernel.exception.SystemException {
575                    return _dlFileEntryLocalService.isFileEntryCheckedOut(fileEntryId);
576            }
577    
578            public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
579                    long userId, long fileEntryId, long newFolderId,
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.moveFileEntry(userId, fileEntryId,
584                            newFolderId, serviceContext);
585            }
586    
587            public void revertFileEntry(long userId, long fileEntryId,
588                    java.lang.String version,
589                    com.liferay.portal.service.ServiceContext serviceContext)
590                    throws com.liferay.portal.kernel.exception.PortalException,
591                            com.liferay.portal.kernel.exception.SystemException {
592                    _dlFileEntryLocalService.revertFileEntry(userId, fileEntryId, version,
593                            serviceContext);
594            }
595    
596            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
597                    long userId, long fileEntryId, java.lang.String sourceFileName,
598                    java.lang.String mimeType, java.lang.String title,
599                    java.lang.String description, java.lang.String changeLog,
600                    boolean majorVersion, long fileEntryTypeId,
601                    java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
602                    java.io.File file, java.io.InputStream is, long size,
603                    com.liferay.portal.service.ServiceContext serviceContext)
604                    throws com.liferay.portal.kernel.exception.PortalException,
605                            com.liferay.portal.kernel.exception.SystemException {
606                    return _dlFileEntryLocalService.updateFileEntry(userId, fileEntryId,
607                            sourceFileName, mimeType, title, description, changeLog,
608                            majorVersion, fileEntryTypeId, fieldsMap, file, is, size,
609                            serviceContext);
610            }
611    
612            public void updateSmallImage(long smallImageId, long largeImageId)
613                    throws com.liferay.portal.kernel.exception.PortalException,
614                            com.liferay.portal.kernel.exception.SystemException {
615                    _dlFileEntryLocalService.updateSmallImage(smallImageId, largeImageId);
616            }
617    
618            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
619                    long userId, long fileVersionId, int status,
620                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
621                    com.liferay.portal.service.ServiceContext serviceContext)
622                    throws com.liferay.portal.kernel.exception.PortalException,
623                            com.liferay.portal.kernel.exception.SystemException {
624                    return _dlFileEntryLocalService.updateStatus(userId, fileVersionId,
625                            status, workflowContext, serviceContext);
626            }
627    
628            public boolean verifyFileEntryCheckOut(long fileEntryId,
629                    java.lang.String lockUuid)
630                    throws com.liferay.portal.kernel.exception.PortalException,
631                            com.liferay.portal.kernel.exception.SystemException {
632                    return _dlFileEntryLocalService.verifyFileEntryCheckOut(fileEntryId,
633                            lockUuid);
634            }
635    
636            public boolean verifyFileEntryLock(long fileEntryId,
637                    java.lang.String lockUuid)
638                    throws com.liferay.portal.kernel.exception.PortalException,
639                            com.liferay.portal.kernel.exception.SystemException {
640                    return _dlFileEntryLocalService.verifyFileEntryLock(fileEntryId,
641                            lockUuid);
642            }
643    
644            /**
645             * @deprecated Renamed to {@link #getWrappedService}
646             */
647            public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
648                    return _dlFileEntryLocalService;
649            }
650    
651            /**
652             * @deprecated Renamed to {@link #setWrappedService}
653             */
654            public void setWrappedDLFileEntryLocalService(
655                    DLFileEntryLocalService dlFileEntryLocalService) {
656                    _dlFileEntryLocalService = dlFileEntryLocalService;
657            }
658    
659            public DLFileEntryLocalService getWrappedService() {
660                    return _dlFileEntryLocalService;
661            }
662    
663            public void setWrappedService(
664                    DLFileEntryLocalService dlFileEntryLocalService) {
665                    _dlFileEntryLocalService = dlFileEntryLocalService;
666            }
667    
668            private DLFileEntryLocalService _dlFileEntryLocalService;
669    }