com.jfw.examples
Class Update1
java.lang.Object
com.jfw.examples.Update1
- All Implemented Interfaces:
- QueryGatewayInterface
public final class Update1
- extends java.lang.Object
- implements QueryGatewayInterface
Field Summary |
protected java.lang.String |
className
|
static java.lang.String |
PARAM_1
|
static java.lang.String |
PARAM_2
|
protected static java.lang.String |
query
|
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 |
className
protected java.lang.String className
query
protected static java.lang.String query
PARAM_1
public static final java.lang.String PARAM_1
- See Also:
- Constant Field Values
PARAM_2
public static final java.lang.String PARAM_2
- See Also:
- Constant Field Values
Update1
public Update1(Transaction transaction)
setData
public void setData(java.lang.Object data)
- Description copied from interface:
QueryGatewayInterface
- Set object containing parameters to use.
The parameter data can be null.
- Specified by:
setData
in interface QueryGatewayInterface
- Parameters:
data
- a generic Object
execute
public void execute(java.util.HashMap outputdata)
throws DatabaseException
- Description copied from interface:
QueryGatewayInterface
- Execute the query defined in class static method.
- Specified by:
execute
in interface QueryGatewayInterface
- Parameters:
outputdata
- contains the data returned by query and other informations
relative the database interrogation.
- Throws:
DatabaseException