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

Part No. B16232-01


oracle.discussions.sdk
Class TdSearchResultMessage

java.lang.Object
  extended byjavax.mail.Message
      extended byjavax.mail.internet.MimeMessage
          extended byoracle.mail.sdk.esmail.OracleMessage
              extended byoracle.discussions.sdk.TdMessage
                  extended byoracle.discussions.sdk.TdSearchResultMessage

All Implemented Interfaces:
javax.mail.internet.MimePart, javax.mail.Part, oracle.discussions.sdk.impl.TdLocalizable

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.java

Nested Class Summary

Nested classes inherited from class javax.mail.internet.MimeMessage
javax.mail.internet.MimeMessage.RecipientType

Field Summary

Fields inherited from class oracle.mail.sdk.esmail.OracleMessage
EMAIL_TYPE, FAX_MSG_TYPE, FAX_TYPE, NEWS_MSG_TYPE, NEWS_TYPE, TD_MSG_TYPE, TD_TYPE, VOICE_MSG_TYPE, VOICE_TYPE

Fields inherited from interface javax.mail.Part
ATTACHMENT, INLINE

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, getRfc822MessageId, getRfc822References, getSentDate, getSize, getSubject, getThread, getXPriority, hasAttachments, isByModerator, isDeleted, isNew, isNewSinceLastVisit, isNewSinceSession, setFlag, setFlags, toString, toString, undelete

Methods inherited from class oracle.mail.sdk.esmail.OracleMessage
_parseValue, addFrom, addHeader, addRecipients, clear, deleteMessageComment, deleteMessageComments, getAllHeaders, getAllMessageComments, getAuthInfo, getContentID, getContentLanguage, getContentMD5, getContentStream, getContentType, getDataHandler, getDescription, getDisposition, getEncoding, getFileName, getFilteredText, getFolder, getHeader, getHighlight, getLineCount, getMarkupText, getMatchingHeaders, getMessageComment, getNonMatchingHeaders, getReceivedDate, getRecipients, getReplyTo, getThemes, getTokens, getType, getUid, isSet, isSet, removeHeader, saveChanges, setCharset, setHeader, setMessageComment, setMessageComments, setQuickOpen, writeTo

Methods inherited from class javax.mail.internet.MimeMessage
addFrom, addHeaderLine, addRecipients, getAllHeaderLines, getAllRecipients, getHeader, getInputStream, getMatchingHeaderLines, getMessageID, getNonMatchingHeaderLines, getRawInputStream, getSender, isMimeType, reply, setContent, setContent, setContentID, setContentLanguage, setContentMD5, setDataHandler, setDescription, setDescription, setDisposition, setFileName, setFrom, setFrom, setRecipients, setRecipients, setReplyTo, setSender, setSentDate, setSubject, setSubject, setText, setText, writeTo

Methods inherited from class javax.mail.Message
addRecipient, getMessageNumber, isExpunged, match, setRecipient

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

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
javax.mail.MessagingException

Copyright © 2005, Oracle. All rights reserved.