[ 
https://issues.apache.org/jira/browse/OAK-1489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Dürig updated OAK-1489:
-------------------------------

    Attachment: OAK-1489.patch

Proposed patch. [~tmueller] as you were involved in JCR-1892, could you review 
the patch. Is this the right thing to do?

> ValueImpl should implement JackrabbitValue
> ------------------------------------------
>
>                 Key: OAK-1489
>                 URL: https://issues.apache.org/jira/browse/OAK-1489
>             Project: Jackrabbit Oak
>          Issue Type: Wish
>          Components: core
>            Reporter: Vikas Saurabh
>         Attachments: OAK-1489.patch
>
>
> For some reason, I need to get to datastore id. With JR2 (in sling env) I 
> could do:
> {code}
> String id  = null;
> Value v = resource.adaptTo(Value.class);
> if(v instanceof JackrabbitValue) {
>    id = ((JackrabbitValue)v).getContentIdentity();
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to