|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jfw.authentication.UserDataDB
public class UserDataDB
Get the login data of a user from table USERS.
Field Summary | |
---|---|
static java.lang.String |
USER_DATA_KEY
Key in outputdata. |
Constructor Summary | |
---|---|
UserDataDB()
|
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 |
Field Detail |
---|
public static final java.lang.String USER_DATA_KEY
Constructor Detail |
---|
public UserDataDB()
Method Detail |
---|
public void setData(java.lang.Object data)
data
.
setData
in interface QueryGatewayInterface
data
- a LoginForm
object.public void execute(java.util.HashMap outputdata) throws DatabaseException
execute
in interface QueryGatewayInterface
outputdata
- set key USER_DATA_KEY
with value a
UserData
object. If query return no rows
then the no UserData
object is set.
DatabaseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |