fr.paris.lutece.plugins.mylutece.modules.directory.authentication.business.key
Class MyluteceDirectoryUserKeyHome

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.directory.authentication.business.key.MyluteceDirectoryUserKeyHome

public final class MyluteceDirectoryUserKeyHome
extends Object

DatabaseUserKeyHome


Method Summary
static void create(MyluteceDirectoryUserKey userKey)
          Create a new key
static MyluteceDirectoryUserKey findByPrimaryKey(String strKey)
          Find a key from a given key
static MyluteceDirectoryUserKey findKeyByLogin(String login)
          Find a key from a given login
static void remove(String strKey)
          Remove a key from a given key
static void removeByIdRecord(int nIdRecord)
          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(MyluteceDirectoryUserKey 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

removeByIdRecord

public static void removeByIdRecord(int nIdRecord)
Remove a key from a given id user

Parameters:
nIdRecord - the id record

findByPrimaryKey

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

Parameters:
strKey - the key
Returns:
a MyluteceDirectoryUserKey

findKeyByLogin

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

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


Copyright © 2013 Mairie de Paris. All Rights Reserved.