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
在接口中 AttachmentStore
public int removeAllAttach()
AttachmentStore
removeAllAttach
在接口中 AttachmentStore
public Attachment getAttachment(java.lang.String id)
AttachmentStore
getAttachment
在接口中 AttachmentStore
id
- 表示附件存放位置的钥匙的一个字符串public void removeAttachment(java.lang.String id)
AttachmentStore
removeAttachment
在接口中 AttachmentStore
id
- 表示附件在仓库中对应位置的钥匙的字符串public void putDelegateAttachment(java.lang.String key, Attachment attachment)
AttachmentStore
putDelegateAttachment
在接口中 AttachmentStore
key
- 索引attachment
- 附件public Attachment getDelegateAttachment(java.lang.String id)
AttachmentStore
getDelegateAttachment
在接口中 AttachmentStore
id
- 索引public void removeDelegateAttachment(java.lang.String id)
AttachmentStore
removeDelegateAttachment
在接口中 AttachmentStore
id
- 索引