com.bea.content.expression
Interface ITextQueryParameter


public interface ITextQueryParameter

This is the interface for text query parameter Here is an example of how to use it:

  ITextQuery tQuery = FullTextQueryFactory.getTextQuery();
  ITextQueryParameter ftqp = tQuery.buildEquals("new and cool");
  IFullTextSearch fullTextSearch = FullTextSearchFactory.buildFullTextSearch(null, ftqp, false);
  Search search = new Search(null, -1, null, fullTextSearch, true);
  ISearchManager searchManager = ContentManagerFactory.getSearchManager();
  ContentContext context = new ContentContext();
  IPagedList nodes = searchManager.search(context, search);
 

This interface is intended to be implemented only by BEA Weblogic Portal. BEA Systems reserves the right to add abstract methods to this interface without notice. Implementations of this interface by other parties must not be expected to compile without change in future versions of BEA Weblogic Portal.

Method Summary
 ITextQueryParameter and(ITextQueryParameter param)
          AND two text query parameters
 ITextQueryParameter or(ITextQueryParameter param)
          OR two text query parameters
 

Method Detail

and

ITextQueryParameter and(ITextQueryParameter param)
AND two text query parameters

Parameters
param -
Returns
The ITextQueryParameter AND'd to this object.

or

ITextQueryParameter or(ITextQueryParameter param)
OR two text query parameters

Parameters
param -
Returns
The ITextQueryParameter OR'd to this object.


Copyright © 2008 BEA Systems, Inc. All Rights Reserved