ContentRepositoryIntegrationService
class ContentRepositoryIntegrationService extends AbstractIntegrationService (View source)
Monitors Neos.ContentRepository changes
Constants
NODE_ADDED |
|
NODE_UPDATED |
|
NODE_LABEL_CHANGED |
|
NODE_REMOVED |
|
DOCUMENT_PUBLISHED |
|
NODE_COPY |
|
NODE_MOVE |
|
NODE_ADOPT |
|
Properties
protected EventEmittingService | $eventEmittingService | from AbstractIntegrationService | |
protected EntityManagerInterface | $entityManager | ||
protected PersistenceManagerInterface | $persistenceManager | ||
protected array | $changedNodes | ||
protected array | $currentNodeAddEvents | ||
protected bool | $currentlyCopying | ||
protected bool | $currentlyMoving | ||
protected int | $currentlyAdopting | ||
protected array | $scheduledNodeEventUpdates |
Methods
React on the Doctrine preFlush event and trigger the respective internal node events
Emit a "Node Added" event
Add the created node to the previously created "Added Node" event
Emit an event when node properties have been changed
Add the new label to a previously created node property changed event
Emits a "Node Copy" event
Emits a "Node Move" event
No description
No description
Binds events to a Node.Published event for each document node published
No description
Details
void
preFlush()
React on the Doctrine preFlush event and trigger the respective internal node events
void
beforeNodeCreate()
Emit a "Node Added" event
void
afterNodeCreate(NodeInterface $node)
Add the created node to the previously created "Added Node" event
void
nodeUpdated(NodeInterface $node)
Emit a "Node Updated" event
void
beforeNodePropertyChange(NodeInterface $node, $propertyName, $oldValue, $value)
Emit an event when node properties have been changed
void
nodePropertyChanged(NodeInterface $node, $propertyName, $oldValue, $value)
Add the new label to a previously created node property changed event
void
nodeRemoved(NodeInterface $node)
Emits a "Node Removed" event
void
beforeNodePublishing(NodeInterface $node, Workspace $targetWorkspace)
No description
void
beforeNodeCopy(NodeInterface $sourceNode, NodeInterface $targetParentNode)
Emits a "Node Copy" event
void
afterNodeCopy(NodeInterface $copiedNode, NodeInterface $targetParentNode)
No description
beforeNodeMove(NodeInterface $movedNode, NodeInterface $referenceNode, int $moveOperation)
Emits a "Node Move" event
void
afterNodeMove(NodeInterface $movedNode, NodeInterface $referenceNode, int $moveOperation)
No description
void
beforeAdoptNode(NodeInterface $node, Context $context, $recursive)
Emits a "Node Adopt" event
void
afterAdoptNode(NodeInterface $node, Context $context, $recursive)
No description
void
generateNodeEvents()
No description
void
afterNodePublishing(NodeInterface $node, Workspace $targetWorkspace)
No description
void
updateEventsAfterPublish()
Binds events to a Node.Published event for each document node published
void
reset()
No description