Interface ConfluencePageService
- All Known Implementing Classes:
ConfluencePageServiceImpl
public interface ConfluencePageService
A Service for querying Confluence instances to get page info.
- Since:
- v5.0
-
Method Summary
Modifier and TypeMethodDescriptionGet the pageId matching the given pageUrl.
-
Method Details
-
getPageId
RemoteResponse<String> getPageId(com.atlassian.applinks.api.ApplicationLink applicationLink, String pageUrl) throws com.atlassian.applinks.api.CredentialsRequiredException, com.atlassian.sal.api.net.ResponseException Get the pageId matching the given pageUrl.- Parameters:
applicationLink
- the link to the Confluence instancepageUrl
- the url of the page- Returns:
- the id of the page
- Throws:
com.atlassian.applinks.api.CredentialsRequiredException
- thrown if authentication is requiredcom.atlassian.sal.api.net.ResponseException
- thrown if the response cannot be retrieved
-