com.jfw.authentication
Class UserDataUpdateDB

java.lang.Object
  extended by com.jfw.authentication.UserDataUpdateDB
All Implemented Interfaces:
QueryGatewayInterface

public class UserDataUpdateDB
extends java.lang.Object
implements QueryGatewayInterface

Update the login data of a user in table USERS.


Constructor Summary
UserDataUpdateDB()
           
 
Method Summary
 void execute(java.util.HashMap outputdata)
          Execute the query.
 void setData(java.lang.Object data)
          Set attribute data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserDataUpdateDB

public UserDataUpdateDB()
Method Detail

setData

public void setData(java.lang.Object data)
Set attribute data.

Specified by:
setData in interface QueryGatewayInterface
Parameters:
data - a LoginForm object.

execute

public void execute(java.util.HashMap outputdata)
             throws DatabaseException
Execute the query.

Specified by:
execute in interface QueryGatewayInterface
Parameters:
outputdata - set key QueryGateway.ROWS_CHANGED_KEY with the number of rows changed by the query.
Throws:
DatabaseException