Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1.7)

E10663-11

oracle.rules.sdk2.search
Class DictionarySearch

java.lang.Object
  extended by oracle.rules.sdk2.search.DictionarySearch

public class DictionarySearch
extends java.lang.Object

Search over a rule dictionary.


Constructor Summary
DictionarySearch(RuleDictionary dictionary)
          Construct a DictionarySearch for text searches over the specified rule dictionary.
 
Method Summary
 java.util.List<DOID> find(java.lang.String text)
          Search for the specified text.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DictionarySearch

public DictionarySearch(RuleDictionary dictionary)
Construct a DictionarySearch for text searches over the specified rule dictionary.

Parameters:
dictionary - The rule dictionary to search.
Method Detail

find

public java.util.List<DOID> find(java.lang.String text)
Search for the specified text.

Parameters:
text - the text to search for.
Returns:
A list of results. Each entry in the list is the ID of the DictionaryComponent in which the text string was found.

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1.7)

E10663-11

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.