public final class DatabaseUserKeyHome extends Object
Modifier and Type | Method and Description |
---|---|
static void |
create(DatabaseUserKey userKey)
Create a new key
|
static DatabaseUserKey |
findByPrimaryKey(String strKey)
Find a key from a given key
|
static DatabaseUserKey |
findKeyByLogin(String login)
Find a key from a given login
|
static void |
remove(String strKey)
Remove a key from a given key
|
static void |
removeByIdUser(int nUserId)
Remove a key from a given id user
|
public static void create(DatabaseUserKey userKey)
userKey
- the keypublic static void remove(String strKey)
strKey
- the keypublic static void removeByIdUser(int nUserId)
nUserId
- the id userpublic static DatabaseUserKey findByPrimaryKey(String strKey)
strKey
- the keyDatabaseUserKey
public static DatabaseUserKey findKeyByLogin(String login)
login
- the user's loginDatabaseUserKey
Copyright © 2018 City of Paris. All rights reserved.