private void reloadDescendants(QPath parentOld, QPath parent) throws RepositoryException
   {
      List<ItemImpl> items = itemsPool.getDescendats(parentOld);

      for (ItemImpl item : items)
      {
         ItemData oldItemData = item.getData();

         ItemData newItemData = updatePath(parentOld, parent, oldItemData);

         ItemImpl reloadedItem = reloadItem(newItemData);
         if (reloadedItem != null)
         {
            invalidated.add(reloadedItem);
         }
      }
   }
private void reloadDescendants ( QPath parentOld , QPath parent ) throws RepositoryException { List < ItemImpl > items = itemsPool . getDescendats ( parentOld ) ; for ( ItemImpl item : items ) { ItemData oldItemData = item . getData ( ) ; ItemData newItemData = updatePath ( parentOld , parent , oldItemData ) ; ItemImpl reloadedItem = reloadItem ( newItemData ) ; if ( reloadedItem != null ) { invalidated . add ( reloadedItem ) ; } } }
Reload item's descendants in item reference pool

@param parentOld old item's QPath to get descendants out of item reference pool
@param parent new item's QPath to set for reloaded descendants
@throws RepositoryException