@Service public class ContentServiceImpl extends Object implements ContentService
| Constructor and Description |
|---|
ContentServiceImpl() |
| 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) |
public TribuApiResponse search(SearchForm search) throws RepositoryException, ContentServiceException
ContentServicesearch in interface ContentServiceRepositoryExceptionContentServiceExceptionpublic DownloadUrlResponse download(DownloadForm dlForm) throws RepositoryException, ContentServiceException
ContentServicedownload in interface ContentServiceRepositoryExceptionContentServiceExceptionpublic DownloadToken checkToken(String docUuid, String token)
ContentServicecheckToken in interface ContentServicepublic BinaryContent startDownload(String uuid, String appId) throws RepositoryException
startDownload in interface ContentServiceRepositoryExceptionCopyright © 2020. All rights reserved.