|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IDiscussionAppSoap
Provides SOAP services for managing forums, topics and posts.
| Method Summary | |
|---|---|
PostSoapDO |
createPost(java.lang.String sessionId,
java.lang.String parentPostId,
java.lang.String title,
java.lang.String message)
Posts a new message to the discussion topic. |
TopicSoapDO |
createTopic(java.lang.String sessionId,
java.lang.String forumId,
java.lang.String title,
java.lang.String message)
Creates a discussion topic within a specified forum. |
void |
deletePost(java.lang.String sessionId,
java.lang.String postId)
Deletes the specified post. |
void |
deleteTopic(java.lang.String sessionId,
java.lang.String topicId)
Deletes the specified topic. |
PostSoapList |
findPosts(java.lang.String sessionId,
java.lang.String queryString,
java.lang.String projectId,
boolean searchAttachments)
Finds a list of posts matching a search string. |
ForumSoapList |
getForumList(java.lang.String sessionId,
java.lang.String projectId)
Returns a list of forums within a specified project. |
PostSoapList |
getPostList(java.lang.String sessionId,
java.lang.String topicId)
Returns a list of posts associated with a specified topic. |
TopicSoapList |
getTopicList(java.lang.String sessionId,
java.lang.String forumId)
Gets a list of all topics in a forum. |
| Method Detail |
|---|
ForumSoapList getForumList(java.lang.String sessionId,
java.lang.String projectId)
throws java.rmi.RemoteException
sessionId - The user session idprojectId - The id of the project
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - when the specified project id is invalid.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user has insufficient privileges.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
TopicSoapDO createTopic(java.lang.String sessionId,
java.lang.String forumId,
java.lang.String title,
java.lang.String message)
throws java.rmi.RemoteException
sessionId - User session id.forumId - The id of the forum in which to create a topic.title - The topic titlemessage - The content for the first post of this topic
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - when the specified object id is invalid.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user has insufficient privileges.
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - when one or more parameters are invalid.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
void deleteTopic(java.lang.String sessionId,
java.lang.String topicId)
throws java.rmi.RemoteException
sessionId - User session id.topicId - The id of the topic to delete.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - when the specified object id is invalid.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user has insufficient privileges.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
TopicSoapList getTopicList(java.lang.String sessionId,
java.lang.String forumId)
throws java.rmi.RemoteException
sessionId - The user session idforumId - The id of the forum for which we want the topics
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - when the specified object id is invalid.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user has insufficient privileges.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
PostSoapDO createPost(java.lang.String sessionId,
java.lang.String parentPostId,
java.lang.String title,
java.lang.String message)
throws java.rmi.RemoteException
sessionId - The user session id.parentPostId - Parent post to which this is a reply.title - Post title.message - Post message.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - when the specified parent post id is invalid.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user has insufficient privileges.
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - when one or more parameters are invalid.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
void deletePost(java.lang.String sessionId,
java.lang.String postId)
throws java.rmi.RemoteException
sessionId - User session id.postId - The id of the post to delete.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - when the specified object id is invalid.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user has insufficient privileges.
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - when specified post id is the first post in a topic.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
PostSoapList getPostList(java.lang.String sessionId,
java.lang.String topicId)
throws java.rmi.RemoteException
sessionId - User session id.topicId - Topic id.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - when the specified topic id is invalid.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user has insufficient privileges.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
java.rmi.RemoteException
PostSoapList findPosts(java.lang.String sessionId,
java.lang.String queryString,
java.lang.String projectId,
boolean searchAttachments)
throws java.rmi.RemoteException
sessionId - User session id.queryString - Query string.projectId - The project in which to find posts. (if null, search all projects)searchAttachments - Whether to search attachments.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - when the specified project id is invalid.
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - when query string is invalid.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user has insufficient privileges.
com.vasoftware.sf.soap44.fault.SearchQuerySyntaxFault - when the specified search query string is syntactically invalid.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
java.rmi.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||