jackrabbit-dev mailing list archives

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

    [ 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

        

Mime
View raw message