Class ConfluencePageServiceImpl
java.lang.Object
com.atlassian.jira.plugin.link.confluence.service.ConfluencePageServiceImpl
- All Implemented Interfaces:
ConfluencePageService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the pageId matching the given pageUrl.
-
Constructor Details
-
ConfluencePageServiceImpl
public ConfluencePageServiceImpl()
-
-
Method Details
-
getPageId
public RemoteResponse<String> getPageId(com.atlassian.applinks.api.ApplicationLink applicationLink, String pageUrl) throws com.atlassian.applinks.api.CredentialsRequiredException, com.atlassian.sal.api.net.ResponseException Description copied from interface:ConfluencePageService
Get the pageId matching the given pageUrl.- Specified by:
getPageId
in interfaceConfluencePageService
- 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
-