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

Michael Dürig resolved OAK-1489.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.20
         Assignee: Michael Dürig

Applied patch at http://svn.apache.org/r1583285. 

> 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
>            Assignee: Michael Dürig
>             Fix For: 0.20
>
>         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