jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@adobe.com>
Subject Re: get user who created the version
Date Thu, 10 Jan 2013 17:23:10 GMT
On 10.01.2013, at 16:27, aleamb <aambroa@albaelectronica.com> wrote:

> I don't understand why JSR-282 orjackrabbit do not consider an attribute for
> storing user id for a nt:version node. It is very useful for version
> management.

You can quite easily set any desired properties before you do a checkin(), something like

node.setProperty("lastCheckedInBy", session.getUserID());

I guess in general, the spec decided to minimize the number of properties that get autocreated
to avoid polluting content if you don't need it.


View raw message