com.atlassian.jira.plugin.link.confluence.service
Class ConfluencePageServiceImpl

java.lang.Object
  extended by com.atlassian.jira.plugin.link.confluence.service.ConfluencePageServiceImpl
All Implemented Interfaces:
ConfluencePageService

public class ConfluencePageServiceImpl
extends Object
implements ConfluencePageService


Constructor Summary
ConfluencePageServiceImpl()
           
 
Method Summary
 RemoteResponse<String> getPageId(com.atlassian.applinks.api.ApplicationLink applicationLink, String pageUrl)
          Get the pageId matching the given pageUrl.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluencePageServiceImpl

public ConfluencePageServiceImpl()
Method Detail

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 interface ConfluencePageService
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-2013 Atlassian. All Rights Reserved.