Collaboration API Documentation

com.filenet.bso.api.collaboration.data
Class PostingInfo

java.lang.Object
  |
  +--com.filenet.bso.api.collaboration.data.PostingInfo
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ReplyPostingInfo, TopicPostingInfo

public abstract class PostingInfo
extends java.lang.Object
implements java.io.Serializable

The PostingInfo class is a collection of data used to create a posting to a discussion topic. A teamspace discussion posting is created by generating a PostingInfo object from the CollaborationFactory and adding it to the teamspace discussion topic container via it's addContainee() method.

See Also:
CollaborationFactory, Serialized Form

Constructor Summary
protected PostingInfo()
           
  PostingInfo(java.lang.String ownerID, java.lang.String subject, java.lang.String content)
          Constructs a new PostingInfo object with the specified values.
 
Method Summary
 java.lang.String getContent()
          Returns the content of the posting
 java.lang.String getPosterID()
          Returns the id of the poster.
abstract  java.lang.String getPostingClass()
          Return the class name of the Content Engine reply posting object
 java.lang.String getSubject()
          Returns the subject of the posting
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostingInfo

protected PostingInfo()

PostingInfo

public PostingInfo(java.lang.String ownerID,
                   java.lang.String subject,
                   java.lang.String content)
Constructs a new PostingInfo object with the specified values. This is an abstract class. Use TopicPostingInfo or ReplyPostingInfo to construct a PostingInfo.

Parameters:
ownerID - the LDAP SID of the member that will be granted CREATOR OWNER rights for this object

subject - an overview or short description of the posting

content - the details for the posting
Method Detail

getPosterID

public java.lang.String getPosterID()
Returns the id of the poster.

Returns:
A String containing the poster id.

getSubject

public java.lang.String getSubject()
Returns the subject of the posting

Returns:
A String containing the posting subject.

getContent

public java.lang.String getContent()
Returns the content of the posting

Returns:
A String containing the posting content.

getPostingClass

public abstract java.lang.String getPostingClass()
Return the class name of the Content Engine reply posting object

Returns:
A String that contains the Content Engine class name for the posting object.

Collaboration API Documentation

Copyright ?2002 - 2005 FileNet Corporation. All rights reserved.