jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikas Saurabh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-1489) ValueImpl should implement JackrabbitValue
Date Tue, 04 Mar 2014 10:31:22 GMT
Vikas Saurabh created OAK-1489:

             Summary: 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

For some reason, I need to get to datastore id. With JR2 (in sling env) I could do:
String id  = null;
Value v = resource.adaptTo(Value.class);
if(v instanceof JackrabbitValue) {
   id = ((JackrabbitValue)v).getContentIdentity();

This message was sent by Atlassian JIRA

View raw message