Class FrsAppSoapMockStub
java.lang.Object
com.collabnet.ce.soap60.webservices.ClientSoapStub
com.collabnet.ce.soap60.webservices.ClientSoapMockStub
com.collabnet.ce.soap60.webservices.frs.FrsAppSoapMockStub
- All Implemented Interfaces:
IFrsAppSoap
-
Field Summary
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapMockStub
DATE_WILDCARD, GUIDKEY_WILDCARD, INTEGER_WILDCARD, LONG_WILDCARD, STRING_WILDCARDFields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
DEFAULT_CLIENT_TIME_OUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSimulate a call to createFrsFileSimulate a call to createFrsFile2createPackage(String sessionId, String projectId, String title, String description, boolean isPublished) Simulate a call to createPackagecreateRelease(String sessionId, String packageId, String title, String description, String status, String maturity) Simulate a call to createReleasevoiddeleteFrsFile(String sessionId, String frsFileId) Simulate a call to deleteFrsFilevoiddeletePackage(String sessionId, String packageId) Simulate a call to deletePackagevoiddeleteRelease(String sessionId, String releaseId) Simulate a call to deleteReleasegetArtifactListReportedInRelease(String sessionId, String releaseId) Simulate a call to getArtifactListReportedInReleasegetArtifactListReportedInRelease2(String sessionId, String releaseId) Simulate a call to getArtifactListReportedInRelease2getArtifactListResolvedInRelease(String sessionId, String releaseId) Simulate a call to getArtifactListResolvedInReleasegetArtifactListResolvedInRelease2(String sessionId, String releaseId) Simulate a call to getArtifactListResolvedInRelease2getFrsFileData(String sessionId, String frsFileId) Simulate a call to getFrsFileDatagetFrsFileData2(String sessionId, String frsFileId) Simulate a call to getFrsFileData2getFrsFileId(String sessionId, String frsFileId) Simulate a call to getFrsFileIdgetFrsFileList(String sessionId, String releaseId) Simulate a call to getFrsFileListgetFrsFileList2(String sessionId, String releaseId) Simulate a call to getFrsFileList2getPackageData(String sessionId, String packageId) Simulate a call to getPackageDatagetPackageList(String sessionId, String projectId) Simulate a call to getPackageListgetReleaseData(String sessionId, String releaseId) Simulate a call to getReleaseDatagetReleaseList(String sessionId, String packageId) Simulate a call to getReleaseListvoidprepareCreateFrsFile(String sessionId, String releaseId, String fileName, String mimeType, String fileId, Object returnValue) Prepare a simulated response to createFrsFilevoidprepareCreatePackage(String sessionId, String projectId, String title, String description, boolean isPublished, Object returnValue) Prepare a simulated response to createPackagevoidprepareCreateRelease(String sessionId, String packageId, String title, String description, String status, String maturity, Object returnValue) Prepare a simulated response to createReleasevoidprepareDeleteFrsFile(String sessionId, String frsFileId) Prepare a simulated response to deleteFrsFilevoidprepareDeleteFrsFile(String sessionId, String frsFileId, Exception exception) Prepare a simulated response to deleteFrsFilevoidprepareDeletePackage(String sessionId, String packageId) Prepare a simulated response to deletePackagevoidprepareDeletePackage(String sessionId, String packageId, Exception exception) Prepare a simulated response to deletePackagevoidprepareDeleteRelease(String sessionId, String releaseId) Prepare a simulated response to deleteReleasevoidprepareDeleteRelease(String sessionId, String releaseId, Exception exception) Prepare a simulated response to deleteReleasevoidprepareGetArtifactListReportedInRelease(String sessionId, String releaseId, Object returnValue) Prepare a simulated response to getArtifactListReportedInReleasevoidprepareGetArtifactListReportedInRelease2(String sessionId, String releaseId, Object returnValue) Prepare a simulated response to getArtifactListReportedInRelease2voidprepareGetArtifactListResolvedInRelease(String sessionId, String releaseId, Object returnValue) Prepare a simulated response to getArtifactListResolvedInReleasevoidprepareGetArtifactListResolvedInRelease2(String sessionId, String releaseId, Object returnValue) Prepare a simulated response to getArtifactListResolvedInRelease2voidprepareGetFrsFileData(String sessionId, String frsFileId, Object returnValue) Prepare a simulated response to getFrsFileDatavoidprepareGetFrsFileId(String sessionId, String frsFileId, Object returnValue) Prepare a simulated response to getFrsFileIdvoidprepareGetFrsFileList(String sessionId, String releaseId, Object returnValue) Prepare a simulated response to getFrsFileListvoidprepareGetPackageData(String sessionId, String packageId, Object returnValue) Prepare a simulated response to getPackageDatavoidprepareGetPackageList(String sessionId, String projectId, Object returnValue) Prepare a simulated response to getPackageListvoidprepareGetReleaseData(String sessionId, String releaseId, Object returnValue) Prepare a simulated response to getReleaseDatavoidprepareGetReleaseList(String sessionId, String packageId, Object returnValue) Prepare a simulated response to getReleaseListvoidprepareSetPackageData(String sessionId, PackageSoapDO packageData) Prepare a simulated response to setPackageDatavoidprepareSetPackageData(String sessionId, PackageSoapDO packageData, Exception exception) Prepare a simulated response to setPackageDatavoidprepareSetReleaseData(String sessionId, ReleaseSoapDO releaseData) Prepare a simulated response to setReleaseDatavoidprepareSetReleaseData(String sessionId, ReleaseSoapDO releaseData, Exception exception) Prepare a simulated response to setReleaseDatavoidsetPackageData(String sessionId, PackageSoapDO packageData) Simulate a call to setPackageDatavoidsetReleaseData(String sessionId, ReleaseSoapDO releaseData) Simulate a call to setReleaseDataMethods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapMockStub
addSimulatedResult, addSimulatedResult, addSimulatedResult, getCallCount, getCallParameters, getUnusedCalls, simulateCallMethods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
getServiceCall, getSoapServer, getTimeout, setTimeout, soapParam
-
Constructor Details
-
FrsAppSoapMockStub
-
-
Method Details
-
prepareCreatePackage
public void prepareCreatePackage(String sessionId, String projectId, String title, String description, boolean isPublished, Object returnValue) Prepare a simulated response to createPackage -
createPackage
public PackageSoapDO createPackage(String sessionId, String projectId, String title, String description, boolean isPublished) throws RemoteException Simulate a call to createPackage- Specified by:
createPackagein interfaceIFrsAppSoap- Parameters:
sessionId- User session id.projectId- The project id.title- Package title.description- Package description.isPublished- Whether the package should be published- Returns:
- Newly created package object.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- when one or more parameters are invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
prepareGetPackageList
Prepare a simulated response to getPackageList -
getPackageList
Simulate a call to getPackageList- Specified by:
getPackageListin interfaceIFrsAppSoap- Parameters:
sessionId- User session id.projectId- The project id.- Returns:
- List of packages within the specified project.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
prepareGetPackageData
Prepare a simulated response to getPackageData -
getPackageData
Simulate a call to getPackageData- Specified by:
getPackageDatain interfaceIFrsAppSoap- Parameters:
sessionId- User session id.packageId- The package id.- Returns:
- Package object data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
prepareSetPackageData
Prepare a simulated response to setPackageData -
prepareSetPackageData
Prepare a simulated response to setPackageData -
setPackageData
Simulate a call to setPackageData- Specified by:
setPackageDatain interfaceIFrsAppSoap- Parameters:
sessionId- User session id.packageData- The package object to edit.- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.VersionMismatchFault- when package data is stale.IllegalArgumentFault- when one or more parameters are invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
prepareDeletePackage
Prepare a simulated response to deletePackage -
prepareDeletePackage
Prepare a simulated response to deletePackage -
deletePackage
Simulate a call to deletePackage- Specified by:
deletePackagein interfaceIFrsAppSoap- Parameters:
sessionId- User session id.packageId- The package id.- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
prepareGetReleaseList
Prepare a simulated response to getReleaseList -
getReleaseList
Simulate a call to getReleaseList- Specified by:
getReleaseListin interfaceIFrsAppSoap- Parameters:
sessionId- User session id.packageId- The package id.- Returns:
- List of releases within the specified package.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
prepareCreateRelease
public void prepareCreateRelease(String sessionId, String packageId, String title, String description, String status, String maturity, Object returnValue) Prepare a simulated response to createRelease -
createRelease
public ReleaseSoapDO createRelease(String sessionId, String packageId, String title, String description, String status, String maturity) throws RemoteException Simulate a call to createRelease- Specified by:
createReleasein interfaceIFrsAppSoap- Parameters:
sessionId- User session id.packageId- The package id.title- Release title.description- Release description.status- Release status ("active", "pending", "obsolete")maturity- Maturity level ("Alpha", etc.)- Returns:
- Newly created release object.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- when one or more parameters are invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
prepareDeleteRelease
Prepare a simulated response to deleteRelease -
prepareDeleteRelease
Prepare a simulated response to deleteRelease -
deleteRelease
Simulate a call to deleteRelease- Specified by:
deleteReleasein interfaceIFrsAppSoap- Parameters:
sessionId- User session id.releaseId- The release id.- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
prepareGetReleaseData
Prepare a simulated response to getReleaseData -
getReleaseData
Simulate a call to getReleaseData- Specified by:
getReleaseDatain interfaceIFrsAppSoap- Parameters:
sessionId- User session id.releaseId- The release id.- Returns:
- Release data.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
prepareSetReleaseData
Prepare a simulated response to setReleaseData -
prepareSetReleaseData
Prepare a simulated response to setReleaseData -
setReleaseData
Simulate a call to setReleaseData- Specified by:
setReleaseDatain interfaceIFrsAppSoap- Parameters:
sessionId- User session id.releaseData- The release object.- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.VersionMismatchFault- when package data is stale.IllegalArgumentFault- when release data is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
prepareCreateFrsFile
public void prepareCreateFrsFile(String sessionId, String releaseId, String fileName, String mimeType, String fileId, Object returnValue) Prepare a simulated response to createFrsFile -
createFrsFile
public FrsFileSoapDO createFrsFile(String sessionId, String releaseId, String fileName, String mimeType, String fileId) throws RemoteException Simulate a call to createFrsFile- Specified by:
createFrsFilein interfaceIFrsAppSoap- Parameters:
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).- Returns:
- Newly created frs file object.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- when one or more parameters are invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
prepareGetFrsFileData
Prepare a simulated response to getFrsFileData -
getFrsFileData
Simulate a call to getFrsFileData- Specified by:
getFrsFileDatain interfaceIFrsAppSoap- Parameters:
sessionId- SOAP session id.frsFileId- FRS file id of the object to retrieve.- Returns:
- the FRS file data.
- Throws:
InvalidSessionFault- when SOAP session id is invalid.NoSuchObjectFault- when frsFileId does not exist.PermissionDeniedFault- when permissions are insufficient.SystemFault- when an unexpected error occurs.IllegalArgumentFault- when an argument is invalid.RemoteException- See Also:
-
prepareGetFrsFileList
Prepare a simulated response to getFrsFileList -
getFrsFileList
Simulate a call to getFrsFileList- Specified by:
getFrsFileListin interfaceIFrsAppSoap- Parameters:
sessionId- User session id.releaseId- The release id.- Returns:
- List of files within the specified release.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
prepareDeleteFrsFile
Prepare a simulated response to deleteFrsFile -
prepareDeleteFrsFile
Prepare a simulated response to deleteFrsFile -
deleteFrsFile
Simulate a call to deleteFrsFile- Specified by:
deleteFrsFilein interfaceIFrsAppSoap- Parameters:
sessionId- User session id.frsFileId- The frs file id.- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
prepareGetFrsFileId
Prepare a simulated response to getFrsFileId -
getFrsFileId
Simulate a call to getFrsFileId- Specified by:
getFrsFileIdin interfaceIFrsAppSoap- Parameters:
sessionId- User session id.frsFileId- FRS File id.- Returns:
- File storage id (for download using FileStorageService or SimpleFileStorageService).
- Throws:
InvalidSessionFault- when the sessionId is invalid.PermissionDeniedFault- when permission is denied for the specified operation.NoSuchObjectFault- when the specified object is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
createFrsFile2
public FrsFile2SoapDO createFrsFile2(String sessionId, String releaseId, String fileName, String mimeType, String fileId) throws RemoteException Simulate a call to createFrsFile2- Specified by:
createFrsFile2in interfaceIFrsAppSoap- Parameters:
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).- Returns:
- Newly created frs file object.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.IllegalArgumentFault- when one or more parameters are invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
getFrsFileData2
Simulate a call to getFrsFileData2- Specified by:
getFrsFileData2in interfaceIFrsAppSoap- Parameters:
sessionId- SOAP session id.frsFileId- FRS file id of the object to retrieve.- Returns:
- the FRS file data.
- Throws:
InvalidSessionFault- when SOAP session id is invalid.NoSuchObjectFault- when frsFileId does not exist.PermissionDeniedFault- when permissions are insufficient.SystemFault- when an unexpected error occurs.IllegalArgumentFault- when an argument is invalid.RemoteException- See Also:
-
getFrsFileList2
Simulate a call to getFrsFileList2- Specified by:
getFrsFileList2in interfaceIFrsAppSoap- Parameters:
sessionId- User session id.releaseId- The release id.- Returns:
- List of files within the specified release.
- Throws:
InvalidSessionFault- when the specified session id is invalid.PermissionDeniedFault- when the user has insufficient privileges.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
prepareGetArtifactListReportedInRelease
public void prepareGetArtifactListReportedInRelease(String sessionId, String releaseId, Object returnValue) Prepare a simulated response to getArtifactListReportedInRelease -
getArtifactListReportedInRelease
public ArtifactSoapList getArtifactListReportedInRelease(String sessionId, String releaseId) throws RemoteException Simulate a call to getArtifactListReportedInRelease- Specified by:
getArtifactListReportedInReleasein interfaceIFrsAppSoap- Parameters:
sessionId- User session id.releaseId- The id of the release- Returns:
- List of the artifacts reported in the given release.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
prepareGetArtifactListReportedInRelease2
public void prepareGetArtifactListReportedInRelease2(String sessionId, String releaseId, Object returnValue) Prepare a simulated response to getArtifactListReportedInRelease2 -
getArtifactListReportedInRelease2
public Artifact2SoapList getArtifactListReportedInRelease2(String sessionId, String releaseId) throws RemoteException Simulate a call to getArtifactListReportedInRelease2- Specified by:
getArtifactListReportedInRelease2in interfaceIFrsAppSoap- Parameters:
sessionId- User session id.releaseId- The id of the release- Returns:
- List of the artifacts reported in the given release.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
prepareGetArtifactListResolvedInRelease
public void prepareGetArtifactListResolvedInRelease(String sessionId, String releaseId, Object returnValue) Prepare a simulated response to getArtifactListResolvedInRelease -
getArtifactListResolvedInRelease
public ArtifactSoapList getArtifactListResolvedInRelease(String sessionId, String releaseId) throws RemoteException Simulate a call to getArtifactListResolvedInRelease- Specified by:
getArtifactListResolvedInReleasein interfaceIFrsAppSoap- Parameters:
sessionId- User session id.releaseId- The id of the release- Returns:
- List of the artifacts resolved in the given release.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-
prepareGetArtifactListResolvedInRelease2
public void prepareGetArtifactListResolvedInRelease2(String sessionId, String releaseId, Object returnValue) Prepare a simulated response to getArtifactListResolvedInRelease2 -
getArtifactListResolvedInRelease2
public Artifact2SoapList getArtifactListResolvedInRelease2(String sessionId, String releaseId) throws RemoteException Simulate a call to getArtifactListResolvedInRelease2- Specified by:
getArtifactListResolvedInRelease2in interfaceIFrsAppSoap- Parameters:
sessionId- User session id.releaseId- The id of the release- Returns:
- List of the artifacts resolved in the given release.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when the user has insufficient privileges.SystemFault- when an unexpected system error occurs.RemoteException- See Also:
-