Oracle Data-aware Controls Reference

oracle.dacf.control.swing.find
Class NavbarFindActionQueryBuilder

java.lang.Object
  extended byoracle.dacf.control.swing.find.NavbarFindActionQueryBuilder
All Implemented Interfaces:
FindActionQueryBuilder

public class NavbarFindActionQueryBuilder
extends java.lang.Object
implements FindActionQueryBuilder

Implements a query builder poicy for the NavigationBar. This class constructs query in two phases. In the first phase the query uses exact values specified for string datatypes in the query. In the second phase of query construction, wildcard characters are added to string data types.

Version:
INTERNAL
See Also:
FindAction

Field Summary
 
Fields inherited from interface oracle.dacf.control.swing.find.FindActionQueryBuilder
CASE_SENSITIVE_SEARCH, ROW_COUNT
 
Constructor Summary
NavbarFindActionQueryBuilder()
           
 
Method Summary
 java.lang.String buildQuery()
          Build the WHERE clause for the query
 boolean canReExecuteQuery()
          The query can be modified and re-executed.
 FindItemModel[] getFindItemModel()
          get the model used to construct WHERE clause
 java.lang.Object getProperty(java.lang.String name)
          get property value
 java.lang.String modifyQuery()
          modify the WHERE clause
 void setFindItemModel(FindItemModel[] model)
          specify the model used to construct WHERE clause
 void setProperty(java.lang.String name, java.lang.Object value)
          set property value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavbarFindActionQueryBuilder

public NavbarFindActionQueryBuilder()
Method Detail

setFindItemModel

public void setFindItemModel(FindItemModel[] model)
specify the model used to construct WHERE clause

Specified by:
setFindItemModel in interface FindActionQueryBuilder
Parameters:
model - FindItem model from which column name, SQL type will be retrieved

getFindItemModel

public FindItemModel[] getFindItemModel()
get the model used to construct WHERE clause

Specified by:
getFindItemModel in interface FindActionQueryBuilder
Returns:
the column model used

canReExecuteQuery

public boolean canReExecuteQuery()
The query can be modified and re-executed. Return a true value if the query has to executed again

Specified by:
canReExecuteQuery in interface FindActionQueryBuilder
Returns:
true if query has to be reexecuted

buildQuery

public java.lang.String buildQuery()
Build the WHERE clause for the query

Specified by:
buildQuery in interface FindActionQueryBuilder
Returns:
WHERE clause for the query

modifyQuery

public java.lang.String modifyQuery()
modify the WHERE clause

Specified by:
modifyQuery in interface FindActionQueryBuilder
Returns:
modified query

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
set property value. This implementation is independent of any property values and therefore does not implement it.

Specified by:
setProperty in interface FindActionQueryBuilder
Parameters:
name - of the property
value - to be used for the property

getProperty

public java.lang.Object getProperty(java.lang.String name)
get property value

Specified by:
getProperty in interface FindActionQueryBuilder
Parameters:
name - of the property

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.