Class BaseUserPreferencesCacheService

    • Constructor Detail

      • BaseUserPreferencesCacheService

        public BaseUserPreferencesCacheService()
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the Service name
        Returns:
        The name as a String
      • getCacheKey

        public java.lang.String getCacheKey​(java.lang.String strUserId,
                                            java.lang.String strKey)
        Get the key in the cache of a preference of a user
        Parameters:
        strUserId - The id of the user
        strKey - The preference key
        Returns:
        The key in the cache of the preference of the user
      • removeCacheValuesOfUser

        public void removeCacheValuesOfUser​(java.lang.String strUserId)
        Remove every values stored in cache for a given user
        Parameters:
        strUserId - The user id to remove from cache