oracle.dacf.control.swing.find
Class NavbarFindActionQueryBuilder
java.lang.Object
|
+--oracle.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NavbarFindActionQueryBuilder
public NavbarFindActionQueryBuilder()
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 propertyvalue
- 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 propertyvalue
- to be used to set the property