Creates a new node at
relPath
of the node type, uuid and eventual mixin types stored in the frozen node. The same as
{@link #addNode(String relPath)}
except that the primary node type type, the uuid and evt. mixin type of the new node is explictly specified in the nt:frozen node.
@param name The name of the new
Node
that is to be created.
@param frozen The frozen node that contains the creation information
@return The node that was added.
@throws ItemExistsException If an item at thespecified path already exists(and same-name siblings are not allowed).
@throws PathNotFoundException If specified path implies intermediary
Node
s that do not exist.
@throws NoSuchNodeTypeException If the specified
nodeTypeName
is not recognized.
@throws ConstraintViolationException If an attempt is made to add a node as thechild of a
Property
@throws RepositoryException if another error occurs.