|
Oracle Collaboration Suite Discussions Java API Reference 10g (10.1.1) Part No. B16232-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a class which can manage the favorite elements in discussions.
Provides methods to
Sample code snippet illustrating the usage of TdFavoriteManager
//_tdStore is a TdStore instance. //Get the TdFavoriteManager from this tdStore instance. TdFavoriteManager tdfm = tdStore.getFavoriteManager(); //Get the favorite threads out of the favorite manager TdIterator tdit = tdfm.getFavoriteThreads();
TdFavorite.java
, TdGlobalAdminManager.java
Method Summary | |
TdContainer[] |
getFavoriteContainers() Returns all favorite containers of the current user within the store that this manager was created |
TdIterator |
getFavoriteLastMessagePosts() Returns the list of favorite last message posts. |
TdIterator |
getFavoritePopularThreads() Returns the list of most popular threads within the favorite containers. |
TdIterator |
getFavoriteThreads() Returns all favorite threads of the current user within the store that this manager was created |
TdIterator |
getFavoriteThreads(TdContainer tdc) Returns the list of favorite threads under a container. |
TdIterator |
searchFavorites(TdSearchTerm tdst) Searches the messages that are in the favorite containers recursively according to the supplied search term. |
TdIterator |
searchFavorites(TdSearchTerm tdst, boolean searchAnnouncements) Searches the messages that are in the favorite containers recursively according to the supplied search term. |
Method Detail |
public TdContainer[] getFavoriteContainers() throws TdException, javax.mail.MessagingException
TdException
javax.mail.MessagingException
public TdIterator getFavoriteThreads() throws TdException, javax.mail.MessagingException
TdException
javax.mail.MessagingException
public TdIterator getFavoriteThreads(TdContainer tdc) throws TdException, javax.mail.MessagingException
tdc
- a TdContainer from which to get favorite threadsTdException
MessgingException
javax.mail.MessagingException
public TdIterator getFavoritePopularThreads() throws TdException, javax.mail.MessagingException
TdException
MessgingException
javax.mail.MessagingException
public TdIterator getFavoriteLastMessagePosts() throws TdException, javax.mail.MessagingException
TdException
javax.mail.MessagingException
public TdIterator searchFavorites(TdSearchTerm tdst) throws TdException, javax.mail.MessagingException
TdException
javax.mail.MessagingException
public TdIterator searchFavorites(TdSearchTerm tdst, boolean searchAnnouncements) throws TdException, javax.mail.MessagingException
TdException
javax.mail.MessagingException
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |