Interface ConfluenceClient
- All Known Implementing Classes:
ConfluenceRestClient
public interface ConfluenceClient
- Author:
- Alain Sahli
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttachment(String contentId, String attachmentFileName, InputStream attachmentContent) addPageUnderAncestor(String spaceKey, String ancestorId, String title, String content) voiddeleteAttachment(String attachmentId) voiddeletePage(String contentId) voiddeletePropertyByKey(String contentId, String key) getAttachmentByFileName(String contentId, String attachmentFileName) getAttachmentContent(String relativeDownloadLink) getAttachments(String contentId) getChildPages(String contentId) getPageByTitle(String spaceKey, String title) getPageWithContentAndVersionById(String contentId) getPropertyByKey(String contentId, String key) getSpaceContentId(String spaceKey) voidsetPropertyByKey(String contentId, String key, String value) voidupdateAttachmentContent(String contentId, String attachmentId, InputStream attachmentContent) voidupdatePage(String contentId, String ancestorId, String title, String content, int newVersion)
-
Method Details
-
addPageUnderAncestor
-
updatePage
-
deletePage
-
getPageByTitle
String getPageByTitle(String spaceKey, String title) throws NotFoundException, MultipleResultsException -
addAttachment
-
updateAttachmentContent
-
deleteAttachment
-
getAttachmentByFileName
ConfluenceAttachment getAttachmentByFileName(String contentId, String attachmentFileName) throws NotFoundException, MultipleResultsException -
getPageWithContentAndVersionById
-
getAttachmentContent
-
getChildPages
-
getAttachments
-
getSpaceContentId
-
setPropertyByKey
-
getPropertyByKey
-
deletePropertyByKey
-