Message targets used in CMS

This page descibes the construction of message target excepted according to the type of target :

  1. CONTENT
  2. PAGE
  3. RESOURCE-EXPLORER-NODE
  4. RESOURCE
CONTENT

TODO

PAGE

Event

Event parameters

Target parameters

selectionChanged

-

page
id
parentId
name
title
lang
siteName
siteId
type
[template]
[zonename]

TODO

RESOURCE-EXPLORER-NODE

This target represents a explorer node. It can be a folder, calendar, or other application.

Event

Event parameters

Target parameters

selectionChanged

-

resource-explorer-node
id
applicationId
rootID

created

parentID
rootID

resource-explorer-node
id
applicationId

deleted

parentID
rootID

resource-explorer-node
id
applicationId

moved

parentID
rootID

resource-explorer-node
id
applicationId

metadataChanged

parentID
rootID

resource-explorer-node
id
applicationId

id : The id of the resource explorer node (ex: resource-collection://o4gjsks-hjkfhdk-456fff-sdf111s-fsklh)

applicationId : The id of the application linked to the explorer node (ex: org.ametys.plugins.explorer.applications.Resources)

rootID: The id of the root node of the tree

parentID: The parent node id of the created, deleted, moved node

RESOURCE

This target representes a child of a folder node.

A resource is linked to an explorer node

The event of selection have to contain the parent explorer node. The selected resource appears as a subtarget of its parents explorer node.

Event

Event parameters

Target parameters

selectionChanged

-

resource-explorer-node
id
applicationId
rootID
    resource
    id

created

parentID
rootID

resource
id

deleted

parentID
rootID

resource
id

moved

parentID
rootID

resource
id

metadataChanged

parentID
rootID

resource
id