code: protected ItemData getCachedItemData(String identifier) throws RepositoryException
     {
        return cache.isEnabled() ? cache.get(identifier) : null;
     }
docs: Returns an item from cache by Identifier or null if the item don't cached.
  
  @param identifier
  Item id
  @return ItemData
  @throws RepositoryException
  error