Interface IUserScopeDao

All Known Implementing Classes:
NullUserScopeDao

public interface IUserScopeDao
Dao interface for the user scope.
Since:
9.4
  • Method Details

    • retrieveKeys

      String[] retrieveKeys(String userId, String applicationName)
      Returns all keys that are stored
      Parameters:
      userId - The id of the user, not null.
      applicationName - The name of the application, not null.
      Returns:
      The available keys
    • retrieveValue

      Serializable retrieveValue(String userId, String applicationName, String key)
      Retrieves the stored value for the given key
      Parameters:
      userId - The id of the user, not null.
      applicationName - The name of the application, not null.
      key - The key for the stored value
      Returns:
      The stored value for this key
    • storeValue

      void storeValue(String userId, String applicationName, String key, Serializable value)
      Stores a value for the given key
      Parameters:
      userId - The id of the user, not null.
      applicationName - The name of the application, not null.
      key - The key for the stored value
      value - The value to be stored
    • deleteValue

      void deleteValue(String userId, String applicationName, String key)
      Deletes the value for the given key
      Parameters:
      userId - The id of the user, not null.
      applicationName - The name of the application, not null.
      key - The key for the value to delete