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

Part No. B16232-01


oracle.discussions.sdk
Interface TdFavorite

All Known Implementing Classes:
TdContainer, TdThread

public interface TdFavorite

Represents any discussions element which is added as a favorite element.

Favorites are elements of users interest.
Favorites are listed at each container level to provide a quick access to the users.
Once added, the element remains as a favorite for a user until

TdFavorite object is similar to a TdThread object.
Hence the implementations are same.

Since:
OCS 10.1.1
See Also:
TdFavoriteManager.java, TdContainer.java, TdMessage.java

Method Summary
 void addToFavorites()
          Adds the current object as favorite
 boolean isFavorite()
          Returns true if the current object has been added as favorite
 void removeFromFavorites()
          Removes the current object from favorite

 

Method Detail

isFavorite

public boolean isFavorite()
                   throws TdException,
                          javax.mail.MessagingException
Returns true if the current object has been added as favorite
Returns:
boolean
Throws:
TdException
javax.mail.MessagingException

addToFavorites

public void addToFavorites()
                    throws TdException,
                           javax.mail.MessagingException
Adds the current object as favorite
Throws:
TdException
javax.mail.MessagingException

removeFromFavorites

public void removeFromFavorites()
                         throws TdException,
                                javax.mail.MessagingException
Removes the current object from favorite
Throws:
TdException
javax.mail.MessagingException

Copyright © 2005, Oracle. All rights reserved.