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
058 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
059 public com.liferay.portlet.documentlibrary.model.DLFileEntry addDLFileEntry(
060 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry);
061
062 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
063 long userId, long groupId, long repositoryId, long folderId,
064 java.lang.String sourceFileName, java.lang.String mimeType,
065 java.lang.String title, java.lang.String description,
066 java.lang.String changeLog, long fileEntryTypeId,
067 java.util.Map<java.lang.String, com.liferay.dynamic.data.mapping.kernel.DDMFormValues> ddmFormValuesMap,
068 java.io.File file, java.io.InputStream is, long size,
069 com.liferay.portal.service.ServiceContext serviceContext)
070 throws PortalException;
071
072 public com.liferay.portlet.documentlibrary.model.DLFileVersion cancelCheckOut(
073 long userId, long fileEntryId) throws PortalException;
074
075 public void checkInFileEntry(long userId, long fileEntryId,
076 java.lang.String lockUuid,
077 com.liferay.portal.service.ServiceContext serviceContext)
078 throws PortalException;
079
080 public void checkInFileEntry(long userId, long fileEntryId,
081 boolean majorVersion, java.lang.String changeLog,
082 com.liferay.portal.service.ServiceContext serviceContext)
083 throws PortalException;
084
085 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
086 long userId, long fileEntryId, java.lang.String owner,
087 long expirationTime,
088 com.liferay.portal.service.ServiceContext serviceContext)
089 throws PortalException;
090
091 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
092 long userId, long fileEntryId,
093 com.liferay.portal.service.ServiceContext serviceContext)
094 throws PortalException;
095
096 public void convertExtraSettings(java.lang.String[] keys)
097 throws PortalException;
098
099 public com.liferay.portlet.documentlibrary.model.DLFileEntry copyFileEntry(
100 long userId, long groupId, long repositoryId, long fileEntryId,
101 long destFolderId,
102 com.liferay.portal.service.ServiceContext serviceContext)
103 throws PortalException;
104
105 public void copyFileEntryMetadata(long companyId, long fileEntryTypeId,
106 long fileEntryId, long fromFileVersionId, long toFileVersionId,
107 com.liferay.portal.service.ServiceContext serviceContext)
108 throws PortalException;
109
110
116 public com.liferay.portlet.documentlibrary.model.DLFileEntry createDLFileEntry(
117 long fileEntryId);
118
119
125 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
126 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteDLFileEntry(
127 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry);
128
129
136 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
137 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteDLFileEntry(
138 long fileEntryId) throws PortalException;
139
140 public void deleteFileEntries(long groupId, long folderId)
141 throws PortalException;
142
143 public void deleteFileEntries(long groupId, long folderId,
144 boolean includeTrashedEntries) throws PortalException;
145
146 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
147 @com.liferay.portal.kernel.systemevent.SystemEvent(action = SystemEventConstants.ACTION_SKIP, type = SystemEventConstants.TYPE_DELETE)
148 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
149 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
150 throws PortalException;
151
152 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
153 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
154 long fileEntryId) throws PortalException;
155
156 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
157 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
158 long userId, long fileEntryId) throws PortalException;
159
160 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
161 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileVersion(
162 long userId, long fileEntryId, java.lang.String version)
163 throws PortalException;
164
165
168 @Override
169 public com.liferay.portal.model.PersistedModel deletePersistedModel(
170 com.liferay.portal.model.PersistedModel persistedModel)
171 throws PortalException;
172
173 public void deleteRepositoryFileEntries(long repositoryId, long folderId)
174 throws PortalException;
175
176 public void deleteRepositoryFileEntries(long repositoryId, long folderId,
177 boolean includeTrashedEntries) throws PortalException;
178
179 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
180
181
187 public <T> java.util.List<T> dynamicQuery(
188 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
189
190
202 public <T> java.util.List<T> dynamicQuery(
203 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
204 int end);
205
206
219 public <T> java.util.List<T> dynamicQuery(
220 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
221 int end,
222 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator);
223
224
230 public long dynamicQueryCount(
231 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
232
233
240 public long dynamicQueryCount(
241 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
242 com.liferay.portal.kernel.dao.orm.Projection projection);
243
244 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
245 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchDLFileEntry(
246 long fileEntryId);
247
248
255 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
256 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchDLFileEntryByUuidAndGroupId(
257 java.lang.String uuid, long groupId);
258
259 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
260 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntry(
261 long groupId, long folderId, java.lang.String title);
262
263 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
264 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByAnyImageId(
265 long imageId);
266
267 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
268 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByFileName(
269 long groupId, long folderId, java.lang.String fileName);
270
271 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
272 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByName(
273 long groupId, long folderId, java.lang.String name);
274
275 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
276 public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery();
277
278 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
279 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDDMStructureFileEntries(
280 long[] ddmStructureIds);
281
282 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
283 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDDMStructureFileEntries(
284 long groupId, long[] ddmStructureIds);
285
286
297 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
298 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntries(
299 int start, int end);
300
301
308 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
309 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntriesByUuidAndCompanyId(
310 java.lang.String uuid, long companyId);
311
312
322 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
323 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntriesByUuidAndCompanyId(
324 java.lang.String uuid, long companyId, int start, int end,
325 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
326
327
332 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
333 public int getDLFileEntriesCount();
334
335
342 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
343 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntry(
344 long fileEntryId) throws PortalException;
345
346
354 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
355 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntryByUuidAndGroupId(
356 java.lang.String uuid, long groupId) throws PortalException;
357
358 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
359 public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
360 com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext);
361
362 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
363 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
364 int start, int end);
365
366 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
367 public int getExtraSettingsFileEntriesCount();
368
369 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
370 public java.io.File getFile(long fileEntryId, java.lang.String version,
371 boolean incrementCounter) throws PortalException;
372
373 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
374 public java.io.File getFile(long fileEntryId, java.lang.String version,
375 boolean incrementCounter, int increment) throws PortalException;
376
377
381 @java.lang.Deprecated
382 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
383 public java.io.File getFile(long userId, long fileEntryId,
384 java.lang.String version, boolean incrementCounter)
385 throws PortalException;
386
387
391 @java.lang.Deprecated
392 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
393 public java.io.File getFile(long userId, long fileEntryId,
394 java.lang.String version, boolean incrementCounter, int increment)
395 throws PortalException;
396
397 public java.io.InputStream getFileAsStream(long fileEntryId,
398 java.lang.String version) throws PortalException;
399
400 public java.io.InputStream getFileAsStream(long fileEntryId,
401 java.lang.String version, boolean incrementCounter)
402 throws PortalException;
403
404 public java.io.InputStream getFileAsStream(long fileEntryId,
405 java.lang.String version, boolean incrementCounter, int increment)
406 throws PortalException;
407
408
412 @java.lang.Deprecated
413 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
414 java.lang.String version) throws PortalException;
415
416
420 @java.lang.Deprecated
421 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
422 java.lang.String version, boolean incrementCounter)
423 throws PortalException;
424
425
429 @java.lang.Deprecated
430 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
431 java.lang.String version, boolean incrementCounter, int increment)
432 throws PortalException;
433
434 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
435 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
436 long folderId, java.lang.String name);
437
438 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
439 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
440 long groupId, long folderId);
441
442 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
443 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
444 long groupId, long folderId, int start, int end,
445 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc);
446
447 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
448 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
449 long groupId, long folderId, int status, int start, int end,
450 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc);
451
452 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
453 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
454 long groupId, long userId, java.util.List<java.lang.Long> folderIds,
455 java.lang.String[] mimeTypes,
456 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
457 throws java.lang.Exception;
458
459 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
460 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
461 long groupId, long userId,
462 java.util.List<java.lang.Long> repositoryIds,
463 java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
464 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
465 throws java.lang.Exception;
466
467 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
468 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
469 int start, int end);
470
471 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
472 public int getFileEntriesCount();
473
474
477 @java.lang.Deprecated
478 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
479 public int getFileEntriesCount(long groupId,
480 com.liferay.portal.kernel.util.DateRange dateRange, long repositoryId,
481 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition);
482
483 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
484 public int getFileEntriesCount(long groupId, long folderId);
485
486 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
487 public int getFileEntriesCount(long groupId, long folderId, int status);
488
489 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
490 public int getFileEntriesCount(long groupId, long userId,
491 java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
492 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
493 throws java.lang.Exception;
494
495 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
496 public int getFileEntriesCount(long groupId, long userId,
497 java.util.List<java.lang.Long> repositoryIds,
498 java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
499 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
500 throws java.lang.Exception;
501
502 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
503 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
504 long fileEntryId) throws PortalException;
505
506 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
507 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
508 long groupId, long folderId, java.lang.String title)
509 throws PortalException;
510
511 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
512 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
513 long groupId, long folderId, java.lang.String name)
514 throws PortalException;
515
516 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
517 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
518 java.lang.String uuid, long groupId) throws PortalException;
519
520 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
521 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
522 long groupId, int start, int end);
523
524 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
525 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
526 long groupId, int start, int end,
527 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc);
528
529 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
530 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
531 long groupId, long userId, long repositoryId, long rootFolderId,
532 int start, int end,
533 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc);
534
535 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
536 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
537 long groupId, long userId, long rootFolderId, int start, int end,
538 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc);
539
540 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
541 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
542 long groupId, long userId, int start, int end);
543
544 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
545 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
546 long groupId, long userId, int start, int end,
547 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc);
548
549 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
550 public int getGroupFileEntriesCount(long groupId);
551
552 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
553 public int getGroupFileEntriesCount(long groupId, long userId);
554
555 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
556 public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery();
557
558 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
559 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries();
560
561 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
562 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries();
563
564
569 public java.lang.String getOSGiServiceIdentifier();
570
571 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
572 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries();
573
574 @Override
575 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
576 public com.liferay.portal.model.PersistedModel getPersistedModel(
577 java.io.Serializable primaryKeyObj) throws PortalException;
578
579 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
580 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getRepositoryFileEntries(
581 long repositoryId, int start, int end);
582
583 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
584 public int getRepositoryFileEntriesCount(long repositoryId);
585
586 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
587 public java.lang.String getUniqueTitle(long groupId, long folderId,
588 long fileEntryId, java.lang.String title, java.lang.String extension)
589 throws PortalException;
590
591 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
592 public boolean hasExtraSettings();
593
594 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
595 public boolean hasFileEntryLock(long userId, long fileEntryId)
596 throws PortalException;
597
598 @com.liferay.portal.kernel.increment.BufferedIncrement(configuration = "DLFileEntry", incrementClass = com.liferay.portal.kernel.increment.NumberIncrement.class)
599 public void incrementViewCounter(
600 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
601 int increment);
602
603 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
604 public boolean isFileEntryCheckedOut(long fileEntryId)
605 throws PortalException;
606
607 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
608 public boolean isKeepFileVersionLabel(long fileEntryId,
609 com.liferay.portal.service.ServiceContext serviceContext)
610 throws PortalException;
611
612 public com.liferay.portal.kernel.lock.Lock lockFileEntry(long userId,
613 long fileEntryId) throws PortalException;
614
615 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
616 public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
617 long userId, long fileEntryId, long newFolderId,
618 com.liferay.portal.service.ServiceContext serviceContext)
619 throws PortalException;
620
621 public void rebuildTree(long companyId) throws PortalException;
622
623 public void revertFileEntry(long userId, long fileEntryId,
624 java.lang.String version,
625 com.liferay.portal.service.ServiceContext serviceContext)
626 throws PortalException;
627
628 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
629 public com.liferay.portal.kernel.search.Hits search(long groupId,
630 long userId, long creatorUserId, long folderId,
631 java.lang.String[] mimeTypes, int status, int start, int end)
632 throws PortalException;
633
634 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
635 public com.liferay.portal.kernel.search.Hits search(long groupId,
636 long userId, long creatorUserId, int status, int start, int end)
637 throws PortalException;
638
639 public void setTreePaths(long folderId, java.lang.String treePath,
640 boolean reindex) throws PortalException;
641
642 public void unlockFileEntry(long fileEntryId);
643
644
650 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
651 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
652 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry);
653
654 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
655 long userId, long fileEntryId, java.lang.String sourceFileName,
656 java.lang.String mimeType, java.lang.String title,
657 java.lang.String description, java.lang.String changeLog,
658 boolean majorVersion, long fileEntryTypeId,
659 java.util.Map<java.lang.String, com.liferay.dynamic.data.mapping.kernel.DDMFormValues> ddmFormValuesMap,
660 java.io.File file, java.io.InputStream is, long size,
661 com.liferay.portal.service.ServiceContext serviceContext)
662 throws PortalException;
663
664 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntryType(
665 long userId, long fileEntryId, long fileEntryTypeId,
666 com.liferay.portal.service.ServiceContext serviceContext)
667 throws PortalException;
668
669 public void updateSmallImage(long smallImageId, long largeImageId)
670 throws PortalException;
671
672 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
673 long userId, long fileVersionId, int status,
674 com.liferay.portal.service.ServiceContext serviceContext,
675 java.util.Map<java.lang.String, java.io.Serializable> workflowContext)
676 throws PortalException;
677
678 public void validateFile(long groupId, long folderId, long fileEntryId,
679 java.lang.String fileName, java.lang.String title)
680 throws PortalException;
681
682 public boolean verifyFileEntryCheckOut(long fileEntryId,
683 java.lang.String lockUuid) throws PortalException;
684
685 public boolean verifyFileEntryLock(long fileEntryId,
686 java.lang.String lockUuid) throws PortalException;
687 }