Interface ConfluenceClient
-
- All Known Implementing Classes:
ConfluenceRestClient
public interface ConfluenceClient- Author:
- Alain Sahli
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAttachment(String contentId, String attachmentFileName, InputStream attachmentContent)voidaddLabels(String contentId, List<String> labels)StringaddPageUnderAncestor(String spaceKey, String ancestorId, String title, String content, String versionMessage)voiddeleteAttachment(String attachmentId)voiddeleteLabel(String contentId, String label)voiddeletePage(String contentId)voiddeletePropertyByKey(String contentId, String key)ConfluenceAttachmentgetAttachmentByFileName(String contentId, String attachmentFileName)List<ConfluenceAttachment>getAttachments(String contentId)List<ConfluencePage>getChildPages(String contentId)List<String>getLabels(String contentId)StringgetPageByTitle(String spaceKey, String ancestorId, String title)ConfluencePagegetPageWithContentAndVersionById(String contentId)StringgetPropertyByKey(String contentId, String key)voidsetPropertyByKey(String contentId, String key, String value)voidupdateAttachmentContent(String contentId, String attachmentId, InputStream attachmentContent, boolean notifyWatchers)voidupdatePage(String contentId, String ancestorId, String title, String content, int newVersion, String versionMessage, boolean notifyWatchers)
-
-
-
Method Detail
-
addPageUnderAncestor
String addPageUnderAncestor(String spaceKey, String ancestorId, String title, String content, String versionMessage)
-
updatePage
void updatePage(String contentId, String ancestorId, String title, String content, int newVersion, String versionMessage, boolean notifyWatchers)
-
deletePage
void deletePage(String contentId)
-
getPageByTitle
String getPageByTitle(String spaceKey, String ancestorId, String title) throws NotFoundException, MultipleResultsException
-
addAttachment
void addAttachment(String contentId, String attachmentFileName, InputStream attachmentContent)
-
updateAttachmentContent
void updateAttachmentContent(String contentId, String attachmentId, InputStream attachmentContent, boolean notifyWatchers)
-
deleteAttachment
void deleteAttachment(String attachmentId)
-
getAttachmentByFileName
ConfluenceAttachment getAttachmentByFileName(String contentId, String attachmentFileName) throws NotFoundException, MultipleResultsException
-
getPageWithContentAndVersionById
ConfluencePage getPageWithContentAndVersionById(String contentId)
-
getChildPages
List<ConfluencePage> getChildPages(String contentId)
-
getAttachments
List<ConfluenceAttachment> getAttachments(String contentId)
-
-