Oracle Collaboration Suite Discussions Java API Reference
10g (10.1.1)

Part No. B16232-01


oracle.discussions.sdk
Interface TdMyFavorites

All Superinterfaces:
TdRelatedContent

public interface TdMyFavorites
extends TdRelatedContent

Represents a users full listing of favorites in complete discussions at all container levels.

They include a listing of threads ans containers also.
They are accessible under My Discussions tab in discussions UI.

Sample code illustrating the usage of TdMyFavorites

  //tdStore is an instance of TdStore class.
  //Retrieve the TdMyFavorites from TdStore 
  TdMyFavorites tdmyf = tdStore.getMyFavorites();
  //Retrieve all the favorite threads in oracle discussions instance
  TdIterator tdit = tdmyf.getFavorites();
  
Since:
OCS 10.1.1
See Also:
TdThread.java, TdMessage.java, TdRelatedContent.java

Method Summary
TdIterator getFavorites()
Returns full listing of all the favorite threads and containers in oracle discussions for a particular user in the form of a TdIterator object.

Methods inherited from interface oracle.discussions.sdk.TdRelatedContent
getMostRecentPosts, getPopularThreads

Method Detail

getFavorites

public TdIterator getFavorites()
Returns full listing of all the favorite threads and containers in oracle discussions for a particular user in the form of a TdIterator object.
Returns:
TdIterator

Copyright © 2005, Oracle. All rights reserved.