hi tommaso from a JCR layer point of view it's the same behaviour. as of Oak you could (at least in theory) also use the Oak API to add content to the repository... the relevant validation is expected to still be performed.
kind regards angela On 21/01/15 09:28, "Tommaso Teofili" <[email protected]> wrote: >hi Angela, > > >thanks for your answer, is it different in Oak? Or is there something >more one can do? > > >Thanks, >Tommaso > > >2015-01-20 18:42 GMT+01:00 Angela Schreiber ><[email protected]>: > >hi tommaso > >in jackrabbit 2.x the only way you can achieve this >afaik is by running an xml import. > >regards >angela > >On 16/01/15 09:21, "Tommaso Teofili" <[email protected]> wrote: > >>Hi all, >> >> >>for a use case I'm working on I am in need of triggering a user addition >>to a certain group having the WeakReference string of that user. >> >> >>E.g. group 'foo' has its rep:members property set to an array of >>WeakReference : [111-111-111-111,222-222-222-222] and I'd like to be able >>to add the user referenced by 333-333-333-333 programmatically so that >>the rep:members would then look like [111-111-111-111,222-222-222-222, >>333-333-333-333 ] . >> >> >>Is that possible? And what would be the best API to accomplish that? >> >> >>Thanks in advance, >>Tommaso >> > > > > > > > >
