Class WikiAppSoapStub
java.lang.Object
com.collabnet.ce.soap60.webservices.ClientSoapStub
com.collabnet.ce.soap60.webservices.wiki.WikiAppSoapStub
- All Implemented Interfaces:
IWikiAppSoap
-
Field Summary
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
DEFAULT_CLIENT_TIME_OUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAttaches the uploaded file to the specified wiki page.voidaddAttachments(String sessionId, String wikiPageId, AttachmentSoapDO[] attachments) Attaches the uploaded file to the specified wiki page.createWikiPage(String sessionId, String projectId, String name, String wikiText, String versionComment) Creates a new wiki page with the specified name, text, etc.voiddeleteWikiPage(String sessionId, String wikiPageId) Deletes a wiki page.getFormattedWikiPageText(String sessionId, String wikiPageId) Gets specified wiki page text in formatted (HTML) form.getWikiPageData(String sessionId, String wikiPageId) Gets specified wiki page data.getWikiPageDataByName(String sessionId, String projectId, String wikiPageName) Gets specified wiki page text in formatted (HTML) form.getWikiPageList(String sessionId, String projectId) Lists all wiki pages that have contents within a project.voidsetWikiPageData(String sessionId, WikiPageSoapDO wikiPageData) Sets specified wiki page data.Methods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
getServiceCall, getSoapServer, getTimeout, setTimeout, soapParam
-
Constructor Details
-
WikiAppSoapStub
-
-
Method Details
-
createWikiPage
public WikiPageSoapDO createWikiPage(String sessionId, String projectId, String name, String wikiText, String versionComment) throws RemoteException Description copied from interface:IWikiAppSoapCreates a new wiki page with the specified name, text, etc.- Specified by:
createWikiPagein interfaceIWikiAppSoap- Parameters:
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.- Returns:
- Wiki page data object.
- Throws:
RemoteException
-
deleteWikiPage
Description copied from interface:IWikiAppSoapDeletes a wiki page.- Specified by:
deleteWikiPagein interfaceIWikiAppSoap- Parameters:
sessionId- User session id.wikiPageId- Wiki page id.- Throws:
RemoteException
-
getWikiPageData
Description copied from interface:IWikiAppSoapGets specified wiki page data.- Specified by:
getWikiPageDatain interfaceIWikiAppSoap- Parameters:
sessionId- User session id.wikiPageId- Wiki page id.- Returns:
- Wiki page data object.
- Throws:
RemoteException
-
getFormattedWikiPageText
Description copied from interface:IWikiAppSoapGets specified wiki page text in formatted (HTML) form.- Specified by:
getFormattedWikiPageTextin interfaceIWikiAppSoap- Parameters:
sessionId- User session id.wikiPageId- Wiki page id.- Returns:
- Wiki page text in formatted form.
- Throws:
RemoteException
-
getWikiPageDataByName
public WikiPageSoapDO getWikiPageDataByName(String sessionId, String projectId, String wikiPageName) throws RemoteException Description copied from interface:IWikiAppSoapGets specified wiki page text in formatted (HTML) form. "HomePage" is the default Wiki application home page.- Specified by:
getWikiPageDataByNamein interfaceIWikiAppSoap- Parameters:
sessionId- User session id.projectId- Project id.wikiPageName- Name of the wiki page.- Returns:
- Wiki page text in formatted form.
- Throws:
RemoteException
-
getWikiPageList
Description copied from interface:IWikiAppSoapLists all wiki pages that have contents within a project.- Specified by:
getWikiPageListin interfaceIWikiAppSoap- Parameters:
sessionId- User session id.projectId- Project id.- Returns:
- wiki page list
- Throws:
RemoteException
-
setWikiPageData
Description copied from interface:IWikiAppSoapSets specified wiki page data.- Specified by:
setWikiPageDatain interfaceIWikiAppSoap- Parameters:
sessionId- User session id.wikiPageData- Wiki page data object.- Throws:
RemoteException
-
addAttachment
public void addAttachment(String sessionId, String wikiPageId, String fileId, String filename, String mimetype) throws RemoteException Description copied from interface:IWikiAppSoapAttaches the uploaded file to the specified wiki page.- Specified by:
addAttachmentin interfaceIWikiAppSoap- Parameters:
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.- Throws:
RemoteException
-
addAttachments
public void addAttachments(String sessionId, String wikiPageId, AttachmentSoapDO[] attachments) throws RemoteException Description copied from interface:IWikiAppSoapAttaches the uploaded file to the specified wiki page.- Specified by:
addAttachmentsin interfaceIWikiAppSoap- Parameters:
sessionId- User session id.wikiPageId- Wiki page id.attachments- AttachmentSoapDO.- Throws:
RemoteException
-