code: public ItemData getItemData(final NodeData parentData, final QPathEntry name, final ItemType itemType,
        final boolean createNullItemData) throws RepositoryException
     {
        if (cache.isEnabled())
        {
           // 1. Try from cache
           ItemData data = getCachedCleanItemData(parentData, name, itemType);
  
           // 2. Try from container
           if (data == null)
           {
              final DataRequest request = new DataRequest(parentData.getIdentifier(), name);
  
              try
              {
                 request.start();
                 // Try first to get the value from the cache since a
                 // request could have been launched just before
                 data = getCachedCleanItemData(parentData, name, itemType);
                 if (data == null)
                 {
                    data = executeAction(new PrivilegedExceptionAction<ItemData>()
                    {
                       public ItemData run() throws RepositoryException
                       {
                          return getPersistedItemData(parentData, name, itemType, createNullItemData);
                       }
                    });
                 }
              }
              finally
              {
                 request.done();
              }
           }
  
           if (data instanceof NullItemData)
           {
              return null;
           }
  
           if (data != null && !data.isNode())
           {
              fixPropertyValues((PropertyData)data);
           }
  
           return data;
        }
        else
        {
           return executeAction(new PrivilegedExceptionAction<ItemData>()
           {
              public ItemData run() throws RepositoryException
              {
                 ItemData item = CacheableWorkspaceDataManager.super.getItemData(parentData, name, itemType);
                 return item != null && item.isNode() ? initACL(parentData, (NodeData)item) : item;
              }
           });
        }
     }
docs: {@inheritDoc}