com.atlassian.jira.project
Class RemoteProjectServiceImpl

java.lang.Object
  extended by com.atlassian.jira.project.RemoteProjectServiceImpl
All Implemented Interfaces:
RemoteProjectService

public class RemoteProjectServiceImpl
extends Object
implements RemoteProjectService


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.project.RemoteProjectService
RemoteProjectService.RemoteProjectsResult
 
Constructor Summary
RemoteProjectServiceImpl(com.atlassian.applinks.api.ApplicationLinkService applicationLinkService)
           
 
Method Summary
 RemoteProjectService.RemoteProjectsResult findAllRemoteProjects()
          Finds all the projects that the currently logged in user can see in all the linked JIRA instances.
 RemoteProject getRemoteProject(com.atlassian.applinks.api.ApplicationLink applicationLink, String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteProjectServiceImpl

public RemoteProjectServiceImpl(com.atlassian.applinks.api.ApplicationLinkService applicationLinkService)
Method Detail

getRemoteProject

public RemoteProject getRemoteProject(com.atlassian.applinks.api.ApplicationLink applicationLink,
                                      String key)
                               throws com.atlassian.applinks.api.CredentialsRequiredException,
                                      com.atlassian.sal.api.net.ResponseException
Specified by:
getRemoteProject in interface RemoteProjectService
Throws:
com.atlassian.applinks.api.CredentialsRequiredException
com.atlassian.sal.api.net.ResponseException

findAllRemoteProjects

public RemoteProjectService.RemoteProjectsResult findAllRemoteProjects()
Description copied from interface: RemoteProjectService
Finds all the projects that the currently logged in user can see in all the linked JIRA instances.

Specified by:
findAllRemoteProjects in interface RemoteProjectService
Returns:
RemoteProjectsResult object that contains the projects found as well as extra information about servers that we couldn't reach.


Copyright © 2002-2014 Atlassian. All Rights Reserved.