public class WikiAppSoapMockStub extends com.collabnet.ce.soap60.webservices.ClientSoapMockStub implements IWikiAppSoap
Constructor and Description |
---|
WikiAppSoapMockStub(String soapServerUrl) |
Modifier and Type | Method and Description |
---|---|
void |
addAttachment(String sessionId,
String wikiPageId,
String fileId,
String filename,
String mimetype)
Simulate a call to addAttachment
|
void |
addAttachments(String sessionId,
String wikiPageId,
AttachmentSoapDO[] attachments)
Simulate a call to addAttachments
|
WikiPageSoapDO |
createWikiPage(String sessionId,
String projectId,
String name,
String wikiText,
String versionComment)
Simulate a call to createWikiPage
|
void |
deleteWikiPage(String sessionId,
String wikiPageId)
Simulate a call to deleteWikiPage
|
String |
getFormattedWikiPageText(String sessionId,
String wikiPageId)
Simulate a call to getFormattedWikiPageText
|
WikiPageSoapDO |
getWikiPageData(String sessionId,
String wikiPageId)
Simulate a call to getWikiPageData
|
WikiPageSoapDO |
getWikiPageDataByName(String sessionId,
String projectId,
String wikiPageName)
Simulate a call to getWikiPageDataByName
|
WikiPageSoapList |
getWikiPageList(String sessionId,
String projectId)
Simulate a call to getWikiPageList
|
void |
prepareAddAttachment(String sessionId,
String wikiPageId,
String fileId,
String filename,
String mimetype)
Prepare a simulated response to addAttachment
|
void |
prepareAddAttachment(String sessionId,
String wikiPageId,
String fileId,
String filename,
String mimetype,
Exception exception)
Prepare a simulated response to addAttachment
|
void |
prepareAddAttachments(String sessionId,
String wikiPageId,
AttachmentSoapDO[] attachments)
Prepare a simulated response to addAttachments
|
void |
prepareAddAttachments(String sessionId,
String wikiPageId,
AttachmentSoapDO[] attachments,
Exception exception)
Prepare a simulated response to addAttachments
|
void |
prepareCreateWikiPage(String sessionId,
String projectId,
String name,
String wikiText,
String versionComment,
Object returnValue)
Prepare a simulated response to createWikiPage
|
void |
prepareDeleteWikiPage(String sessionId,
String wikiPageId)
Prepare a simulated response to deleteWikiPage
|
void |
prepareDeleteWikiPage(String sessionId,
String wikiPageId,
Exception exception)
Prepare a simulated response to deleteWikiPage
|
void |
prepareGetFormattedWikiPageText(String sessionId,
String wikiPageId,
Object returnValue)
Prepare a simulated response to getFormattedWikiPageText
|
void |
prepareGetWikiPageData(String sessionId,
String wikiPageId,
Object returnValue)
Prepare a simulated response to getWikiPageData
|
void |
prepareGetWikiPageDataByName(String sessionId,
String projectId,
String wikiPageName,
Object returnValue)
Prepare a simulated response to getWikiPageDataByName
|
void |
prepareGetWikiPageList(String sessionId,
String projectId,
Object returnValue)
Prepare a simulated response to getWikiPageList
|
void |
prepareSetWikiPageData(String sessionId,
WikiPageSoapDO wikiPageData)
Prepare a simulated response to setWikiPageData
|
void |
prepareSetWikiPageData(String sessionId,
WikiPageSoapDO wikiPageData,
Exception exception)
Prepare a simulated response to setWikiPageData
|
void |
setWikiPageData(String sessionId,
WikiPageSoapDO wikiPageData)
Simulate a call to setWikiPageData
|
addSimulatedResult, addSimulatedResult, addSimulatedResult, getCallCount, getCallParameters, getUnusedCalls, simulateCall
public WikiAppSoapMockStub(String soapServerUrl)
public void prepareCreateWikiPage(String sessionId, String projectId, String name, String wikiText, String versionComment, Object returnValue)
WikiAppSoap.createWikiPage(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public WikiPageSoapDO createWikiPage(String sessionId, String projectId, String name, String wikiText, String versionComment) throws RemoteException
createWikiPage
in interface IWikiAppSoap
sessionId
- SOAP session id.projectId
- Project in which to create a wiki page.name
- Wiki page name.wikiText
- Wiki text for the page.versionComment
- Wiki page version comment.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.IllegalArgumentFault
- when one or more of the parameters are invalid.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- when a page with the specified name already exists in the projectcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
WikiAppSoap.createWikiPage(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void prepareDeleteWikiPage(String sessionId, String wikiPageId)
WikiAppSoap.deleteWikiPage(java.lang.String, java.lang.String)
public void prepareDeleteWikiPage(String sessionId, String wikiPageId, Exception exception)
WikiAppSoap.deleteWikiPage(java.lang.String, java.lang.String)
public void deleteWikiPage(String sessionId, String wikiPageId) throws RemoteException
deleteWikiPage
in interface IWikiAppSoap
sessionId
- User session id.wikiPageId
- Wiki page 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
WikiAppSoap.deleteWikiPage(java.lang.String, java.lang.String)
public void prepareGetWikiPageData(String sessionId, String wikiPageId, Object returnValue)
WikiAppSoap.getWikiPageData(java.lang.String, java.lang.String)
public WikiPageSoapDO getWikiPageData(String sessionId, String wikiPageId) throws RemoteException
getWikiPageData
in interface IWikiAppSoap
sessionId
- User session id.wikiPageId
- Wiki page id.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when the method argument(s) are invalidcom.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
WikiAppSoap.getWikiPageData(java.lang.String, java.lang.String)
public void prepareGetFormattedWikiPageText(String sessionId, String wikiPageId, Object returnValue)
WikiAppSoap.getFormattedWikiPageText(java.lang.String, java.lang.String)
public String getFormattedWikiPageText(String sessionId, String wikiPageId) throws RemoteException
getFormattedWikiPageText
in interface IWikiAppSoap
sessionId
- User session id.wikiPageId
- Wiki page id.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when the method argument(s) are invalidcom.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
WikiAppSoap.getFormattedWikiPageText(java.lang.String, java.lang.String)
public void prepareGetWikiPageDataByName(String sessionId, String projectId, String wikiPageName, Object returnValue)
WikiAppSoap.getWikiPageDataByName(java.lang.String, java.lang.String, java.lang.String)
public WikiPageSoapDO getWikiPageDataByName(String sessionId, String projectId, String wikiPageName) throws RemoteException
getWikiPageDataByName
in interface IWikiAppSoap
sessionId
- User session id.projectId
- Project id.wikiPageName
- Name of the wiki page.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when the method argument(s) are invalidcom.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
WikiAppSoap.getWikiPageDataByName(java.lang.String, java.lang.String, java.lang.String)
public void prepareGetWikiPageList(String sessionId, String projectId, Object returnValue)
WikiAppSoap.getWikiPageList(java.lang.String, java.lang.String)
public WikiPageSoapList getWikiPageList(String sessionId, String projectId) throws RemoteException
getWikiPageList
in interface IWikiAppSoap
sessionId
- User session id.projectId
- Project id.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when the method argument(s) are invalidcom.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
WikiAppSoap.getWikiPageList(java.lang.String, java.lang.String)
public void prepareSetWikiPageData(String sessionId, WikiPageSoapDO wikiPageData)
WikiAppSoap.setWikiPageData(java.lang.String, com.collabnet.ce.soap60.webservices.wiki.WikiPageSoapDO)
public void prepareSetWikiPageData(String sessionId, WikiPageSoapDO wikiPageData, Exception exception)
WikiAppSoap.setWikiPageData(java.lang.String, com.collabnet.ce.soap60.webservices.wiki.WikiPageSoapDO)
public void setWikiPageData(String sessionId, WikiPageSoapDO wikiPageData) throws RemoteException
setWikiPageData
in interface IWikiAppSoap
sessionId
- User session id.wikiPageData
- Wiki page data object.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.IllegalArgumentFault
- when wiki page data information is invalid.com.collabnet.ce.soap60.fault.VersionMismatchFault
- when wiki page data is stale.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
WikiAppSoap.setWikiPageData(java.lang.String, com.collabnet.ce.soap60.webservices.wiki.WikiPageSoapDO)
public void prepareAddAttachment(String sessionId, String wikiPageId, String fileId, String filename, String mimetype)
WikiAppSoap.addAttachment(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void prepareAddAttachment(String sessionId, String wikiPageId, String fileId, String filename, String mimetype, Exception exception)
WikiAppSoap.addAttachment(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void addAttachment(String sessionId, String wikiPageId, String fileId, String filename, String mimetype) throws RemoteException
addAttachment
in interface IWikiAppSoap
sessionId
- User session id.wikiPageId
- Wiki page id.fileId
- Attachment file ID returned by FileStorageApp/SimpleFileStorageApp webservice.filename
- Attachment file name.mimetype
- Attachment file type.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.NoSuchVersionFault
- when the specified version is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
WikiAppSoap.addAttachment(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void prepareAddAttachments(String sessionId, String wikiPageId, AttachmentSoapDO[] attachments)
WikiAppSoap.addAttachments(java.lang.String, java.lang.String, com.collabnet.ce.soap60.webservices.cemain.AttachmentSoapDO[])
public void prepareAddAttachments(String sessionId, String wikiPageId, AttachmentSoapDO[] attachments, Exception exception)
WikiAppSoap.addAttachments(java.lang.String, java.lang.String, com.collabnet.ce.soap60.webservices.cemain.AttachmentSoapDO[])
public void addAttachments(String sessionId, String wikiPageId, AttachmentSoapDO[] attachments) throws RemoteException
addAttachments
in interface IWikiAppSoap
sessionId
- User session id.wikiPageId
- Wiki page id.attachments
- AttachmentSoapDO.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.NoSuchVersionFault
- when the specified version is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
WikiAppSoap.addAttachments(java.lang.String, java.lang.String, com.collabnet.ce.soap60.webservices.cemain.AttachmentSoapDO[])
Copyright © 2017 CollabNet. All Rights Reserved.