Interface IUserScopeDao
- All Known Implementing Classes:
NullUserScopeDao
public interface IUserScopeDao
Dao interface for the user scope.
- Since:
- 9.4
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteValue
(String userId, String applicationName, String key) Deletes the value for the given keyString[]
retrieveKeys
(String userId, String applicationName) Returns all keys that are storedretrieveValue
(String userId, String applicationName, String key) Retrieves the stored value for the given keyvoid
storeValue
(String userId, String applicationName, String key, Serializable value) Stores a value for the given key
-
Method Details
-
retrieveKeys
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
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
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 valuevalue
- The value to be stored
-
deleteValue
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
-