001    /**
002     * Copyright (c) 2000-2012 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            /**
332            * @deprecated {@link #checkOutFileEntry(long, long, ServiceContext)}
333            */
334            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
335                    long userId, long fileEntryId)
336                    throws com.liferay.portal.kernel.exception.PortalException,
337                            com.liferay.portal.kernel.exception.SystemException {
338                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId);
339            }
340    
341            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
342                    long userId, long fileEntryId,
343                    com.liferay.portal.service.ServiceContext serviceContext)
344                    throws com.liferay.portal.kernel.exception.PortalException,
345                            com.liferay.portal.kernel.exception.SystemException {
346                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
347                            serviceContext);
348            }
349    
350            /**
351            * @deprecated {@link #checkOutFileEntry(long, long, String, long,
352            ServiceContext)}
353            */
354            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
355                    long userId, long fileEntryId, java.lang.String owner,
356                    long expirationTime)
357                    throws com.liferay.portal.kernel.exception.PortalException,
358                            com.liferay.portal.kernel.exception.SystemException {
359                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
360                            owner, expirationTime);
361            }
362    
363            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
364                    long userId, long fileEntryId, java.lang.String owner,
365                    long expirationTime,
366                    com.liferay.portal.service.ServiceContext serviceContext)
367                    throws com.liferay.portal.kernel.exception.PortalException,
368                            com.liferay.portal.kernel.exception.SystemException {
369                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
370                            owner, expirationTime, serviceContext);
371            }
372    
373            public void convertExtraSettings(java.lang.String[] keys)
374                    throws com.liferay.portal.kernel.exception.PortalException,
375                            com.liferay.portal.kernel.exception.SystemException {
376                    _dlFileEntryLocalService.convertExtraSettings(keys);
377            }
378    
379            public void copyFileEntryMetadata(long companyId, long fileEntryTypeId,
380                    long fileEntryId, long fromFileVersionId, long toFileVersionId,
381                    com.liferay.portal.service.ServiceContext serviceContext)
382                    throws com.liferay.portal.kernel.exception.PortalException,
383                            com.liferay.portal.kernel.exception.SystemException {
384                    _dlFileEntryLocalService.copyFileEntryMetadata(companyId,
385                            fileEntryTypeId, fileEntryId, fromFileVersionId, toFileVersionId,
386                            serviceContext);
387            }
388    
389            public void deleteFileEntries(long groupId, long folderId)
390                    throws com.liferay.portal.kernel.exception.PortalException,
391                            com.liferay.portal.kernel.exception.SystemException {
392                    _dlFileEntryLocalService.deleteFileEntries(groupId, folderId);
393            }
394    
395            public void deleteFileEntry(long fileEntryId)
396                    throws com.liferay.portal.kernel.exception.PortalException,
397                            com.liferay.portal.kernel.exception.SystemException {
398                    _dlFileEntryLocalService.deleteFileEntry(fileEntryId);
399            }
400    
401            public void deleteFileEntry(long userId, long fileEntryId)
402                    throws com.liferay.portal.kernel.exception.PortalException,
403                            com.liferay.portal.kernel.exception.SystemException {
404                    _dlFileEntryLocalService.deleteFileEntry(userId, fileEntryId);
405            }
406    
407            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByAnyImageId(
408                    long imageId)
409                    throws com.liferay.portal.kernel.exception.SystemException {
410                    return _dlFileEntryLocalService.fetchFileEntryByAnyImageId(imageId);
411            }
412    
413            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
414                    int start, int end)
415                    throws com.liferay.portal.kernel.exception.SystemException {
416                    return _dlFileEntryLocalService.getExtraSettingsFileEntries(start, end);
417            }
418    
419            public java.io.File getFile(long userId, long fileEntryId,
420                    java.lang.String version, boolean incrementCounter)
421                    throws com.liferay.portal.kernel.exception.PortalException,
422                            com.liferay.portal.kernel.exception.SystemException {
423                    return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
424                            incrementCounter);
425            }
426    
427            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
428                    java.lang.String version)
429                    throws com.liferay.portal.kernel.exception.PortalException,
430                            com.liferay.portal.kernel.exception.SystemException {
431                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
432                            version);
433            }
434    
435            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
436                    java.lang.String version, boolean incrementCounter)
437                    throws com.liferay.portal.kernel.exception.PortalException,
438                            com.liferay.portal.kernel.exception.SystemException {
439                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
440                            version, incrementCounter);
441            }
442    
443            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
444                    int start, int end)
445                    throws com.liferay.portal.kernel.exception.SystemException {
446                    return _dlFileEntryLocalService.getFileEntries(start, end);
447            }
448    
449            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
450                    long groupId, long folderId, int start, int end,
451                    com.liferay.portal.kernel.util.OrderByComparator obc)
452                    throws com.liferay.portal.kernel.exception.SystemException {
453                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
454                            start, end, obc);
455            }
456    
457            public int getFileEntriesCount()
458                    throws com.liferay.portal.kernel.exception.SystemException {
459                    return _dlFileEntryLocalService.getFileEntriesCount();
460            }
461    
462            public int getFileEntriesCount(long groupId, long folderId)
463                    throws com.liferay.portal.kernel.exception.SystemException {
464                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
465            }
466    
467            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
468                    long fileEntryId)
469                    throws com.liferay.portal.kernel.exception.PortalException,
470                            com.liferay.portal.kernel.exception.SystemException {
471                    return _dlFileEntryLocalService.getFileEntry(fileEntryId);
472            }
473    
474            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
475                    long groupId, long folderId, java.lang.String title)
476                    throws com.liferay.portal.kernel.exception.PortalException,
477                            com.liferay.portal.kernel.exception.SystemException {
478                    return _dlFileEntryLocalService.getFileEntry(groupId, folderId, title);
479            }
480    
481            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
482                    long groupId, long folderId, java.lang.String name)
483                    throws com.liferay.portal.kernel.exception.PortalException,
484                            com.liferay.portal.kernel.exception.SystemException {
485                    return _dlFileEntryLocalService.getFileEntryByName(groupId, folderId,
486                            name);
487            }
488    
489            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
490                    java.lang.String uuid, long groupId)
491                    throws com.liferay.portal.kernel.exception.PortalException,
492                            com.liferay.portal.kernel.exception.SystemException {
493                    return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
494                            groupId);
495            }
496    
497            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
498                    long groupId, int start, int end)
499                    throws com.liferay.portal.kernel.exception.SystemException {
500                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
501            }
502    
503            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
504                    long groupId, int start, int end,
505                    com.liferay.portal.kernel.util.OrderByComparator obc)
506                    throws com.liferay.portal.kernel.exception.SystemException {
507                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
508                            end, obc);
509            }
510    
511            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
512                    long groupId, long userId, int start, int end)
513                    throws com.liferay.portal.kernel.exception.SystemException {
514                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
515                            start, end);
516            }
517    
518            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
519                    long groupId, long userId, int start, int end,
520                    com.liferay.portal.kernel.util.OrderByComparator obc)
521                    throws com.liferay.portal.kernel.exception.SystemException {
522                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
523                            start, end, obc);
524            }
525    
526            public int getGroupFileEntriesCount(long groupId)
527                    throws com.liferay.portal.kernel.exception.SystemException {
528                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
529            }
530    
531            public int getGroupFileEntriesCount(long groupId, long userId)
532                    throws com.liferay.portal.kernel.exception.SystemException {
533                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
534            }
535    
536            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
537                    throws com.liferay.portal.kernel.exception.SystemException {
538                    return _dlFileEntryLocalService.getNoAssetFileEntries();
539            }
540    
541            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries()
542                    throws com.liferay.portal.kernel.exception.SystemException {
543                    return _dlFileEntryLocalService.getOrphanedFileEntries();
544            }
545    
546            public boolean hasExtraSettings()
547                    throws com.liferay.portal.kernel.exception.SystemException {
548                    return _dlFileEntryLocalService.hasExtraSettings();
549            }
550    
551            public boolean hasFileEntryLock(long userId, long fileEntryId)
552                    throws com.liferay.portal.kernel.exception.PortalException,
553                            com.liferay.portal.kernel.exception.SystemException {
554                    return _dlFileEntryLocalService.hasFileEntryLock(userId, fileEntryId);
555            }
556    
557            public boolean isFileEntryCheckedOut(long fileEntryId)
558                    throws com.liferay.portal.kernel.exception.PortalException,
559                            com.liferay.portal.kernel.exception.SystemException {
560                    return _dlFileEntryLocalService.isFileEntryCheckedOut(fileEntryId);
561            }
562    
563            public com.liferay.portal.model.Lock lockFileEntry(long userId,
564                    long fileEntryId)
565                    throws com.liferay.portal.kernel.exception.PortalException,
566                            com.liferay.portal.kernel.exception.SystemException {
567                    return _dlFileEntryLocalService.lockFileEntry(userId, fileEntryId);
568            }
569    
570            public com.liferay.portal.model.Lock lockFileEntry(long userId,
571                    long fileEntryId, java.lang.String owner, long expirationTime)
572                    throws com.liferay.portal.kernel.exception.PortalException,
573                            com.liferay.portal.kernel.exception.SystemException {
574                    return _dlFileEntryLocalService.lockFileEntry(userId, fileEntryId,
575                            owner, expirationTime);
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 void unlockFileEntry(long fileEntryId)
597                    throws com.liferay.portal.kernel.exception.SystemException {
598                    _dlFileEntryLocalService.unlockFileEntry(fileEntryId);
599            }
600    
601            public void unlockFileEntry(long fileEntryId, java.lang.String lockUuid)
602                    throws com.liferay.portal.kernel.exception.PortalException,
603                            com.liferay.portal.kernel.exception.SystemException {
604                    _dlFileEntryLocalService.unlockFileEntry(fileEntryId, lockUuid);
605            }
606    
607            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
608                    long userId, long fileEntryId, java.lang.String sourceFileName,
609                    java.lang.String mimeType, java.lang.String title,
610                    java.lang.String description, java.lang.String changeLog,
611                    boolean majorVersion, long fileEntryTypeId,
612                    java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
613                    java.io.File file, java.io.InputStream is, long size,
614                    com.liferay.portal.service.ServiceContext serviceContext)
615                    throws com.liferay.portal.kernel.exception.PortalException,
616                            com.liferay.portal.kernel.exception.SystemException {
617                    return _dlFileEntryLocalService.updateFileEntry(userId, fileEntryId,
618                            sourceFileName, mimeType, title, description, changeLog,
619                            majorVersion, fileEntryTypeId, fieldsMap, file, is, size,
620                            serviceContext);
621            }
622    
623            public void updateSmallImage(long smallImageId, long largeImageId)
624                    throws com.liferay.portal.kernel.exception.PortalException,
625                            com.liferay.portal.kernel.exception.SystemException {
626                    _dlFileEntryLocalService.updateSmallImage(smallImageId, largeImageId);
627            }
628    
629            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
630                    long userId, long fileVersionId, int status,
631                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
632                    com.liferay.portal.service.ServiceContext serviceContext)
633                    throws com.liferay.portal.kernel.exception.PortalException,
634                            com.liferay.portal.kernel.exception.SystemException {
635                    return _dlFileEntryLocalService.updateStatus(userId, fileVersionId,
636                            status, workflowContext, serviceContext);
637            }
638    
639            public boolean verifyFileEntryCheckOut(long fileEntryId,
640                    java.lang.String lockUuid)
641                    throws com.liferay.portal.kernel.exception.PortalException,
642                            com.liferay.portal.kernel.exception.SystemException {
643                    return _dlFileEntryLocalService.verifyFileEntryCheckOut(fileEntryId,
644                            lockUuid);
645            }
646    
647            public boolean verifyFileEntryLock(long fileEntryId,
648                    java.lang.String lockUuid)
649                    throws com.liferay.portal.kernel.exception.PortalException,
650                            com.liferay.portal.kernel.exception.SystemException {
651                    return _dlFileEntryLocalService.verifyFileEntryLock(fileEntryId,
652                            lockUuid);
653            }
654    
655            /**
656             * @deprecated Renamed to {@link #getWrappedService}
657             */
658            public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
659                    return _dlFileEntryLocalService;
660            }
661    
662            /**
663             * @deprecated Renamed to {@link #setWrappedService}
664             */
665            public void setWrappedDLFileEntryLocalService(
666                    DLFileEntryLocalService dlFileEntryLocalService) {
667                    _dlFileEntryLocalService = dlFileEntryLocalService;
668            }
669    
670            public DLFileEntryLocalService getWrappedService() {
671                    return _dlFileEntryLocalService;
672            }
673    
674            public void setWrappedService(
675                    DLFileEntryLocalService dlFileEntryLocalService) {
676                    _dlFileEntryLocalService = dlFileEntryLocalService;
677            }
678    
679            private DLFileEntryLocalService _dlFileEntryLocalService;
680    }