[
https://issues.apache.org/jira/browse/JCR-3998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15384174#comment-15384174
]
Davide Giannella commented on JCR-3998:
---------------------------------------
Don't know if it's a good place to change adding any oak specific
method. Adding some code that uses oak specifc node type in JR sounds
like a circular reference. In order to work the method will have to
have an oak node type registration and in oak we use jcr-commons as a
dependency.
Wouldn't it make more sense to create an oak specific class; let's say
{{JcrOakUtils}} in {{oak-commons}} and add such method in there?
Then we could create in there any method such
{{JcrOakUtils.putNonReferenceableFile(...)}} (quite a long method
name).
> New putFile method which uses non referenceable oak:Resource nodetype
> ---------------------------------------------------------------------
>
> Key: JCR-3998
> URL: https://issues.apache.org/jira/browse/JCR-3998
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-jcr-commons
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Fix For: 2.13.2
>
>
> With OAK-4567 a new oak:Resource type is being introduced which is a
> replacement for nt:resource for cases where referenceable nodes are not
> required.
> To make use of that we should add new variants of putFile in JcrUtil which
> make use of that
> See also http://jackrabbit-oak.markmail.org/thread/qicpzm5ltnzfsd42
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)