| 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,
ContentStatus containerStatus,
Collection<AttachmentUpload> uploads) |
PageResponse<Content> |
AttachmentServiceImpl.addOrUpdateAttachments(ContentId containerId,
ContentStatus containerStatus,
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 |
|---|---|
default PageResponse<Content> |
AttachmentService.addAttachments(ContentId containerId,
Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece of
Content. |
PageResponse<Content> |
AttachmentService.addAttachments(ContentId containerId,
ContentStatus containerStatus,
Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece of
Content. |
default PageResponse<Content> |
AttachmentService.addOrUpdateAttachments(ContentId containerId,
Collection<AttachmentUpload> uploads)
Add or update one or more attachments to a piece of
Content. |
PageResponse<Content> |
AttachmentService.addOrUpdateAttachments(ContentId containerId,
ContentStatus containerStatus,
Collection<AttachmentUpload> uploads)
Add or update 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) |
List<AttachmentUpload> |
TestAttachmentFactory.makeUploads(String namePrefix,
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 |
|---|---|
default com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentService.addAttachments(ContentId containerId,
Collection<AttachmentUpload> uploads) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentServiceImpl.addAttachments(ContentId containerId,
ContentStatus status,
Collection<AttachmentUpload> uploads) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentService.addAttachments(ContentId containerId,
ContentStatus status,
Collection<AttachmentUpload> uploads) |
default com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentService.addOrUpdateAttachments(ContentId containerId,
Collection<AttachmentUpload> uploads) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentServiceImpl.addOrUpdateAttachments(ContentId containerId,
ContentStatus status,
Collection<AttachmentUpload> uploads) |
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentService.addOrUpdateAttachments(ContentId containerId,
ContentStatus containerStatus,
Collection<AttachmentUpload> uploads) |
| Modifier and Type | Method and Description |
|---|---|
protected static AttachmentUpload |
AbstractExternalRequestAcceptanceTest.attachmentUpload(String attachmentLocation,
String mediaType) |
Copyright © 2003–2017 Atlassian. All rights reserved.