You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > ThreadedDiscussion Class
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ThreadedDiscussion Class

This section describes the Web Service methods used with Ektron's Threaded Discussion feature. The Threaded Discussion Web service is a wrapper for the Threaded Discussion API: Ektron.Cms.API.Content.ThreadedDiscussion. These methods can be accessed through the ThreadedDiscussion.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Content/ThreadedDiscussion.asmx

 

IMPORTANT: If you are accessing these Web Services remotely, you will need to set the authentication header.

C#
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.None)]
public class ThreadedDiscussion : EktronBaseService;
Visual Basic
<WebService(Namespace = "http://tempuri.org/")>
<WebServiceBinding(ConformsTo = WsiProfiles.None)>
Public Class ThreadedDiscussion
Inherits EktronBaseService

ThreadedDiscussion.cs

Name 
Description 
The methods of the ThreadedDiscussion class are listed here. 
 
Name 
Description 
 
Adds a discussion board to a given folder. Accepts name, title, and other parameters. Returns numeric ID of the new discussion board.
This method can be accessed through the ThreadedDiscussion.asmx file located in:  
 
Adds a discussion forum to a given board. Accepts name, description, and other parameters. Category ID must be valid for the board ID. Returns the numeric ID of new discussion forum.
This method can be accessed through the ThreadedDiscussion.asmx file located in:  
 
Adds a Reply to the Forum.  
 
This is the overview for the AddTopic method overload. 
 
Deletes a board with a given ID. This will delete the board as well as all forums, topics and posts under it. BoardID must be greater than 0.
This method can be accessed through the ThreadedDiscussion.asmx file located in:  
 
Deletes a forum with a given ID. This will delete the forum as well as all topics and posts under it. forumID must be greater than 0.
This method can be accessed through the ThreadedDiscussion.asmx file located in:  
 
Deletes a topic by topicID. This method deletes all posts associated with the topic as well. Returns boolean value.
This method can be accessed through the ThreadedDiscussion.asmx file located in:  
 
Method to get the Categories for a board by ID. Returns either zero length or populated array. See DiscussionCategory class for more information.
This method can be accessed through the ThreadedDiscussion.asmx file located in:  
 
Method to get the Forums for a board by ID. Returns either zero length or populated array. See DiscussionForum class for more information.
This method can be accessed through the ThreadedDiscussion.asmx file located in:  
 
This is the overview for the GetDiscussionBoard method overload. 
 
Method to get the rendered view of a discussion board by ID. Returns a string of the output based upon the input parameters. Display of the board can be controlled by using CSS stylesheets.
This method can be accessed through the ThreadedDiscussion.asmx file located in:  
 
Method to obtain a particular forum by ID. Will return a discussion board with a 1 length Discussion Forum array. If the forum does not exist, then a DiscussionBoard with a zero length Forums property will be returned.
This method can be accessed through the ThreadedDiscussion.asmx file located in:  
 
Method returns a list of replies for a given forum ID.
ArrayList Structure
  • ArrayListItem(j)(0) ' content_id
  • ArrayListItem(j)(1) ' comment_total
  • ArrayListItem(j)(2) ' comment_sum
  • ArrayListItem(j)(3) ' last_posted
  • ArrayListItem(j)(4) ' content_language

This method can be accessed through the ThreadedDiscussion.asmx file located in:  
 
Method to obtain a particular Topic by ID. Will return a discussion board with a 1 length Discussion Forum array containing a 1 length DiscussionTopic array. If the topic does not exist, then a DiscussionBoard with a 1 length Forums property containing a zero length Topics property will be returned.
This method can be accessed through the ThreadedDiscussion.asmx file located in:  
 
Method to obtain an array of topic replies matching search criteria. Will return an instance of EkTasks, which is effectively an array of EkTask objects. If no results are returned, then a zero length EkTasks will be returned.
This method can be accessed through the ThreadedDiscussion.asmx file located in:  
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!