Class DatabaseUserKeyHome


  • public final class DatabaseUserKeyHome
    extends java.lang.Object
    DatabaseUserKeyHome
    • Method Detail

      • create

        public static void create​(DatabaseUserKey userKey)
        Create a new key
        Parameters:
        userKey - the key
      • remove

        public static void remove​(java.lang.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​(java.lang.String strKey)
        Find a key from a given key
        Parameters:
        strKey - the key
        Returns:
        a DatabaseUserKey
      • findKeyByLogin

        public static DatabaseUserKey findKeyByLogin​(java.lang.String login)
        Find a key from a given login
        Parameters:
        login - the user's login
        Returns:
        a DatabaseUserKey