AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# Plumtree.Remote.PRC.Collaboration.Discussion Namespace

Provides classes and interfaces for creating, modifying, managing, and querying Collaboration discussions and posts. See Discussion Examples.

Since IDK 5.1

Namespace hierarchy

### Classes

Class | Description
--- | ---
DiscussionMessageQueryOrder | Represents a pair that consists of a `DiscussionMessageAttributes` attribute and a boolean value indicating whether to order ascending. This class is used in `IFilter`.

### Interfaces

Interface | Description
--- | ---
IDiscussion | Interface that represents a Collaboration discussion object. A discussion contains zero or more messages and reply messages. This interface handles creation of messages, modifications of discussion metadata and security. Note: Any modifications made to a discussion will not be stored permanently until the `Store` method is called.
IDiscussionFilter | Interface for filters used for querying Collaboration discussions.
IDiscussionManager | Interface for discussion-related functionality. It handles discussion message creation, deletion and query. A discussion contains zero or more messages. A message is the smallest unit in a discussion and contains zero or one parent message and zero or more replies. A child of a message is a reply. See Discussion Examples.
IDiscussionMessage | Interface that represents a Collaboration discussion message object. This interface handles message modification and reply message creation. A message is the smallest unit in a discussion contains zero or one parent and zero or more children. A child of a message is a reply. To create a reply message to a topic, call `CreateDiscussionReplyMessage` method on the topic message. To create a reply to a reply message, call `CreateDiscussionReplyMessage` method on the parent reply message, which is also an `IDiscussionMessage`. This will create a tree-like structure of the messages with various levels of reply. Note: Discussion message modifications will not be stored permanently until the `Store` method is called.
IDiscussionMessageFilter | Interface for filters used for querying discussion messages. By default, a discussion message filter will be set to give the largest possible result set. The various setter methods can be used to narrow the kinds of results to return.

### Enumerations

Enumeration | Description
--- | ---
DiscussionMessageAttributes | An enumerated type used to describe the specific fields that can be used in constructing a `DiscussionMessageQueryOrder` for Discussion Messages.
DiscussionMessageModeratorFilterTypes | An enumerated type passed to an instance of `IDiscussionFilter` to describe the moderator filter type for discussions, used in `IDiscussionMessageFilter.ModeratorType` attribute.
DiscussionMessageStatusFilterTypes | An enumerated type passed to an instance of `IDiscussionFilter` to specify whether to return only messages in approved status (default), unapproved status, or both, used in `IDiscussionMessageFilter.MessageStatusType` attribute.
DiscussionPermissions | An enumerated type used to represent permission to perform a specific action on a Discussion, used in `IDiscussion.IsActionAllowed`.