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.portlet.dynamicdatamapping.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
079 @java.lang.Deprecated
080 public void checkInFileEntry(long userId, long fileEntryId,
081 java.lang.String lockUuid) throws PortalException;
082
083 public void checkInFileEntry(long userId, long fileEntryId,
084 java.lang.String lockUuid,
085 com.liferay.portal.service.ServiceContext serviceContext)
086 throws PortalException;
087
088 public void checkInFileEntry(long userId, long fileEntryId,
089 boolean majorVersion, java.lang.String changeLog,
090 com.liferay.portal.service.ServiceContext serviceContext)
091 throws PortalException;
092
093
097 @java.lang.Deprecated
098 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
099 long userId, long fileEntryId) throws PortalException;
100
101
105 @java.lang.Deprecated
106 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
107 long userId, long fileEntryId, java.lang.String owner,
108 long expirationTime) throws PortalException;
109
110 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
111 long userId, long fileEntryId, java.lang.String owner,
112 long expirationTime,
113 com.liferay.portal.service.ServiceContext serviceContext)
114 throws PortalException;
115
116 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
117 long userId, long fileEntryId,
118 com.liferay.portal.service.ServiceContext serviceContext)
119 throws PortalException;
120
121 public void convertExtraSettings(java.lang.String[] keys)
122 throws PortalException;
123
124 public com.liferay.portlet.documentlibrary.model.DLFileEntry copyFileEntry(
125 long userId, long groupId, long repositoryId, long fileEntryId,
126 long destFolderId,
127 com.liferay.portal.service.ServiceContext serviceContext)
128 throws PortalException;
129
130 public void copyFileEntryMetadata(long companyId, long fileEntryTypeId,
131 long fileEntryId, long fromFileVersionId, long toFileVersionId,
132 com.liferay.portal.service.ServiceContext serviceContext)
133 throws PortalException;
134
135
141 public com.liferay.portlet.documentlibrary.model.DLFileEntry createDLFileEntry(
142 long fileEntryId);
143
144
150 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
151 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteDLFileEntry(
152 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry);
153
154
161 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
162 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteDLFileEntry(
163 long fileEntryId) throws PortalException;
164
165 public void deleteFileEntries(long groupId, long folderId)
166 throws PortalException;
167
168 public void deleteFileEntries(long groupId, long folderId,
169 boolean includeTrashedEntries) throws PortalException;
170
171 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
172 @com.liferay.portal.kernel.systemevent.SystemEvent(action = SystemEventConstants.ACTION_SKIP, type = SystemEventConstants.TYPE_DELETE)
173 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
174 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
175 throws PortalException;
176
177 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
178 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
179 long fileEntryId) throws PortalException;
180
181 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
182 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
183 long userId, long fileEntryId) throws PortalException;
184
185 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
186 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileVersion(
187 long userId, long fileEntryId, java.lang.String version)
188 throws PortalException;
189
190
193 @Override
194 public com.liferay.portal.model.PersistedModel deletePersistedModel(
195 com.liferay.portal.model.PersistedModel persistedModel)
196 throws PortalException;
197
198 public void deleteRepositoryFileEntries(long repositoryId, long folderId)
199 throws PortalException;
200
201 public void deleteRepositoryFileEntries(long repositoryId, long folderId,
202 boolean includeTrashedEntries) throws PortalException;
203
204 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
205
206
212 public <T> java.util.List<T> dynamicQuery(
213 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
214
215
227 public <T> java.util.List<T> dynamicQuery(
228 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
229 int end);
230
231
244 public <T> java.util.List<T> dynamicQuery(
245 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
246 int end,
247 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator);
248
249
255 public long dynamicQueryCount(
256 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
257
258
265 public long dynamicQueryCount(
266 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
267 com.liferay.portal.kernel.dao.orm.Projection projection);
268
269 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
270 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchDLFileEntry(
271 long fileEntryId);
272
273
280 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
281 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchDLFileEntryByUuidAndGroupId(
282 java.lang.String uuid, long groupId);
283
284 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
285 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntry(
286 long groupId, long folderId, java.lang.String title);
287
288 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
289 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByAnyImageId(
290 long imageId);
291
292 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
293 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByFileName(
294 long groupId, long folderId, java.lang.String fileName);
295
296 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
297 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByName(
298 long groupId, long folderId, java.lang.String name);
299
300 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
301 public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery();
302
303 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
304 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDDMStructureFileEntries(
305 long[] ddmStructureIds);
306
307 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
308 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDDMStructureFileEntries(
309 long groupId, long[] ddmStructureIds);
310
311
322 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
323 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntries(
324 int start, int end);
325
326
333 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
334 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntriesByUuidAndCompanyId(
335 java.lang.String uuid, long companyId);
336
337
347 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
348 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntriesByUuidAndCompanyId(
349 java.lang.String uuid, long companyId, int start, int end,
350 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
351
352
357 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
358 public int getDLFileEntriesCount();
359
360
367 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
368 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntry(
369 long fileEntryId) throws PortalException;
370
371
379 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
380 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntryByUuidAndGroupId(
381 java.lang.String uuid, long groupId) throws PortalException;
382
383 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
384 public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
385 com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext);
386
387 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
388 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
389 int start, int end);
390
391 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
392 public int getExtraSettingsFileEntriesCount();
393
394 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
395 public java.io.File getFile(long fileEntryId, java.lang.String version,
396 boolean incrementCounter) throws PortalException;
397
398 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
399 public java.io.File getFile(long fileEntryId, java.lang.String version,
400 boolean incrementCounter, int increment) throws PortalException;
401
402
406 @java.lang.Deprecated
407 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
408 public java.io.File getFile(long userId, long fileEntryId,
409 java.lang.String version, boolean incrementCounter)
410 throws PortalException;
411
412
416 @java.lang.Deprecated
417 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
418 public java.io.File getFile(long userId, long fileEntryId,
419 java.lang.String version, boolean incrementCounter, int increment)
420 throws PortalException;
421
422 public java.io.InputStream getFileAsStream(long fileEntryId,
423 java.lang.String version) throws PortalException;
424
425 public java.io.InputStream getFileAsStream(long fileEntryId,
426 java.lang.String version, boolean incrementCounter)
427 throws PortalException;
428
429 public java.io.InputStream getFileAsStream(long fileEntryId,
430 java.lang.String version, boolean incrementCounter, int increment)
431 throws PortalException;
432
433
437 @java.lang.Deprecated
438 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
439 java.lang.String version) throws PortalException;
440
441
445 @java.lang.Deprecated
446 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
447 java.lang.String version, boolean incrementCounter)
448 throws PortalException;
449
450
454 @java.lang.Deprecated
455 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
456 java.lang.String version, boolean incrementCounter, int increment)
457 throws PortalException;
458
459 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
460 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
461 long folderId, java.lang.String name);
462
463 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
464 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
465 long groupId, long folderId);
466
467 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
468 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
469 long groupId, long folderId, int start, int end,
470 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc);
471
472 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
473 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
474 long groupId, long folderId, int status, int start, int end,
475 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc);
476
477 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
478 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
479 long groupId, long userId, java.util.List<java.lang.Long> folderIds,
480 java.lang.String[] mimeTypes,
481 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
482 throws java.lang.Exception;
483
484 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
485 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
486 long groupId, long userId,
487 java.util.List<java.lang.Long> repositoryIds,
488 java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
489 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
490 throws java.lang.Exception;
491
492 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
493 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
494 int start, int end);
495
496 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
497 public int getFileEntriesCount();
498
499
502 @java.lang.Deprecated
503 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
504 public int getFileEntriesCount(long groupId,
505 com.liferay.portal.kernel.util.DateRange dateRange, long repositoryId,
506 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition);
507
508 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
509 public int getFileEntriesCount(long groupId, long folderId);
510
511 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
512 public int getFileEntriesCount(long groupId, long folderId, int status);
513
514 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
515 public int getFileEntriesCount(long groupId, long userId,
516 java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
517 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
518 throws java.lang.Exception;
519
520 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
521 public int getFileEntriesCount(long groupId, long userId,
522 java.util.List<java.lang.Long> repositoryIds,
523 java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
524 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
525 throws java.lang.Exception;
526
527 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
528 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
529 long fileEntryId) throws PortalException;
530
531 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
532 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
533 long groupId, long folderId, java.lang.String title)
534 throws PortalException;
535
536 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
537 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
538 long groupId, long folderId, java.lang.String name)
539 throws PortalException;
540
541 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
542 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
543 java.lang.String uuid, long groupId) throws PortalException;
544
545 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
546 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
547 long groupId, int start, int end);
548
549 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
550 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
551 long groupId, int start, int end,
552 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc);
553
554 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
555 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
556 long groupId, long userId, long repositoryId, long rootFolderId,
557 int start, int end,
558 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc);
559
560 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
561 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
562 long groupId, long userId, long rootFolderId, int start, int end,
563 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc);
564
565 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
566 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
567 long groupId, long userId, int start, int end);
568
569 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
570 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
571 long groupId, long userId, int start, int end,
572 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc);
573
574 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
575 public int getGroupFileEntriesCount(long groupId);
576
577 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
578 public int getGroupFileEntriesCount(long groupId, long userId);
579
580 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
581 public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery();
582
583 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
584 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries();
585
586 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
587 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries();
588
589
594 public java.lang.String getOSGiServiceIdentifier();
595
596 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
597 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries();
598
599 @Override
600 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
601 public com.liferay.portal.model.PersistedModel getPersistedModel(
602 java.io.Serializable primaryKeyObj) throws PortalException;
603
604 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
605 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getRepositoryFileEntries(
606 long repositoryId, int start, int end);
607
608 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
609 public int getRepositoryFileEntriesCount(long repositoryId);
610
611 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
612 public java.lang.String getUniqueTitle(long groupId, long folderId,
613 long fileEntryId, java.lang.String title, java.lang.String extension)
614 throws PortalException;
615
616 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
617 public boolean hasExtraSettings();
618
619 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
620 public boolean hasFileEntryLock(long userId, long fileEntryId)
621 throws PortalException;
622
623 @com.liferay.portal.kernel.increment.BufferedIncrement(configuration = "DLFileEntry", incrementClass = com.liferay.portal.kernel.increment.NumberIncrement.class)
624 public void incrementViewCounter(
625 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
626 int increment);
627
628 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
629 public boolean isFileEntryCheckedOut(long fileEntryId)
630 throws PortalException;
631
632 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
633 public boolean isKeepFileVersionLabel(long fileEntryId,
634 com.liferay.portal.service.ServiceContext serviceContext)
635 throws PortalException;
636
637 public com.liferay.portal.kernel.lock.Lock lockFileEntry(long userId,
638 long fileEntryId) throws PortalException;
639
640 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
641 public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
642 long userId, long fileEntryId, long newFolderId,
643 com.liferay.portal.service.ServiceContext serviceContext)
644 throws PortalException;
645
646 public void rebuildTree(long companyId) throws PortalException;
647
648 public void revertFileEntry(long userId, long fileEntryId,
649 java.lang.String version,
650 com.liferay.portal.service.ServiceContext serviceContext)
651 throws PortalException;
652
653 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
654 public com.liferay.portal.kernel.search.Hits search(long groupId,
655 long userId, long creatorUserId, long folderId,
656 java.lang.String[] mimeTypes, int status, int start, int end)
657 throws PortalException;
658
659 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
660 public com.liferay.portal.kernel.search.Hits search(long groupId,
661 long userId, long creatorUserId, int status, int start, int end)
662 throws PortalException;
663
664 public void setTreePaths(long folderId, java.lang.String treePath,
665 boolean reindex) throws PortalException;
666
667 public void unlockFileEntry(long fileEntryId);
668
669
675 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
676 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
677 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry);
678
679 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
680 long userId, long fileEntryId, java.lang.String sourceFileName,
681 java.lang.String mimeType, java.lang.String title,
682 java.lang.String description, java.lang.String changeLog,
683 boolean majorVersion, long fileEntryTypeId,
684 java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.DDMFormValues> ddmFormValuesMap,
685 java.io.File file, java.io.InputStream is, long size,
686 com.liferay.portal.service.ServiceContext serviceContext)
687 throws PortalException;
688
689 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntryType(
690 long userId, long fileEntryId, long fileEntryTypeId,
691 com.liferay.portal.service.ServiceContext serviceContext)
692 throws PortalException;
693
694 public void updateSmallImage(long smallImageId, long largeImageId)
695 throws PortalException;
696
697 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
698 long userId, long fileVersionId, int status,
699 com.liferay.portal.service.ServiceContext serviceContext,
700 java.util.Map<java.lang.String, java.io.Serializable> workflowContext)
701 throws PortalException;
702
703 public void validateFile(long groupId, long folderId, long fileEntryId,
704 java.lang.String fileName, java.lang.String title)
705 throws PortalException;
706
707 public boolean verifyFileEntryCheckOut(long fileEntryId,
708 java.lang.String lockUuid) throws PortalException;
709
710 public boolean verifyFileEntryLock(long fileEntryId,
711 java.lang.String lockUuid) throws PortalException;
712 }