001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.exception.PortalException;
020 import com.liferay.portal.kernel.exception.SystemException;
021 import com.liferay.portal.kernel.search.IndexableType;
022 import com.liferay.portal.kernel.transaction.Isolation;
023 import com.liferay.portal.kernel.transaction.Propagation;
024 import com.liferay.portal.kernel.transaction.Transactional;
025 import com.liferay.portal.model.SystemEventConstants;
026 import com.liferay.portal.service.BaseLocalService;
027 import com.liferay.portal.service.PersistedModelLocalService;
028
029
041 @ProviderType
042 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
043 PortalException.class, SystemException.class})
044 public interface DLFileEntryLocalService extends BaseLocalService,
045 PersistedModelLocalService {
046
051
052
059 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
060 public com.liferay.portlet.documentlibrary.model.DLFileEntry addDLFileEntry(
061 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
062 throws com.liferay.portal.kernel.exception.SystemException;
063
064
070 public com.liferay.portlet.documentlibrary.model.DLFileEntry createDLFileEntry(
071 long fileEntryId);
072
073
081 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
082 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteDLFileEntry(
083 long fileEntryId)
084 throws com.liferay.portal.kernel.exception.PortalException,
085 com.liferay.portal.kernel.exception.SystemException;
086
087
094 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
095 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteDLFileEntry(
096 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
097 throws com.liferay.portal.kernel.exception.SystemException;
098
099 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
100
101
108 @SuppressWarnings("rawtypes")
109 public java.util.List dynamicQuery(
110 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
111 throws com.liferay.portal.kernel.exception.SystemException;
112
113
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
131
145 @SuppressWarnings("rawtypes")
146 public java.util.List dynamicQuery(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
148 int end,
149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150 throws com.liferay.portal.kernel.exception.SystemException;
151
152
159 public long dynamicQueryCount(
160 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
161 throws com.liferay.portal.kernel.exception.SystemException;
162
163
171 public long dynamicQueryCount(
172 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
173 com.liferay.portal.kernel.dao.orm.Projection projection)
174 throws com.liferay.portal.kernel.exception.SystemException;
175
176 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
177 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchDLFileEntry(
178 long fileEntryId)
179 throws com.liferay.portal.kernel.exception.SystemException;
180
181
189 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
190 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchDLFileEntryByUuidAndCompanyId(
191 java.lang.String uuid, long companyId)
192 throws com.liferay.portal.kernel.exception.SystemException;
193
194
202 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
203 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchDLFileEntryByUuidAndGroupId(
204 java.lang.String uuid, long groupId)
205 throws com.liferay.portal.kernel.exception.SystemException;
206
207
215 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
216 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntry(
217 long fileEntryId)
218 throws com.liferay.portal.kernel.exception.PortalException,
219 com.liferay.portal.kernel.exception.SystemException;
220
221 @Override
222 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
223 public com.liferay.portal.model.PersistedModel getPersistedModel(
224 java.io.Serializable primaryKeyObj)
225 throws com.liferay.portal.kernel.exception.PortalException,
226 com.liferay.portal.kernel.exception.SystemException;
227
228
237 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
238 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntryByUuidAndCompanyId(
239 java.lang.String uuid, long companyId)
240 throws com.liferay.portal.kernel.exception.PortalException,
241 com.liferay.portal.kernel.exception.SystemException;
242
243
252 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
253 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntryByUuidAndGroupId(
254 java.lang.String uuid, long groupId)
255 throws com.liferay.portal.kernel.exception.PortalException,
256 com.liferay.portal.kernel.exception.SystemException;
257
258
270 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
271 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntries(
272 int start, int end)
273 throws com.liferay.portal.kernel.exception.SystemException;
274
275
281 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
282 public int getDLFileEntriesCount()
283 throws com.liferay.portal.kernel.exception.SystemException;
284
285
292 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
293 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
294 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
295 throws com.liferay.portal.kernel.exception.SystemException;
296
297
302 public java.lang.String getBeanIdentifier();
303
304
309 public void setBeanIdentifier(java.lang.String beanIdentifier);
310
311 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
312 long userId, long groupId, long repositoryId, long folderId,
313 java.lang.String sourceFileName, java.lang.String mimeType,
314 java.lang.String title, java.lang.String description,
315 java.lang.String changeLog, long fileEntryTypeId,
316 java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
317 java.io.File file, java.io.InputStream is, long size,
318 com.liferay.portal.service.ServiceContext serviceContext)
319 throws com.liferay.portal.kernel.exception.PortalException,
320 com.liferay.portal.kernel.exception.SystemException;
321
322 public com.liferay.portlet.documentlibrary.model.DLFileVersion cancelCheckOut(
323 long userId, long fileEntryId)
324 throws com.liferay.portal.kernel.exception.PortalException,
325 com.liferay.portal.kernel.exception.SystemException;
326
327 public void checkInFileEntry(long userId, long fileEntryId,
328 boolean majorVersion, java.lang.String changeLog,
329 com.liferay.portal.service.ServiceContext serviceContext)
330 throws com.liferay.portal.kernel.exception.PortalException,
331 com.liferay.portal.kernel.exception.SystemException;
332
333
337 public void checkInFileEntry(long userId, long fileEntryId,
338 java.lang.String lockUuid)
339 throws com.liferay.portal.kernel.exception.PortalException,
340 com.liferay.portal.kernel.exception.SystemException;
341
342 public void checkInFileEntry(long userId, long fileEntryId,
343 java.lang.String lockUuid,
344 com.liferay.portal.service.ServiceContext serviceContext)
345 throws com.liferay.portal.kernel.exception.PortalException,
346 com.liferay.portal.kernel.exception.SystemException;
347
348
352 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
353 long userId, long fileEntryId)
354 throws com.liferay.portal.kernel.exception.PortalException,
355 com.liferay.portal.kernel.exception.SystemException;
356
357 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
358 long userId, long fileEntryId,
359 com.liferay.portal.service.ServiceContext serviceContext)
360 throws com.liferay.portal.kernel.exception.PortalException,
361 com.liferay.portal.kernel.exception.SystemException;
362
363
367 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
368 long userId, long fileEntryId, java.lang.String owner,
369 long expirationTime)
370 throws com.liferay.portal.kernel.exception.PortalException,
371 com.liferay.portal.kernel.exception.SystemException;
372
373 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
374 long userId, long fileEntryId, java.lang.String owner,
375 long expirationTime,
376 com.liferay.portal.service.ServiceContext serviceContext)
377 throws com.liferay.portal.kernel.exception.PortalException,
378 com.liferay.portal.kernel.exception.SystemException;
379
380 public void convertExtraSettings(java.lang.String[] keys)
381 throws com.liferay.portal.kernel.exception.PortalException,
382 com.liferay.portal.kernel.exception.SystemException;
383
384 public void copyFileEntryMetadata(long companyId, long fileEntryTypeId,
385 long fileEntryId, long fromFileVersionId, long toFileVersionId,
386 com.liferay.portal.service.ServiceContext serviceContext)
387 throws com.liferay.portal.kernel.exception.PortalException,
388 com.liferay.portal.kernel.exception.SystemException;
389
390 public void deleteFileEntries(long groupId, long folderId)
391 throws com.liferay.portal.kernel.exception.PortalException,
392 com.liferay.portal.kernel.exception.SystemException;
393
394 public void deleteFileEntries(long groupId, long folderId,
395 boolean includeTrashedEntries)
396 throws com.liferay.portal.kernel.exception.PortalException,
397 com.liferay.portal.kernel.exception.SystemException;
398
399 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
400 @com.liferay.portal.kernel.systemevent.SystemEvent(action = SystemEventConstants.ACTION_SKIP, type = SystemEventConstants.TYPE_DELETE)
401 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
402 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
403 throws com.liferay.portal.kernel.exception.PortalException,
404 com.liferay.portal.kernel.exception.SystemException;
405
406 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
407 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
408 long fileEntryId)
409 throws com.liferay.portal.kernel.exception.PortalException,
410 com.liferay.portal.kernel.exception.SystemException;
411
412 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
413 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
414 long userId, long fileEntryId)
415 throws com.liferay.portal.kernel.exception.PortalException,
416 com.liferay.portal.kernel.exception.SystemException;
417
418 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
419 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileVersion(
420 long userId, long fileEntryId, java.lang.String version)
421 throws com.liferay.portal.kernel.exception.PortalException,
422 com.liferay.portal.kernel.exception.SystemException;
423
424 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
425 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntry(
426 long groupId, long folderId, java.lang.String title)
427 throws com.liferay.portal.kernel.exception.SystemException;
428
429 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
430 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByAnyImageId(
431 long imageId)
432 throws com.liferay.portal.kernel.exception.SystemException;
433
434 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
435 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByName(
436 long groupId, long folderId, java.lang.String name)
437 throws com.liferay.portal.kernel.exception.SystemException;
438
439 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
440 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDDMStructureFileEntries(
441 long groupId, long[] ddmStructureIds)
442 throws com.liferay.portal.kernel.exception.SystemException;
443
444 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
445 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDDMStructureFileEntries(
446 long[] ddmStructureIds)
447 throws com.liferay.portal.kernel.exception.SystemException;
448
449 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
450 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
451 int start, int end)
452 throws com.liferay.portal.kernel.exception.SystemException;
453
454 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
455 public int getExtraSettingsFileEntriesCount()
456 throws com.liferay.portal.kernel.exception.SystemException;
457
458 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
459 public java.io.File getFile(long userId, long fileEntryId,
460 java.lang.String version, boolean incrementCounter)
461 throws com.liferay.portal.kernel.exception.PortalException,
462 com.liferay.portal.kernel.exception.SystemException;
463
464 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
465 public java.io.File getFile(long userId, long fileEntryId,
466 java.lang.String version, boolean incrementCounter, int increment)
467 throws com.liferay.portal.kernel.exception.PortalException,
468 com.liferay.portal.kernel.exception.SystemException;
469
470 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
471 java.lang.String version)
472 throws com.liferay.portal.kernel.exception.PortalException,
473 com.liferay.portal.kernel.exception.SystemException;
474
475 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
476 java.lang.String version, boolean incrementCounter)
477 throws com.liferay.portal.kernel.exception.PortalException,
478 com.liferay.portal.kernel.exception.SystemException;
479
480 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
481 java.lang.String version, boolean incrementCounter, int increment)
482 throws com.liferay.portal.kernel.exception.PortalException,
483 com.liferay.portal.kernel.exception.SystemException;
484
485 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
486 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
487 int start, int end)
488 throws com.liferay.portal.kernel.exception.SystemException;
489
490 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
491 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
492 long groupId, long folderId)
493 throws com.liferay.portal.kernel.exception.SystemException;
494
495 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
496 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
497 long groupId, long folderId, int status, int start, int end,
498 com.liferay.portal.kernel.util.OrderByComparator obc)
499 throws com.liferay.portal.kernel.exception.SystemException;
500
501 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
502 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
503 long groupId, long folderId, int start, int end,
504 com.liferay.portal.kernel.util.OrderByComparator obc)
505 throws com.liferay.portal.kernel.exception.SystemException;
506
507 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
508 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
509 long groupId, long userId, java.util.List<java.lang.Long> folderIds,
510 java.lang.String[] mimeTypes,
511 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
512 throws java.lang.Exception;
513
514 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
515 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
516 long folderId, java.lang.String name)
517 throws com.liferay.portal.kernel.exception.SystemException;
518
519 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
520 public int getFileEntriesCount()
521 throws com.liferay.portal.kernel.exception.SystemException;
522
523 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
524 public int getFileEntriesCount(long groupId,
525 com.liferay.portal.kernel.util.DateRange dateRange, long repositoryId,
526 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
527 throws com.liferay.portal.kernel.exception.SystemException;
528
529 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
530 public int getFileEntriesCount(long groupId, long folderId)
531 throws com.liferay.portal.kernel.exception.SystemException;
532
533 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
534 public int getFileEntriesCount(long groupId, long folderId, int status)
535 throws com.liferay.portal.kernel.exception.SystemException;
536
537 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
538 public int getFileEntriesCount(long groupId, long userId,
539 java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
540 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
541 throws java.lang.Exception;
542
543 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
544 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
545 long fileEntryId)
546 throws com.liferay.portal.kernel.exception.PortalException,
547 com.liferay.portal.kernel.exception.SystemException;
548
549 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
550 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
551 long groupId, long folderId, java.lang.String title)
552 throws com.liferay.portal.kernel.exception.PortalException,
553 com.liferay.portal.kernel.exception.SystemException;
554
555 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
556 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
557 long groupId, long folderId, java.lang.String name)
558 throws com.liferay.portal.kernel.exception.PortalException,
559 com.liferay.portal.kernel.exception.SystemException;
560
561 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
562 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
563 java.lang.String uuid, long groupId)
564 throws com.liferay.portal.kernel.exception.PortalException,
565 com.liferay.portal.kernel.exception.SystemException;
566
567 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
568 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
569 long groupId, int start, int end)
570 throws com.liferay.portal.kernel.exception.SystemException;
571
572 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
573 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
574 long groupId, int start, int end,
575 com.liferay.portal.kernel.util.OrderByComparator obc)
576 throws com.liferay.portal.kernel.exception.SystemException;
577
578 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
579 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
580 long groupId, long userId, int start, int end)
581 throws com.liferay.portal.kernel.exception.SystemException;
582
583 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
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
589 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
590 public int getGroupFileEntriesCount(long groupId)
591 throws com.liferay.portal.kernel.exception.SystemException;
592
593 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
594 public int getGroupFileEntriesCount(long groupId, long userId)
595 throws com.liferay.portal.kernel.exception.SystemException;
596
597 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
598 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries()
599 throws com.liferay.portal.kernel.exception.SystemException;
600
601 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
602 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
603 throws com.liferay.portal.kernel.exception.SystemException;
604
605 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
606 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries()
607 throws com.liferay.portal.kernel.exception.SystemException;
608
609 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
610 public boolean hasExtraSettings()
611 throws com.liferay.portal.kernel.exception.SystemException;
612
613 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
614 public boolean hasFileEntryLock(long userId, long fileEntryId)
615 throws com.liferay.portal.kernel.exception.PortalException,
616 com.liferay.portal.kernel.exception.SystemException;
617
618 @com.liferay.portal.kernel.increment.BufferedIncrement(configuration = "DLFileEntry", incrementClass = com.liferay.portal.kernel.increment.NumberIncrement.class)
619 public void incrementViewCounter(
620 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
621 int increment)
622 throws com.liferay.portal.kernel.exception.SystemException;
623
624 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
625 public boolean isFileEntryCheckedOut(long fileEntryId)
626 throws com.liferay.portal.kernel.exception.PortalException,
627 com.liferay.portal.kernel.exception.SystemException;
628
629 public com.liferay.portal.model.Lock lockFileEntry(long userId,
630 long fileEntryId)
631 throws com.liferay.portal.kernel.exception.PortalException,
632 com.liferay.portal.kernel.exception.SystemException;
633
634 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
635 public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
636 long userId, long fileEntryId, long newFolderId,
637 com.liferay.portal.service.ServiceContext serviceContext)
638 throws com.liferay.portal.kernel.exception.PortalException,
639 com.liferay.portal.kernel.exception.SystemException;
640
641 public void rebuildTree(long companyId)
642 throws com.liferay.portal.kernel.exception.SystemException;
643
644 public void revertFileEntry(long userId, long fileEntryId,
645 java.lang.String version,
646 com.liferay.portal.service.ServiceContext serviceContext)
647 throws com.liferay.portal.kernel.exception.PortalException,
648 com.liferay.portal.kernel.exception.SystemException;
649
650 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
651 public com.liferay.portal.kernel.search.Hits search(long groupId,
652 long userId, long creatorUserId, int status, int start, int end)
653 throws com.liferay.portal.kernel.exception.PortalException,
654 com.liferay.portal.kernel.exception.SystemException;
655
656 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
657 public com.liferay.portal.kernel.search.Hits search(long groupId,
658 long userId, long creatorUserId, long folderId,
659 java.lang.String[] mimeTypes, int status, int start, int end)
660 throws com.liferay.portal.kernel.exception.PortalException,
661 com.liferay.portal.kernel.exception.SystemException;
662
663 public void unlockFileEntry(long fileEntryId)
664 throws com.liferay.portal.kernel.exception.SystemException;
665
666 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
667 long userId, long fileEntryId, java.lang.String sourceFileName,
668 java.lang.String mimeType, java.lang.String title,
669 java.lang.String description, java.lang.String changeLog,
670 boolean majorVersion, long fileEntryTypeId,
671 java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
672 java.io.File file, java.io.InputStream is, long size,
673 com.liferay.portal.service.ServiceContext serviceContext)
674 throws com.liferay.portal.kernel.exception.PortalException,
675 com.liferay.portal.kernel.exception.SystemException;
676
677 public void updateSmallImage(long smallImageId, long largeImageId)
678 throws com.liferay.portal.kernel.exception.PortalException,
679 com.liferay.portal.kernel.exception.SystemException;
680
681 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
682 long userId, long fileVersionId, int status,
683 java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
684 com.liferay.portal.service.ServiceContext serviceContext)
685 throws com.liferay.portal.kernel.exception.PortalException,
686 com.liferay.portal.kernel.exception.SystemException;
687
688 public boolean verifyFileEntryCheckOut(long fileEntryId,
689 java.lang.String lockUuid)
690 throws com.liferay.portal.kernel.exception.PortalException,
691 com.liferay.portal.kernel.exception.SystemException;
692
693 public boolean verifyFileEntryLock(long fileEntryId,
694 java.lang.String lockUuid)
695 throws com.liferay.portal.kernel.exception.PortalException,
696 com.liferay.portal.kernel.exception.SystemException;
697
698 public void validateFile(long groupId, long folderId, long fileEntryId,
699 java.lang.String title, java.lang.String extension)
700 throws com.liferay.portal.kernel.exception.PortalException,
701 com.liferay.portal.kernel.exception.SystemException;
702 }