public interface ContentService
| Modifier and Type | Method and Description |
|---|---|
DownloadToken |
checkToken(String docUuid,
String token)
Check if the token given in url is valid
|
DownloadUrlResponse |
download(DownloadForm dlForm)
Download document (ask for a token url)
|
TribuApiResponse |
search(SearchForm search)
Search documents
|
BinaryContent |
startDownload(String uuid,
String appId) |
TribuApiResponse search(SearchForm search) throws RepositoryException, ContentServiceException, UserNotFoundException
search - UserNotFoundExceptionRepositoryExceptionContentServiceExceptionDownloadUrlResponse download(DownloadForm dlForm) throws RepositoryException, ContentServiceException, UserNotFoundException
dlForm - ContentServiceExceptionRepositoryExceptionUserNotFoundExceptionDownloadToken checkToken(String docUuid, String token)
docUuid - token - BinaryContent startDownload(String uuid, String appId) throws RepositoryException, UserNotFoundException
uuid - appId - UserNotFoundExceptionRepositoryExceptionCopyright © 2022. All rights reserved.