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.storage.Fields> fieldsMap,
068 java.io.File file, java.io.InputStream is, long size,
069 com.liferay.portal.service.ServiceContext serviceContext)
070 throws com.liferay.portal.kernel.exception.PortalException;
071
072 public com.liferay.portlet.documentlibrary.model.DLFileVersion cancelCheckOut(
073 long userId, long fileEntryId)
074 throws com.liferay.portal.kernel.exception.PortalException;
075
076
080 @java.lang.Deprecated
081 public void checkInFileEntry(long userId, long fileEntryId,
082 java.lang.String lockUuid)
083 throws com.liferay.portal.kernel.exception.PortalException;
084
085 public void checkInFileEntry(long userId, long fileEntryId,
086 java.lang.String lockUuid,
087 com.liferay.portal.service.ServiceContext serviceContext)
088 throws com.liferay.portal.kernel.exception.PortalException;
089
090 public void checkInFileEntry(long userId, long fileEntryId,
091 boolean majorVersion, java.lang.String changeLog,
092 com.liferay.portal.service.ServiceContext serviceContext)
093 throws com.liferay.portal.kernel.exception.PortalException;
094
095
099 @java.lang.Deprecated
100 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
101 long userId, long fileEntryId)
102 throws com.liferay.portal.kernel.exception.PortalException;
103
104
108 @java.lang.Deprecated
109 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
110 long userId, long fileEntryId, java.lang.String owner,
111 long expirationTime)
112 throws com.liferay.portal.kernel.exception.PortalException;
113
114 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
115 long userId, long fileEntryId, java.lang.String owner,
116 long expirationTime,
117 com.liferay.portal.service.ServiceContext serviceContext)
118 throws com.liferay.portal.kernel.exception.PortalException;
119
120 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
121 long userId, long fileEntryId,
122 com.liferay.portal.service.ServiceContext serviceContext)
123 throws com.liferay.portal.kernel.exception.PortalException;
124
125 public void convertExtraSettings(java.lang.String[] keys)
126 throws com.liferay.portal.kernel.exception.PortalException;
127
128 public void copyFileEntryMetadata(long companyId, long fileEntryTypeId,
129 long fileEntryId, long fromFileVersionId, long toFileVersionId,
130 com.liferay.portal.service.ServiceContext serviceContext)
131 throws com.liferay.portal.kernel.exception.PortalException;
132
133
139 public com.liferay.portlet.documentlibrary.model.DLFileEntry createDLFileEntry(
140 long fileEntryId);
141
142
148 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
149 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteDLFileEntry(
150 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry);
151
152
159 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
160 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteDLFileEntry(
161 long fileEntryId)
162 throws com.liferay.portal.kernel.exception.PortalException;
163
164 public void deleteFileEntries(long groupId, long folderId)
165 throws com.liferay.portal.kernel.exception.PortalException;
166
167 public void deleteFileEntries(long groupId, long folderId,
168 boolean includeTrashedEntries)
169 throws com.liferay.portal.kernel.exception.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 com.liferay.portal.kernel.exception.PortalException;
176
177 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
178 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
179 long fileEntryId)
180 throws com.liferay.portal.kernel.exception.PortalException;
181
182 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
183 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
184 long userId, long fileEntryId)
185 throws com.liferay.portal.kernel.exception.PortalException;
186
187 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
188 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileVersion(
189 long userId, long fileEntryId, java.lang.String version)
190 throws com.liferay.portal.kernel.exception.PortalException;
191
192
195 @Override
196 public com.liferay.portal.model.PersistedModel deletePersistedModel(
197 com.liferay.portal.model.PersistedModel persistedModel)
198 throws com.liferay.portal.kernel.exception.PortalException;
199
200 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
201
202
208 public <T> java.util.List<T> dynamicQuery(
209 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
210
211
223 public <T> java.util.List<T> dynamicQuery(
224 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
225 int end);
226
227
240 public <T> java.util.List<T> dynamicQuery(
241 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
242 int end,
243 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator);
244
245
251 public long dynamicQueryCount(
252 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
253
254
261 public long dynamicQueryCount(
262 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
263 com.liferay.portal.kernel.dao.orm.Projection projection);
264
265 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
266 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchDLFileEntry(
267 long fileEntryId);
268
269
276 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
277 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchDLFileEntryByUuidAndGroupId(
278 java.lang.String uuid, long groupId);
279
280 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
281 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntry(
282 long groupId, long folderId, java.lang.String title);
283
284 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
285 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByAnyImageId(
286 long imageId);
287
288 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
289 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByFileName(
290 long groupId, long folderId, java.lang.String fileName);
291
292 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
293 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByName(
294 long groupId, long folderId, java.lang.String name);
295
296 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
297 public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery();
298
299
304 public java.lang.String getBeanIdentifier();
305
306 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
307 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDDMStructureFileEntries(
308 long[] ddmStructureIds);
309
310
321 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
322 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntries(
323 int start, int end);
324
325 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
326 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntriesByUuidAndCompanyId(
327 java.lang.String uuid, long companyId);
328
329 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
330 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntriesByUuidAndCompanyId(
331 java.lang.String uuid, long companyId, int start, int end,
332 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> orderByComparator);
333
334
339 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
340 public int getDLFileEntriesCount();
341
342
349 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
350 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntry(
351 long fileEntryId)
352 throws com.liferay.portal.kernel.exception.PortalException;
353
354
362 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
363 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntryByUuidAndGroupId(
364 java.lang.String uuid, long groupId)
365 throws com.liferay.portal.kernel.exception.PortalException;
366
367 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
368 public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
369 com.liferay.portal.kernel.lar.PortletDataContext portletDataContext);
370
371 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
372 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
373 int start, int end);
374
375 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
376 public int getExtraSettingsFileEntriesCount();
377
378 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
379 public java.io.File getFile(long fileEntryId, java.lang.String version,
380 boolean incrementCounter)
381 throws com.liferay.portal.kernel.exception.PortalException;
382
383 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
384 public java.io.File getFile(long fileEntryId, java.lang.String version,
385 boolean incrementCounter, int increment)
386 throws com.liferay.portal.kernel.exception.PortalException;
387
388
392 @java.lang.Deprecated
393 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
394 public java.io.File getFile(long userId, long fileEntryId,
395 java.lang.String version, boolean incrementCounter)
396 throws com.liferay.portal.kernel.exception.PortalException;
397
398
402 @java.lang.Deprecated
403 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
404 public java.io.File getFile(long userId, long fileEntryId,
405 java.lang.String version, boolean incrementCounter, int increment)
406 throws com.liferay.portal.kernel.exception.PortalException;
407
408 public java.io.InputStream getFileAsStream(long fileEntryId,
409 java.lang.String version)
410 throws com.liferay.portal.kernel.exception.PortalException;
411
412 public java.io.InputStream getFileAsStream(long fileEntryId,
413 java.lang.String version, boolean incrementCounter)
414 throws com.liferay.portal.kernel.exception.PortalException;
415
416 public java.io.InputStream getFileAsStream(long fileEntryId,
417 java.lang.String version, boolean incrementCounter, int increment)
418 throws com.liferay.portal.kernel.exception.PortalException;
419
420
424 @java.lang.Deprecated
425 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
426 java.lang.String version)
427 throws com.liferay.portal.kernel.exception.PortalException;
428
429
433 @java.lang.Deprecated
434 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
435 java.lang.String version, boolean incrementCounter)
436 throws com.liferay.portal.kernel.exception.PortalException;
437
438
442 @java.lang.Deprecated
443 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
444 java.lang.String version, boolean incrementCounter, int increment)
445 throws com.liferay.portal.kernel.exception.PortalException;
446
447 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
448 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
449 long folderId, java.lang.String name);
450
451 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
452 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
453 long groupId, long folderId);
454
455 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
456 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
457 long groupId, long folderId, int start, int end,
458 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc);
459
460 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
461 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
462 long groupId, long folderId, int status, int start, int end,
463 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc);
464
465 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
466 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
467 long groupId, long userId, java.util.List<java.lang.Long> folderIds,
468 java.lang.String[] mimeTypes,
469 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
470 throws java.lang.Exception;
471
472 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
473 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
474 long groupId, long userId,
475 java.util.List<java.lang.Long> repositoryIds,
476 java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
477 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
478 throws java.lang.Exception;
479
480 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
481 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
482 int start, int end);
483
484 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
485 public int getFileEntriesCount();
486
487 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
488 public int getFileEntriesCount(long groupId,
489 com.liferay.portal.kernel.util.DateRange dateRange, long repositoryId,
490 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition);
491
492 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
493 public int getFileEntriesCount(long groupId, long folderId);
494
495 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
496 public int getFileEntriesCount(long groupId, long folderId, int status);
497
498 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
499 public int getFileEntriesCount(long groupId, long userId,
500 java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
501 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
502 throws java.lang.Exception;
503
504 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
505 public int getFileEntriesCount(long groupId, long userId,
506 java.util.List<java.lang.Long> repositoryIds,
507 java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
508 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.documentlibrary.model.DLFileEntry> queryDefinition)
509 throws java.lang.Exception;
510
511 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
512 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
513 long fileEntryId)
514 throws com.liferay.portal.kernel.exception.PortalException;
515
516 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
517 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
518 long groupId, long folderId, java.lang.String title)
519 throws com.liferay.portal.kernel.exception.PortalException;
520
521 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
522 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
523 long groupId, long folderId, java.lang.String name)
524 throws com.liferay.portal.kernel.exception.PortalException;
525
526 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
527 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
528 java.lang.String uuid, long groupId)
529 throws com.liferay.portal.kernel.exception.PortalException;
530
531 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
532 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
533 long groupId, int start, int end);
534
535 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
536 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
537 long groupId, 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, long rootFolderId, int start, int end,
543 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntry> obc);
544
545 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
546 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
547 long groupId, long userId, 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, long userId, 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 int getGroupFileEntriesCount(long groupId);
556
557 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
558 public int getGroupFileEntriesCount(long groupId, long userId);
559
560 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
561 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries();
562
563 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
564 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries();
565
566 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
567 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries();
568
569 @Override
570 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
571 public com.liferay.portal.model.PersistedModel getPersistedModel(
572 java.io.Serializable primaryKeyObj)
573 throws com.liferay.portal.kernel.exception.PortalException;
574
575 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
576 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getRepositoryFileEntries(
577 long repositoryId, int start, int end);
578
579 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
580 public int getRepositoryFileEntriesCount(long repositoryId);
581
582 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
583 public boolean hasExtraSettings();
584
585 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
586 public boolean hasFileEntryLock(long userId, long fileEntryId)
587 throws com.liferay.portal.kernel.exception.PortalException;
588
589 @com.liferay.portal.kernel.increment.BufferedIncrement(configuration = "DLFileEntry", incrementClass = com.liferay.portal.kernel.increment.NumberIncrement.class)
590 public void incrementViewCounter(
591 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
592 int increment);
593
594 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
595 public boolean isFileEntryCheckedOut(long fileEntryId)
596 throws com.liferay.portal.kernel.exception.PortalException;
597
598 public com.liferay.portal.model.Lock lockFileEntry(long userId,
599 long fileEntryId)
600 throws com.liferay.portal.kernel.exception.PortalException;
601
602 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
603 public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
604 long userId, long fileEntryId, long newFolderId,
605 com.liferay.portal.service.ServiceContext serviceContext)
606 throws com.liferay.portal.kernel.exception.PortalException;
607
608 public void rebuildTree(long companyId)
609 throws com.liferay.portal.kernel.exception.PortalException;
610
611 public void revertFileEntry(long userId, long fileEntryId,
612 java.lang.String version,
613 com.liferay.portal.service.ServiceContext serviceContext)
614 throws com.liferay.portal.kernel.exception.PortalException;
615
616 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
617 public com.liferay.portal.kernel.search.Hits search(long groupId,
618 long userId, long creatorUserId, long folderId,
619 java.lang.String[] mimeTypes, int status, int start, int end)
620 throws com.liferay.portal.kernel.exception.PortalException;
621
622 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
623 public com.liferay.portal.kernel.search.Hits search(long groupId,
624 long userId, long creatorUserId, int status, int start, int end)
625 throws com.liferay.portal.kernel.exception.PortalException;
626
627
632 public void setBeanIdentifier(java.lang.String beanIdentifier);
633
634 public void setTreePaths(long folderId, java.lang.String treePath,
635 boolean reindex)
636 throws com.liferay.portal.kernel.exception.PortalException;
637
638 public void unlockFileEntry(long fileEntryId);
639
640
646 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
647 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
648 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry);
649
650 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
651 long userId, long fileEntryId, java.lang.String sourceFileName,
652 java.lang.String mimeType, java.lang.String title,
653 java.lang.String description, java.lang.String changeLog,
654 boolean majorVersion, long fileEntryTypeId,
655 java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
656 java.io.File file, java.io.InputStream is, long size,
657 com.liferay.portal.service.ServiceContext serviceContext)
658 throws com.liferay.portal.kernel.exception.PortalException;
659
660 public void updateSmallImage(long smallImageId, long largeImageId)
661 throws com.liferay.portal.kernel.exception.PortalException;
662
663 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
664 long userId, long fileVersionId, int status,
665 com.liferay.portal.service.ServiceContext serviceContext,
666 java.util.Map<java.lang.String, java.io.Serializable> workflowContext)
667 throws com.liferay.portal.kernel.exception.PortalException;
668
669 public void validateFile(long groupId, long folderId, long fileEntryId,
670 java.lang.String fileName, java.lang.String title)
671 throws com.liferay.portal.kernel.exception.PortalException;
672
673 public boolean verifyFileEntryCheckOut(long fileEntryId,
674 java.lang.String lockUuid)
675 throws com.liferay.portal.kernel.exception.PortalException;
676
677 public boolean verifyFileEntryLock(long fileEntryId,
678 java.lang.String lockUuid)
679 throws com.liferay.portal.kernel.exception.PortalException;
680 }