public interface IWikiAppSoap
Modifier and Type | Method and Description |
---|---|
void |
addAttachment(java.lang.String sessionId,
java.lang.String wikiPageId,
java.lang.String fileId,
java.lang.String filename,
java.lang.String mimetype)
Attaches the uploaded file to the specified wiki page.
|
void |
addAttachments(java.lang.String sessionId,
java.lang.String wikiPageId,
AttachmentSoapDO[] attachments)
Attaches the uploaded file to the specified wiki page.
|
WikiPageSoapDO |
createWikiPage(java.lang.String sessionId,
java.lang.String projectId,
java.lang.String name,
java.lang.String wikiText,
java.lang.String versionComment)
Creates a new wiki page with the specified name, text, etc.
|
void |
deleteWikiPage(java.lang.String sessionId,
java.lang.String wikiPageId)
Deletes a wiki page.
|
java.lang.String |
getFormattedWikiPageText(java.lang.String sessionId,
java.lang.String wikiPageId)
Gets specified wiki page text in formatted (HTML) form.
|
WikiPageSoapDO |
getWikiPageData(java.lang.String sessionId,
java.lang.String wikiPageId)
Gets specified wiki page data.
|
WikiPageSoapDO |
getWikiPageDataByName(java.lang.String sessionId,
java.lang.String projectId,
java.lang.String wikiPageName)
Gets specified wiki page text in formatted (HTML) form.
|
WikiPageSoapList |
getWikiPageList(java.lang.String sessionId,
java.lang.String projectId)
Lists all wiki pages that have contents within a project.
|
void |
setWikiPageData(java.lang.String sessionId,
WikiPageSoapDO wikiPageData)
Sets specified wiki page data.
|
WikiPageSoapDO createWikiPage(java.lang.String sessionId, java.lang.String projectId, java.lang.String name, java.lang.String wikiText, java.lang.String versionComment) throws java.rmi.RemoteException
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.java.rmi.RemoteException
void deleteWikiPage(java.lang.String sessionId, java.lang.String wikiPageId) throws java.rmi.RemoteException
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.java.rmi.RemoteException
WikiPageSoapDO getWikiPageData(java.lang.String sessionId, java.lang.String wikiPageId) throws java.rmi.RemoteException
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.java.rmi.RemoteException
java.lang.String getFormattedWikiPageText(java.lang.String sessionId, java.lang.String wikiPageId) throws java.rmi.RemoteException
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.java.rmi.RemoteException
WikiPageSoapDO getWikiPageDataByName(java.lang.String sessionId, java.lang.String projectId, java.lang.String wikiPageName) throws java.rmi.RemoteException
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.java.rmi.RemoteException
WikiPageSoapList getWikiPageList(java.lang.String sessionId, java.lang.String projectId) throws java.rmi.RemoteException
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.java.rmi.RemoteException
void setWikiPageData(java.lang.String sessionId, WikiPageSoapDO wikiPageData) throws java.rmi.RemoteException
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.java.rmi.RemoteException
void addAttachment(java.lang.String sessionId, java.lang.String wikiPageId, java.lang.String fileId, java.lang.String filename, java.lang.String mimetype) throws java.rmi.RemoteException
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.java.rmi.RemoteException
void addAttachments(java.lang.String sessionId, java.lang.String wikiPageId, AttachmentSoapDO[] attachments) throws java.rmi.RemoteException
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.java.rmi.RemoteException