Package | Description |
---|---|
com.atlassian.confluence.api.impl.service.content | |
com.atlassian.confluence.api.model.content | |
com.atlassian.confluence.api.service.content | |
com.atlassian.confluence.it.api | |
com.atlassian.confluence.rest.client |
This package contains the code which communicates with Confluence via REST API.
|
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) |
PageResponse<Content> |
AttachmentServiceImpl.addAttachments(ContentId containerId,
ContentStatus containerStatus,
Collection<AttachmentUpload> uploads) |
PageResponse<Content> |
AttachmentServiceImpl.addAttachments(ContentId containerId,
ContentStatus containerStatus,
Collection<AttachmentUpload> uploads,
boolean allowDuplicated,
Expansions expansions) |
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 . |
PageResponse<Content> |
AttachmentService.addAttachments(ContentId containerId,
ContentStatus containerStatus,
Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece of
Content . |
PageResponse<Content> |
AttachmentService.addAttachments(ContentId containerId,
ContentStatus containerStatus,
Collection<AttachmentUpload> uploads,
boolean allowDuplicated,
Expansions expansions)
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)
Deprecated.
since 7.0.1. Use
RemoteAttachmentServiceImpl.updateDataCompletionStage(ContentId, AttachmentUpload) instead. |
com.atlassian.util.concurrent.Promise<Content> |
RemoteAttachmentService.updateData(ContentId attachmentId,
AttachmentUpload upload)
Deprecated.
since 7.0.1. Use
RemoteAttachmentService.updateDataCompletionStage(ContentId, AttachmentUpload) instead. |
CompletionStage<Content> |
RemoteAttachmentServiceImpl.updateDataCompletionStage(ContentId attachmentId,
AttachmentUpload upload) |
CompletionStage<Content> |
RemoteAttachmentService.updateDataCompletionStage(ContentId attachmentId,
AttachmentUpload upload)
Updates the data part of an Attachment
Content instance. |
Copyright © 2003–2021 Atlassian. All rights reserved.