public class ClusterAttachStore extends java.lang.Object implements AttachmentStore
| 构造器和说明 |
|---|
ClusterAttachStore() |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
删除附件对象
|
public void putAttachment(java.lang.String key,
Attachment attachment)
putAttachment 在接口中 AttachmentStorepublic int removeAllAttach()
AttachmentStoreremoveAllAttach 在接口中 AttachmentStorepublic Attachment getAttachment(java.lang.String id)
AttachmentStoregetAttachment 在接口中 AttachmentStoreid - 表示附件存放位置的钥匙的一个字符串public void removeAttachment(java.lang.String id)
AttachmentStoreremoveAttachment 在接口中 AttachmentStoreid - 表示附件在仓库中对应位置的钥匙的字符串public void putDelegateAttachment(java.lang.String key,
Attachment attachment)
AttachmentStoreputDelegateAttachment 在接口中 AttachmentStorekey - 索引attachment - 附件public Attachment getDelegateAttachment(java.lang.String id)
AttachmentStoregetDelegateAttachment 在接口中 AttachmentStoreid - 索引public void removeDelegateAttachment(java.lang.String id)
AttachmentStoreremoveDelegateAttachment 在接口中 AttachmentStoreid - 索引