jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (JCR-3060) Add utility methods for path creation
Date Wed, 24 Aug 2011 12:29:29 GMT

    [ 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

       

Mime
View raw message