public ItemImpl getItem(NodeData parent, QPathEntry name, boolean pool, ItemType itemType, boolean apiRead,
      boolean createNullItemData)
      throws RepositoryException
   {
      long start = 0;
      if (LOG.isDebugEnabled())
      {
         start = System.currentTimeMillis();
         LOG.debug("getItem(" + parent.getQPath().getAsString() + " + " + name.getAsString() + " ) >>>>>");
      }

      ItemImpl item = null;
      try
      {
         return item = readItem(getItemData(parent, name, itemType, createNullItemData), parent, pool, apiRead);
      }
      finally
      {
         if (LOG.isDebugEnabled())
         {
            LOG.debug("getItem(" + parent.getQPath().getAsString() + " + " + name.getAsString() + ") --> "
               + (item != null ? item.getPath() : "null") + " <<<<< " + ((System.currentTimeMillis() - start) / 1000d)
               + "sec");
         }
      }
   }
public ItemImpl getItem ( NodeData parent , QPathEntry name , boolean pool , ItemType itemType , boolean apiRead , boolean createNullItemData ) throws RepositoryException { long start = 0 ; if ( LOG . isDebugEnabled ( ) ) { start = System . currentTimeMillis ( ) ; LOG . debug ( "getItem(" + parent . getQPath ( ) . getAsString ( ) + " + " + name . getAsString ( ) + " ) >>>>>" ) ; } ItemImpl item = null ; try { return item = readItem ( getItemData ( parent , name , itemType , createNullItemData ) , parent , pool , apiRead ) ; } finally { if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "getItem(" + parent . getQPath ( ) . getAsString ( ) + " + " + name . getAsString ( ) + ") --> " + ( item != null ? item . getPath ( ) : "null" ) + " <<<<< " + ( ( System . currentTimeMillis ( ) - start ) / 1000d ) + "sec" ) ; } } }
For internal use. Return Item by parent NodeDada and the name of searched item.

@param parent
- parent of the searched item
@param name
- item name
@param itemType
- item type
@param pool
- indicates does the item fall in pool
@param apiRead
- if true will call postRead Action and check permissions
@param createNullItemData
- defines if there is a need to create NullItemData

@return existed item or null if not found
@throws RepositoryException