Oracle Discussions Java API Reference
10g Release 1 (10.1.2)

B25496-01

oracle.discussions.sdk
Class TdSearchResultMessage

oracle.discussions.sdk.TdMessage
  |
  +--oracle.discussions.sdk.TdSearchResultMessage

public class TdSearchResultMessage
extends TdMessage

Represents an individual search result object, returned by oracle discussions search.

TdSearchResult Iterator is returned by the td search and each of the message objects in the iterator is a TdSearchResultMessage.

Oracle discussions elements names have been changed in the webui compared to that of sdk portion. The existing names to the new names mapping is as shown.

Since:
OCS 10.1.1
See Also:
TdMessage

Fields inherited from class oracle.discussions.sdk.TdMessage
_evtfac, _evtpub, _flags, _htRb, _logger, _msgInfo, _tdb, _tdBodyInfo, _tdbs, _tdr, _tdsession, s_dmsDelete, s_dmsGetBodyPlainText, s_dmsGetBodyRichText, s_dmsGetContent, s_dmsGetNumberOfReplies, s_dmsGetParent, s_dmsUndelete, s_nMessage

 

Method Summary
 java.lang.String getPartialContentWithHighlight()
          Returns the search results with partial highlighting the search term in the search results.
 int getScore()
          Returns the score of search.

 

Methods inherited from class oracle.discussions.sdk.TdMessage
clip, delete, erase, getAnnotations, getAttachmentBodyParts, getAttachmentById, getAttachments, getBoard, getBoardSettings, getBodyPlainText, getBodyRichText, getContent, getFlags, getFrom, getLastAnnotation, getLevel, getNumberOfReplies, getOracleMessageId, getOracleMessageUid, getOracleThreadId, getParent, getParentMessageId, getPermissions, getResourceBundle, getResourceBundleName, getRfc822MessageId, getRfc822References, getRole, getSentDate, getSize, getSubject, getThread, getXPriority, hasAttachments, invalidateCache, isByModerator, isDeleted, isNew, isNewSinceLastVisit, isNewSinceSession, refreshRole, setFlag, setFlags, setParent, toString, toString, undelete, updateUserFlags

 

Method Detail

getScore

public int getScore()
Returns the score of search.
Returns:
int

getPartialContentWithHighlight

public java.lang.String getPartialContentWithHighlight()
                                                throws TdException,
                                                       javax.mail.MessagingException
Returns the search results with partial highlighting the search term in the search results.
Returns:
String
Throws:
TdException -  
MessagingException -  

Oracle Discussions Java API Reference
10g Release 1 (10.1.2)

B25496-01

Copyright © 2002, 2005, Oracle. All rights reserved.