Hello,

Currently we’re trying to integrate Apache OAK within our project.
We using a hierarchy of nodes and a node can have different kind of properties 
(that’s why we’re using node type nt:unstructured)

Some simple example structure:

  *   Music (nt:unstructured, no actual properties)
     *   Rock (nt:unstructured, no actual properties)
        *   Metallica (nt:unstructured, with a lot of properties, including 
binaries)
        *   U2 (nt:unstructured, with a lot of properties, including binaries)



Some scenario’s

  *   Editing the node U2 and adding / updating some properties (should result 
in a new version)
  *   Move the node U2 to a different hierarchy (Should be able restore it)
  *   Remove some of the node
  *   Versioning the complete music tree with my own label (used 
versionhistory.addVersionLabel())
  *   Restore a complete or part of the tree
  *   Restore a node to a specific version

Now I’ve some questions about versioning and restoring:

  *   Is the nt:unstructured the best node type or should I use another one for 
instance nt:folder, nt:file (may be create my own)
  *   Nt:unstructured used OPV version. When I use 
versionhistory.getVersionByLabel() than the child information contains 
‘jcr:childVersionHistory’. This child information points to a node. But in my 
case this node is no longer retrieval because it has been deleted. Is in this 
case better to use a node type with OPV Copy
  *   Restore by label is currently not implemented by OAK. Does anyone know 
about some example of restoring (part of) tree based on a label.

Thanx, for all information. May be I missed some documentation

Richard


Reply via email to