Magnolia 5.6 reached end of life on June 25, 2020. This branch is no longer supported, see End-of-life policy.
...
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 | ||||||
---|---|---|---|---|---|---|
|
Table of Contents |
---|
...
Notation | Description |
---|---|
| Area |
| Component |
| Activatable and versionable content objects such as pages. |
| 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. |
| Folder |
| Group |
| Metadata |
| Property |
| Page |
| Reserved for system use. |
| Resource |
mgnl:role | Role |
| User |
...
Notation | Properties | Description |
---|---|---|
|
| Date the node was deleted, the user who deleted it and the deletion comment. |
mgnl:lastModified |
| Date the node was last modified and the user who modified it. |
mgnl:activatable |
| Date the node was activated, the user who activated it and , its current activation status and – since Magnolia 5.6.1 – the version in which the node was activated. Note that on the public instance, |
mgnl:created |
| Date the node was created and the user who created it. |
mgnl:renderable | mgnl:template (STRING) | Associates a template with the node for rendering. |
mgnl:versionable | mgnl:comment (STRING) | Allows the user to leave a comment on the version. |
...
The following sections list node types that are provided by individual Magnolia modules. You can define several node types per module if you so require. Almost all the node types added inherit from mgnl:contentNode
or mgnl:content
.
Defined in magnolia-category-nodetypes.xml
.
Notation | Description |
---|---|
mgnl:category | An object containing a category. Inherits from mgnl:content . |
Defined in content-editor-nodetypes.xml
.
...
Defined in content-tags-nodetypes.xml
.
Notation | Description |
---|---|
mgnl:tag | An object containing a content tag. Inherits from mgnl:content . |
Defined in magnolia-tags-nodetypes.xml
.
Notation | Description |
---|---|
mgnl:marketing-tag | An object containing a marketing tag. Inherits from mgnl:content . |
Defined in magnolia-keystore-nodetypes.xml
.
Notation | Description |
---|---|
mgnl:password | An object containing a password. Inherits from mgnl:content . |
Hide block | ||||
---|---|---|---|---|
Personalization module
|