public interface AttachBase
Modifier and Type | Method and Description |
---|---|
Attach |
copyAttach(Attach attach,
java.lang.String fieldid)
复制附件,将数据库记录Attach对象复制和指向的物理文件也复制一份
|
java.lang.String |
getAttachTextByIds(java.lang.String ids)
根据附件字段ID获取显示文本
|
int |
removeAttachByIds(java.lang.String ids)
批量删除附件字段及附件所指向的真实文件
|
Attach |
saveAttachByFile(java.lang.String attachId,
MultipartFile file,
FormField oField)
保存附件至硬盘和数据库记录
|
int |
transformOffice(Attach attach)
转换Office文档,也有可能是送到Office预览服务器
|
int removeAttachByIds(java.lang.String ids)
ids
- as StringAttach saveAttachByFile(java.lang.String attachId, MultipartFile file, FormField oField)
attachId
- as Stringfile
- as MultipartFileoField
- as FormFieldAttach copyAttach(Attach attach, java.lang.String fieldid)
attach
- as AttachoField
- as FormFieldjava.lang.String getAttachTextByIds(java.lang.String ids)
ids
- as Stringint transformOffice(Attach attach)
attach
- as AttachCopyright © 2019 by Sucang.cn