Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In Magnolia we define custom node types that define Magnolia's custom content model. The JCR in turn enforces the constraints of that model at the repository level. If you need to reference JCR node types in your code, Jackrabbit's JcrConstants is useful. We provide constants also for Magnolia's custom node types but also convenience methods. For example, to update the last modification date of a node, use the NodeTypes.LastModified.update(node) convenience method. Magnolia node types are registered by the 

Javadoc
rangeHigherVersion6.0
classNameinfo.magnolia.jcr.util.NodeTypes
renderTypeasynchronous
 Java class.

Table of Contents

...