[Yanel-dev] set last modified
simon
simon at 333.ch
Tue Mar 8 03:18:35 EST 2016
Dear all
I'm looking for some way to implement something like 'touch'. I would
like to programmatically update a nodes last modified.
i actually thought it could work like this:
Repository repository = manager.getRealm().getRepository();
Node node = repository.getNode(yarepPath);
node.setProperty(AbstractNode.PROPERTY_CHECKIN_DATE, new
Date());
But this doesn't seem to work.
could someone give me a hint how to do this.
Thanks in advance.
Cheers
Simon
--
TEIL3
Vulkanstrasse 114
8048 Zürich
www.teil3.ch
More information about the Yanel-development
mailing list