Class NullUserScopeDao
java.lang.Object
com.aquima.interactions.userscope.dao.impl.NullUserScopeDao
- All Implemented Interfaces:
IUserScopeDao
- Since:
- 11.0
- Author:
- Mihai Bob
-
Constructor Summary
Constructors -
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
-
Constructor Details
-
NullUserScopeDao
public NullUserScopeDao()
-
-
Method Details
-
retrieveKeys
Description copied from interface:IUserScopeDao
Returns all keys that are stored- Specified by:
retrieveKeys
in interfaceIUserScopeDao
- Parameters:
userId
- The id of the user, not null.applicationName
- The name of the application, not null.- Returns:
- The available keys
-
retrieveValue
Description copied from interface:IUserScopeDao
Retrieves the stored value for the given key- Specified by:
retrieveValue
in interfaceIUserScopeDao
- 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
Description copied from interface:IUserScopeDao
Stores a value for the given key- Specified by:
storeValue
in interfaceIUserScopeDao
- 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
Description copied from interface:IUserScopeDao
Deletes the value for the given key- Specified by:
deleteValue
in interfaceIUserScopeDao
- 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
-