code: @Override
     public void add(PropertyData data, ChangedSizeHandler sizeHandler) throws RepositoryException,
        UnsupportedOperationException, InvalidItemStateException, IllegalStateException
     {
        currentItem = data;
        try
        {
           setOperationType(TYPE_ADD);
           super.add(data, sizeHandler);
        }
        finally
        {
           currentItem = null;
        }
     }
docs: {@inheritDoc}