jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <mreut...@adobe.com.INVALID>
Subject Re: modify the content of a NodeStore using the API
Date Thu, 11 Jan 2018 09:03:54 GMT
Hi,

On 10/01/18 19:34, Marco Piovesana wrote:
> I tried to create a custom VersionHook with no version providers, then
> I created the Oak object with that hook, but it did not work.
> It fails inside NodeDelegate.isProtected when checking if is a
> protected type. Did I do something wrong?

This means you are using the JCR API, which protects the version store. 
The next lower layer is the Oak API. The entry point is the 
ContentRepository:

ContentRepository repo = new Oak(nodeStore).createContentRepository();

Regards
  Marcel

Mime
View raw message