Modifier and Type | Method and Description |
---|---|
Content |
AttachmentServiceImpl.updateData(ContentId attachmentId,
AttachmentUpload upload) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
AttachmentServiceImpl.addAttachments(ContentId containerId,
Collection<AttachmentUpload> uploads) |
Modifier and Type | Method and Description |
---|---|
AttachmentUpload |
AttachmentUpload.withName(String newName)
Create a new AttachmentUpload object from this one, changing the logical filename but keeping other fields.
|
Modifier and Type | Method and Description |
---|---|
Content |
AttachmentService.updateData(ContentId attachmentId,
AttachmentUpload upload)
Updates the data part of an Attachment
Content instance. |
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
AttachmentService.addAttachments(ContentId containerId,
Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece of
Content . |
Modifier and Type | Method and Description |
---|---|
static AttachmentUpload |
ApiEntityConverter.convertAttachmentToUpload(Attachment attachment) |
Modifier and Type | Method and Description |
---|---|
static List<AttachmentUpload> |
ApiEntityConverter.convertAttachmentsToUploads(Attachment... attachments)
Convert IT
Attachment objects into AttachmentUpload versions suitable for sending to the
ContentService . |
List<AttachmentUpload> |
TestAttachmentFactory.makeUploads(int numFiles,
javax.ws.rs.core.MediaType contentType) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<Content> |
RemoteAttachmentServiceImpl.updateData(ContentId attachmentId,
AttachmentUpload upload) |
com.atlassian.util.concurrent.Promise<Content> |
RemoteAttachmentService.updateData(ContentId attachmentId,
AttachmentUpload upload)
Updates the data part of an Attachment
Content instance. |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentServiceImpl.addAttachments(ContentId contentId,
Collection<AttachmentUpload> uploads) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentService.addAttachments(ContentId contentId,
Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece of
Content . |
Copyright © 2003–2016 Atlassian. All rights reserved.