public interface ConfluenceClient
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)
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)
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 © 2020. All rights reserved.