You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Stefan Guggisberg (JIRA)" <ji...@apache.org> on 2011/08/24 11:45:29 UTC

[jira] [Commented] (JCR-3060) Add utility methods for path creation

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

Stefan Guggisberg commented on JCR-3060:
----------------------------------------

the method names are IMO misleading (createPath suggests that a Path object is created).

how about e.g.

- getOrCreateNode
- getOrCreateByPath


> 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