org.squashtest.csp.core.bugtracker.internal.mantis
Class MantisAxis1SoapClient

java.lang.Object
  extended by org.squashtest.csp.core.bugtracker.internal.mantis.MantisAxis1SoapClient

public class MantisAxis1SoapClient
extends Object

Provides a soap client to a mantis bugtracker

Author:
Gregory Fouquet

Constructor Summary
MantisAxis1SoapClient(org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
           
 
Method Summary
 BigInteger createIssue(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials, IssueData issue)
           
 String[] findCategories(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials, BigInteger projectId)
           
 ProjectData[] findProjects(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials)
           
 AccountData[] findUsersForProject(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials, BigInteger projectId, BigInteger access)
           
 ProjectVersionData[] findVersions(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials, BigInteger projectId)
           
 ObjectRef[] getAccessLevel(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials)
           
 String getDefaultPriority(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials)
          This method return as a String the ID of the default issue severity
 IssueData getIssue(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials, BigInteger issueId)
          This method returns Mantis issue data corresponding to a given issue id
 ObjectRef[] getPriorities(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials)
           
 MantisConnectPortType getService()
           
 ObjectRef[] getSeverities(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials)
           
 void setMantisExceptionConverter(MantisExceptionConverter converter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MantisAxis1SoapClient

public MantisAxis1SoapClient(org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
Method Detail

setMantisExceptionConverter

public void setMantisExceptionConverter(MantisExceptionConverter converter)

getService

public MantisConnectPortType getService()

getSeverities

public ObjectRef[] getSeverities(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials)
Returns:
the list of severities as ObjectRefs

getPriorities

public ObjectRef[] getPriorities(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials)

findProjects

public ProjectData[] findProjects(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials)

findVersions

public ProjectVersionData[] findVersions(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials,
                                         BigInteger projectId)

getAccessLevel

public ObjectRef[] getAccessLevel(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials)

findUsersForProject

public AccountData[] findUsersForProject(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials,
                                         BigInteger projectId,
                                         BigInteger access)

findCategories

public String[] findCategories(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials,
                               BigInteger projectId)

createIssue

public BigInteger createIssue(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials,
                              IssueData issue)

getIssue

public IssueData getIssue(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials,
                          BigInteger issueId)
This method returns Mantis issue data corresponding to a given issue id

Parameters:
credentials - the connection data
issueId - the given issue ID

getDefaultPriority

public String getDefaultPriority(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials)
This method return as a String the ID of the default issue severity

Parameters:
credentials - the connection data
Returns:
the ID of the default priority


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.