public class TeamAppSoapMockStub extends com.collabnet.ce.soap60.webservices.ClientSoapMockStub implements ITeamAppSoap
Constructor and Description |
---|
TeamAppSoapMockStub(String soapServerUrl) |
Modifier and Type | Method and Description |
---|---|
TeamSoapDO |
createTeam(String sessionId,
String projectId,
String title,
String description,
String parentTeamId,
String teamOwnerUserName,
String[] memberUserNames)
Simulate a call to createTeam
|
void |
deleteTeam(String sessionId,
String teamId)
Simulate a call to deleteTeam
|
TeamSoapList |
getChildTeamList(String sessionId,
String parentTeamId)
Simulate a call to getChildTeamList
|
TeamSoapDO |
getTeamData(String sessionId,
String teamId)
Simulate a call to getTeamData
|
TeamSoapList |
getTeamListForProject(String sessionId,
String projectId)
Simulate a call to getTeamListForProject
|
UserSoapList |
getTeamMemberList(String sessionId,
String teamId)
Simulate a call to getTeamMemberList
|
void |
prepareCreateTeam(String sessionId,
String projectId,
String title,
String description,
String parentTeamId,
String teamOwnerUserName,
String[] memberUserNames,
Object returnValue)
Prepare a simulated response to createTeam
|
void |
prepareDeleteTeam(String sessionId,
String teamId)
Prepare a simulated response to deleteTeam
|
void |
prepareDeleteTeam(String sessionId,
String teamId,
Exception exception)
Prepare a simulated response to deleteTeam
|
void |
prepareGetChildTeamList(String sessionId,
String parentTeamId,
Object returnValue)
Prepare a simulated response to getChildTeamList
|
void |
prepareGetTeamData(String sessionId,
String teamId,
Object returnValue)
Prepare a simulated response to getTeamData
|
void |
prepareGetTeamListForProject(String sessionId,
String projectId,
Object returnValue)
Prepare a simulated response to getTeamListForProject
|
void |
prepareGetTeamMemberList(String sessionId,
String teamId,
Object returnValue)
Prepare a simulated response to getTeamMemberList
|
void |
prepareSetTeamData(String sessionId,
String teamId,
String title,
String description,
String teamOwnerUserName,
String[] memberUserNames,
int version)
Prepare a simulated response to setTeamData
|
void |
prepareSetTeamData(String sessionId,
String teamId,
String title,
String description,
String teamOwnerUserName,
String[] memberUserNames,
int version,
Exception exception)
Prepare a simulated response to setTeamData
|
void |
setTeamData(String sessionId,
String teamId,
String title,
String description,
String teamOwnerUserName,
String[] memberUserNames,
int version)
Simulate a call to setTeamData
|
addSimulatedResult, addSimulatedResult, addSimulatedResult, getCallCount, getCallParameters, getUnusedCalls, simulateCall
public TeamAppSoapMockStub(String soapServerUrl)
public void prepareCreateTeam(String sessionId, String projectId, String title, String description, String parentTeamId, String teamOwnerUserName, String[] memberUserNames, Object returnValue)
TeamAppSoap.createTeam(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[])
public TeamSoapDO createTeam(String sessionId, String projectId, String title, String description, String parentTeamId, String teamOwnerUserName, String[] memberUserNames) throws RemoteException
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
TeamAppSoap.createTeam(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[])
public void prepareSetTeamData(String sessionId, String teamId, String title, String description, String teamOwnerUserName, String[] memberUserNames, int version)
TeamAppSoap.setTeamData(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], int)
public void prepareSetTeamData(String sessionId, String teamId, String title, String description, String teamOwnerUserName, String[] memberUserNames, int version, Exception exception)
TeamAppSoap.setTeamData(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], int)
public void setTeamData(String sessionId, String teamId, String title, String description, String teamOwnerUserName, String[] memberUserNames, int version) throws RemoteException
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
TeamAppSoap.setTeamData(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], int)
public void prepareGetTeamData(String sessionId, String teamId, Object returnValue)
TeamAppSoap.getTeamData(java.lang.String, java.lang.String)
public TeamSoapDO getTeamData(String sessionId, String teamId) throws RemoteException
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
TeamAppSoap.getTeamData(java.lang.String, java.lang.String)
public void prepareDeleteTeam(String sessionId, String teamId)
TeamAppSoap.deleteTeam(java.lang.String, java.lang.String)
public void prepareDeleteTeam(String sessionId, String teamId, Exception exception)
TeamAppSoap.deleteTeam(java.lang.String, java.lang.String)
public void deleteTeam(String sessionId, String teamId) throws RemoteException
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
TeamAppSoap.deleteTeam(java.lang.String, java.lang.String)
public void prepareGetTeamListForProject(String sessionId, String projectId, Object returnValue)
TeamAppSoap.getTeamListForProject(java.lang.String, java.lang.String)
public TeamSoapList getTeamListForProject(String sessionId, String projectId) throws RemoteException
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
TeamAppSoap.getTeamListForProject(java.lang.String, java.lang.String)
public void prepareGetChildTeamList(String sessionId, String parentTeamId, Object returnValue)
TeamAppSoap.getChildTeamList(java.lang.String, java.lang.String)
public TeamSoapList getChildTeamList(String sessionId, String parentTeamId) throws RemoteException
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
TeamAppSoap.getChildTeamList(java.lang.String, java.lang.String)
public void prepareGetTeamMemberList(String sessionId, String teamId, Object returnValue)
TeamAppSoap.getTeamMemberList(java.lang.String, java.lang.String)
public UserSoapList getTeamMemberList(String sessionId, String teamId) throws RemoteException
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
TeamAppSoap.getTeamMemberList(java.lang.String, java.lang.String)
Copyright © 2017 CollabNet. All Rights Reserved.