Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: MOTION-91, fix a link to magnolia-nodetypes.xml

...

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

...

Code Pro
languagexml
titlemagnolia-nodetypes.xml
collapsetrue
urlhttps://git.magnolia-cms.com/projects/PLATFORM/repos/main.pub/browseraw/magnolia-core/src/main/resources/mgnl-nodetypes/magnolia-nodetypes.xml?at=master&rawrefs%2Ftags%2Fmagnolia-5.7.4

These types are required for the basic features of Magnolia to function: configuration, page-editing and rendering as well as activation from author to public (which relies on versioning).

Notation

Description

mgnl:area

Area

mgnl:component

Component

mgnl:content

Activatable and versionable content objects such as pages.

mgnl:contentNode

Activatable but not versionable content objects which can be rendered independently. For example, blocks or objects below page level such as such as area or component.

mgnl:folder

Folder

mgnl:group

Group

mgnl:metaData

Metadata

mgnl:nodeData

Property

mgnl:page

Page

mgnl:reserve

Reserved for system use.

mgnl:resource

Resource
mgnl:role Role

mgnl:user

User

...