|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileUploadManager
| Method Summary | |
|---|---|
void |
setAttachmentManager(AttachmentManager attachmentManager)
|
void |
storeFile(com.atlassian.xwork.FileUploadUtils.UploadedFile uploadedFile,
String comment,
ContentEntityObject ceo)
Deprecated. since 3.1 use storeResource(AttachmentResource, String, ContentEntityObject) instead.
Note that UploadedResource provides a simple way to convert one to the other. |
void |
storeResource(AttachmentResource attachmentResource,
ContentEntityObject content)
Stores the attachmentResource as an Attachment on the specified content object. |
void |
storeResource(AttachmentResource attachmentResource,
String comment,
ContentEntityObject content)
Deprecated. since 3.1 use storeResource(AttachmentResource, ContentEntityObject) instead because
the optional comment is now part of the AttachmentResource interface. |
void |
storeResources(Collection<AttachmentResource> attachmentResources,
ContentEntityObject content)
Stores the attachmentResource as an Attachment on the specified content object. |
Collection |
verifyFile(String fileName,
com.atlassian.xwork.FileUploadUtils.UploadedFile[] uploadedFiles)
Deprecated. since 3.1 because it is only used in tests |
| Method Detail |
|---|
@Deprecated
Collection verifyFile(String fileName,
com.atlassian.xwork.FileUploadUtils.UploadedFile[] uploadedFiles)
@Deprecated
void storeFile(com.atlassian.xwork.FileUploadUtils.UploadedFile uploadedFile,
String comment,
ContentEntityObject ceo)
storeResource(AttachmentResource, String, ContentEntityObject) instead.
Note that UploadedResource provides a simple way to convert one to the other.
@Deprecated
void storeResource(AttachmentResource attachmentResource,
String comment,
ContentEntityObject content)
storeResource(AttachmentResource, ContentEntityObject) instead because
the optional comment is now part of the AttachmentResource interface.
Attachment on the specified content object.
attachmentResource - contains the required state to create an attachmentcomment - attachment commentcontent - the content object which the attachment will be attached to
RuntimeException - if there are any problems saving the attachment resource as an attachment
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 to
RuntimeException - if there are any problems saving the attachment resource as an attachment
void 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 to
RuntimeException - if there are any problems saving the attachment resource as an attachmentvoid setAttachmentManager(AttachmentManager attachmentManager)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||