com.atlassian.jira.plugin.link.confluence.rest
Class ConfluenceResource

java.lang.Object
  extended by com.atlassian.jira.plugin.link.confluence.rest.ConfluenceResource

public class ConfluenceResource
extends Object

A REST resource to access Confluence's remote API. This is needed to perform authenticated requests.

Since:
v5.0

Constructor Summary
ConfluenceResource(ConfluenceRpcService confluenceRpcService, com.atlassian.applinks.api.ApplicationLinkService applicationLinkService, I18nHelper.BeanFactory beanFactory, JiraAuthenticationContext jiraAuthenticationContext)
           
 
Method Summary
 javax.ws.rs.core.Response getApplicationLinks()
           
 javax.ws.rs.core.Response getSiteSearch(String query, String appId, Integer maxResults, String spaceKey)
           
 javax.ws.rs.core.Response getSpaces(String appId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceResource

public ConfluenceResource(ConfluenceRpcService confluenceRpcService,
                          com.atlassian.applinks.api.ApplicationLinkService applicationLinkService,
                          I18nHelper.BeanFactory beanFactory,
                          JiraAuthenticationContext jiraAuthenticationContext)
Method Detail

getSpaces

public javax.ws.rs.core.Response getSpaces(String appId)

getSiteSearch

public javax.ws.rs.core.Response getSiteSearch(String query,
                                               String appId,
                                               Integer maxResults,
                                               String spaceKey)

getApplicationLinks

public javax.ws.rs.core.Response getApplicationLinks()


Copyright © 2002-2012 Atlassian. All Rights Reserved.