DAM workspace structure
Magnolia (DAM 2.0) includes a single implementation of the
info.magnolia.dam.api.AssetProvider interface
(info.magnolia.dam.jcr.JcrAssetProvider) that facilitates
working with Assets
stored in the dam
workspace: This page provides
the details of this implementation.
Workspace structure and node definitions
Here is the hierarchical structure of the dam
workspace:
-
mgnl:folder (nt:folder)
-
mgnl:asset (nt:file)
description
title
…
-
`mgnl:resource (nt:resource)
jcr:data (type="Binary") size ...`
-
-
mgnl:asset (nt:file)
-
…
-
Refer to |
Asset to JCR node mapping
Node | Property | Asset Getter | Description |
---|---|---|---|
|
(not related to a property |
|
JCR |
|
|
|
String representation of local ISO 639. |
|
(not related to a property |
|
Composite Id build using |
|
|
|
Title of the |
|
|
|
Subject of the |
|
|
|
Description of the |
|
|
|
Caption of the |
|
|
|
Copyright of the |
|
|
|
Comment defined on the |
|
|
|
Last modification date of the |
|
|
|
Mime Type of the |
|
|
|
File extension of the |
|
|
|
File name of the Asset. This field includes the file extension `me.tif'. :star: |
|
|
|
Size of the |
|
|
|
|
|
(not related to a property) |
|
|
|
(not related to a property) |
|
The related |
|
(not related to a property) |
|
Returns the parent |
|
(not related to a property) |
|
Returns |
|
(not related to a property) |
|
Returns |
These fields are required to be at this node level hierarchy (
|
Folder to JCR node mapping
Node | Property | Asset Getter | Description |
---|---|---|---|
|
(not related to a property |
|
JCR |
|
(not related to a property) |
|
|
|
(not related to a property) |
|
Composite Id built using |
|
(not related to a property) |
|
Returns the item directly under this folder with the given name. |
|
(not related to a property) |
|
Returns an iterator over the direct elements under this folder. Returns
both |
|
(not related to a property) |
|
Returns |
|
(not related to a property) |
|
Returns the related |
|
(not related to a property) |
|
Returns the parent |
|
(not related to a property) |
|
Returns |
|
(not related to a property) |
|
Returns |
AssetMetadata to JCR node mapping
MagnoliaAssetMetadata
Node | Property Name | Asset Getter | Description |
---|---|---|---|
|
|
|
File
height of the |
|
|
|
File width
of the |
DublinCore
For more Information see Dublin Core Metadata Element Set.
Node | Property | Asset Getter | Description |
---|---|---|---|
|
|
|
The returned value is equivalent to |
|
|
|
The returned value is equivalent to |
|
|
|
The returned value is equivalent to |
|
|
|
The returned value is equivalent to |
|
|
|
The returned value is equivalent to |
|
|
|
The returned value is equivalent to |
|
(not related to a property |
|
The returned value is equivalent to |
|
|
|
The entity primarily responsible for making the resource. |
|
|
|
The returned value is equivalent to |
|
|
|
The entity responsible for making contributing to the resource. |
|
|
|
The spatial or temporal topic of the resource, the spatial
applicability |
|
|
|
The entity responsible for making the resource available. |
|
|
|
A related resource. |
|
|
|
A related resource from which the described resource is derived. |
|
|
|
The returned value is equivalent to |