storeState - If true, the current state Entity.getPersistentState() will be stored for future diffing.
Note that, if false, the Entity will always be seen as changed.
Returns:
Returns a CachedEntity instance, which can be enriched later on.
Returns all CachedEntity instances for the given type.
The difference with findInCache(Class) is that here the whole CachedEntity
is returned, which gives access to the persistent state at the moment of putting it in the cache.