Package com.collabnet.ce.soap60.webservices.team

# Class TeamAppSoapStub

java.lang.Object
com.collabnet.ce.soap60.webservices.ClientSoapStub
com.collabnet.ce.soap60.webservices.team.TeamAppSoapStub

All Implemented Interfaces:
  `ITeamAppSoap`

public class TeamAppSoapStub extends ClientSoapStub implements ITeamAppSoap

- ## Field Summary

  ### Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub

  `DEFAULT_CLIENT_TIME_OUT`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TeamAppSoapStub(String soapServerUrl)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TeamSoapDO`
  `createTeam(String sessionId, String projectId, String title, String description, String parentTeamId, String teamOwnerUserName, String[] memberUserNames)`
  Creates a new team
  `void`
  `deleteTeam(String sessionId, String teamId)`
  Delete the team if team has no child
  `TeamSoapList`
  `getChildTeamList(String sessionId, String parentTeamId)`
  Get list of child teams specific to parent team
  `TeamSoapDO`
  `getTeamData(String sessionId, String teamId)`
  Get the team data for a team id.
  `TeamSoapList`
  `getTeamListForProject(String sessionId, String projectId)`
  Get list of teams specific to project
  `UserSoapList`
  `getTeamMemberList(String sessionId, String teamId)`
  Get list of team members specific to team
  `void`
  `setTeamData(String sessionId, String teamId, String title, String description, String teamOwnerUserName, String[] memberUserNames, int version)`
  Update team data for given team Id

  ### Methods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub

  `getServiceCall, getSoapServer, getTimeout, setTimeout, soapParam`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TeamAppSoapStub

    public TeamAppSoapStub(String soapServerUrl)

- ## Method Details

  - ### createTeam

    public TeamSoapDO createTeam(String sessionId, String projectId, String title, String description, String parentTeamId, String teamOwnerUserName, String[] memberUserNames) throws RemoteException
    Description copied from interface: `ITeamAppSoap`
    Creates a new team
    Specified by:
      `createTeam` in interface `ITeamAppSoap`
    Parameters:
      `sessionId` - User session id.
      `projectId` - The id of the project under which to create the new team
      `title` - The title of the new team
      `description` - The description of the new team
      `parentTeamId` - The id of the parent team
      `teamOwnerUserName` - The team owner name
      `memberUserNames` - The members of the team
    Returns:
      the team soap object
    Throws:
      `RemoteException`

  - ### setTeamData

    public void setTeamData(String sessionId, String teamId, String title, String description, String teamOwnerUserName, String[] memberUserNames, int version) throws RemoteException
    Description copied from interface: `ITeamAppSoap`
    Update team data for given team Id
    Specified by:
      `setTeamData` in interface `ITeamAppSoap`
    Parameters:
      `sessionId` - User session id.
      `teamId` - The team Id.
      `title` - The team title.
      `description` - The team description.
      `teamOwnerUserName` - The team owner user name.
      `memberUserNames` - The member user names.
      `version` - The version number.
    Throws:
      `RemoteException`

  - ### getTeamData

    public TeamSoapDO getTeamData(String sessionId, String teamId) throws RemoteException
    Description copied from interface: `ITeamAppSoap`
    Get the team data for a team id.
    Specified by:
      `getTeamData` in interface `ITeamAppSoap`
    Parameters:
      `sessionId` - User session id.
      `teamId` - The team id.
    Returns:
      the team soap object
    Throws:
      `RemoteException`

  - ### deleteTeam

    public void deleteTeam(String sessionId, String teamId) throws RemoteException
    Description copied from interface: `ITeamAppSoap`
    Delete the team if team has no child
    Specified by:
      `deleteTeam` in interface `ITeamAppSoap`
    Parameters:
      `sessionId` - User session id.
      `teamId` - The team id.
    Throws:
      `RemoteException`

  - ### getTeamListForProject

    public TeamSoapList getTeamListForProject(String sessionId, String projectId) throws RemoteException
    Description copied from interface: `ITeamAppSoap`
    Get list of teams specific to project
    Specified by:
      `getTeamListForProject` in interface `ITeamAppSoap`
    Parameters:
      `sessionId` - User session id.
      `projectId` - The id of the project under which to create the new team.
    Returns:
      list of team for project.
    Throws:
      `RemoteException`

  - ### getChildTeamList

    public TeamSoapList getChildTeamList(String sessionId, String parentTeamId) throws RemoteException
    Description copied from interface: `ITeamAppSoap`
    Get list of child teams specific to parent team
    Specified by:
      `getChildTeamList` in interface `ITeamAppSoap`
    Parameters:
      `sessionId` - User session id.
      `parentTeamId` - The parent team id.
    Returns:
      list of child teams for given parent team id.
    Throws:
      `RemoteException`

  - ### getTeamMemberList

    public UserSoapList getTeamMemberList(String sessionId, String teamId) throws RemoteException
    Description copied from interface: `ITeamAppSoap`
    Get list of team members specific to team
    Specified by:
      `getTeamMemberList` in interface `ITeamAppSoap`
    Parameters:
      `sessionId` - User session id.
      `teamId` - The team id.
    Returns:
      list of team members
    Throws:
      `RemoteException`