|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAttachmentsProvider
This interface describes the contract for a provider of attachments
Method Summary | |
---|---|
void |
addAttachment(FileItem fileItem,
String fileEncoding)
Add Attachment |
boolean |
getHasAttachments()
Returns whether the attachment provider has any attachments |
boolean |
isAddAttachmentsAvailable()
Returns whether attachments can be added |
List |
listAttachments()
Returns a list of the current attachments |
void |
removeAttachment(String attachmentID)
Remove Attachment |
void |
updateAttachment(String attachmentID,
FileItem fileItem,
String fileEncoding)
Update an Attachment |
Method Detail |
---|
boolean isAddAttachmentsAvailable()
void addAttachment(FileItem fileItem, String fileEncoding)
fileItem
- the attachment contentfileEncoding
- the encoding of the attachment file (if known)void updateAttachment(String attachmentID, FileItem fileItem, String fileEncoding)
attachmentID
- the id of the attachment to updatefileItem
- the new attachment contentfileEncoding
- the encoding of the attachment file (if known)void removeAttachment(String attachmentID)
attachmentID
- the id of the attachment to removeList listAttachments()
boolean getHasAttachments()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |