public class TeamAppSoapStub extends com.collabnet.ce.soap60.webservices.ClientSoapStub implements ITeamAppSoap
Constructor and Description |
---|
TeamAppSoapStub(String soapServerUrl) |
Modifier and Type | Method and 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 team's 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 team's 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
|
public TeamAppSoapStub(String soapServerUrl)
public TeamSoapDO createTeam(String sessionId, String projectId, String title, String description, String parentTeamId, String teamOwnerUserName, String[] memberUserNames) throws RemoteException
ITeamAppSoap
createTeam
in interface ITeamAppSoap
sessionId
- User session id.projectId
- The id of the project under which to create the new teamtitle
- The title of the new teamdescription
- The description of the new teamparentTeamId
- The id of the parent teamteamOwnerUserName
- The team owner namememberUserNames
- The members of the teamcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- if an existing team already exists.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- if invalid argument value was supplied.com.collabnet.ce.soap60.fault.InvalidProjectFault
- if invalid project id value was supplied.com.collabnet.ce.soap60.fault.InvalidTeamFault
- if invalid team id value was supplied.RemoteException
public void setTeamData(String sessionId, String teamId, String title, String description, String teamOwnerUserName, String[] memberUserNames, int version) throws RemoteException
ITeamAppSoap
setTeamData
in interface ITeamAppSoap
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.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- if an existing team already exists.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- if invalid argument value was supplied.com.collabnet.ce.soap60.fault.InvalidTeamFault
- if invalid team id value was supplied.com.collabnet.ce.soap60.fault.VersionMismatchFault
- if invalid version number was supplied.RemoteException
public TeamSoapDO getTeamData(String sessionId, String teamId) throws RemoteException
ITeamAppSoap
getTeamData
in interface ITeamAppSoap
sessionId
- User session id.teamId
- The team id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- if an existing team already exists.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- if invalid argument value was supplied.RemoteException
public void deleteTeam(String sessionId, String teamId) throws RemoteException
ITeamAppSoap
deleteTeam
in interface ITeamAppSoap
sessionId
- User session id.teamId
- The team id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- if invalid argument value was supplied.com.collabnet.ce.soap60.fault.DeleteTeamFault
- if team has child.RemoteException
public TeamSoapList getTeamListForProject(String sessionId, String projectId) throws RemoteException
ITeamAppSoap
getTeamListForProject
in interface ITeamAppSoap
sessionId
- User session id.projectId
- The id of the project under which to create the new team.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- if an existing team already exists.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- if invalid argument value was supplied.com.collabnet.ce.soap60.fault.InvalidProjectFault
- if invalid project id value was supplied.RemoteException
public TeamSoapList getChildTeamList(String sessionId, String parentTeamId) throws RemoteException
ITeamAppSoap
getChildTeamList
in interface ITeamAppSoap
sessionId
- User session id.parentTeamId
- The parent team id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- if an existing team already exists.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- if invalid argument value was supplied.RemoteException
public UserSoapList getTeamMemberList(String sessionId, String teamId) throws RemoteException
ITeamAppSoap
getTeamMemberList
in interface ITeamAppSoap
sessionId
- User session id.teamId
- The team id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- if an existing team already exists.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- if invalid argument value was supplied.RemoteException
Copyright © 2016 CollabNet. All Rights Reserved.