Interface CachedUserModel

All Superinterfaces:
RoleMapperModel, UserModel
All Known Implementing Classes:
UserAdapter

public interface CachedUserModel extends UserModel
Cached users will implement this interface
Version:
$Revision: 1 $
Author:
Bill Burke
  • Method Details

    • getDelegateForUpdate

      UserModel getDelegateForUpdate()
      Invalidates the cache for this user and returns a delegate that represents the actual data provider
      Returns:
    • isMarkedForEviction

      boolean isMarkedForEviction()
    • invalidate

      void invalidate()
      Invalidate the cache for this model
    • getCacheTimestamp

      long getCacheTimestamp()
      When was the model was loaded from database.
      Returns:
    • getCachedWith

      ConcurrentMap getCachedWith()
      Returns a map that contains custom things that are cached along with this model. You can write to this map.
      Returns: