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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 int getFileEntriesCount()
518                    throws com.liferay.portal.kernel.exception.SystemException {
519                    return _dlFileEntryLocalService.getFileEntriesCount();
520            }
521    
522            public int getFileEntriesCount(long groupId, long folderId)
523                    throws com.liferay.portal.kernel.exception.SystemException {
524                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
525            }
526    
527            public int getFileEntriesCount(long groupId, long folderId, int status)
528                    throws com.liferay.portal.kernel.exception.SystemException {
529                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId,
530                            status);
531            }
532    
533            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
534                    long fileEntryId)
535                    throws com.liferay.portal.kernel.exception.PortalException,
536                            com.liferay.portal.kernel.exception.SystemException {
537                    return _dlFileEntryLocalService.getFileEntry(fileEntryId);
538            }
539    
540            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
541                    long groupId, long folderId, java.lang.String title)
542                    throws com.liferay.portal.kernel.exception.PortalException,
543                            com.liferay.portal.kernel.exception.SystemException {
544                    return _dlFileEntryLocalService.getFileEntry(groupId, folderId, title);
545            }
546    
547            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
548                    long groupId, long folderId, java.lang.String name)
549                    throws com.liferay.portal.kernel.exception.PortalException,
550                            com.liferay.portal.kernel.exception.SystemException {
551                    return _dlFileEntryLocalService.getFileEntryByName(groupId, folderId,
552                            name);
553            }
554    
555            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
556                    java.lang.String uuid, long groupId)
557                    throws com.liferay.portal.kernel.exception.PortalException,
558                            com.liferay.portal.kernel.exception.SystemException {
559                    return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
560                            groupId);
561            }
562    
563            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
564                    long groupId, int start, int end)
565                    throws com.liferay.portal.kernel.exception.SystemException {
566                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
567            }
568    
569            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
570                    long groupId, int start, int end,
571                    com.liferay.portal.kernel.util.OrderByComparator obc)
572                    throws com.liferay.portal.kernel.exception.SystemException {
573                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
574                            end, obc);
575            }
576    
577            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
578                    long groupId, long userId, int start, int end)
579                    throws com.liferay.portal.kernel.exception.SystemException {
580                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
581                            start, end);
582            }
583    
584            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
585                    long groupId, long userId, int start, int end,
586                    com.liferay.portal.kernel.util.OrderByComparator obc)
587                    throws com.liferay.portal.kernel.exception.SystemException {
588                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
589                            start, end, obc);
590            }
591    
592            public int getGroupFileEntriesCount(long groupId)
593                    throws com.liferay.portal.kernel.exception.SystemException {
594                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
595            }
596    
597            public int getGroupFileEntriesCount(long groupId, long userId)
598                    throws com.liferay.portal.kernel.exception.SystemException {
599                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
600            }
601    
602            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries()
603                    throws com.liferay.portal.kernel.exception.SystemException {
604                    return _dlFileEntryLocalService.getMisversionedFileEntries();
605            }
606    
607            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
608                    throws com.liferay.portal.kernel.exception.SystemException {
609                    return _dlFileEntryLocalService.getNoAssetFileEntries();
610            }
611    
612            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries()
613                    throws com.liferay.portal.kernel.exception.SystemException {
614                    return _dlFileEntryLocalService.getOrphanedFileEntries();
615            }
616    
617            public boolean hasExtraSettings()
618                    throws com.liferay.portal.kernel.exception.SystemException {
619                    return _dlFileEntryLocalService.hasExtraSettings();
620            }
621    
622            public boolean hasFileEntryLock(long userId, long fileEntryId)
623                    throws com.liferay.portal.kernel.exception.PortalException,
624                            com.liferay.portal.kernel.exception.SystemException {
625                    return _dlFileEntryLocalService.hasFileEntryLock(userId, fileEntryId);
626            }
627    
628            public void incrementViewCounter(
629                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
630                    int increment)
631                    throws com.liferay.portal.kernel.exception.SystemException {
632                    _dlFileEntryLocalService.incrementViewCounter(dlFileEntry, increment);
633            }
634    
635            public boolean isFileEntryCheckedOut(long fileEntryId)
636                    throws com.liferay.portal.kernel.exception.PortalException,
637                            com.liferay.portal.kernel.exception.SystemException {
638                    return _dlFileEntryLocalService.isFileEntryCheckedOut(fileEntryId);
639            }
640    
641            public com.liferay.portal.model.Lock lockFileEntry(long userId,
642                    long fileEntryId)
643                    throws com.liferay.portal.kernel.exception.PortalException,
644                            com.liferay.portal.kernel.exception.SystemException {
645                    return _dlFileEntryLocalService.lockFileEntry(userId, 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 void unlockFileEntry(long fileEntryId)
667                    throws com.liferay.portal.kernel.exception.SystemException {
668                    _dlFileEntryLocalService.unlockFileEntry(fileEntryId);
669            }
670    
671            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
672                    long userId, long fileEntryId, java.lang.String sourceFileName,
673                    java.lang.String mimeType, java.lang.String title,
674                    java.lang.String description, java.lang.String changeLog,
675                    boolean majorVersion, long fileEntryTypeId,
676                    java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
677                    java.io.File file, java.io.InputStream is, long size,
678                    com.liferay.portal.service.ServiceContext serviceContext)
679                    throws com.liferay.portal.kernel.exception.PortalException,
680                            com.liferay.portal.kernel.exception.SystemException {
681                    return _dlFileEntryLocalService.updateFileEntry(userId, fileEntryId,
682                            sourceFileName, mimeType, title, description, changeLog,
683                            majorVersion, fileEntryTypeId, fieldsMap, file, is, size,
684                            serviceContext);
685            }
686    
687            public void updateSmallImage(long smallImageId, long largeImageId)
688                    throws com.liferay.portal.kernel.exception.PortalException,
689                            com.liferay.portal.kernel.exception.SystemException {
690                    _dlFileEntryLocalService.updateSmallImage(smallImageId, largeImageId);
691            }
692    
693            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
694                    long userId, long fileVersionId, int status,
695                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
696                    com.liferay.portal.service.ServiceContext serviceContext)
697                    throws com.liferay.portal.kernel.exception.PortalException,
698                            com.liferay.portal.kernel.exception.SystemException {
699                    return _dlFileEntryLocalService.updateStatus(userId, fileVersionId,
700                            status, workflowContext, serviceContext);
701            }
702    
703            public boolean verifyFileEntryCheckOut(long fileEntryId,
704                    java.lang.String lockUuid)
705                    throws com.liferay.portal.kernel.exception.PortalException,
706                            com.liferay.portal.kernel.exception.SystemException {
707                    return _dlFileEntryLocalService.verifyFileEntryCheckOut(fileEntryId,
708                            lockUuid);
709            }
710    
711            public boolean verifyFileEntryLock(long fileEntryId,
712                    java.lang.String lockUuid)
713                    throws com.liferay.portal.kernel.exception.PortalException,
714                            com.liferay.portal.kernel.exception.SystemException {
715                    return _dlFileEntryLocalService.verifyFileEntryLock(fileEntryId,
716                            lockUuid);
717            }
718    
719            /**
720             * @deprecated Renamed to {@link #getWrappedService}
721             */
722            public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
723                    return _dlFileEntryLocalService;
724            }
725    
726            /**
727             * @deprecated Renamed to {@link #setWrappedService}
728             */
729            public void setWrappedDLFileEntryLocalService(
730                    DLFileEntryLocalService dlFileEntryLocalService) {
731                    _dlFileEntryLocalService = dlFileEntryLocalService;
732            }
733    
734            public DLFileEntryLocalService getWrappedService() {
735                    return _dlFileEntryLocalService;
736            }
737    
738            public void setWrappedService(
739                    DLFileEntryLocalService dlFileEntryLocalService) {
740                    _dlFileEntryLocalService = dlFileEntryLocalService;
741            }
742    
743            private DLFileEntryLocalService _dlFileEntryLocalService;
744    }