Class ConfluencePageServiceImpl

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

@Component public class ConfluencePageServiceImpl extends Object implements ConfluencePageService
  • 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 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