001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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 void addFileEntryResources(
299                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
300                    boolean addGroupPermissions, boolean addGuestPermissions)
301                    throws com.liferay.portal.kernel.exception.PortalException,
302                            com.liferay.portal.kernel.exception.SystemException {
303                    _dlFileEntryLocalService.addFileEntryResources(dlFileEntry,
304                            addGroupPermissions, addGuestPermissions);
305            }
306    
307            public void addFileEntryResources(
308                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
309                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
310                    throws com.liferay.portal.kernel.exception.PortalException,
311                            com.liferay.portal.kernel.exception.SystemException {
312                    _dlFileEntryLocalService.addFileEntryResources(dlFileEntry,
313                            groupPermissions, guestPermissions);
314            }
315    
316            public com.liferay.portlet.documentlibrary.model.DLFileVersion cancelCheckOut(
317                    long userId, long fileEntryId)
318                    throws com.liferay.portal.kernel.exception.PortalException,
319                            com.liferay.portal.kernel.exception.SystemException {
320                    return _dlFileEntryLocalService.cancelCheckOut(userId, fileEntryId);
321            }
322    
323            public void checkInFileEntry(long userId, long fileEntryId,
324                    boolean majorVersion, java.lang.String changeLog,
325                    com.liferay.portal.service.ServiceContext serviceContext)
326                    throws com.liferay.portal.kernel.exception.PortalException,
327                            com.liferay.portal.kernel.exception.SystemException {
328                    _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId,
329                            majorVersion, changeLog, serviceContext);
330            }
331    
332            public void checkInFileEntry(long userId, long fileEntryId,
333                    java.lang.String lockUuid)
334                    throws com.liferay.portal.kernel.exception.PortalException,
335                            com.liferay.portal.kernel.exception.SystemException {
336                    _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId, lockUuid);
337            }
338    
339            /**
340            * @deprecated {@link #checkOutFileEntry(long, long, ServiceContext)}
341            */
342            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
343                    long userId, long fileEntryId)
344                    throws com.liferay.portal.kernel.exception.PortalException,
345                            com.liferay.portal.kernel.exception.SystemException {
346                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId);
347            }
348    
349            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
350                    long userId, long fileEntryId,
351                    com.liferay.portal.service.ServiceContext serviceContext)
352                    throws com.liferay.portal.kernel.exception.PortalException,
353                            com.liferay.portal.kernel.exception.SystemException {
354                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
355                            serviceContext);
356            }
357    
358            /**
359            * @deprecated {@link #checkOutFileEntry(long, long, String, long,
360            ServiceContext)}
361            */
362            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
363                    long userId, long fileEntryId, java.lang.String owner,
364                    long expirationTime)
365                    throws com.liferay.portal.kernel.exception.PortalException,
366                            com.liferay.portal.kernel.exception.SystemException {
367                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
368                            owner, expirationTime);
369            }
370    
371            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
372                    long userId, long fileEntryId, java.lang.String owner,
373                    long expirationTime,
374                    com.liferay.portal.service.ServiceContext serviceContext)
375                    throws com.liferay.portal.kernel.exception.PortalException,
376                            com.liferay.portal.kernel.exception.SystemException {
377                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
378                            owner, expirationTime, serviceContext);
379            }
380    
381            public void convertExtraSettings(java.lang.String[] keys)
382                    throws com.liferay.portal.kernel.exception.PortalException,
383                            com.liferay.portal.kernel.exception.SystemException {
384                    _dlFileEntryLocalService.convertExtraSettings(keys);
385            }
386    
387            public void copyFileEntryMetadata(long companyId, long fileEntryTypeId,
388                    long fileEntryId, long fromFileVersionId, long toFileVersionId,
389                    com.liferay.portal.service.ServiceContext serviceContext)
390                    throws com.liferay.portal.kernel.exception.PortalException,
391                            com.liferay.portal.kernel.exception.SystemException {
392                    _dlFileEntryLocalService.copyFileEntryMetadata(companyId,
393                            fileEntryTypeId, fileEntryId, fromFileVersionId, toFileVersionId,
394                            serviceContext);
395            }
396    
397            public void deleteFileEntries(long groupId, long folderId)
398                    throws com.liferay.portal.kernel.exception.PortalException,
399                            com.liferay.portal.kernel.exception.SystemException {
400                    _dlFileEntryLocalService.deleteFileEntries(groupId, folderId);
401            }
402    
403            public void deleteFileEntry(long fileEntryId)
404                    throws com.liferay.portal.kernel.exception.PortalException,
405                            com.liferay.portal.kernel.exception.SystemException {
406                    _dlFileEntryLocalService.deleteFileEntry(fileEntryId);
407            }
408    
409            public void deleteFileEntry(long userId, long fileEntryId)
410                    throws com.liferay.portal.kernel.exception.PortalException,
411                            com.liferay.portal.kernel.exception.SystemException {
412                    _dlFileEntryLocalService.deleteFileEntry(userId, fileEntryId);
413            }
414    
415            public void deleteFileVersion(long userId, long fileEntryId,
416                    java.lang.String version)
417                    throws com.liferay.portal.kernel.exception.PortalException,
418                            com.liferay.portal.kernel.exception.SystemException {
419                    _dlFileEntryLocalService.deleteFileVersion(userId, fileEntryId, version);
420            }
421    
422            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByAnyImageId(
423                    long imageId)
424                    throws com.liferay.portal.kernel.exception.SystemException {
425                    return _dlFileEntryLocalService.fetchFileEntryByAnyImageId(imageId);
426            }
427    
428            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
429                    int start, int end)
430                    throws com.liferay.portal.kernel.exception.SystemException {
431                    return _dlFileEntryLocalService.getExtraSettingsFileEntries(start, end);
432            }
433    
434            public java.io.File getFile(long userId, long fileEntryId,
435                    java.lang.String version, boolean incrementCounter)
436                    throws com.liferay.portal.kernel.exception.PortalException,
437                            com.liferay.portal.kernel.exception.SystemException {
438                    return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
439                            incrementCounter);
440            }
441    
442            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
443                    java.lang.String version)
444                    throws com.liferay.portal.kernel.exception.PortalException,
445                            com.liferay.portal.kernel.exception.SystemException {
446                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
447                            version);
448            }
449    
450            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
451                    java.lang.String version, boolean incrementCounter)
452                    throws com.liferay.portal.kernel.exception.PortalException,
453                            com.liferay.portal.kernel.exception.SystemException {
454                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
455                            version, incrementCounter);
456            }
457    
458            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
459                    int start, int end)
460                    throws com.liferay.portal.kernel.exception.SystemException {
461                    return _dlFileEntryLocalService.getFileEntries(start, end);
462            }
463    
464            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
465                    long groupId, long folderId, int start, int end,
466                    com.liferay.portal.kernel.util.OrderByComparator obc)
467                    throws com.liferay.portal.kernel.exception.SystemException {
468                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
469                            start, end, obc);
470            }
471    
472            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntriesByMimeType(
473                    java.lang.String mimeType)
474                    throws com.liferay.portal.kernel.exception.SystemException {
475                    return _dlFileEntryLocalService.getFileEntriesByMimeType(mimeType);
476            }
477    
478            public int getFileEntriesCount()
479                    throws com.liferay.portal.kernel.exception.SystemException {
480                    return _dlFileEntryLocalService.getFileEntriesCount();
481            }
482    
483            public int getFileEntriesCount(long groupId, long folderId)
484                    throws com.liferay.portal.kernel.exception.SystemException {
485                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
486            }
487    
488            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
489                    long fileEntryId)
490                    throws com.liferay.portal.kernel.exception.PortalException,
491                            com.liferay.portal.kernel.exception.SystemException {
492                    return _dlFileEntryLocalService.getFileEntry(fileEntryId);
493            }
494    
495            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
496                    long groupId, long folderId, java.lang.String title)
497                    throws com.liferay.portal.kernel.exception.PortalException,
498                            com.liferay.portal.kernel.exception.SystemException {
499                    return _dlFileEntryLocalService.getFileEntry(groupId, folderId, title);
500            }
501    
502            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
503                    long groupId, long folderId, java.lang.String name)
504                    throws com.liferay.portal.kernel.exception.PortalException,
505                            com.liferay.portal.kernel.exception.SystemException {
506                    return _dlFileEntryLocalService.getFileEntryByName(groupId, folderId,
507                            name);
508            }
509    
510            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
511                    java.lang.String uuid, long groupId)
512                    throws com.liferay.portal.kernel.exception.PortalException,
513                            com.liferay.portal.kernel.exception.SystemException {
514                    return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
515                            groupId);
516            }
517    
518            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
519                    long groupId, int start, int end)
520                    throws com.liferay.portal.kernel.exception.SystemException {
521                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
522            }
523    
524            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
525                    long groupId, int start, int end,
526                    com.liferay.portal.kernel.util.OrderByComparator obc)
527                    throws com.liferay.portal.kernel.exception.SystemException {
528                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
529                            end, obc);
530            }
531    
532            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
533                    long groupId, long userId, int start, int end)
534                    throws com.liferay.portal.kernel.exception.SystemException {
535                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
536                            start, end);
537            }
538    
539            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
540                    long groupId, long userId, int start, int end,
541                    com.liferay.portal.kernel.util.OrderByComparator obc)
542                    throws com.liferay.portal.kernel.exception.SystemException {
543                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
544                            start, end, obc);
545            }
546    
547            public int getGroupFileEntriesCount(long groupId)
548                    throws com.liferay.portal.kernel.exception.SystemException {
549                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
550            }
551    
552            public int getGroupFileEntriesCount(long groupId, long userId)
553                    throws com.liferay.portal.kernel.exception.SystemException {
554                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
555            }
556    
557            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries()
558                    throws com.liferay.portal.kernel.exception.SystemException {
559                    return _dlFileEntryLocalService.getMisversionedFileEntries();
560            }
561    
562            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
563                    throws com.liferay.portal.kernel.exception.SystemException {
564                    return _dlFileEntryLocalService.getNoAssetFileEntries();
565            }
566    
567            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries()
568                    throws com.liferay.portal.kernel.exception.SystemException {
569                    return _dlFileEntryLocalService.getOrphanedFileEntries();
570            }
571    
572            public boolean hasExtraSettings()
573                    throws com.liferay.portal.kernel.exception.SystemException {
574                    return _dlFileEntryLocalService.hasExtraSettings();
575            }
576    
577            public boolean hasFileEntryLock(long userId, long fileEntryId)
578                    throws com.liferay.portal.kernel.exception.PortalException,
579                            com.liferay.portal.kernel.exception.SystemException {
580                    return _dlFileEntryLocalService.hasFileEntryLock(userId, fileEntryId);
581            }
582    
583            public boolean isFileEntryCheckedOut(long fileEntryId)
584                    throws com.liferay.portal.kernel.exception.PortalException,
585                            com.liferay.portal.kernel.exception.SystemException {
586                    return _dlFileEntryLocalService.isFileEntryCheckedOut(fileEntryId);
587            }
588    
589            public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
590                    long userId, long fileEntryId, long newFolderId,
591                    com.liferay.portal.service.ServiceContext serviceContext)
592                    throws com.liferay.portal.kernel.exception.PortalException,
593                            com.liferay.portal.kernel.exception.SystemException {
594                    return _dlFileEntryLocalService.moveFileEntry(userId, fileEntryId,
595                            newFolderId, serviceContext);
596            }
597    
598            public void revertFileEntry(long userId, long fileEntryId,
599                    java.lang.String version,
600                    com.liferay.portal.service.ServiceContext serviceContext)
601                    throws com.liferay.portal.kernel.exception.PortalException,
602                            com.liferay.portal.kernel.exception.SystemException {
603                    _dlFileEntryLocalService.revertFileEntry(userId, fileEntryId, version,
604                            serviceContext);
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    }