public interface LightReadApi
创建时间:2022-10-26 13:52
限定符和类型 | 方法和说明 |
---|---|
boolean |
canUseLightRead()
是否启用 轻阅读功能
创建时间:2022-10-26 14:09
|
void |
download(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
用于点聚轻阅读服务下载oa上的文件的接口
创建时间:2022-10-26 14:06
|
com.seeyon.ctp.common.file.model.CtpFile |
downloadFile(java.lang.String fileId,
boolean isReadNewFile)
下载oa文件
|
LightReadConfigVO |
getLightReadConfig()
获取轻阅读配置
创建时间:2023-3-23 15:17
|
LightReadResultVO |
getLightReadUrl(LightReadDataParamVO param)
轻阅读核心接口-获取轻阅读地址URL
创建时间:2022-10-26 13:59
|
void |
lightReadSaveFile(java.lang.Long srcFileId,
java.lang.Long targetFileId,
java.lang.String targetFileType,
java.lang.Object param)
轻阅读保存文件
|
void |
skCallbackFileSave(javax.servlet.http.HttpServletRequest request)
保存从数科轻阅读过来的文件流
|
java.lang.String |
skFileInfo(javax.servlet.http.HttpServletRequest request)
获取数科轻阅读需要的参数配置
|
LightReadResultVO getLightReadUrl(LightReadDataParamVO param) throws com.seeyon.ctp.common.exceptions.BusinessException, java.io.UnsupportedEncodingException
创建时间:2022-10-26 13:59
param
- 获取轻阅读地址需要的参数com.seeyon.ctp.common.exceptions.BusinessException
- 异常java.io.UnsupportedEncodingException
void download(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws com.seeyon.ctp.common.exceptions.BusinessException, java.io.IOException, java.lang.CloneNotSupportedException
创建时间:2022-10-26 14:06
request
- request 值response
- response 值com.seeyon.ctp.common.exceptions.BusinessException
- 异常java.io.IOException
java.lang.CloneNotSupportedException
boolean canUseLightRead()
创建时间:2022-10-26 14:09
com.seeyon.ctp.common.file.model.CtpFile downloadFile(java.lang.String fileId, boolean isReadNewFile) throws com.seeyon.ctp.common.exceptions.BusinessException
fileId
- 文件IdisReadNewFile
- 是否读新文件com.seeyon.ctp.common.exceptions.BusinessException
- 异常void lightReadSaveFile(java.lang.Long srcFileId, java.lang.Long targetFileId, java.lang.String targetFileType, java.lang.Object param) throws com.seeyon.ctp.common.exceptions.BusinessException
srcFileId
- 原文件targetFileId
- 目标文件idtargetFileType
- 目标文件类型 ofd/pdfparam
- 轻阅读相关参数:点聚时是文件id。 数科待定com.seeyon.ctp.common.exceptions.BusinessException
- 异常LightReadConfigVO getLightReadConfig()
创建时间:2023-3-23 15:17
java.lang.String skFileInfo(javax.servlet.http.HttpServletRequest request) throws com.seeyon.ctp.common.exceptions.BusinessException, java.io.UnsupportedEncodingException
request
- 请求com.seeyon.ctp.common.exceptions.BusinessException
java.io.UnsupportedEncodingException
void skCallbackFileSave(javax.servlet.http.HttpServletRequest request) throws com.seeyon.ctp.common.exceptions.BusinessException
request
- 请求com.seeyon.ctp.common.exceptions.BusinessException