Notification data source

The notification data source provides a list of system notifications of a given type.

The notification data source is part of the Magnolia 6 UI framework. The fully qualified class name is info.magnolia.admincentral.apps.notifications.NotificationDataSourceDefinition.

If you work with the Magnolia 5 UI framework, see Content connector instead.

Example definition

datasource:
  class: info.magnolia.admincentral.apps.notifications.NotificationDataSourceDefinition

List of properties

Property Description

class

required

Fully qualified name of the definition class. Use info.magnolia.admincentral.apps.notifications.NotificationDataSourceDefinition.

name

optional, default is notifications

Name of the data source.

Data source components

Module component mappings can be defined in the context of the current data source (a component section should have an id in the form of <id>datasource-<ds-name></id>, where <ds-name> is configured in the definition).

Type Implementation Description

info.magnolia.ui.datasource.PropertySetFactory

info.magnolia.admincentral.apps.notifications.NotificationPropertySetFactory

Reads and writes properties from/to item in form.

info.magnolia.ui.datasource.ItemResolver

info.magnolia.admincentral.apps.notifications.NotificationItemResolver

Converts path to actual item and back.

info.magnolia.ui.contentapp.ItemDescriber

info.magnolia.admincentral.apps.notifications.NotificationItemDescriber

Displays description for selected item(s) at the bottom of app.

info.magnolia.ui.contentapp.browser.ItemInteractionAvailability

info.magnolia.admincentral.apps.notifications.NotificationInteractionAvailability

Checks whether item is available for interaction (selection, editing, etc).

info.magnolia.ui.observation.DatasourceObservation

info.magnolia.admincentral.apps.notifications.NotificationDataSourceObservation

Observation utility wrapper used in UI framework.

info.magnolia.ui.contentapp.browser.ListPresenter

info.magnolia.admincentral.apps.notifications.NotificationListPresenter

Displays items as list.

Component mappings in module descriptor
<components>
  <id>datasource-notifications</id>
  <component>
    <type>info.magnolia.ui.datasource.PropertySetFactory</type>
    <implementation>info.magnolia.admincentral.apps.notifications.NotificationPropertySetFactory</implementation>
  </component>
  <component>
    <type>info.magnolia.ui.datasource.ItemResolver</type>
    <implementation>info.magnolia.admincentral.apps.notifications.NotificationItemResolver</implementation>
  </component>
  <component>
    <type>info.magnolia.ui.contentapp.ItemDescriber</type>
    <implementation>info.magnolia.admincentral.apps.notifications.NotificationItemDescriber</implementation>
  </component>
  <component>
    <type>info.magnolia.ui.contentapp.browser.ItemInteractionAvailability</type>
    <implementation>info.magnolia.admincentral.apps.notifications.NotificationInteractionAvailability</implementation>
  </component>
  <component>
    <type>info.magnolia.ui.observation.DatasourceObservation</type>
    <implementation>info.magnolia.admincentral.apps.notifications.NotificationDataSourceObservation</implementation>
  </component>
  <type-mapping>
    <type>info.magnolia.ui.contentapp.browser.ListPresenter</type>
    <implementation>info.magnolia.admincentral.apps.notifications.NotificationListPresenter</implementation>
  </type-mapping>
</components>
Feedback

DX Core

×

Location

This widget lets you know where you are on the docs site.

You are currently perusing through the DX Core docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules