public class RESTConfluenceServiceImpl extends AbstractRESTConfluenceService implements ConfluenceService
https://docs.atlassian.com/confluence/REST/latest/AbstractRESTConfluenceService.ServiceExceptionConfluenceService.Credentials, ConfluenceService.Model, ConfluenceService.Protocol, ConfluenceService.Storage| Constructor and Description |
|---|
RESTConfluenceServiceImpl(String url,
ConfluenceService.Credentials credentials,
SSLCertificateInfo sslInfo) |
debugBody, fromRequest, fromUrlDELETE, fromUrlGET, fromUrlPOST, fromUrlPUT, mapToArray, mapToObject, rxAddAttachment, rxAddLabels, rxAttachment, rxAttachments, rxChildrenPages, rxCreatePage, rxDeletePageById, rxDescendantPages, rxfindPage, rxfindPageById, rxfindPages, rxUpdatePagepublic RESTConfluenceServiceImpl(String url, ConfluenceService.Credentials credentials, SSLCertificateInfo sslInfo)
url - credentials - sslInfo - public final javax.json.JsonObjectBuilder jsonForCreatingPage(String spaceKey, String title)
public final javax.json.JsonObjectBuilder jsonForCreatingPage(String spaceKey, int parentPageId, String title)
public final javax.json.JsonObjectBuilder jsonAddBody(javax.json.JsonObjectBuilder builder,
ConfluenceService.Storage storage)
protected okhttp3.HttpUrl.Builder urlBuilder()
urlBuilder in class AbstractRESTConfluenceServicepublic ConfluenceService.Credentials getCredentials()
getCredentials in interface ConfluenceServicegetCredentials in class AbstractRESTConfluenceServicepublic ConfluenceService.Model.PageSummary findPageByTitle(String parentPageId, String title) throws Exception
findPageByTitle in interface ConfluenceServiceExceptionpublic ConfluenceService.Model.Page getOrCreatePage(String spaceKey, String parentPageTitle, String title) throws Exception
getOrCreatePage in interface ConfluenceServiceExceptionpublic ConfluenceService.Model.Page getOrCreatePage(ConfluenceService.Model.Page parentPage, String title) throws Exception
getOrCreatePage in interface ConfluenceServiceExceptionpublic ConfluenceService.Model.Page getPage(String pageId) throws Exception
getPage in interface ConfluenceServicepageId - Exceptionpublic ConfluenceService.Model.Page getPage(String spaceKey, String pageTitle) throws Exception
getPage in interface ConfluenceServiceExceptionpublic List<ConfluenceService.Model.PageSummary> getDescendents(String pageId) throws Exception
getDescendents in interface ConfluenceServiceExceptionpublic ConfluenceService.Model.Page storePage(ConfluenceService.Model.Page page, ConfluenceService.Storage content) throws Exception
storePage in interface ConfluenceServiceExceptionpublic ConfluenceService.Model.Page storePage(ConfluenceService.Model.Page page) throws Exception
storePage in interface ConfluenceServiceExceptionpublic boolean addLabelByName(String label, long id) throws Exception
addLabelByName in interface ConfluenceServiceExceptionpublic void exportPage(String url, String spaceKey, String pageTitle, ExportFormat exfmt, File outputFile) throws Exception
exportPage in interface ConfluenceServiceExceptionpublic void call(rx.functions.Action1<ConfluenceService> task) throws Exception
call in interface ConfluenceServiceExceptionpublic ConfluenceService.Model.Attachment createAttachment()
ConfluenceServicecreateAttachment in interface ConfluenceServicepublic ConfluenceService.Model.Attachment getAttachment(String pageId, String name, String version) throws Exception
getAttachment in interface ConfluenceServiceExceptionpublic ConfluenceService.Model.Attachment addAttachment(ConfluenceService.Model.Page page, ConfluenceService.Model.Attachment attachment, InputStream source) throws Exception
addAttachment in interface ConfluenceServiceExceptionpublic boolean removePage(ConfluenceService.Model.Page parentPage, String title) throws Exception
removePage in interface ConfluenceServiceExceptionpublic void removePage(String pageId) throws Exception
removePage in interface ConfluenceServiceExceptionCopyright © 2018. All rights reserved.