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