public class FrsAppSoapMockStub extends com.collabnet.ce.soap60.webservices.ClientSoapMockStub implements IFrsAppSoap
Constructor and Description |
---|
FrsAppSoapMockStub(String soapServerUrl) |
Modifier and Type | Method and Description |
---|---|
FrsFileSoapDO |
createFrsFile(String sessionId,
String releaseId,
String fileName,
String mimeType,
String fileId)
Simulate a call to createFrsFile
|
PackageSoapDO |
createPackage(String sessionId,
String projectId,
String title,
String description,
boolean isPublished)
Simulate a call to createPackage
|
ReleaseSoapDO |
createRelease(String sessionId,
String packageId,
String title,
String description,
String status,
String maturity)
Simulate a call to createRelease
|
void |
deleteFrsFile(String sessionId,
String frsFileId)
Simulate a call to deleteFrsFile
|
void |
deletePackage(String sessionId,
String packageId)
Simulate a call to deletePackage
|
void |
deleteRelease(String sessionId,
String releaseId)
Simulate a call to deleteRelease
|
ArtifactSoapList |
getArtifactListReportedInRelease(String sessionId,
String releaseId)
Simulate a call to getArtifactListReportedInRelease
|
Artifact2SoapList |
getArtifactListReportedInRelease2(String sessionId,
String releaseId)
Simulate a call to getArtifactListReportedInRelease2
|
ArtifactSoapList |
getArtifactListResolvedInRelease(String sessionId,
String releaseId)
Simulate a call to getArtifactListResolvedInRelease
|
Artifact2SoapList |
getArtifactListResolvedInRelease2(String sessionId,
String releaseId)
Simulate a call to getArtifactListResolvedInRelease2
|
FrsFileSoapDO |
getFrsFileData(String sessionId,
String frsFileId)
Simulate a call to getFrsFileData
|
String |
getFrsFileId(String sessionId,
String frsFileId)
Simulate a call to getFrsFileId
|
FrsFileSoapList |
getFrsFileList(String sessionId,
String releaseId)
Simulate a call to getFrsFileList
|
PackageSoapDO |
getPackageData(String sessionId,
String packageId)
Simulate a call to getPackageData
|
PackageSoapList |
getPackageList(String sessionId,
String projectId)
Simulate a call to getPackageList
|
ReleaseSoapDO |
getReleaseData(String sessionId,
String releaseId)
Simulate a call to getReleaseData
|
ReleaseSoapList |
getReleaseList(String sessionId,
String packageId)
Simulate a call to getReleaseList
|
void |
prepareCreateFrsFile(String sessionId,
String releaseId,
String fileName,
String mimeType,
String fileId,
Object returnValue)
Prepare a simulated response to createFrsFile
|
void |
prepareCreatePackage(String sessionId,
String projectId,
String title,
String description,
boolean isPublished,
Object returnValue)
Prepare a simulated response to createPackage
|
void |
prepareCreateRelease(String sessionId,
String packageId,
String title,
String description,
String status,
String maturity,
Object returnValue)
Prepare a simulated response to createRelease
|
void |
prepareDeleteFrsFile(String sessionId,
String frsFileId)
Prepare a simulated response to deleteFrsFile
|
void |
prepareDeleteFrsFile(String sessionId,
String frsFileId,
Exception exception)
Prepare a simulated response to deleteFrsFile
|
void |
prepareDeletePackage(String sessionId,
String packageId)
Prepare a simulated response to deletePackage
|
void |
prepareDeletePackage(String sessionId,
String packageId,
Exception exception)
Prepare a simulated response to deletePackage
|
void |
prepareDeleteRelease(String sessionId,
String releaseId)
Prepare a simulated response to deleteRelease
|
void |
prepareDeleteRelease(String sessionId,
String releaseId,
Exception exception)
Prepare a simulated response to deleteRelease
|
void |
prepareGetArtifactListReportedInRelease(String sessionId,
String releaseId,
Object returnValue)
Prepare a simulated response to getArtifactListReportedInRelease
|
void |
prepareGetArtifactListReportedInRelease2(String sessionId,
String releaseId,
Object returnValue)
Prepare a simulated response to getArtifactListReportedInRelease2
|
void |
prepareGetArtifactListResolvedInRelease(String sessionId,
String releaseId,
Object returnValue)
Prepare a simulated response to getArtifactListResolvedInRelease
|
void |
prepareGetArtifactListResolvedInRelease2(String sessionId,
String releaseId,
Object returnValue)
Prepare a simulated response to getArtifactListResolvedInRelease2
|
void |
prepareGetFrsFileData(String sessionId,
String frsFileId,
Object returnValue)
Prepare a simulated response to getFrsFileData
|
void |
prepareGetFrsFileId(String sessionId,
String frsFileId,
Object returnValue)
Prepare a simulated response to getFrsFileId
|
void |
prepareGetFrsFileList(String sessionId,
String releaseId,
Object returnValue)
Prepare a simulated response to getFrsFileList
|
void |
prepareGetPackageData(String sessionId,
String packageId,
Object returnValue)
Prepare a simulated response to getPackageData
|
void |
prepareGetPackageList(String sessionId,
String projectId,
Object returnValue)
Prepare a simulated response to getPackageList
|
void |
prepareGetReleaseData(String sessionId,
String releaseId,
Object returnValue)
Prepare a simulated response to getReleaseData
|
void |
prepareGetReleaseList(String sessionId,
String packageId,
Object returnValue)
Prepare a simulated response to getReleaseList
|
void |
prepareSetPackageData(String sessionId,
PackageSoapDO packageData)
Prepare a simulated response to setPackageData
|
void |
prepareSetPackageData(String sessionId,
PackageSoapDO packageData,
Exception exception)
Prepare a simulated response to setPackageData
|
void |
prepareSetReleaseData(String sessionId,
ReleaseSoapDO releaseData)
Prepare a simulated response to setReleaseData
|
void |
prepareSetReleaseData(String sessionId,
ReleaseSoapDO releaseData,
Exception exception)
Prepare a simulated response to setReleaseData
|
void |
setPackageData(String sessionId,
PackageSoapDO packageData)
Simulate a call to setPackageData
|
void |
setReleaseData(String sessionId,
ReleaseSoapDO releaseData)
Simulate a call to setReleaseData
|
addSimulatedResult, addSimulatedResult, addSimulatedResult, getCallCount, getCallParameters, getUnusedCalls, simulateCall
public FrsAppSoapMockStub(String soapServerUrl)
public void prepareCreatePackage(String sessionId, String projectId, String title, String description, boolean isPublished, Object returnValue)
FrsAppSoap.createPackage(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)
public PackageSoapDO createPackage(String sessionId, String projectId, String title, String description, boolean isPublished) throws RemoteException
createPackage
in interface IFrsAppSoap
sessionId
- User session id.projectId
- The project id.title
- Package title.description
- Package description.isPublished
- Whether the package should be publishedcom.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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
FrsAppSoap.createPackage(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)
public void prepareGetPackageList(String sessionId, String projectId, Object returnValue)
FrsAppSoap.getPackageList(java.lang.String, java.lang.String)
public PackageSoapList getPackageList(String sessionId, String projectId) throws RemoteException
getPackageList
in interface IFrsAppSoap
sessionId
- User session id.projectId
- The project 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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
FrsAppSoap.getPackageList(java.lang.String, java.lang.String)
public void prepareGetPackageData(String sessionId, String packageId, Object returnValue)
FrsAppSoap.getPackageData(java.lang.String, java.lang.String)
public PackageSoapDO getPackageData(String sessionId, String packageId) throws RemoteException
getPackageData
in interface IFrsAppSoap
sessionId
- User session id.packageId
- The package 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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
FrsAppSoap.getPackageData(java.lang.String, java.lang.String)
public void prepareSetPackageData(String sessionId, PackageSoapDO packageData)
FrsAppSoap.setPackageData(java.lang.String, com.collabnet.ce.soap60.webservices.frs.PackageSoapDO)
public void prepareSetPackageData(String sessionId, PackageSoapDO packageData, Exception exception)
FrsAppSoap.setPackageData(java.lang.String, com.collabnet.ce.soap60.webservices.frs.PackageSoapDO)
public void setPackageData(String sessionId, PackageSoapDO packageData) throws RemoteException
setPackageData
in interface IFrsAppSoap
sessionId
- User session id.packageData
- The package object to edit.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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.VersionMismatchFault
- when package data is stale.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
FrsAppSoap.setPackageData(java.lang.String, com.collabnet.ce.soap60.webservices.frs.PackageSoapDO)
public void prepareDeletePackage(String sessionId, String packageId)
FrsAppSoap.deletePackage(java.lang.String, java.lang.String)
public void prepareDeletePackage(String sessionId, String packageId, Exception exception)
FrsAppSoap.deletePackage(java.lang.String, java.lang.String)
public void deletePackage(String sessionId, String packageId) throws RemoteException
deletePackage
in interface IFrsAppSoap
sessionId
- User session id.packageId
- The package 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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
FrsAppSoap.deletePackage(java.lang.String, java.lang.String)
public void prepareGetReleaseList(String sessionId, String packageId, Object returnValue)
FrsAppSoap.getReleaseList(java.lang.String, java.lang.String)
public ReleaseSoapList getReleaseList(String sessionId, String packageId) throws RemoteException
getReleaseList
in interface IFrsAppSoap
sessionId
- User session id.packageId
- The package 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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
FrsAppSoap.getReleaseList(java.lang.String, java.lang.String)
public void prepareCreateRelease(String sessionId, String packageId, String title, String description, String status, String maturity, Object returnValue)
FrsAppSoap.createRelease(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public ReleaseSoapDO createRelease(String sessionId, String packageId, String title, String description, String status, String maturity) throws RemoteException
createRelease
in interface IFrsAppSoap
sessionId
- User session id.packageId
- The package id.title
- Release title.description
- Release description.status
- Release status ("active", "pending")maturity
- Maturity level ("Alpha", etc.)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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
FrsAppSoap.createRelease(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void prepareDeleteRelease(String sessionId, String releaseId)
FrsAppSoap.deleteRelease(java.lang.String, java.lang.String)
public void prepareDeleteRelease(String sessionId, String releaseId, Exception exception)
FrsAppSoap.deleteRelease(java.lang.String, java.lang.String)
public void deleteRelease(String sessionId, String releaseId) throws RemoteException
deleteRelease
in interface IFrsAppSoap
sessionId
- User session id.releaseId
- The release 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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
FrsAppSoap.deleteRelease(java.lang.String, java.lang.String)
public void prepareGetReleaseData(String sessionId, String releaseId, Object returnValue)
FrsAppSoap.getReleaseData(java.lang.String, java.lang.String)
public ReleaseSoapDO getReleaseData(String sessionId, String releaseId) throws RemoteException
getReleaseData
in interface IFrsAppSoap
sessionId
- User session id.releaseId
- The release 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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
FrsAppSoap.getReleaseData(java.lang.String, java.lang.String)
public void prepareSetReleaseData(String sessionId, ReleaseSoapDO releaseData)
FrsAppSoap.setReleaseData(java.lang.String, com.collabnet.ce.soap60.webservices.frs.ReleaseSoapDO)
public void prepareSetReleaseData(String sessionId, ReleaseSoapDO releaseData, Exception exception)
FrsAppSoap.setReleaseData(java.lang.String, com.collabnet.ce.soap60.webservices.frs.ReleaseSoapDO)
public void setReleaseData(String sessionId, ReleaseSoapDO releaseData) throws RemoteException
setReleaseData
in interface IFrsAppSoap
sessionId
- User session id.releaseData
- The release object.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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.VersionMismatchFault
- when package data is stale.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when release data is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
FrsAppSoap.setReleaseData(java.lang.String, com.collabnet.ce.soap60.webservices.frs.ReleaseSoapDO)
public void prepareCreateFrsFile(String sessionId, String releaseId, String fileName, String mimeType, String fileId, Object returnValue)
FrsAppSoap.createFrsFile(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public FrsFileSoapDO createFrsFile(String sessionId, String releaseId, String fileName, String mimeType, String fileId) throws RemoteException
createFrsFile
in interface IFrsAppSoap
sessionId
- User session id.releaseId
- The release id.fileName
- Name of the attached file.mimeType
- File mime type.fileId
- Uploaded file id (through FileStorageApp or SimpleFileStorageApp service).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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
FrsAppSoap.createFrsFile(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void prepareGetFrsFileData(String sessionId, String frsFileId, Object returnValue)
FrsAppSoap.getFrsFileData(java.lang.String, java.lang.String)
public FrsFileSoapDO getFrsFileData(String sessionId, String frsFileId) throws RemoteException
getFrsFileData
in interface IFrsAppSoap
sessionId
- SOAP session id.frsFileId
- FRS file id of the object to retrieve.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when SOAP session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when frsFileId does not exist.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permissions are insufficient.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected error occurs.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when an argument is invalid.RemoteException
FrsAppSoap.getFrsFileData(java.lang.String, java.lang.String)
public void prepareGetFrsFileList(String sessionId, String releaseId, Object returnValue)
FrsAppSoap.getFrsFileList(java.lang.String, java.lang.String)
public FrsFileSoapList getFrsFileList(String sessionId, String releaseId) throws RemoteException
getFrsFileList
in interface IFrsAppSoap
sessionId
- User session id.releaseId
- The release 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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
FrsAppSoap.getFrsFileList(java.lang.String, java.lang.String)
public void prepareDeleteFrsFile(String sessionId, String frsFileId)
FrsAppSoap.deleteFrsFile(java.lang.String, java.lang.String)
public void prepareDeleteFrsFile(String sessionId, String frsFileId, Exception exception)
FrsAppSoap.deleteFrsFile(java.lang.String, java.lang.String)
public void deleteFrsFile(String sessionId, String frsFileId) throws RemoteException
deleteFrsFile
in interface IFrsAppSoap
sessionId
- User session id.frsFileId
- The frs file 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.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
FrsAppSoap.deleteFrsFile(java.lang.String, java.lang.String)
public void prepareGetFrsFileId(String sessionId, String frsFileId, Object returnValue)
FrsAppSoap.getFrsFileId(java.lang.String, java.lang.String)
public String getFrsFileId(String sessionId, String frsFileId) throws RemoteException
getFrsFileId
in interface IFrsAppSoap
sessionId
- User session id.frsFileId
- FRS File id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
FrsAppSoap.getFrsFileId(java.lang.String, java.lang.String)
public void prepareGetArtifactListReportedInRelease(String sessionId, String releaseId, Object returnValue)
FrsAppSoap.getArtifactListReportedInRelease(java.lang.String, java.lang.String)
public ArtifactSoapList getArtifactListReportedInRelease(String sessionId, String releaseId) throws RemoteException
getArtifactListReportedInRelease
in interface IFrsAppSoap
sessionId
- User session id.releaseId
- The id of the releasecom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object 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.RemoteException
FrsAppSoap.getArtifactListReportedInRelease(java.lang.String, java.lang.String)
public void prepareGetArtifactListReportedInRelease2(String sessionId, String releaseId, Object returnValue)
FrsAppSoap.getArtifactListReportedInRelease2(java.lang.String, java.lang.String)
public Artifact2SoapList getArtifactListReportedInRelease2(String sessionId, String releaseId) throws RemoteException
getArtifactListReportedInRelease2
in interface IFrsAppSoap
sessionId
- User session id.releaseId
- The id of the releasecom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object 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.RemoteException
FrsAppSoap.getArtifactListReportedInRelease2(java.lang.String, java.lang.String)
public void prepareGetArtifactListResolvedInRelease(String sessionId, String releaseId, Object returnValue)
FrsAppSoap.getArtifactListResolvedInRelease(java.lang.String, java.lang.String)
public ArtifactSoapList getArtifactListResolvedInRelease(String sessionId, String releaseId) throws RemoteException
getArtifactListResolvedInRelease
in interface IFrsAppSoap
sessionId
- User session id.releaseId
- The id of the releasecom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object 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.RemoteException
FrsAppSoap.getArtifactListResolvedInRelease(java.lang.String, java.lang.String)
public void prepareGetArtifactListResolvedInRelease2(String sessionId, String releaseId, Object returnValue)
FrsAppSoap.getArtifactListResolvedInRelease2(java.lang.String, java.lang.String)
public Artifact2SoapList getArtifactListResolvedInRelease2(String sessionId, String releaseId) throws RemoteException
getArtifactListResolvedInRelease2
in interface IFrsAppSoap
sessionId
- User session id.releaseId
- The id of the releasecom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object 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.RemoteException
FrsAppSoap.getArtifactListResolvedInRelease2(java.lang.String, java.lang.String)
Copyright © 2017 CollabNet. All Rights Reserved.