I've a node which type is "nt:resource" and mixing "mix:versionable".
When I do:
VersionHistory vh = contentNodeOld.getVersionHistory();
Version ver = vh.getVersion("1.0");
Node frozenNodeOld = ver.getNode("jcr:frozenNode");
for (PropertyIterator pit = frozenNodeOld.getProperties();
pit.hasNext(); ) {
log.info(" PROPERTY : "+pit.nextProperty().getName());
}
All "nt:resource" properties are shown, but not "jcr:lastModified". This
is the right behaviour?
NOTE: Tested on Jackrabbit 1.3.3.
--
GIT CONSULTORS
www.git.es
Tel: +34 971 498 310
Fax: +34 971 496 189
C/ Francesc Rover, 2B.
07003 Palma de Mallorca – Illes Balears (España)