[ 
https://issues.apache.org/jira/browse/JCR-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090167#comment-13090167
 ] 

Michael Dürig commented on JCR-3060:
------------------------------------

With the patch the node types have to be specified explicitly. Wouldn't it make 
sense to extend this such that when no node type (intermediate node type) is 
specified, the type is determined by the child node definitions in the node 
types of its parent? See  Node.addNode(String) [1] 

[1] 
http://www.day.com/maven/jsr170/javadocs/jcr-2.0/javax/jcr/Node.html#addNode%28java.lang.String%29

> Add utility methods for path creation
> -------------------------------------
>
>                 Key: JCR-3060
>                 URL: https://issues.apache.org/jira/browse/JCR-3060
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-commons
>    Affects Versions: 2.2.7
>            Reporter: Carsten Ziegeler
>            Priority: Minor
>         Attachments: JcrUtils.java.patch
>
>
> While the JcrUtil class has methods to create a node, it does not have 
> methods to create paths.
> This patch adds several methods which allow to create or get complete node 
> paths

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to