You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2014/03/26 16:43:15 UTC

[jira] [Updated] (OAK-1489) ValueImpl should implement JackrabbitValue

     [ 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)