@Component public class ConfluencePageServiceImpl extends Object implements ConfluencePageService
Constructor and Description |
---|
ConfluencePageServiceImpl() |
Modifier and Type | Method and Description |
---|---|
RemoteResponse<String> |
getPageId(com.atlassian.applinks.api.ApplicationLink applicationLink,
String pageUrl)
Get the pageId matching the given pageUrl.
|
public RemoteResponse<String> getPageId(com.atlassian.applinks.api.ApplicationLink applicationLink, String pageUrl) throws com.atlassian.applinks.api.CredentialsRequiredException, com.atlassian.sal.api.net.ResponseException
ConfluencePageService
getPageId
in interface ConfluencePageService
applicationLink
- the link to the Confluence instancepageUrl
- the url of the pagecom.atlassian.applinks.api.CredentialsRequiredException
- thrown if authentication is requiredcom.atlassian.sal.api.net.ResponseException
- thrown if the response cannot be retrievedCopyright © 2002-2019 Atlassian. All Rights Reserved.