com.atlassian.jira.plugin.link.confluence.service
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
 RemoteResponse<String> getPageId(com.atlassian.applinks.api.ApplicationLink applicationLink, String pageUrl)
          Get the pageId matching the given pageUrl.
 

Method Detail

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 instance
pageUrl - the url of the page
Returns:
the id of the page
Throws:
com.atlassian.applinks.api.CredentialsRequiredException - thrown if authentication is required
com.atlassian.sal.api.net.ResponseException - thrown if the response cannot be retrieved


Copyright © 2002-2012 Atlassian. All Rights Reserved.