|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jfw.examples.SearchDB
public final class SearchDB
Field Summary | |
---|---|
protected java.lang.String |
className
|
protected static java.lang.String |
query
|
Constructor Summary | |
---|---|
SearchDB()
|
Method Summary | |
---|---|
void |
execute(java.util.HashMap outputdata)
Execute the query defined in class static method. |
void |
setData(java.lang.Object data)
Set object containing parameters to use. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String className
protected static java.lang.String query
Constructor Detail |
---|
public SearchDB()
Method Detail |
---|
public void setData(java.lang.Object data)
QueryGatewayInterface
setData
in interface QueryGatewayInterface
data
- a generic Objectpublic void execute(java.util.HashMap outputdata) throws DatabaseException
QueryGatewayInterface
execute
in interface QueryGatewayInterface
outputdata
- contains the data returned by query and other informations
relative the database interrogation.
DatabaseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |