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_WILDCARD
Fields 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 createReleasevoid
deleteFrsFile
(String sessionId, String frsFileId) Simulate a call to deleteFrsFilevoid
deletePackage
(String sessionId, String packageId) Simulate a call to deletePackagevoid
deleteRelease
(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 getReleaseListvoid
prepareCreateFrsFile
(String sessionId, String releaseId, String fileName, String mimeType, String fileId, Object returnValue) Prepare a simulated response to createFrsFilevoid
prepareCreatePackage
(String sessionId, String projectId, String title, String description, boolean isPublished, Object returnValue) Prepare a simulated response to createPackagevoid
prepareCreateRelease
(String sessionId, String packageId, String title, String description, String status, String maturity, Object returnValue) Prepare a simulated response to createReleasevoid
prepareDeleteFrsFile
(String sessionId, String frsFileId) Prepare a simulated response to deleteFrsFilevoid
prepareDeleteFrsFile
(String sessionId, String frsFileId, Exception exception) Prepare a simulated response to deleteFrsFilevoid
prepareDeletePackage
(String sessionId, String packageId) Prepare a simulated response to deletePackagevoid
prepareDeletePackage
(String sessionId, String packageId, Exception exception) Prepare a simulated response to deletePackagevoid
prepareDeleteRelease
(String sessionId, String releaseId) Prepare a simulated response to deleteReleasevoid
prepareDeleteRelease
(String sessionId, String releaseId, Exception exception) Prepare a simulated response to deleteReleasevoid
prepareGetArtifactListReportedInRelease
(String sessionId, String releaseId, Object returnValue) Prepare a simulated response to getArtifactListReportedInReleasevoid
prepareGetArtifactListReportedInRelease2
(String sessionId, String releaseId, Object returnValue) Prepare a simulated response to getArtifactListReportedInRelease2void
prepareGetArtifactListResolvedInRelease
(String sessionId, String releaseId, Object returnValue) Prepare a simulated response to getArtifactListResolvedInReleasevoid
prepareGetArtifactListResolvedInRelease2
(String sessionId, String releaseId, Object returnValue) Prepare a simulated response to getArtifactListResolvedInRelease2void
prepareGetFrsFileData
(String sessionId, String frsFileId, Object returnValue) Prepare a simulated response to getFrsFileDatavoid
prepareGetFrsFileId
(String sessionId, String frsFileId, Object returnValue) Prepare a simulated response to getFrsFileIdvoid
prepareGetFrsFileList
(String sessionId, String releaseId, Object returnValue) Prepare a simulated response to getFrsFileListvoid
prepareGetPackageData
(String sessionId, String packageId, Object returnValue) Prepare a simulated response to getPackageDatavoid
prepareGetPackageList
(String sessionId, String projectId, Object returnValue) Prepare a simulated response to getPackageListvoid
prepareGetReleaseData
(String sessionId, String releaseId, Object returnValue) Prepare a simulated response to getReleaseDatavoid
prepareGetReleaseList
(String sessionId, String packageId, Object returnValue) Prepare a simulated response to getReleaseListvoid
prepareSetPackageData
(String sessionId, PackageSoapDO packageData) Prepare a simulated response to setPackageDatavoid
prepareSetPackageData
(String sessionId, PackageSoapDO packageData, Exception exception) Prepare a simulated response to setPackageDatavoid
prepareSetReleaseData
(String sessionId, ReleaseSoapDO releaseData) Prepare a simulated response to setReleaseDatavoid
prepareSetReleaseData
(String sessionId, ReleaseSoapDO releaseData, Exception exception) Prepare a simulated response to setReleaseDatavoid
setPackageData
(String sessionId, PackageSoapDO packageData) Simulate a call to setPackageDatavoid
setReleaseData
(String sessionId, ReleaseSoapDO releaseData) Simulate a call to setReleaseDataMethods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapMockStub
addSimulatedResult, addSimulatedResult, addSimulatedResult, getCallCount, getCallParameters, getUnusedCalls, simulateCall
Methods 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:
createPackage
in 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:
getPackageList
in 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:
getPackageData
in 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:
setPackageData
in 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:
deletePackage
in 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:
getReleaseList
in 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:
createRelease
in 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:
deleteRelease
in 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:
getReleaseData
in 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:
setReleaseData
in 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:
createFrsFile
in 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:
getFrsFileData
in 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:
getFrsFileList
in 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:
deleteFrsFile
in 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:
getFrsFileId
in 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:
createFrsFile2
in 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:
getFrsFileData2
in 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:
getFrsFileList2
in 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:
getArtifactListReportedInRelease
in 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:
getArtifactListReportedInRelease2
in 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:
getArtifactListResolvedInRelease
in 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:
getArtifactListResolvedInRelease2
in 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:
-