public interface ConfluenceClient
| Modifier and Type | Method and Description |
|---|---|
void |
addAttachment(String contentId,
String attachmentFileName,
InputStream attachmentContent) |
void |
addLabels(String contentId,
List<String> labels) |
String |
addPageUnderAncestor(String spaceKey,
String ancestorId,
String title,
String content,
String versionMessage) |
void |
deleteAttachment(String attachmentId) |
void |
deleteLabel(String contentId,
String label) |
void |
deletePage(String contentId) |
void |
deletePropertyByKey(String contentId,
String key) |
ConfluenceAttachment |
getAttachmentByFileName(String contentId,
String attachmentFileName) |
List<ConfluenceAttachment> |
getAttachments(String contentId) |
List<ConfluencePage> |
getChildPages(String contentId) |
List<String> |
getLabels(String contentId) |
String |
getPageByTitle(String spaceKey,
String title) |
ConfluencePage |
getPageWithContentAndVersionById(String contentId) |
String |
getPropertyByKey(String contentId,
String key) |
void |
setPropertyByKey(String contentId,
String key,
String value) |
void |
updateAttachmentContent(String contentId,
String attachmentId,
InputStream attachmentContent,
boolean notifyWatchers) |
void |
updatePage(String contentId,
String ancestorId,
String title,
String content,
int newVersion,
String versionMessage,
boolean notifyWatchers) |
String addPageUnderAncestor(String spaceKey, String ancestorId, String title, String content, String versionMessage)
void updatePage(String contentId, String ancestorId, String title, String content, int newVersion, String versionMessage, boolean notifyWatchers)
void deletePage(String contentId)
String getPageByTitle(String spaceKey, String title) throws NotFoundException, MultipleResultsException
void addAttachment(String contentId, String attachmentFileName, InputStream attachmentContent)
void updateAttachmentContent(String contentId, String attachmentId, InputStream attachmentContent, boolean notifyWatchers)
void deleteAttachment(String attachmentId)
ConfluenceAttachment getAttachmentByFileName(String contentId, String attachmentFileName) throws NotFoundException, MultipleResultsException
ConfluencePage getPageWithContentAndVersionById(String contentId)
List<ConfluencePage> getChildPages(String contentId)
List<ConfluenceAttachment> getAttachments(String contentId)
Copyright © 2021. All rights reserved.