Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-04


oracle.webcenter.search
Class TextPredicate

java.lang.Object
  extended by oracle.webcenter.search.Predicate
      extended by oracle.webcenter.search.TextPredicate

All Implemented Interfaces:
java.io.Serializable

public class TextPredicate
extends Predicate

This class models a text criterion for data querying. Note: Sometimes one may wish to turn a keyword search into both a data and a metadata search - e.g. List Search UI has a keyword search box that pits the search against list data but also at the same time against the list name, list description, list column name, and list column data. This is a decision made from the caller, i.e. the UI code, and is not to be modeled at this level.

Since:
11.1.1.0.0 Beta 2
See Also:
Serialized Form

Constructor Summary
TextPredicate(java.lang.String textQueryString)
          Constructs a text condition with the text string to be used for text-based queries.

 

Method Summary
 Predicate clonePredicate()
          Clones the Predicate.
 java.lang.String getTextQueryString()
          Returns the text string to be used for text-based queries.
 void setTextQueryString(java.lang.String textQueryString)
          Sets the text string to be used for text-based queries.
 java.lang.String toString()
           

 

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

 

Constructor Detail

TextPredicate

public TextPredicate(java.lang.String textQueryString)
Constructs a text condition with the text string to be used for text-based queries.
Parameters:
textQueryString - the text query String to use as a criterion

Method Detail

getTextQueryString

public java.lang.String getTextQueryString()
Returns the text string to be used for text-based queries.
Returns:
a String that will be used for text-based queries

setTextQueryString

public void setTextQueryString(java.lang.String textQueryString)
Sets the text string to be used for text-based queries.
Parameters:
textQueryString - a String that will be used for text-based queries

clonePredicate

public Predicate clonePredicate()
Clones the Predicate.
Overrides:
clonePredicate in class Predicate
Returns:
a cloned Predicate from this Predicate

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-04


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