|
Oracle Discussions Java API Reference 10g Release 1 (10.1.2) B25496-01 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | 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
, TdGlobalAdminManager
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. |
void |
removeFromFavorites(long iBoardId, int iThreadId) Removes a thread from the list of favorite threads for this user by the thread id. |
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
public TdIterator getFavoriteThreads() throws TdException, javax.mail.MessagingException
public TdIterator getFavoriteThreads(TdContainer tdc) throws TdException, javax.mail.MessagingException
tdc
- a TdContainer from which to get favorite threadspublic TdIterator getFavoritePopularThreads() throws TdException, javax.mail.MessagingException
public TdIterator getFavoriteLastMessagePosts() throws TdException, javax.mail.MessagingException
public TdIterator searchFavorites(TdSearchTerm tdst) throws TdException, javax.mail.MessagingException
public TdIterator searchFavorites(TdSearchTerm tdst, boolean searchAnnouncements) throws TdException, javax.mail.MessagingException
public void removeFromFavorites(long iBoardId, int iThreadId) throws TdException
|
Oracle Discussions Java API Reference 10g Release 1 (10.1.2) B25496-01 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |