Oracle Collaboration Suite Discussions Web Services Java API Reference
10g (10.1.2.2)

Part No. B28210-01


oracle.discussions.ws.beans
Class SearchTerm

java.lang.Object
  extended byoracle.discussions.ws.beans.SearchTerm


public class SearchTerm
extends java.lang.Object

Represents the search configuration. Defines the query criteria for a search in Oracle Discussions. User can scope the search, by providing options in the search term bean.


Constructor Summary
SearchTerm()
          Default constructor

 

Method Summary
 void setAuthor(java.lang.String name)
          Sets the author nickname to search for.
 void setDateRange(int range)
          Sets the date range for search.
 void setHasAttachments(boolean bool)
          Sets if the search criteria included attachments.
 void setKeyword(java.lang.String kwd)
          Sets the search keyword.
 void setMinimalMessageSize(int size)
          Sets the search criteria for minimal msg size only msgs with size >= specified size are searched.
 void setMinimalNumberOfReplies(int number)
          Sets the search criteria for number of replies.
 void setStartDate(java.util.Calendar startDt)
          Sets the search criterion start date.

 

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

 

Constructor Detail

SearchTerm

public SearchTerm()
Default constructor

Method Detail

setKeyword

public void setKeyword(java.lang.String kwd)
Sets the search keyword. The keyword, can be also a regular expression, like '*', which represents the search criteria as all the elements in the Discussions system.
Parameters:
kwd - - Search keyword

setAuthor

public void setAuthor(java.lang.String name)
Sets the author nickname to search for. On settings, this, only the messages posted by this author are searched for.
Parameters:
name - - Author's nickname

setStartDate

public void setStartDate(java.util.Calendar startDt)
Sets the search criterion start date.
Parameters:
startDt - - Start date for search

setMinimalNumberOfReplies

public void setMinimalNumberOfReplies(int number)
Sets the search criteria for number of replies. Only messages with number of replies >= the specified number are searched.
Parameters:
number - - Min number of replies.

setMinimalMessageSize

public void setMinimalMessageSize(int size)
Sets the search criteria for minimal msg size only msgs with size >= specified size are searched.
Parameters:
size - - Message size

setHasAttachments

public void setHasAttachments(boolean bool)
Sets if the search criteria included attachments.
Parameters:
bool - - Indicates if the search criteria includes attachments.

setDateRange

public void setDateRange(int range)
Sets the date range for search.

Copyright © 2005, Oracle. All rights reserved.