Interface NodeSequence

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Node addNode​(java.lang.String key, java.lang.String primaryNodeTypeName)
      Add a with the given key and primary node type name.
      void removeNode​(java.lang.String key)
      Remove the node with the given key.
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • addNode

        Node addNode​(java.lang.String key,
                     java.lang.String primaryNodeTypeName)
              throws RepositoryException
        Add a with the given key and primary node type name.
        Parameters:
        key - key of the node to add
        primaryNodeTypeName - primary node type of the node to add
        Returns:
        the newly added node
        Throws:
        RepositoryException
      • removeNode

        void removeNode​(java.lang.String key)
                 throws RepositoryException
        Remove the node with the given key.
        Parameters:
        key - The key of the node to remove
        Throws:
        RepositoryException - If there is no node with such a key or another error occurs.