public void add(NodeData data) throws RepositoryException, UnsupportedOperationException, InvalidItemStateException,
      IllegalStateException
   {
      checkIfOpened();
      try
      {
         addNodeRecord(data);
         if (LOG.isDebugEnabled())
         {
            LOG.debug("Node added " + data.getQPath().getAsString() + ", " + data.getIdentifier() + ", "
               + data.getPrimaryTypeName().getAsString());
         }
      }
      catch (SQLException e)
      {
         if (LOG.isDebugEnabled())
         {
            LOG.error("Node add. Database error: " + e);
         }

         exceptionHandler.handleAddException(e, data);
      }
   }
public void add ( NodeData data ) throws RepositoryException , UnsupportedOperationException , InvalidItemStateException , IllegalStateException { checkIfOpened ( ) ; try { addNodeRecord ( data ) ; if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "Node added " + data . getQPath ( ) . getAsString ( ) + ", " + data . getIdentifier ( ) + ", " + data . getPrimaryTypeName ( ) . getAsString ( ) ) ; } } catch ( SQLException e ) { if ( LOG . isDebugEnabled ( ) ) { LOG . error ( "Node add. Database error: " + e ) ; } exceptionHandler . handleAddException ( e , data ) ; } }
{@inheritDoc}