public interface FileUploadManager
Modifier and Type | Method and Description |
---|---|
void |
setAttachmentManager(AttachmentManager attachmentManager) |
void |
storeResource(AttachmentResource attachmentResource,
ContentEntityObject content)
Stores the attachmentResource as an
Attachment on the specified content object. |
void |
storeResources(Collection<AttachmentResource> attachmentResources,
ContentEntityObject content)
Stores the attachmentResource as an
Attachment on the specified content object. |
void storeResource(AttachmentResource attachmentResource, ContentEntityObject content)
Attachment
on the specified content object.attachmentResource
- contains the required state to create an attachmentcontent
- the content object which the attachment will be attached toRuntimeException
- if there are any problems saving the attachment resource as an attachmentvoid storeResources(Collection<AttachmentResource> attachmentResources, ContentEntityObject content)
Attachment
on the specified content object.attachmentResources
- contains a collection of AttachmentResrouce objects, each containing the required state to create an individual attachmentcontent
- the content object which the attachment will be attached toRuntimeException
- if there are any problems saving the attachment resource as an attachmentvoid setAttachmentManager(AttachmentManager attachmentManager)
Copyright © 2003–2017 Atlassian. All rights reserved.