|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jfw.examples.Update2
public final class Update2
Field Summary | |
---|---|
protected java.lang.String |
className
|
static java.lang.String |
PARAM_1
|
protected static java.lang.String |
query
|
Constructor Summary | |
---|---|
Update2(Transaction transaction)
|
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
public static final java.lang.String PARAM_1
Constructor Detail |
---|
public Update2(Transaction transaction)
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 |