PHP Class Neos\Neos\EventLog\Integrations\ContentRepositoryIntegrationService

Inheritance: extends AbstractIntegrationService
Afficher le fichier Open project: neos/neos-development-collection

Protected Properties

Свойство Type Description
$changedNodes array
$currentNodeAddEvents array
$currentlyAdopting integer
$currentlyCopying boolean
$currentlyMoving boolean
$entityManager Doctrine\Common\Persistence\ObjectManager
$persistenceManager Neos\Flow\Persistence\PersistenceManagerInterface
$scheduledNodeEventUpdates array

Méthodes publiques

Méthode Description
afterAdoptNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Context $context, $recursive ) : void
afterNodeCopy ( Neos\ContentRepository\Domain\Model\NodeInterface $copiedNode, Neos\ContentRepository\Domain\Model\NodeInterface $targetParentNode ) : void
afterNodeCreate ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void Add the created node to the previously created "Added Node" event
afterNodeMove ( Neos\ContentRepository\Domain\Model\NodeInterface $movedNode, Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode, integer $moveOperation ) : void
afterNodePublishing ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Workspace $targetWorkspace ) : void
beforeAdoptNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Context $context, $recursive ) : void
beforeNodeCopy ( Neos\ContentRepository\Domain\Model\NodeInterface $sourceNode, Neos\ContentRepository\Domain\Model\NodeInterface $targetParentNode ) : void
beforeNodeCreate ( ) : void Emit a "Node Added" event
beforeNodeMove ( Neos\ContentRepository\Domain\Model\NodeInterface $movedNode, Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode, integer $moveOperation )
beforeNodePropertyChange ( Neos\ContentRepository\Domain\Model\NodeInterface $node, $propertyName, $oldValue, $value ) : void Emit an event when node properties have been changed
beforeNodePublishing ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Workspace $targetWorkspace ) : void
generateNodeEvents ( ) : void
nodePropertyChanged ( Neos\ContentRepository\Domain\Model\NodeInterface $node, $propertyName, $oldValue, $value ) : void Add the new label to a previously created node property changed event
nodeRemoved ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void Emits a "Node Removed" event
nodeUpdated ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void Emit a "Node Updated" event
preFlush ( ) : void React on the Doctrine preFlush event and trigger the respective internal node events
reset ( ) : void
updateEventsAfterPublish ( ) : void

Method Details

afterAdoptNode() public méthode

public afterAdoptNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Context $context, $recursive ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface
$context Neos\ContentRepository\Domain\Service\Context
$recursive
Résultat void

afterNodeCopy() public méthode

public afterNodeCopy ( Neos\ContentRepository\Domain\Model\NodeInterface $copiedNode, Neos\ContentRepository\Domain\Model\NodeInterface $targetParentNode ) : void
$copiedNode Neos\ContentRepository\Domain\Model\NodeInterface
$targetParentNode Neos\ContentRepository\Domain\Model\NodeInterface
Résultat void

afterNodeCreate() public méthode

Add the created node to the previously created "Added Node" event
public afterNodeCreate ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface
Résultat void

afterNodeMove() public méthode

public afterNodeMove ( Neos\ContentRepository\Domain\Model\NodeInterface $movedNode, Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode, integer $moveOperation ) : void
$movedNode Neos\ContentRepository\Domain\Model\NodeInterface
$referenceNode Neos\ContentRepository\Domain\Model\NodeInterface
$moveOperation integer
Résultat void

afterNodePublishing() public méthode

public afterNodePublishing ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Workspace $targetWorkspace ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface
$targetWorkspace Neos\ContentRepository\Domain\Model\Workspace
Résultat void

beforeAdoptNode() public méthode

public beforeAdoptNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Context $context, $recursive ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface
$context Neos\ContentRepository\Domain\Service\Context
$recursive
Résultat void

beforeNodeCopy() public méthode

public beforeNodeCopy ( Neos\ContentRepository\Domain\Model\NodeInterface $sourceNode, Neos\ContentRepository\Domain\Model\NodeInterface $targetParentNode ) : void
$sourceNode Neos\ContentRepository\Domain\Model\NodeInterface
$targetParentNode Neos\ContentRepository\Domain\Model\NodeInterface
Résultat void

beforeNodeCreate() public méthode

Emit a "Node Added" event
public beforeNodeCreate ( ) : void
Résultat void

beforeNodeMove() public méthode

public beforeNodeMove ( Neos\ContentRepository\Domain\Model\NodeInterface $movedNode, Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode, integer $moveOperation )
$movedNode Neos\ContentRepository\Domain\Model\NodeInterface
$referenceNode Neos\ContentRepository\Domain\Model\NodeInterface
$moveOperation integer

beforeNodePropertyChange() public méthode

Emit an event when node properties have been changed
public beforeNodePropertyChange ( Neos\ContentRepository\Domain\Model\NodeInterface $node, $propertyName, $oldValue, $value ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface
$propertyName
$oldValue
$value
Résultat void

beforeNodePublishing() public méthode

public beforeNodePublishing ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Workspace $targetWorkspace ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface
$targetWorkspace Neos\ContentRepository\Domain\Model\Workspace
Résultat void

generateNodeEvents() public méthode

public generateNodeEvents ( ) : void
Résultat void

nodePropertyChanged() public méthode

Add the new label to a previously created node property changed event
public nodePropertyChanged ( Neos\ContentRepository\Domain\Model\NodeInterface $node, $propertyName, $oldValue, $value ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface
$propertyName
$oldValue
$value
Résultat void

nodeRemoved() public méthode

Emits a "Node Removed" event
public nodeRemoved ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface
Résultat void

nodeUpdated() public méthode

Emit a "Node Updated" event
public nodeUpdated ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface
Résultat void

preFlush() public méthode

React on the Doctrine preFlush event and trigger the respective internal node events
public preFlush ( ) : void
Résultat void

reset() public méthode

public reset ( ) : void
Résultat void

updateEventsAfterPublish() public méthode

public updateEventsAfterPublish ( ) : void
Résultat void

Property Details

$changedNodes protected_oe property

protected array $changedNodes
Résultat array

$currentNodeAddEvents protected_oe property

protected array $currentNodeAddEvents
Résultat array

$currentlyAdopting protected_oe property

protected int $currentlyAdopting
Résultat integer

$currentlyCopying protected_oe property

protected bool $currentlyCopying
Résultat boolean

$currentlyMoving protected_oe property

protected bool $currentlyMoving
Résultat boolean

$entityManager protected_oe property

protected ObjectManager,Doctrine\Common\Persistence $entityManager
Résultat Doctrine\Common\Persistence\ObjectManager

$persistenceManager protected_oe property

protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager
Résultat Neos\Flow\Persistence\PersistenceManagerInterface

$scheduledNodeEventUpdates protected_oe property

protected array $scheduledNodeEventUpdates
Résultat array