fr.paris.lutece.plugins.mylutece.modules.database.authentication.business.key
Class DatabaseUserKeyHome

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.database.authentication.business.key.DatabaseUserKeyHome

public final class DatabaseUserKeyHome
extends Object

DatabaseUserKeyHome


Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static void create(DatabaseUserKey userKey)
Create a new key

Parameters:
userKey - the key

remove

public static void remove(String strKey)
Remove a key from a given key

Parameters:
strKey - the key

removeByIdUser

public static void removeByIdUser(int nUserId)
Remove a key from a given id user

Parameters:
nUserId - the id user

findByPrimaryKey

public static DatabaseUserKey findByPrimaryKey(String strKey)
Find a key from a given key

Parameters:
strKey - the key
Returns:
a DatabaseUserKey

findKeyByLogin

public static DatabaseUserKey findKeyByLogin(String login)
Find a key from a given login

Parameters:
login - the user's login
Returns:
a DatabaseUserKey


Copyright © 2014 Mairie de Paris. All Rights Reserved.