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

public final class DatabaseUserKeyHome extends Object
DatabaseUserKeyHome
  • Method Details

    • 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