Oracle Collaboration Suite Discussions Web Services Java API Reference
10g (10.1.2.2)

Part No. B28210-01


oracle.discussions.ws.beans
Class Topic

java.lang.Object
  extended byoracle.discussions.ws.beans.ForumMessage
      extended byoracle.discussions.ws.beans.Topic


public class Topic
extends ForumMessage

Every independent forum message in a forum is called a topic. It is the root from which, all other messages stem from.

See Also:
ForumMessage

Method Summary
 LastPost getLastPost()
          Returns the lastpost information.
 int getMsgCount()
          Returns the total number of messages in the topic.
 java.lang.String getRssURL()
          Returns the url of the page depicting the rss feed for the Discussions element.
 boolean isFavorite()
          Returns true if the topic is in the favorites list for the user.
 boolean isLocked()
          Returns the lock status of the topic.

 

Methods inherited from class oracle.discussions.ws.beans.ForumMessage
getAnnotations, getBodyPlainText, getForumId, getFromAddresses, getLevel, getMessageId, getNumberOfReplies, getSentDate, getSize, getSubject, getTopicId, getWebUIUrl, getXPriority, isByModerator, isHasAttachments, isHidden, isHTMLContentType, isNewMessage, isNewSinceLastVisit, isNewSinceSession

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getLastPost

public LastPost getLastPost()
Returns the lastpost information.

Lastpost depicts the most recently posted message in a topic. It contains information about

Returns:
- lastpost information

getMsgCount

public int getMsgCount()
Returns the total number of messages in the topic.

A message can be either

Returns:
int

isFavorite

public boolean isFavorite()
Returns true if the topic is in the favorites list for the user.

Returns true if the topic is in the favorites list for the user, false otherwise

Returns:
boolean

isLocked

public boolean isLocked()
Returns the lock status of the topic.

Returns true if the topic is locked, false otherwise.
A thread which is locked cannot be edited.
Only board writer who is the owner of the thread and higher role will have permissions to lock a thread.

Returns:
boolean

getRssURL

public java.lang.String getRssURL()
Returns the url of the page depicting the rss feed for the Discussions element. The url, if copy-pasted in a browser, shows up the rss-xml feed to the element.
Returns:
String - rss url.

Copyright © 2005, Oracle. All rights reserved.