|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A interface which lets customize building WHERE clause. The FindAction class uses this interface to build and execute a query. This interface lets users customize the way the Query is built and also let's him to modify the query and re-execute it. The FindAction classes uses this interface in the following way. setFindItemModel(model);// column name,values used to construct query executeQuery(buildQuery()); setProperty(FindActionQueryBuilder.NEW_ROW_COUNT, ...); while(canReExecuteQuery()) { executeQuery(modifyQuery()); setProperty(FindActionQueryBuilder.NEW_ROW_COUNT, ...); }
FindAction
Field Summary | |
static java.lang.String |
CASE_SENSITIVE_SEARCH
|
static java.lang.String |
ROW_COUNT
property used to indicate the number of rows in the record set after executing query returned from buildQuery or modifyQuery methods |
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 arbitary property value |
Field Detail |
public static final java.lang.String ROW_COUNT
public static final java.lang.String CASE_SENSITIVE_SEARCH
Method Detail |
public void setFindItemModel(FindItemModel[] model)
model
- to retrive column values and SQL typepublic FindItemModel[] getFindItemModel()
public boolean canReExecuteQuery()
public java.lang.String buildQuery()
public java.lang.String modifyQuery()
public void setProperty(java.lang.String name, java.lang.Object value)
name
- of the propertyvalue
- to be used to set the propertypublic java.lang.Object getProperty(java.lang.String name)
name
- of the property
|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2003, Oracle. All rights reserved.