public interface AttachmentStore
限定符和类型 | 方法和说明 |
---|---|
Attachment |
getAttachment(java.lang.String id)
根据钥匙获取附件
|
Attachment |
getDelegateAttachment(java.lang.String id)
获取附件对象
|
void |
putAttachment(java.lang.String key,
Attachment attachment) |
void |
putDelegateAttachment(java.lang.String key,
Attachment attachment)
添加附件对象
|
int |
removeAllAttach()
清空附件资源文件
|
void |
removeAttachment(java.lang.String id)
清除仓库中指定位置的附件
|
void |
removeDelegateAttachment(java.lang.String id)
删除附件对象
|
void putAttachment(java.lang.String key, Attachment attachment)
int removeAllAttach()
Attachment getAttachment(java.lang.String id)
id
- 表示附件存放位置的钥匙的一个字符串void removeAttachment(java.lang.String id)
id
- 表示附件在仓库中对应位置的钥匙的字符串void putDelegateAttachment(java.lang.String key, Attachment attachment)
attachment
- 附件key
- 索引Attachment getDelegateAttachment(java.lang.String id)
id
- 索引void removeDelegateAttachment(java.lang.String id)
id
- 索引