001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class DLFileEntryLocalServiceWrapper implements DLFileEntryLocalService,
029 ServiceWrapper<DLFileEntryLocalService> {
030 public DLFileEntryLocalServiceWrapper(
031 DLFileEntryLocalService dlFileEntryLocalService) {
032 _dlFileEntryLocalService = dlFileEntryLocalService;
033 }
034
035
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
054 public com.liferay.portlet.documentlibrary.model.DLFileEntry createDLFileEntry(
055 long fileEntryId) {
056 return _dlFileEntryLocalService.createDLFileEntry(fileEntryId);
057 }
058
059
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
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
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
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
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
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
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
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
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
231 public int getDLFileEntriesCount()
232 throws com.liferay.portal.kernel.exception.SystemException {
233 return _dlFileEntryLocalService.getDLFileEntriesCount();
234 }
235
236
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
257 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
258 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
259 boolean merge)
260 throws com.liferay.portal.kernel.exception.SystemException {
261 return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry, merge);
262 }
263
264
269 public java.lang.String getBeanIdentifier() {
270 return _dlFileEntryLocalService.getBeanIdentifier();
271 }
272
273
278 public void setBeanIdentifier(java.lang.String beanIdentifier) {
279 _dlFileEntryLocalService.setBeanIdentifier(beanIdentifier);
280 }
281
282 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
283 long userId, long groupId, long repositoryId, long folderId,
284 java.lang.String sourceFileName, java.lang.String mimeType,
285 java.lang.String title, java.lang.String description,
286 java.lang.String changeLog, long fileEntryTypeId,
287 java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
288 java.io.File file, java.io.InputStream is, long size,
289 com.liferay.portal.service.ServiceContext serviceContext)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException {
292 return _dlFileEntryLocalService.addFileEntry(userId, groupId,
293 repositoryId, folderId, sourceFileName, mimeType, title,
294 description, changeLog, fileEntryTypeId, fieldsMap, file, is, size,
295 serviceContext);
296 }
297
298 public com.liferay.portlet.documentlibrary.model.DLFileVersion cancelCheckOut(
299 long userId, long fileEntryId)
300 throws com.liferay.portal.kernel.exception.PortalException,
301 com.liferay.portal.kernel.exception.SystemException {
302 return _dlFileEntryLocalService.cancelCheckOut(userId, fileEntryId);
303 }
304
305 public void checkInFileEntry(long userId, long fileEntryId,
306 boolean majorVersion, java.lang.String changeLog,
307 com.liferay.portal.service.ServiceContext serviceContext)
308 throws com.liferay.portal.kernel.exception.PortalException,
309 com.liferay.portal.kernel.exception.SystemException {
310 _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId,
311 majorVersion, changeLog, serviceContext);
312 }
313
314 public void checkInFileEntry(long userId, long fileEntryId,
315 java.lang.String lockUuid)
316 throws com.liferay.portal.kernel.exception.PortalException,
317 com.liferay.portal.kernel.exception.SystemException {
318 _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId, lockUuid);
319 }
320
321
324 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
325 long userId, long fileEntryId)
326 throws com.liferay.portal.kernel.exception.PortalException,
327 com.liferay.portal.kernel.exception.SystemException {
328 return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId);
329 }
330
331 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
332 long userId, long fileEntryId,
333 com.liferay.portal.service.ServiceContext serviceContext)
334 throws com.liferay.portal.kernel.exception.PortalException,
335 com.liferay.portal.kernel.exception.SystemException {
336 return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
337 serviceContext);
338 }
339
340
344 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
345 long userId, long fileEntryId, java.lang.String owner,
346 long expirationTime)
347 throws com.liferay.portal.kernel.exception.PortalException,
348 com.liferay.portal.kernel.exception.SystemException {
349 return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
350 owner, expirationTime);
351 }
352
353 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
354 long userId, long fileEntryId, java.lang.String owner,
355 long expirationTime,
356 com.liferay.portal.service.ServiceContext serviceContext)
357 throws com.liferay.portal.kernel.exception.PortalException,
358 com.liferay.portal.kernel.exception.SystemException {
359 return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
360 owner, expirationTime, serviceContext);
361 }
362
363 public void convertExtraSettings(java.lang.String[] keys)
364 throws com.liferay.portal.kernel.exception.PortalException,
365 com.liferay.portal.kernel.exception.SystemException {
366 _dlFileEntryLocalService.convertExtraSettings(keys);
367 }
368
369 public void copyFileEntryMetadata(long companyId, long fileEntryTypeId,
370 long fileEntryId, long fromFileVersionId, long toFileVersionId,
371 com.liferay.portal.service.ServiceContext serviceContext)
372 throws com.liferay.portal.kernel.exception.PortalException,
373 com.liferay.portal.kernel.exception.SystemException {
374 _dlFileEntryLocalService.copyFileEntryMetadata(companyId,
375 fileEntryTypeId, fileEntryId, fromFileVersionId, toFileVersionId,
376 serviceContext);
377 }
378
379 public void deleteFileEntries(long groupId, long folderId)
380 throws com.liferay.portal.kernel.exception.PortalException,
381 com.liferay.portal.kernel.exception.SystemException {
382 _dlFileEntryLocalService.deleteFileEntries(groupId, folderId);
383 }
384
385 public void deleteFileEntry(long fileEntryId)
386 throws com.liferay.portal.kernel.exception.PortalException,
387 com.liferay.portal.kernel.exception.SystemException {
388 _dlFileEntryLocalService.deleteFileEntry(fileEntryId);
389 }
390
391 public void deleteFileEntry(long userId, long fileEntryId)
392 throws com.liferay.portal.kernel.exception.PortalException,
393 com.liferay.portal.kernel.exception.SystemException {
394 _dlFileEntryLocalService.deleteFileEntry(userId, fileEntryId);
395 }
396
397 public void deleteFileVersion(long userId, long fileEntryId,
398 java.lang.String version)
399 throws com.liferay.portal.kernel.exception.PortalException,
400 com.liferay.portal.kernel.exception.SystemException {
401 _dlFileEntryLocalService.deleteFileVersion(userId, fileEntryId, version);
402 }
403
404 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByAnyImageId(
405 long imageId)
406 throws com.liferay.portal.kernel.exception.SystemException {
407 return _dlFileEntryLocalService.fetchFileEntryByAnyImageId(imageId);
408 }
409
410 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByName(
411 long groupId, long folderId, java.lang.String name)
412 throws com.liferay.portal.kernel.exception.SystemException {
413 return _dlFileEntryLocalService.fetchFileEntryByName(groupId, folderId,
414 name);
415 }
416
417 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
418 int start, int end)
419 throws com.liferay.portal.kernel.exception.SystemException {
420 return _dlFileEntryLocalService.getExtraSettingsFileEntries(start, end);
421 }
422
423 public java.io.File getFile(long userId, long fileEntryId,
424 java.lang.String version, boolean incrementCounter)
425 throws com.liferay.portal.kernel.exception.PortalException,
426 com.liferay.portal.kernel.exception.SystemException {
427 return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
428 incrementCounter);
429 }
430
431 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
432 java.lang.String version)
433 throws com.liferay.portal.kernel.exception.PortalException,
434 com.liferay.portal.kernel.exception.SystemException {
435 return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
436 version);
437 }
438
439 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
440 java.lang.String version, boolean incrementCounter)
441 throws com.liferay.portal.kernel.exception.PortalException,
442 com.liferay.portal.kernel.exception.SystemException {
443 return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
444 version, incrementCounter);
445 }
446
447 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
448 int start, int end)
449 throws com.liferay.portal.kernel.exception.SystemException {
450 return _dlFileEntryLocalService.getFileEntries(start, end);
451 }
452
453 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
454 long groupId, long folderId, int start, int end,
455 com.liferay.portal.kernel.util.OrderByComparator obc)
456 throws com.liferay.portal.kernel.exception.SystemException {
457 return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
458 start, end, obc);
459 }
460
461 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
462 long folderId, java.lang.String name)
463 throws com.liferay.portal.kernel.exception.SystemException {
464 return _dlFileEntryLocalService.getFileEntries(folderId, name);
465 }
466
467 public int getFileEntriesCount()
468 throws com.liferay.portal.kernel.exception.SystemException {
469 return _dlFileEntryLocalService.getFileEntriesCount();
470 }
471
472 public int getFileEntriesCount(long groupId, long folderId)
473 throws com.liferay.portal.kernel.exception.SystemException {
474 return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
475 }
476
477 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
478 long fileEntryId)
479 throws com.liferay.portal.kernel.exception.PortalException,
480 com.liferay.portal.kernel.exception.SystemException {
481 return _dlFileEntryLocalService.getFileEntry(fileEntryId);
482 }
483
484 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
485 long groupId, long folderId, java.lang.String title)
486 throws com.liferay.portal.kernel.exception.PortalException,
487 com.liferay.portal.kernel.exception.SystemException {
488 return _dlFileEntryLocalService.getFileEntry(groupId, folderId, title);
489 }
490
491 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
492 long groupId, long folderId, java.lang.String name)
493 throws com.liferay.portal.kernel.exception.PortalException,
494 com.liferay.portal.kernel.exception.SystemException {
495 return _dlFileEntryLocalService.getFileEntryByName(groupId, folderId,
496 name);
497 }
498
499 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
500 java.lang.String uuid, long groupId)
501 throws com.liferay.portal.kernel.exception.PortalException,
502 com.liferay.portal.kernel.exception.SystemException {
503 return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
504 groupId);
505 }
506
507 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
508 long groupId, int start, int end)
509 throws com.liferay.portal.kernel.exception.SystemException {
510 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
511 }
512
513 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
514 long groupId, int start, int end,
515 com.liferay.portal.kernel.util.OrderByComparator obc)
516 throws com.liferay.portal.kernel.exception.SystemException {
517 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
518 end, obc);
519 }
520
521 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
522 long groupId, long userId, int start, int end)
523 throws com.liferay.portal.kernel.exception.SystemException {
524 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
525 start, end);
526 }
527
528 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
529 long groupId, long userId, int start, int end,
530 com.liferay.portal.kernel.util.OrderByComparator obc)
531 throws com.liferay.portal.kernel.exception.SystemException {
532 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
533 start, end, obc);
534 }
535
536 public int getGroupFileEntriesCount(long groupId)
537 throws com.liferay.portal.kernel.exception.SystemException {
538 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
539 }
540
541 public int getGroupFileEntriesCount(long groupId, long userId)
542 throws com.liferay.portal.kernel.exception.SystemException {
543 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
544 }
545
546 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries()
547 throws com.liferay.portal.kernel.exception.SystemException {
548 return _dlFileEntryLocalService.getMisversionedFileEntries();
549 }
550
551 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
552 throws com.liferay.portal.kernel.exception.SystemException {
553 return _dlFileEntryLocalService.getNoAssetFileEntries();
554 }
555
556 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries()
557 throws com.liferay.portal.kernel.exception.SystemException {
558 return _dlFileEntryLocalService.getOrphanedFileEntries();
559 }
560
561 public boolean hasExtraSettings()
562 throws com.liferay.portal.kernel.exception.SystemException {
563 return _dlFileEntryLocalService.hasExtraSettings();
564 }
565
566 public boolean hasFileEntryLock(long userId, long fileEntryId)
567 throws com.liferay.portal.kernel.exception.PortalException,
568 com.liferay.portal.kernel.exception.SystemException {
569 return _dlFileEntryLocalService.hasFileEntryLock(userId, fileEntryId);
570 }
571
572 public boolean isFileEntryCheckedOut(long fileEntryId)
573 throws com.liferay.portal.kernel.exception.PortalException,
574 com.liferay.portal.kernel.exception.SystemException {
575 return _dlFileEntryLocalService.isFileEntryCheckedOut(fileEntryId);
576 }
577
578 public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
579 long userId, long fileEntryId, long newFolderId,
580 com.liferay.portal.service.ServiceContext serviceContext)
581 throws com.liferay.portal.kernel.exception.PortalException,
582 com.liferay.portal.kernel.exception.SystemException {
583 return _dlFileEntryLocalService.moveFileEntry(userId, fileEntryId,
584 newFolderId, serviceContext);
585 }
586
587 public void revertFileEntry(long userId, long fileEntryId,
588 java.lang.String version,
589 com.liferay.portal.service.ServiceContext serviceContext)
590 throws com.liferay.portal.kernel.exception.PortalException,
591 com.liferay.portal.kernel.exception.SystemException {
592 _dlFileEntryLocalService.revertFileEntry(userId, fileEntryId, version,
593 serviceContext);
594 }
595
596 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
597 long userId, long fileEntryId, java.lang.String sourceFileName,
598 java.lang.String mimeType, java.lang.String title,
599 java.lang.String description, java.lang.String changeLog,
600 boolean majorVersion, long fileEntryTypeId,
601 java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
602 java.io.File file, java.io.InputStream is, long size,
603 com.liferay.portal.service.ServiceContext serviceContext)
604 throws com.liferay.portal.kernel.exception.PortalException,
605 com.liferay.portal.kernel.exception.SystemException {
606 return _dlFileEntryLocalService.updateFileEntry(userId, fileEntryId,
607 sourceFileName, mimeType, title, description, changeLog,
608 majorVersion, fileEntryTypeId, fieldsMap, file, is, size,
609 serviceContext);
610 }
611
612 public void updateSmallImage(long smallImageId, long largeImageId)
613 throws com.liferay.portal.kernel.exception.PortalException,
614 com.liferay.portal.kernel.exception.SystemException {
615 _dlFileEntryLocalService.updateSmallImage(smallImageId, largeImageId);
616 }
617
618 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
619 long userId, long fileVersionId, int status,
620 java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
621 com.liferay.portal.service.ServiceContext serviceContext)
622 throws com.liferay.portal.kernel.exception.PortalException,
623 com.liferay.portal.kernel.exception.SystemException {
624 return _dlFileEntryLocalService.updateStatus(userId, fileVersionId,
625 status, workflowContext, serviceContext);
626 }
627
628 public boolean verifyFileEntryCheckOut(long fileEntryId,
629 java.lang.String lockUuid)
630 throws com.liferay.portal.kernel.exception.PortalException,
631 com.liferay.portal.kernel.exception.SystemException {
632 return _dlFileEntryLocalService.verifyFileEntryCheckOut(fileEntryId,
633 lockUuid);
634 }
635
636 public boolean verifyFileEntryLock(long fileEntryId,
637 java.lang.String lockUuid)
638 throws com.liferay.portal.kernel.exception.PortalException,
639 com.liferay.portal.kernel.exception.SystemException {
640 return _dlFileEntryLocalService.verifyFileEntryLock(fileEntryId,
641 lockUuid);
642 }
643
644
647 public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
648 return _dlFileEntryLocalService;
649 }
650
651
654 public void setWrappedDLFileEntryLocalService(
655 DLFileEntryLocalService dlFileEntryLocalService) {
656 _dlFileEntryLocalService = dlFileEntryLocalService;
657 }
658
659 public DLFileEntryLocalService getWrappedService() {
660 return _dlFileEntryLocalService;
661 }
662
663 public void setWrappedService(
664 DLFileEntryLocalService dlFileEntryLocalService) {
665 _dlFileEntryLocalService = dlFileEntryLocalService;
666 }
667
668 private DLFileEntryLocalService _dlFileEntryLocalService;
669 }