protected void doAdd ( final ItemData item , final WorkspaceStorageConnection con , final Set < QPath > addedNodes , ChangedSizeHandler sizeHandler ) throws RepositoryException , InvalidItemStateException { if ( item . isNode ( ) ) { final NodeData node = ( NodeData ) item ; checkSameNameSibling ( node , con , addedNodes ) ; addedNodes . add ( node . getQPath ( ) ) ; con . add ( node ) ; } else { con . add ( ( PropertyData ) item , sizeHandler ) ; } }
Performs actual item data adding .