| 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)
DatabasegetAccount in interface Databaseusername - The username as entered by the userpassword - The cleartext passwordpublic BSAccount getAccount(int userId)
getAccount in interface Databasepublic int getAccountCount()
DatabasegetAccountCount in interface Databasepublic int getAppJumperUser(long appJumper)
DatabasegetAppJumperUser in interface DatabaseappJumper - The paremeter passed to the apppublic void setAppJumper(int userId,
                         long appJumper)
DatabasesetAppJumper in interface DatabaseuserId - The userId who wants to jump appspublic void deleteAppJumper(int userId,
                            long appJumper)
deleteAppJumper in interface Database