001    /**
002     * Copyright (c) 2000-2013 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link DLFileEntryLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see DLFileEntryLocalService
026     * @generated
027     */
028    @ProviderType
029    public class DLFileEntryLocalServiceWrapper implements DLFileEntryLocalService,
030            ServiceWrapper<DLFileEntryLocalService> {
031            public DLFileEntryLocalServiceWrapper(
032                    DLFileEntryLocalService dlFileEntryLocalService) {
033                    _dlFileEntryLocalService = dlFileEntryLocalService;
034            }
035    
036            /**
037            * Adds the document library file entry to the database. Also notifies the appropriate model listeners.
038            *
039            * @param dlFileEntry the document library file entry
040            * @return the document library file entry that was added
041            * @throws SystemException if a system exception occurred
042            */
043            @Override
044            public com.liferay.portlet.documentlibrary.model.DLFileEntry addDLFileEntry(
045                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
046                    throws com.liferay.portal.kernel.exception.SystemException {
047                    return _dlFileEntryLocalService.addDLFileEntry(dlFileEntry);
048            }
049    
050            /**
051            * Creates a new document library file entry with the primary key. Does not add the document library file entry to the database.
052            *
053            * @param fileEntryId the primary key for the new document library file entry
054            * @return the new document library file entry
055            */
056            @Override
057            public com.liferay.portlet.documentlibrary.model.DLFileEntry createDLFileEntry(
058                    long fileEntryId) {
059                    return _dlFileEntryLocalService.createDLFileEntry(fileEntryId);
060            }
061    
062            /**
063            * Deletes the document library file entry with the primary key from the database. Also notifies the appropriate model listeners.
064            *
065            * @param fileEntryId the primary key of the document library file entry
066            * @return the document library file entry that was removed
067            * @throws PortalException if a document library file entry with the primary key could not be found
068            * @throws SystemException if a system exception occurred
069            */
070            @Override
071            public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteDLFileEntry(
072                    long fileEntryId)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _dlFileEntryLocalService.deleteDLFileEntry(fileEntryId);
076            }
077    
078            /**
079            * Deletes the document library file entry from the database. Also notifies the appropriate model listeners.
080            *
081            * @param dlFileEntry the document library file entry
082            * @return the document library file entry that was removed
083            * @throws SystemException if a system exception occurred
084            */
085            @Override
086            public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteDLFileEntry(
087                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
088                    throws com.liferay.portal.kernel.exception.SystemException {
089                    return _dlFileEntryLocalService.deleteDLFileEntry(dlFileEntry);
090            }
091    
092            @Override
093            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
094                    return _dlFileEntryLocalService.dynamicQuery();
095            }
096    
097            /**
098            * Performs a dynamic query on the database and returns the matching rows.
099            *
100            * @param dynamicQuery the dynamic query
101            * @return the matching rows
102            * @throws SystemException if a system exception occurred
103            */
104            @Override
105            @SuppressWarnings("rawtypes")
106            public java.util.List dynamicQuery(
107                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
108                    throws com.liferay.portal.kernel.exception.SystemException {
109                    return _dlFileEntryLocalService.dynamicQuery(dynamicQuery);
110            }
111    
112            /**
113            * Performs a dynamic query on the database and returns a range of the matching rows.
114            *
115            * <p>
116            * 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.
117            * </p>
118            *
119            * @param dynamicQuery the dynamic query
120            * @param start the lower bound of the range of model instances
121            * @param end the upper bound of the range of model instances (not inclusive)
122            * @return the range of matching rows
123            * @throws SystemException if a system exception occurred
124            */
125            @Override
126            @SuppressWarnings("rawtypes")
127            public java.util.List dynamicQuery(
128                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
129                    int end) throws com.liferay.portal.kernel.exception.SystemException {
130                    return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end);
131            }
132    
133            /**
134            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
135            *
136            * <p>
137            * 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.
138            * </p>
139            *
140            * @param dynamicQuery the dynamic query
141            * @param start the lower bound of the range of model instances
142            * @param end the upper bound of the range of model instances (not inclusive)
143            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
144            * @return the ordered range of matching rows
145            * @throws SystemException if a system exception occurred
146            */
147            @Override
148            @SuppressWarnings("rawtypes")
149            public java.util.List dynamicQuery(
150                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
151                    int end,
152                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153                    throws com.liferay.portal.kernel.exception.SystemException {
154                    return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end,
155                            orderByComparator);
156            }
157    
158            /**
159            * Returns the number of rows that match the dynamic query.
160            *
161            * @param dynamicQuery the dynamic query
162            * @return the number of rows that match the dynamic query
163            * @throws SystemException if a system exception occurred
164            */
165            @Override
166            public long dynamicQueryCount(
167                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
168                    throws com.liferay.portal.kernel.exception.SystemException {
169                    return _dlFileEntryLocalService.dynamicQueryCount(dynamicQuery);
170            }
171    
172            /**
173            * Returns the number of rows that match the dynamic query.
174            *
175            * @param dynamicQuery the dynamic query
176            * @param projection the projection to apply to the query
177            * @return the number of rows that match the dynamic query
178            * @throws SystemException if a system exception occurred
179            */
180            @Override
181            public long dynamicQueryCount(
182                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
183                    com.liferay.portal.kernel.dao.orm.Projection projection)
184                    throws com.liferay.portal.kernel.exception.SystemException {
185                    return _dlFileEntryLocalService.dynamicQueryCount(dynamicQuery,
186                            projection);
187            }
188    
189            @Override
190            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchDLFileEntry(
191                    long fileEntryId)
192                    throws com.liferay.portal.kernel.exception.SystemException {
193                    return _dlFileEntryLocalService.fetchDLFileEntry(fileEntryId);
194            }
195    
196            /**
197            * Returns the document library file entry with the matching UUID and company.
198            *
199            * @param uuid the document library file entry's UUID
200            * @param companyId the primary key of the company
201            * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
202            * @throws SystemException if a system exception occurred
203            */
204            @Override
205            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchDLFileEntryByUuidAndCompanyId(
206                    java.lang.String uuid, long companyId)
207                    throws com.liferay.portal.kernel.exception.SystemException {
208                    return _dlFileEntryLocalService.fetchDLFileEntryByUuidAndCompanyId(uuid,
209                            companyId);
210            }
211    
212            /**
213            * Returns the document library file entry matching the UUID and group.
214            *
215            * @param uuid the document library file entry's UUID
216            * @param groupId the primary key of the group
217            * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found
218            * @throws SystemException if a system exception occurred
219            */
220            @Override
221            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchDLFileEntryByUuidAndGroupId(
222                    java.lang.String uuid, long groupId)
223                    throws com.liferay.portal.kernel.exception.SystemException {
224                    return _dlFileEntryLocalService.fetchDLFileEntryByUuidAndGroupId(uuid,
225                            groupId);
226            }
227    
228            /**
229            * Returns the document library file entry with the primary key.
230            *
231            * @param fileEntryId the primary key of the document library file entry
232            * @return the document library file entry
233            * @throws PortalException if a document library file entry with the primary key could not be found
234            * @throws SystemException if a system exception occurred
235            */
236            @Override
237            public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntry(
238                    long fileEntryId)
239                    throws com.liferay.portal.kernel.exception.PortalException,
240                            com.liferay.portal.kernel.exception.SystemException {
241                    return _dlFileEntryLocalService.getDLFileEntry(fileEntryId);
242            }
243    
244            @Override
245            public com.liferay.portal.model.PersistedModel getPersistedModel(
246                    java.io.Serializable primaryKeyObj)
247                    throws com.liferay.portal.kernel.exception.PortalException,
248                            com.liferay.portal.kernel.exception.SystemException {
249                    return _dlFileEntryLocalService.getPersistedModel(primaryKeyObj);
250            }
251    
252            /**
253            * Returns the document library file entry with the matching UUID and company.
254            *
255            * @param uuid the document library file entry's UUID
256            * @param companyId the primary key of the company
257            * @return the matching document library file entry
258            * @throws PortalException if a matching document library file entry could not be found
259            * @throws SystemException if a system exception occurred
260            */
261            @Override
262            public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntryByUuidAndCompanyId(
263                    java.lang.String uuid, long companyId)
264                    throws com.liferay.portal.kernel.exception.PortalException,
265                            com.liferay.portal.kernel.exception.SystemException {
266                    return _dlFileEntryLocalService.getDLFileEntryByUuidAndCompanyId(uuid,
267                            companyId);
268            }
269    
270            /**
271            * Returns the document library file entry matching the UUID and group.
272            *
273            * @param uuid the document library file entry's UUID
274            * @param groupId the primary key of the group
275            * @return the matching document library file entry
276            * @throws PortalException if a matching document library file entry could not be found
277            * @throws SystemException if a system exception occurred
278            */
279            @Override
280            public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntryByUuidAndGroupId(
281                    java.lang.String uuid, long groupId)
282                    throws com.liferay.portal.kernel.exception.PortalException,
283                            com.liferay.portal.kernel.exception.SystemException {
284                    return _dlFileEntryLocalService.getDLFileEntryByUuidAndGroupId(uuid,
285                            groupId);
286            }
287    
288            /**
289            * Returns a range of all the document library file entries.
290            *
291            * <p>
292            * 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.
293            * </p>
294            *
295            * @param start the lower bound of the range of document library file entries
296            * @param end the upper bound of the range of document library file entries (not inclusive)
297            * @return the range of document library file entries
298            * @throws SystemException if a system exception occurred
299            */
300            @Override
301            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntries(
302                    int start, int end)
303                    throws com.liferay.portal.kernel.exception.SystemException {
304                    return _dlFileEntryLocalService.getDLFileEntries(start, end);
305            }
306    
307            /**
308            * Returns the number of document library file entries.
309            *
310            * @return the number of document library file entries
311            * @throws SystemException if a system exception occurred
312            */
313            @Override
314            public int getDLFileEntriesCount()
315                    throws com.liferay.portal.kernel.exception.SystemException {
316                    return _dlFileEntryLocalService.getDLFileEntriesCount();
317            }
318    
319            /**
320            * Updates the document library file entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
321            *
322            * @param dlFileEntry the document library file entry
323            * @return the document library file entry that was updated
324            * @throws SystemException if a system exception occurred
325            */
326            @Override
327            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
328                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
329                    throws com.liferay.portal.kernel.exception.SystemException {
330                    return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry);
331            }
332    
333            /**
334            * Returns the Spring bean ID for this bean.
335            *
336            * @return the Spring bean ID for this bean
337            */
338            @Override
339            public java.lang.String getBeanIdentifier() {
340                    return _dlFileEntryLocalService.getBeanIdentifier();
341            }
342    
343            /**
344            * Sets the Spring bean ID for this bean.
345            *
346            * @param beanIdentifier the Spring bean ID for this bean
347            */
348            @Override
349            public void setBeanIdentifier(java.lang.String beanIdentifier) {
350                    _dlFileEntryLocalService.setBeanIdentifier(beanIdentifier);
351            }
352    
353            @Override
354            public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
355                    long userId, long groupId, long repositoryId, long folderId,
356                    java.lang.String sourceFileName, java.lang.String mimeType,
357                    java.lang.String title, java.lang.String description,
358                    java.lang.String changeLog, long fileEntryTypeId,
359                    java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
360                    java.io.File file, java.io.InputStream is, long size,
361                    com.liferay.portal.service.ServiceContext serviceContext)
362                    throws com.liferay.portal.kernel.exception.PortalException,
363                            com.liferay.portal.kernel.exception.SystemException {
364                    return _dlFileEntryLocalService.addFileEntry(userId, groupId,
365                            repositoryId, folderId, sourceFileName, mimeType, title,
366                            description, changeLog, fileEntryTypeId, fieldsMap, file, is, size,
367                            serviceContext);
368            }
369    
370            @Override
371            public com.liferay.portlet.documentlibrary.model.DLFileVersion cancelCheckOut(
372                    long userId, long fileEntryId)
373                    throws com.liferay.portal.kernel.exception.PortalException,
374                            com.liferay.portal.kernel.exception.SystemException {
375                    return _dlFileEntryLocalService.cancelCheckOut(userId, fileEntryId);
376            }
377    
378            @Override
379            public void checkInFileEntry(long userId, long fileEntryId,
380                    boolean majorVersion, java.lang.String changeLog,
381                    com.liferay.portal.service.ServiceContext serviceContext)
382                    throws com.liferay.portal.kernel.exception.PortalException,
383                            com.liferay.portal.kernel.exception.SystemException {
384                    _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId,
385                            majorVersion, changeLog, serviceContext);
386            }
387    
388            /**
389            * @deprecated As of 6.2.0, replaced by {@link #checkInFileEntry(long, long,
390            String, ServiceContext)}
391            */
392            @Override
393            public void checkInFileEntry(long userId, long fileEntryId,
394                    java.lang.String lockUuid)
395                    throws com.liferay.portal.kernel.exception.PortalException,
396                            com.liferay.portal.kernel.exception.SystemException {
397                    _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId, lockUuid);
398            }
399    
400            @Override
401            public void checkInFileEntry(long userId, long fileEntryId,
402                    java.lang.String lockUuid,
403                    com.liferay.portal.service.ServiceContext serviceContext)
404                    throws com.liferay.portal.kernel.exception.PortalException,
405                            com.liferay.portal.kernel.exception.SystemException {
406                    _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId,
407                            lockUuid, serviceContext);
408            }
409    
410            /**
411            * @deprecated As of 6.2.0, replaced by {@link #checkOutFileEntry(long,
412            long, ServiceContext)}
413            */
414            @Override
415            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
416                    long userId, long fileEntryId)
417                    throws com.liferay.portal.kernel.exception.PortalException,
418                            com.liferay.portal.kernel.exception.SystemException {
419                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId);
420            }
421    
422            @Override
423            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
424                    long userId, long fileEntryId,
425                    com.liferay.portal.service.ServiceContext serviceContext)
426                    throws com.liferay.portal.kernel.exception.PortalException,
427                            com.liferay.portal.kernel.exception.SystemException {
428                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
429                            serviceContext);
430            }
431    
432            /**
433            * @deprecated As of 6.2.0, replaced by {@link #checkOutFileEntry(long,
434            long, String, long, ServiceContext)}
435            */
436            @Override
437            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
438                    long userId, long fileEntryId, java.lang.String owner,
439                    long expirationTime)
440                    throws com.liferay.portal.kernel.exception.PortalException,
441                            com.liferay.portal.kernel.exception.SystemException {
442                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
443                            owner, expirationTime);
444            }
445    
446            @Override
447            public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
448                    long userId, long fileEntryId, java.lang.String owner,
449                    long expirationTime,
450                    com.liferay.portal.service.ServiceContext serviceContext)
451                    throws com.liferay.portal.kernel.exception.PortalException,
452                            com.liferay.portal.kernel.exception.SystemException {
453                    return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
454                            owner, expirationTime, serviceContext);
455            }
456    
457            @Override
458            public void convertExtraSettings(java.lang.String[] keys)
459                    throws com.liferay.portal.kernel.exception.PortalException,
460                            com.liferay.portal.kernel.exception.SystemException {
461                    _dlFileEntryLocalService.convertExtraSettings(keys);
462            }
463    
464            @Override
465            public void copyFileEntryMetadata(long companyId, long fileEntryTypeId,
466                    long fileEntryId, long fromFileVersionId, long toFileVersionId,
467                    com.liferay.portal.service.ServiceContext serviceContext)
468                    throws com.liferay.portal.kernel.exception.PortalException,
469                            com.liferay.portal.kernel.exception.SystemException {
470                    _dlFileEntryLocalService.copyFileEntryMetadata(companyId,
471                            fileEntryTypeId, fileEntryId, fromFileVersionId, toFileVersionId,
472                            serviceContext);
473            }
474    
475            @Override
476            public void deleteFileEntries(long groupId, long folderId)
477                    throws com.liferay.portal.kernel.exception.PortalException,
478                            com.liferay.portal.kernel.exception.SystemException {
479                    _dlFileEntryLocalService.deleteFileEntries(groupId, folderId);
480            }
481    
482            @Override
483            public void deleteFileEntries(long groupId, long folderId,
484                    boolean includeTrashedEntries)
485                    throws com.liferay.portal.kernel.exception.PortalException,
486                            com.liferay.portal.kernel.exception.SystemException {
487                    _dlFileEntryLocalService.deleteFileEntries(groupId, folderId,
488                            includeTrashedEntries);
489            }
490    
491            @Override
492            public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
493                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
494                    throws com.liferay.portal.kernel.exception.PortalException,
495                            com.liferay.portal.kernel.exception.SystemException {
496                    return _dlFileEntryLocalService.deleteFileEntry(dlFileEntry);
497            }
498    
499            @Override
500            public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
501                    long fileEntryId)
502                    throws com.liferay.portal.kernel.exception.PortalException,
503                            com.liferay.portal.kernel.exception.SystemException {
504                    return _dlFileEntryLocalService.deleteFileEntry(fileEntryId);
505            }
506    
507            @Override
508            public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
509                    long userId, long fileEntryId)
510                    throws com.liferay.portal.kernel.exception.PortalException,
511                            com.liferay.portal.kernel.exception.SystemException {
512                    return _dlFileEntryLocalService.deleteFileEntry(userId, fileEntryId);
513            }
514    
515            @Override
516            public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileVersion(
517                    long userId, long fileEntryId, java.lang.String version)
518                    throws com.liferay.portal.kernel.exception.PortalException,
519                            com.liferay.portal.kernel.exception.SystemException {
520                    return _dlFileEntryLocalService.deleteFileVersion(userId, fileEntryId,
521                            version);
522            }
523    
524            @Override
525            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntry(
526                    long groupId, long folderId, java.lang.String title)
527                    throws com.liferay.portal.kernel.exception.SystemException {
528                    return _dlFileEntryLocalService.fetchFileEntry(groupId, folderId, title);
529            }
530    
531            @Override
532            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByAnyImageId(
533                    long imageId)
534                    throws com.liferay.portal.kernel.exception.SystemException {
535                    return _dlFileEntryLocalService.fetchFileEntryByAnyImageId(imageId);
536            }
537    
538            @Override
539            public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByName(
540                    long groupId, long folderId, java.lang.String name)
541                    throws com.liferay.portal.kernel.exception.SystemException {
542                    return _dlFileEntryLocalService.fetchFileEntryByName(groupId, folderId,
543                            name);
544            }
545    
546            @Override
547            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDDMStructureFileEntries(
548                    long groupId, long[] ddmStructureIds)
549                    throws com.liferay.portal.kernel.exception.SystemException {
550                    return _dlFileEntryLocalService.getDDMStructureFileEntries(groupId,
551                            ddmStructureIds);
552            }
553    
554            @Override
555            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDDMStructureFileEntries(
556                    long[] ddmStructureIds)
557                    throws com.liferay.portal.kernel.exception.SystemException {
558                    return _dlFileEntryLocalService.getDDMStructureFileEntries(ddmStructureIds);
559            }
560    
561            @Override
562            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
563                    int start, int end)
564                    throws com.liferay.portal.kernel.exception.SystemException {
565                    return _dlFileEntryLocalService.getExtraSettingsFileEntries(start, end);
566            }
567    
568            @Override
569            public int getExtraSettingsFileEntriesCount()
570                    throws com.liferay.portal.kernel.exception.SystemException {
571                    return _dlFileEntryLocalService.getExtraSettingsFileEntriesCount();
572            }
573    
574            @Override
575            public java.io.File getFile(long userId, long fileEntryId,
576                    java.lang.String version, boolean incrementCounter)
577                    throws com.liferay.portal.kernel.exception.PortalException,
578                            com.liferay.portal.kernel.exception.SystemException {
579                    return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
580                            incrementCounter);
581            }
582    
583            @Override
584            public java.io.File getFile(long userId, long fileEntryId,
585                    java.lang.String version, boolean incrementCounter, int increment)
586                    throws com.liferay.portal.kernel.exception.PortalException,
587                            com.liferay.portal.kernel.exception.SystemException {
588                    return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
589                            incrementCounter, increment);
590            }
591    
592            @Override
593            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
594                    java.lang.String version)
595                    throws com.liferay.portal.kernel.exception.PortalException,
596                            com.liferay.portal.kernel.exception.SystemException {
597                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
598                            version);
599            }
600    
601            @Override
602            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
603                    java.lang.String version, boolean incrementCounter)
604                    throws com.liferay.portal.kernel.exception.PortalException,
605                            com.liferay.portal.kernel.exception.SystemException {
606                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
607                            version, incrementCounter);
608            }
609    
610            @Override
611            public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
612                    java.lang.String version, boolean incrementCounter, int increment)
613                    throws com.liferay.portal.kernel.exception.PortalException,
614                            com.liferay.portal.kernel.exception.SystemException {
615                    return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
616                            version, incrementCounter, increment);
617            }
618    
619            @Override
620            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
621                    int start, int end)
622                    throws com.liferay.portal.kernel.exception.SystemException {
623                    return _dlFileEntryLocalService.getFileEntries(start, end);
624            }
625    
626            @Override
627            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
628                    long groupId, long folderId)
629                    throws com.liferay.portal.kernel.exception.SystemException {
630                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId);
631            }
632    
633            @Override
634            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
635                    long groupId, long folderId, int status, int start, int end,
636                    com.liferay.portal.kernel.util.OrderByComparator obc)
637                    throws com.liferay.portal.kernel.exception.SystemException {
638                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
639                            status, start, end, obc);
640            }
641    
642            @Override
643            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
644                    long groupId, long folderId, int start, int end,
645                    com.liferay.portal.kernel.util.OrderByComparator obc)
646                    throws com.liferay.portal.kernel.exception.SystemException {
647                    return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
648                            start, end, obc);
649            }
650    
651            @Override
652            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
653                    long groupId, long userId, java.util.List<java.lang.Long> folderIds,
654                    java.lang.String[] mimeTypes,
655                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
656                    throws java.lang.Exception {
657                    return _dlFileEntryLocalService.getFileEntries(groupId, userId,
658                            folderIds, mimeTypes, queryDefinition);
659            }
660    
661            @Override
662            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
663                    long folderId, java.lang.String name)
664                    throws com.liferay.portal.kernel.exception.SystemException {
665                    return _dlFileEntryLocalService.getFileEntries(folderId, name);
666            }
667    
668            @Override
669            public int getFileEntriesCount()
670                    throws com.liferay.portal.kernel.exception.SystemException {
671                    return _dlFileEntryLocalService.getFileEntriesCount();
672            }
673    
674            @Override
675            public int getFileEntriesCount(long groupId,
676                    com.liferay.portal.kernel.util.DateRange dateRange, long repositoryId,
677                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
678                    throws com.liferay.portal.kernel.exception.SystemException {
679                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, dateRange,
680                            repositoryId, queryDefinition);
681            }
682    
683            @Override
684            public int getFileEntriesCount(long groupId, long folderId)
685                    throws com.liferay.portal.kernel.exception.SystemException {
686                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
687            }
688    
689            @Override
690            public int getFileEntriesCount(long groupId, long folderId, int status)
691                    throws com.liferay.portal.kernel.exception.SystemException {
692                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId,
693                            status);
694            }
695    
696            @Override
697            public int getFileEntriesCount(long groupId, long userId,
698                    java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
699                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
700                    throws java.lang.Exception {
701                    return _dlFileEntryLocalService.getFileEntriesCount(groupId, userId,
702                            folderIds, mimeTypes, queryDefinition);
703            }
704    
705            @Override
706            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
707                    long fileEntryId)
708                    throws com.liferay.portal.kernel.exception.PortalException,
709                            com.liferay.portal.kernel.exception.SystemException {
710                    return _dlFileEntryLocalService.getFileEntry(fileEntryId);
711            }
712    
713            @Override
714            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
715                    long groupId, long folderId, java.lang.String title)
716                    throws com.liferay.portal.kernel.exception.PortalException,
717                            com.liferay.portal.kernel.exception.SystemException {
718                    return _dlFileEntryLocalService.getFileEntry(groupId, folderId, title);
719            }
720    
721            @Override
722            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
723                    long groupId, long folderId, java.lang.String name)
724                    throws com.liferay.portal.kernel.exception.PortalException,
725                            com.liferay.portal.kernel.exception.SystemException {
726                    return _dlFileEntryLocalService.getFileEntryByName(groupId, folderId,
727                            name);
728            }
729    
730            @Override
731            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
732                    java.lang.String uuid, long groupId)
733                    throws com.liferay.portal.kernel.exception.PortalException,
734                            com.liferay.portal.kernel.exception.SystemException {
735                    return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
736                            groupId);
737            }
738    
739            @Override
740            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
741                    long groupId, int start, int end)
742                    throws com.liferay.portal.kernel.exception.SystemException {
743                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
744            }
745    
746            @Override
747            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
748                    long groupId, int start, int end,
749                    com.liferay.portal.kernel.util.OrderByComparator obc)
750                    throws com.liferay.portal.kernel.exception.SystemException {
751                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
752                            end, obc);
753            }
754    
755            @Override
756            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
757                    long groupId, long userId, int start, int end)
758                    throws com.liferay.portal.kernel.exception.SystemException {
759                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
760                            start, end);
761            }
762    
763            @Override
764            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
765                    long groupId, long userId, int start, int end,
766                    com.liferay.portal.kernel.util.OrderByComparator obc)
767                    throws com.liferay.portal.kernel.exception.SystemException {
768                    return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
769                            start, end, obc);
770            }
771    
772            @Override
773            public int getGroupFileEntriesCount(long groupId)
774                    throws com.liferay.portal.kernel.exception.SystemException {
775                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
776            }
777    
778            @Override
779            public int getGroupFileEntriesCount(long groupId, long userId)
780                    throws com.liferay.portal.kernel.exception.SystemException {
781                    return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
782            }
783    
784            @Override
785            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries()
786                    throws com.liferay.portal.kernel.exception.SystemException {
787                    return _dlFileEntryLocalService.getMisversionedFileEntries();
788            }
789    
790            @Override
791            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
792                    throws com.liferay.portal.kernel.exception.SystemException {
793                    return _dlFileEntryLocalService.getNoAssetFileEntries();
794            }
795    
796            @Override
797            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries()
798                    throws com.liferay.portal.kernel.exception.SystemException {
799                    return _dlFileEntryLocalService.getOrphanedFileEntries();
800            }
801    
802            @Override
803            public boolean hasExtraSettings()
804                    throws com.liferay.portal.kernel.exception.SystemException {
805                    return _dlFileEntryLocalService.hasExtraSettings();
806            }
807    
808            @Override
809            public boolean hasFileEntryLock(long userId, long fileEntryId)
810                    throws com.liferay.portal.kernel.exception.PortalException,
811                            com.liferay.portal.kernel.exception.SystemException {
812                    return _dlFileEntryLocalService.hasFileEntryLock(userId, fileEntryId);
813            }
814    
815            @Override
816            public void incrementViewCounter(
817                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
818                    int increment)
819                    throws com.liferay.portal.kernel.exception.SystemException {
820                    _dlFileEntryLocalService.incrementViewCounter(dlFileEntry, increment);
821            }
822    
823            @Override
824            public boolean isFileEntryCheckedOut(long fileEntryId)
825                    throws com.liferay.portal.kernel.exception.PortalException,
826                            com.liferay.portal.kernel.exception.SystemException {
827                    return _dlFileEntryLocalService.isFileEntryCheckedOut(fileEntryId);
828            }
829    
830            @Override
831            public com.liferay.portal.model.Lock lockFileEntry(long userId,
832                    long fileEntryId)
833                    throws com.liferay.portal.kernel.exception.PortalException,
834                            com.liferay.portal.kernel.exception.SystemException {
835                    return _dlFileEntryLocalService.lockFileEntry(userId, fileEntryId);
836            }
837    
838            @Override
839            public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
840                    long userId, long fileEntryId, long newFolderId,
841                    com.liferay.portal.service.ServiceContext serviceContext)
842                    throws com.liferay.portal.kernel.exception.PortalException,
843                            com.liferay.portal.kernel.exception.SystemException {
844                    return _dlFileEntryLocalService.moveFileEntry(userId, fileEntryId,
845                            newFolderId, serviceContext);
846            }
847    
848            @Override
849            public void rebuildTree(long companyId)
850                    throws com.liferay.portal.kernel.exception.SystemException {
851                    _dlFileEntryLocalService.rebuildTree(companyId);
852            }
853    
854            @Override
855            public void revertFileEntry(long userId, long fileEntryId,
856                    java.lang.String version,
857                    com.liferay.portal.service.ServiceContext serviceContext)
858                    throws com.liferay.portal.kernel.exception.PortalException,
859                            com.liferay.portal.kernel.exception.SystemException {
860                    _dlFileEntryLocalService.revertFileEntry(userId, fileEntryId, version,
861                            serviceContext);
862            }
863    
864            @Override
865            public com.liferay.portal.kernel.search.Hits search(long groupId,
866                    long userId, long creatorUserId, int status, int start, int end)
867                    throws com.liferay.portal.kernel.exception.PortalException,
868                            com.liferay.portal.kernel.exception.SystemException {
869                    return _dlFileEntryLocalService.search(groupId, userId, creatorUserId,
870                            status, start, end);
871            }
872    
873            @Override
874            public com.liferay.portal.kernel.search.Hits search(long groupId,
875                    long userId, long creatorUserId, long folderId,
876                    java.lang.String[] mimeTypes, int status, int start, int end)
877                    throws com.liferay.portal.kernel.exception.PortalException,
878                            com.liferay.portal.kernel.exception.SystemException {
879                    return _dlFileEntryLocalService.search(groupId, userId, creatorUserId,
880                            folderId, mimeTypes, status, start, end);
881            }
882    
883            @Override
884            public void unlockFileEntry(long fileEntryId)
885                    throws com.liferay.portal.kernel.exception.SystemException {
886                    _dlFileEntryLocalService.unlockFileEntry(fileEntryId);
887            }
888    
889            @Override
890            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
891                    long userId, long fileEntryId, java.lang.String sourceFileName,
892                    java.lang.String mimeType, java.lang.String title,
893                    java.lang.String description, java.lang.String changeLog,
894                    boolean majorVersion, long fileEntryTypeId,
895                    java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
896                    java.io.File file, java.io.InputStream is, long size,
897                    com.liferay.portal.service.ServiceContext serviceContext)
898                    throws com.liferay.portal.kernel.exception.PortalException,
899                            com.liferay.portal.kernel.exception.SystemException {
900                    return _dlFileEntryLocalService.updateFileEntry(userId, fileEntryId,
901                            sourceFileName, mimeType, title, description, changeLog,
902                            majorVersion, fileEntryTypeId, fieldsMap, file, is, size,
903                            serviceContext);
904            }
905    
906            @Override
907            public void updateSmallImage(long smallImageId, long largeImageId)
908                    throws com.liferay.portal.kernel.exception.PortalException,
909                            com.liferay.portal.kernel.exception.SystemException {
910                    _dlFileEntryLocalService.updateSmallImage(smallImageId, largeImageId);
911            }
912    
913            @Override
914            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
915                    long userId, long fileVersionId, int status,
916                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
917                    com.liferay.portal.service.ServiceContext serviceContext)
918                    throws com.liferay.portal.kernel.exception.PortalException,
919                            com.liferay.portal.kernel.exception.SystemException {
920                    return _dlFileEntryLocalService.updateStatus(userId, fileVersionId,
921                            status, workflowContext, serviceContext);
922            }
923    
924            @Override
925            public boolean verifyFileEntryCheckOut(long fileEntryId,
926                    java.lang.String lockUuid)
927                    throws com.liferay.portal.kernel.exception.PortalException,
928                            com.liferay.portal.kernel.exception.SystemException {
929                    return _dlFileEntryLocalService.verifyFileEntryCheckOut(fileEntryId,
930                            lockUuid);
931            }
932    
933            @Override
934            public boolean verifyFileEntryLock(long fileEntryId,
935                    java.lang.String lockUuid)
936                    throws com.liferay.portal.kernel.exception.PortalException,
937                            com.liferay.portal.kernel.exception.SystemException {
938                    return _dlFileEntryLocalService.verifyFileEntryLock(fileEntryId,
939                            lockUuid);
940            }
941    
942            @Override
943            public void validateFile(long groupId, long folderId, long fileEntryId,
944                    java.lang.String title, java.lang.String extension)
945                    throws com.liferay.portal.kernel.exception.PortalException,
946                            com.liferay.portal.kernel.exception.SystemException {
947                    _dlFileEntryLocalService.validateFile(groupId, folderId, fileEntryId,
948                            title, extension);
949            }
950    
951            /**
952             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
953             */
954            public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
955                    return _dlFileEntryLocalService;
956            }
957    
958            /**
959             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
960             */
961            public void setWrappedDLFileEntryLocalService(
962                    DLFileEntryLocalService dlFileEntryLocalService) {
963                    _dlFileEntryLocalService = dlFileEntryLocalService;
964            }
965    
966            @Override
967            public DLFileEntryLocalService getWrappedService() {
968                    return _dlFileEntryLocalService;
969            }
970    
971            @Override
972            public void setWrappedService(
973                    DLFileEntryLocalService dlFileEntryLocalService) {
974                    _dlFileEntryLocalService = dlFileEntryLocalService;
975            }
976    
977            private DLFileEntryLocalService _dlFileEntryLocalService;
978    }