> 1) should be fairly easy to do - you can call ContentManager.addPage() to
> get a valid, unsaved WikiPage, which won't be persisted until you call
> save().  It does not matter that multiple Sessions call addPage() either,
> since possible conflicts aren't checked until persistence time.  It's also a
> fairly lightweight operation, since at least in Priha, Nodes are small.

The JCR Javadocs seem to be ambiguous about whether nodes are
persisted when they are created, but they are very clear that they
must be persisted when Node.save() is called. I did, indeed, just need
to call ContentManager.addPage(). Seems to work just dandy.

Reply via email to