Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
DatabaseImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteAppJumper(int userId,
long appJumper) |
BSAccount |
getAccount(int userId) |
BSAccount |
getAccount(java.lang.String username,
java.lang.String password)
Get the user's account - i.e.
|
int |
getAccountCount()
Get the number of accounts
|
int |
getAppJumperUser(long appJumper)
Get the userId who wanted this appJumper
|
void |
setAppJumper(int userId,
long appJumper)
Set an appJumper.
|
public BSAccount getAccount(java.lang.String username, java.lang.String password)
Database
getAccount
in interface Database
username
- The username as entered by the userpassword
- The cleartext passwordpublic BSAccount getAccount(int userId)
getAccount
in interface Database
public int getAccountCount()
Database
getAccountCount
in interface Database
public int getAppJumperUser(long appJumper)
Database
getAppJumperUser
in interface Database
appJumper
- The paremeter passed to the apppublic void setAppJumper(int userId, long appJumper)
Database
setAppJumper
in interface Database
userId
- The userId who wants to jump appspublic void deleteAppJumper(int userId, long appJumper)
deleteAppJumper
in interface Database