public class DiscussionAppSoapMockStub extends com.collabnet.ce.soap60.webservices.ClientSoapMockStub implements IDiscussionAppSoap
Constructor and Description |
---|
DiscussionAppSoapMockStub(String soapServerUrl) |
Modifier and Type | Method and Description |
---|---|
com.vasoftware.sf.server.services.discussion.ForumDO |
createForum(String sessionId,
String projectId,
String listName,
String forumName,
String description,
boolean listEnabled,
String prefix,
String footer,
String type,
boolean isPrivate,
String[] moderators,
String[] trustedUsers,
String replyTo,
int messageSize,
int emailPosting,
int emailMonitoring,
int webPosting,
String captcha)
Simulate a call to createForum
|
ForumSoapDO |
createForum(String sessionId,
String projectId,
String listName,
String forumName,
String description,
boolean listEnabled,
String prefix,
String footer,
String forumType,
String[] moderators,
String[] trustedUsers,
String replyTo,
int messageSize)
Simulate a call to createForum
|
Forum2SoapDO |
createForum2(String sessionId,
String projectId,
String listName,
String forumName,
String description,
boolean listEnabled,
String prefix,
String footer,
String forumType,
String[] moderators,
String[] trustedUsers,
String replyTo,
int messageSize,
int emailPosting,
int emailMonitoring,
int webPosting,
String captcha)
Simulate a call to createForum2
|
PostSoapDO |
createPost(String sessionId,
String parentPostId,
String title,
String message,
String attachmentFileName,
String attachmentMimeType,
String attachmentFileId,
String ccRecipients)
Simulate a call to createPost
|
PostSoapDO |
createPost2(String sessionId,
String parentPostId,
String title,
String message,
AttachmentSoapDO[] attachments,
String ccRecipients)
Simulate a call to createPost2
|
ForumSoapDO |
createPrivateForum(String sessionId,
String projectId,
String listName,
String forumName,
String description,
boolean listEnabled,
String prefix,
String footer,
String forumType,
String[] moderators,
String[] trustedUsers,
String replyTo,
int messageSize)
Simulate a call to createPrivateForum
|
Forum2SoapDO |
createPrivateForum2(String sessionId,
String projectId,
String listName,
String forumName,
String description,
boolean listEnabled,
String prefix,
String footer,
String forumType,
String[] moderators,
String[] trustedUsers,
String replyTo,
int messageSize,
int emailPosting,
int emailMonitoring,
int webPosting,
String captcha)
Simulate a call to createPrivateForum2
|
TopicSoapDO |
createTopic(String sessionId,
String forumId,
String title,
String message,
String attachmentFileName,
String attachmentMimeType,
String attachmentFileId,
String ccRecipients)
Simulate a call to createTopic
|
TopicSoapDO |
createTopic2(String sessionId,
String forumId,
String title,
String message,
AttachmentSoapDO[] attachments,
String ccRecipients)
Simulate a call to createTopic2
|
void |
deletePost(String sessionId,
String postId)
Simulate a call to deletePost
|
void |
deleteTopic(String sessionId,
String topicId)
Simulate a call to deleteTopic
|
PostSoapList |
findPosts(String sessionId,
String queryString,
String projectId,
boolean searchAttachments)
Simulate a call to findPosts
|
ForumSoapList |
getForumList(String sessionId,
String projectId)
Simulate a call to getForumList
|
Forum2SoapList |
getForumList2(String sessionId,
String projectId)
Simulate a call to getForumList2
|
PostSoapList |
getPostList(String sessionId,
String topicId)
Simulate a call to getPostList
|
TopicSoapList |
getTopicList(String sessionId,
String forumId)
Simulate a call to getTopicList
|
void |
prepareCreateForum(String sessionId,
String projectId,
String listName,
String forumName,
String description,
boolean listEnabled,
String prefix,
String footer,
String type,
boolean isPrivate,
String[] moderators,
String[] trustedUsers,
String replyTo,
int messageSize,
int emailPosting,
int emailMonitoring,
int webPosting,
String captcha,
Object returnValue)
Prepare a simulated response to createForum
|
void |
prepareCreateForum(String sessionId,
String projectId,
String listName,
String forumName,
String description,
boolean listEnabled,
String prefix,
String footer,
String forumType,
String[] moderators,
String[] trustedUsers,
String replyTo,
int messageSize,
Object returnValue)
Prepare a simulated response to createForum
|
void |
prepareCreateForum2(String sessionId,
String projectId,
String listName,
String forumName,
String description,
boolean listEnabled,
String prefix,
String footer,
String forumType,
String[] moderators,
String[] trustedUsers,
String replyTo,
int messageSize,
int emailPosting,
int emailMonitoring,
int webPosting,
String captcha,
Object returnValue)
Prepare a simulated response to createForum2
|
void |
prepareCreatePost(String sessionId,
String parentPostId,
String title,
String message,
String attachmentFileName,
String attachmentMimeType,
String attachmentFileId,
String ccRecipients,
Object returnValue)
Prepare a simulated response to createPost
|
void |
prepareCreatePost2(String sessionId,
String parentPostId,
String title,
String message,
AttachmentSoapDO[] attachments,
String ccRecipients,
Object returnValue)
Prepare a simulated response to createPost2
|
void |
prepareCreatePrivateForum(String sessionId,
String projectId,
String listName,
String forumName,
String description,
boolean listEnabled,
String prefix,
String footer,
String forumType,
String[] moderators,
String[] trustedUsers,
String replyTo,
int messageSize,
Object returnValue)
Prepare a simulated response to createPrivateForum
|
void |
prepareCreatePrivateForum2(String sessionId,
String projectId,
String listName,
String forumName,
String description,
boolean listEnabled,
String prefix,
String footer,
String forumType,
String[] moderators,
String[] trustedUsers,
String replyTo,
int messageSize,
int emailPosting,
int emailMonitoring,
int webPosting,
String captcha,
Object returnValue)
Prepare a simulated response to createPrivateForum2
|
void |
prepareCreateTopic(String sessionId,
String forumId,
String title,
String message,
String attachmentFileName,
String attachmentMimeType,
String attachmentFileId,
String ccRecipients,
Object returnValue)
Prepare a simulated response to createTopic
|
void |
prepareCreateTopic2(String sessionId,
String forumId,
String title,
String message,
AttachmentSoapDO[] attachments,
String ccRecipients,
Object returnValue)
Prepare a simulated response to createTopic2
|
void |
prepareDeletePost(String sessionId,
String postId)
Prepare a simulated response to deletePost
|
void |
prepareDeletePost(String sessionId,
String postId,
Exception exception)
Prepare a simulated response to deletePost
|
void |
prepareDeleteTopic(String sessionId,
String topicId)
Prepare a simulated response to deleteTopic
|
void |
prepareDeleteTopic(String sessionId,
String topicId,
Exception exception)
Prepare a simulated response to deleteTopic
|
void |
prepareFindPosts(String sessionId,
String queryString,
String projectId,
boolean searchAttachments,
Object returnValue)
Prepare a simulated response to findPosts
|
void |
prepareGetForumList(String sessionId,
String projectId,
Object returnValue)
Prepare a simulated response to getForumList
|
void |
prepareGetForumList2(String sessionId,
String projectId,
Object returnValue)
Prepare a simulated response to getForumList2
|
void |
prepareGetPostList(String sessionId,
String topicId,
Object returnValue)
Prepare a simulated response to getPostList
|
void |
prepareGetTopicList(String sessionId,
String forumId,
Object returnValue)
Prepare a simulated response to getTopicList
|
void |
prepareValidateCaptcha(String captcha)
Prepare a simulated response to validateCaptcha
|
void |
prepareValidateCaptcha(String captcha,
Exception exception)
Prepare a simulated response to validateCaptcha
|
void |
prepareValidateEmailMonitoring(int emailMonitoring,
boolean isPrivate)
Prepare a simulated response to validateEmailMonitoring
|
void |
prepareValidateEmailMonitoring(int emailMonitoring,
boolean isPrivate,
Exception exception)
Prepare a simulated response to validateEmailMonitoring
|
void |
prepareValidateEmailPosting(int emailPosting,
boolean isPrivate)
Prepare a simulated response to validateEmailPosting
|
void |
prepareValidateEmailPosting(int emailPosting,
boolean isPrivate,
Exception exception)
Prepare a simulated response to validateEmailPosting
|
void |
prepareValidatePermissions(com.vasoftware.sf.server.types.ProjectPath projectPath,
String[] moderators,
boolean isModerator,
boolean isPrivate,
String loggedInUser)
Prepare a simulated response to validatePermissions
|
void |
prepareValidatePermissions(com.vasoftware.sf.server.types.ProjectPath projectPath,
String[] moderators,
boolean isModerator,
boolean isPrivate,
String loggedInUser,
Exception exception)
Prepare a simulated response to validatePermissions
|
void |
prepareValidateWebPosting(int webPosting,
boolean isPrivate)
Prepare a simulated response to validateWebPosting
|
void |
prepareValidateWebPosting(int webPosting,
boolean isPrivate,
Exception exception)
Prepare a simulated response to validateWebPosting
|
void |
validateCaptcha(String captcha)
Simulate a call to validateCaptcha
|
void |
validateEmailMonitoring(int emailMonitoring,
boolean isPrivate)
Simulate a call to validateEmailMonitoring
|
void |
validateEmailPosting(int emailPosting,
boolean isPrivate)
Simulate a call to validateEmailPosting
|
void |
validatePermissions(com.vasoftware.sf.server.types.ProjectPath projectPath,
String[] moderators,
boolean isModerator,
boolean isPrivate,
String loggedInUser)
Simulate a call to validatePermissions
|
void |
validateWebPosting(int webPosting,
boolean isPrivate)
Simulate a call to validateWebPosting
|
addSimulatedResult, addSimulatedResult, addSimulatedResult, getCallCount, getCallParameters, getUnusedCalls, simulateCall
public DiscussionAppSoapMockStub(String soapServerUrl)
public void prepareGetForumList(String sessionId, String projectId, Object returnValue)
DiscussionAppSoap.getForumList(java.lang.String, java.lang.String)
public ForumSoapList getForumList(String sessionId, String projectId) throws RemoteException
getForumList
in interface IDiscussionAppSoap
sessionId
- The user session idprojectId
- The id of the projectcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DiscussionAppSoap.getForumList(java.lang.String, java.lang.String)
public void prepareGetForumList2(String sessionId, String projectId, Object returnValue)
DiscussionAppSoap.getForumList2(java.lang.String, java.lang.String)
public Forum2SoapList getForumList2(String sessionId, String projectId) throws RemoteException
getForumList2
in interface IDiscussionAppSoap
sessionId
- The user session idprojectId
- The id of the projectcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DiscussionAppSoap.getForumList2(java.lang.String, java.lang.String)
public void prepareCreateTopic(String sessionId, String forumId, String title, String message, String attachmentFileName, String attachmentMimeType, String attachmentFileId, String ccRecipients, Object returnValue)
DiscussionAppSoap.createTopic(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public TopicSoapDO createTopic(String sessionId, String forumId, String title, String message, String attachmentFileName, String attachmentMimeType, String attachmentFileId, String ccRecipients) throws RemoteException
createTopic
in interface IDiscussionAppSoap
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 topicattachmentFileName
- Name of the attached file (or null)attachmentMimeType
- Mime type of the attached file (or null)attachmentFileId
- ID of the attached file (previously uploaded via *FileStorage service) or nullccRecipients
- list of recipients to whom the mail should be cc'dcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DiscussionAppSoap.createTopic(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void prepareCreateTopic2(String sessionId, String forumId, String title, String message, AttachmentSoapDO[] attachments, String ccRecipients, Object returnValue)
DiscussionAppSoap.createTopic2(java.lang.String, java.lang.String, java.lang.String, java.lang.String, com.collabnet.ce.soap60.webservices.cemain.AttachmentSoapDO[], java.lang.String)
public TopicSoapDO createTopic2(String sessionId, String forumId, String title, String message, AttachmentSoapDO[] attachments, String ccRecipients) throws RemoteException
createTopic2
in interface IDiscussionAppSoap
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 topicattachments
- List of attachment Files.ccRecipients
- list of recipients to whom the mail should be cc'dcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DiscussionAppSoap.createTopic2(java.lang.String, java.lang.String, java.lang.String, java.lang.String, com.collabnet.ce.soap60.webservices.cemain.AttachmentSoapDO[], java.lang.String)
public void prepareDeleteTopic(String sessionId, String topicId)
DiscussionAppSoap.deleteTopic(java.lang.String, java.lang.String)
public void prepareDeleteTopic(String sessionId, String topicId, Exception exception)
DiscussionAppSoap.deleteTopic(java.lang.String, java.lang.String)
public void deleteTopic(String sessionId, String topicId) throws RemoteException
deleteTopic
in interface IDiscussionAppSoap
sessionId
- User session id.topicId
- The id of the topic to delete.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DiscussionAppSoap.deleteTopic(java.lang.String, java.lang.String)
public void prepareGetTopicList(String sessionId, String forumId, Object returnValue)
DiscussionAppSoap.getTopicList(java.lang.String, java.lang.String)
public TopicSoapList getTopicList(String sessionId, String forumId) throws RemoteException
getTopicList
in interface IDiscussionAppSoap
sessionId
- The user session idforumId
- The id of the forum for which we want the topicscom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DiscussionAppSoap.getTopicList(java.lang.String, java.lang.String)
public void prepareCreatePost(String sessionId, String parentPostId, String title, String message, String attachmentFileName, String attachmentMimeType, String attachmentFileId, String ccRecipients, Object returnValue)
DiscussionAppSoap.createPost(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public PostSoapDO createPost(String sessionId, String parentPostId, String title, String message, String attachmentFileName, String attachmentMimeType, String attachmentFileId, String ccRecipients) throws RemoteException
createPost
in interface IDiscussionAppSoap
sessionId
- The user session id.parentPostId
- Parent post to which this is a reply.title
- Post title.message
- Post message.attachmentFileName
- Name of the attached file (or null)attachmentMimeType
- Mime type of the attached file (or null)attachmentFileId
- ID of the attached file (previously uploaded via *FileStorage service) or nullccRecipients
- list of recipients to whom the mail should be cc'dcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified parent post id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DiscussionAppSoap.createPost(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void prepareCreatePost2(String sessionId, String parentPostId, String title, String message, AttachmentSoapDO[] attachments, String ccRecipients, Object returnValue)
DiscussionAppSoap.createPost2(java.lang.String, java.lang.String, java.lang.String, java.lang.String, com.collabnet.ce.soap60.webservices.cemain.AttachmentSoapDO[], java.lang.String)
public PostSoapDO createPost2(String sessionId, String parentPostId, String title, String message, AttachmentSoapDO[] attachments, String ccRecipients) throws RemoteException
createPost2
in interface IDiscussionAppSoap
sessionId
- The user session id.parentPostId
- Parent post to which this is a reply.title
- Post title.message
- Post message.attachments
- List of attachment files.ccRecipients
- list of recipients to whom the mail should be cc'dcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified parent post id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more parameters are invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DiscussionAppSoap.createPost2(java.lang.String, java.lang.String, java.lang.String, java.lang.String, com.collabnet.ce.soap60.webservices.cemain.AttachmentSoapDO[], java.lang.String)
public void prepareDeletePost(String sessionId, String postId)
DiscussionAppSoap.deletePost(java.lang.String, java.lang.String)
public void prepareDeletePost(String sessionId, String postId, Exception exception)
DiscussionAppSoap.deletePost(java.lang.String, java.lang.String)
public void deletePost(String sessionId, String postId) throws RemoteException
deletePost
in interface IDiscussionAppSoap
sessionId
- User session id.postId
- The id of the post to delete.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when specified post id is the first post in a topic.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
DiscussionAppSoap.deletePost(java.lang.String, java.lang.String)
public void prepareGetPostList(String sessionId, String topicId, Object returnValue)
DiscussionAppSoap.getPostList(java.lang.String, java.lang.String)
public PostSoapList getPostList(String sessionId, String topicId) throws RemoteException
getPostList
in interface IDiscussionAppSoap
sessionId
- User session id.topicId
- Topic id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified topic id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
DiscussionAppSoap.getPostList(java.lang.String, java.lang.String)
public void prepareFindPosts(String sessionId, String queryString, String projectId, boolean searchAttachments, Object returnValue)
DiscussionAppSoap.findPosts(java.lang.String, java.lang.String, java.lang.String, boolean)
public PostSoapList findPosts(String sessionId, String queryString, String projectId, boolean searchAttachments) throws RemoteException
findPosts
in interface IDiscussionAppSoap
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.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when query string is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SearchQuerySyntaxFault
- when the specified search query string is syntactically invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
DiscussionAppSoap.findPosts(java.lang.String, java.lang.String, java.lang.String, boolean)
public void prepareCreateForum(String sessionId, String projectId, String listName, String forumName, String description, boolean listEnabled, String prefix, String footer, String forumType, String[] moderators, String[] trustedUsers, String replyTo, int messageSize, Object returnValue)
DiscussionAppSoap.createForum(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], java.lang.String[], java.lang.String, int)
public ForumSoapDO createForum(String sessionId, String projectId, String listName, String forumName, String description, boolean listEnabled, String prefix, String footer, String forumType, String[] moderators, String[] trustedUsers, String replyTo, int messageSize) throws RemoteException
createForum
in interface IDiscussionAppSoap
sessionId
- User session idprojectId
- the project in which the forum is to be createdlistName
- name of the associated mailing listforumName
- Name for the forumdescription
- description of the forumlistEnabled
- is a mailing list enabled with this forumprefix
- prefix to be added to the subject of all posts to this forumfooter
- footer to be appended to the bottom of every mail in this forumforumType
- whether the forum should be moderated. Moderated -'MF'; Unmoderated - 'UF'moderators
- The userId's for persons to be added as moderators for this forum.trustedUsers
- The userId's for persons to be added as trusted for this forum.replyTo
- The value of reply header for the post's mail in this forum. The following are available options: "REPLYTOSENDER" Add sender's mail address as replyto header "REPLYTOLIST" Add list name as replyto header "NOREPLYTO" Do not add replyto header "xxx@host.domain" Add the given email address as replyto headermessageSize
- threshold size (MB) of message content and attachment of any posts in a forum. Set 0 for unlimited message size.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- thrown when the given parameters are invalid.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- when an object by this name already exists in the project.com.collabnet.ce.soap60.fault.InvalidForumTypeFault
- when type is other than MF or UF.RemoteException
DiscussionAppSoap.createForum(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], java.lang.String[], java.lang.String, int)
public void prepareCreateForum2(String sessionId, String projectId, String listName, String forumName, String description, boolean listEnabled, String prefix, String footer, String forumType, String[] moderators, String[] trustedUsers, String replyTo, int messageSize, int emailPosting, int emailMonitoring, int webPosting, String captcha, Object returnValue)
DiscussionAppSoap.createForum2(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], java.lang.String[], java.lang.String, int, int, int, int, java.lang.String)
public Forum2SoapDO createForum2(String sessionId, String projectId, String listName, String forumName, String description, boolean listEnabled, String prefix, String footer, String forumType, String[] moderators, String[] trustedUsers, String replyTo, int messageSize, int emailPosting, int emailMonitoring, int webPosting, String captcha) throws RemoteException
createForum2
in interface IDiscussionAppSoap
sessionId
- User session idprojectId
- the project in which the forum is to be createdlistName
- name of the associated mailing listforumName
- Name for the forumdescription
- description of the forumlistEnabled
- is a mailing list enabled with this forumprefix
- prefix to be added to the subject of all posts to this forumfooter
- footer to be appended to the bottom of every mail in this forumforumType
- whether the forum should be moderated. Moderated -'MF'; Unmoderated - 'UF'moderators
- The userId's for persons to be added as moderators for this forum.trustedUsers
- The userId's for persons to be added as trusted for this forum.replyTo
- The value of reply header for the post's mail in this forum. The following are available options: "REPLYTOSENDER" Add sender's mail address as replyto header "REPLYTOLIST" Add list name as replyto header "NOREPLYTO" Do not add replyto header "xxx@host.domain" Add the given email address as replyto headermessageSize
- threshold size (MB) of message content and attachment of any posts in a forum. Set 0 for unlimited message size.emailPosting
- This will be ignored if mailing list is not enabled. The email posting setting for the forum, permissible values for this are: 0 - Allow only forum admins 1 - Users with roles and permissions 4 - All logged in users 5 - All known email addresses only 6 - Allow all site users and guestsemailMonitoring
- This will be ignored if mailing list is not enabled. The email monitoring setting for the forum, permissible values for this are: 0 - Allow only forum admins 1 - Users with roles and permissions 4 - All logged in users 5 - Allow all site users and guestswebPosting
- The web posting setting for the forum, permissible values for this are: 0 - Allow only forum admins 1 - Users with roles and permissions 2 - All logged in users 3 - Allow all site users and guestscaptcha
- whether CAPTCHA to be enforced for all web posts, only for logged-out users or for nobody. Permissible values for this are: "AL" - Use CAPTCHA for all web posts "AN" - Use CAPTCHA for anonymous web posts only "NO" - Do not use CAPTCHA for any web postscom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- thrown when the given parameters are invalid.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- when an object by this name already exists in the project.com.collabnet.ce.soap60.fault.InvalidForumTypeFault
- when type is other than MF or UF.RemoteException
DiscussionAppSoap.createForum2(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], java.lang.String[], java.lang.String, int, int, int, int, java.lang.String)
public void prepareCreatePrivateForum(String sessionId, String projectId, String listName, String forumName, String description, boolean listEnabled, String prefix, String footer, String forumType, String[] moderators, String[] trustedUsers, String replyTo, int messageSize, Object returnValue)
DiscussionAppSoap.createPrivateForum(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], java.lang.String[], java.lang.String, int)
public ForumSoapDO createPrivateForum(String sessionId, String projectId, String listName, String forumName, String description, boolean listEnabled, String prefix, String footer, String forumType, String[] moderators, String[] trustedUsers, String replyTo, int messageSize) throws RemoteException
createPrivateForum
in interface IDiscussionAppSoap
sessionId
- User session idprojectId
- the project in which the forum is to be createdlistName
- name of the associated mailing listforumName
- Name for the forumdescription
- description of the forumlistEnabled
- is a mailing list enabled with this forumprefix
- prefix to be added to the subject of all posts to this forumfooter
- footer to be appended to the bottom of every mail in this forumforumType
- whether the forum should be moderated. Moderated -'MF'; Unmoderated - 'UF'moderators
- The userId's for persons to be added as moderators for this forum.trustedUsers
- The userId's for persons to be added as trusted for this forum.replyTo
- The value of reply header for the post's mail in this forum. The following are available options: "REPLYTOSENDER" Add sender's mail address as replyto header "REPLYTOLIST" Add list name as replyto header "NOREPLYTO" Do not add replyto header "xxx@host.domain" Add the given email address as replyto headermessageSize
- threshold size of message content and attachment of any posts in a forumcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- thrown when the given parameters are invalid.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- when an object by this name already exists in the project.com.collabnet.ce.soap60.fault.InvalidForumTypeFault
- when type is other than MF or UF.RemoteException
DiscussionAppSoap.createPrivateForum(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], java.lang.String[], java.lang.String, int)
public void prepareCreatePrivateForum2(String sessionId, String projectId, String listName, String forumName, String description, boolean listEnabled, String prefix, String footer, String forumType, String[] moderators, String[] trustedUsers, String replyTo, int messageSize, int emailPosting, int emailMonitoring, int webPosting, String captcha, Object returnValue)
DiscussionAppSoap.createPrivateForum2(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], java.lang.String[], java.lang.String, int, int, int, int, java.lang.String)
public Forum2SoapDO createPrivateForum2(String sessionId, String projectId, String listName, String forumName, String description, boolean listEnabled, String prefix, String footer, String forumType, String[] moderators, String[] trustedUsers, String replyTo, int messageSize, int emailPosting, int emailMonitoring, int webPosting, String captcha) throws RemoteException
createPrivateForum2
in interface IDiscussionAppSoap
sessionId
- User session idprojectId
- the project in which the forum is to be createdlistName
- name of the associated mailing listforumName
- Name for the forumdescription
- description of the forumlistEnabled
- is a mailing list enabled with this forumprefix
- prefix to be added to the subject of all posts to this forumfooter
- footer to be appended to the bottom of every mail in this forumforumType
- whether the forum should be moderated. Moderated -'MF'; Unmoderated - 'UF'moderators
- The userId's for persons to be added as moderators for this forum.trustedUsers
- The userId's for persons to be added as trusted for this forum.replyTo
- The value of reply header for the post's mail in this forum. The following are available options: "REPLYTOSENDER" Add sender's mail address as replyto header "REPLYTOLIST" Add list name as replyto header "NOREPLYTO" Do not add replyto header "xxx@host.domain" Add the given email address as replyto headermessageSize
- threshold size of message content and attachment of any posts in a forumemailPosting
- This will be ignored if mailing list is not enabled. The email posting setting for the forum, the permissible values are: 0 - Allow only forum admins 1 - Users with roles and permissions 4 - All logged in users 5 - All known email addresses onlyemailMonitoring
- This will be ignored if mailing list is not enabled. The email monitoring setting for the forum, the permissible values are: 0 - Allow only forum admins 1 - Users with roles and permissions 4 - All logged in userswebPosting
- The web posting setting for the forum, permissible values for this are: 0 - Allow only forum admins 1 - Users with roles and permissionscaptcha
- whether CAPTCHA to be enforced for all web posts, only for logged-out users or for nobody. Permissible values for this are: "AL" - Use CAPTCHA for all web posts "AN" - Use CAPTCHA for anonymous web posts only "NO" - Do not use CAPTCHA for any web postscom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- thrown when the given parameters are invalid.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- when an object by this name already exists in the project.com.collabnet.ce.soap60.fault.InvalidForumTypeFault
- when type is other than MF or UF.RemoteException
DiscussionAppSoap.createPrivateForum2(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], java.lang.String[], java.lang.String, int, int, int, int, java.lang.String)
public void prepareCreateForum(String sessionId, String projectId, String listName, String forumName, String description, boolean listEnabled, String prefix, String footer, String type, boolean isPrivate, String[] moderators, String[] trustedUsers, String replyTo, int messageSize, int emailPosting, int emailMonitoring, int webPosting, String captcha, Object returnValue)
DiscussionAppSoap.createForum(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], java.lang.String[], java.lang.String, int)
public com.vasoftware.sf.server.services.discussion.ForumDO createForum(String sessionId, String projectId, String listName, String forumName, String description, boolean listEnabled, String prefix, String footer, String type, boolean isPrivate, String[] moderators, String[] trustedUsers, String replyTo, int messageSize, int emailPosting, int emailMonitoring, int webPosting, String captcha) throws RemoteException
RemoteException
DiscussionAppSoap.createForum(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], java.lang.String[], java.lang.String, int)
public void prepareValidatePermissions(com.vasoftware.sf.server.types.ProjectPath projectPath, String[] moderators, boolean isModerator, boolean isPrivate, String loggedInUser)
DiscussionAppSoap.validatePermissions(com.vasoftware.sf.server.types.ProjectPath, java.lang.String[], boolean, boolean, java.lang.String)
public void prepareValidatePermissions(com.vasoftware.sf.server.types.ProjectPath projectPath, String[] moderators, boolean isModerator, boolean isPrivate, String loggedInUser, Exception exception)
DiscussionAppSoap.validatePermissions(com.vasoftware.sf.server.types.ProjectPath, java.lang.String[], boolean, boolean, java.lang.String)
public void validatePermissions(com.vasoftware.sf.server.types.ProjectPath projectPath, String[] moderators, boolean isModerator, boolean isPrivate, String loggedInUser) throws RemoteException
RemoteException
DiscussionAppSoap.validatePermissions(com.vasoftware.sf.server.types.ProjectPath, java.lang.String[], boolean, boolean, java.lang.String)
public void prepareValidateEmailPosting(int emailPosting, boolean isPrivate)
DiscussionAppSoap.validateEmailPosting(int, boolean)
public void prepareValidateEmailPosting(int emailPosting, boolean isPrivate, Exception exception)
DiscussionAppSoap.validateEmailPosting(int, boolean)
public void validateEmailPosting(int emailPosting, boolean isPrivate) throws RemoteException
RemoteException
DiscussionAppSoap.validateEmailPosting(int, boolean)
public void prepareValidateWebPosting(int webPosting, boolean isPrivate)
DiscussionAppSoap.validateWebPosting(int, boolean)
public void prepareValidateWebPosting(int webPosting, boolean isPrivate, Exception exception)
DiscussionAppSoap.validateWebPosting(int, boolean)
public void validateWebPosting(int webPosting, boolean isPrivate) throws RemoteException
RemoteException
DiscussionAppSoap.validateWebPosting(int, boolean)
public void prepareValidateEmailMonitoring(int emailMonitoring, boolean isPrivate)
DiscussionAppSoap.validateEmailMonitoring(int, boolean)
public void prepareValidateEmailMonitoring(int emailMonitoring, boolean isPrivate, Exception exception)
DiscussionAppSoap.validateEmailMonitoring(int, boolean)
public void validateEmailMonitoring(int emailMonitoring, boolean isPrivate) throws RemoteException
RemoteException
DiscussionAppSoap.validateEmailMonitoring(int, boolean)
public void prepareValidateCaptcha(String captcha)
DiscussionAppSoap.validateCaptcha(java.lang.String)
public void prepareValidateCaptcha(String captcha, Exception exception)
DiscussionAppSoap.validateCaptcha(java.lang.String)
public void validateCaptcha(String captcha) throws RemoteException
RemoteException
DiscussionAppSoap.validateCaptcha(java.lang.String)
Copyright © 2016 CollabNet. All Rights Reserved.