code: public ItemData getItemData(String identifier, boolean checkChangesLogOnly) throws RepositoryException
     {
        if (txStarted())
        {
           ItemState state = transactionLog.getItemState(identifier);
           if (state != null)
           {
              return state.isDeleted() ? null : state.getData();
           }
        }
  
        return (checkChangesLogOnly) ? null: storageDataManager.getItemData(identifier);
  
     }
docs: Return item data by identifier in this transient storage then in storage container.
  
  @param identifier
  @param checkChangesLogOnly
  @return existed item data or null if not found
  @throws RepositoryException
  @see org.exoplatform.services.jcr.dataflow.ItemDataConsumer#getItemData(java.lang.String)