Class NullUserScopeDao

java.lang.Object
com.aquima.interactions.userscope.dao.impl.NullUserScopeDao
All Implemented Interfaces:
IUserScopeDao

public class NullUserScopeDao extends Object implements IUserScopeDao
Since:
11.0
Author:
Mihai Bob
  • Constructor Details

    • NullUserScopeDao

      public NullUserScopeDao()
  • Method Details

    • retrieveKeys

      public String[] retrieveKeys(String userId, String applicationName)
      Description copied from interface: IUserScopeDao
      Returns all keys that are stored
      Specified by:
      retrieveKeys in interface IUserScopeDao
      Parameters:
      userId - The id of the user, not null.
      applicationName - The name of the application, not null.
      Returns:
      The available keys
    • retrieveValue

      public Serializable retrieveValue(String userId, String applicationName, String key)
      Description copied from interface: IUserScopeDao
      Retrieves the stored value for the given key
      Specified by:
      retrieveValue in interface IUserScopeDao
      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

      public void storeValue(String userId, String applicationName, String key, Serializable value)
      Description copied from interface: IUserScopeDao
      Stores a value for the given key
      Specified by:
      storeValue in interface IUserScopeDao
      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

      public void deleteValue(String userId, String applicationName, String key)
      Description copied from interface: IUserScopeDao
      Deletes the value for the given key
      Specified by:
      deleteValue in interface IUserScopeDao
      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