trait NodeMove (View source)

internal  implementation detail of Command Handlers
 

Methods

void
requireProjectedNodeAggregate(ContentGraphInterface $contentGraph, NodeAggregateId $nodeAggregateId)

No description

void
requireNodeAggregateToBeSibling(ContentGraphInterface $contentGraph, NodeAggregateId $referenceNodeAggregateId, NodeAggregateId $siblingNodeAggregateId, DimensionSpacePoint $dimensionSpacePoint)

No description

void
requireNodeAggregateToBeChild(ContentGraphInterface $contentGraph, NodeAggregateId $childNodeAggregateId, NodeAggregateId $parentNodeAggregateId, DimensionSpacePoint $dimensionSpacePoint)

No description

Details

abstract protected InterDimensionalVariationGraph getInterDimensionalVariationGraph()

No description

abstract protected bool areAncestorNodeTypeConstraintChecksEnabled()

No description

Return Value

bool

abstract protected void requireNodeTypeNotToDeclareTetheredChildNodeName(NodeTypeName $nodeTypeName, NodeName $nodeName)

No description

Parameters

NodeTypeName $nodeTypeName
NodeName $nodeName

Return Value

void

abstract protected NodeAggregate requireProjectedNodeAggregate(ContentGraphInterface $contentGraph, NodeAggregateId $nodeAggregateId)

No description

Parameters

ContentGraphInterface $contentGraph
NodeAggregateId $nodeAggregateId

Return Value

NodeAggregate

abstract protected void requireNodeAggregateToBeSibling(ContentGraphInterface $contentGraph, NodeAggregateId $referenceNodeAggregateId, NodeAggregateId $siblingNodeAggregateId, DimensionSpacePoint $dimensionSpacePoint)

No description

Parameters

ContentGraphInterface $contentGraph
NodeAggregateId $referenceNodeAggregateId
NodeAggregateId $siblingNodeAggregateId
DimensionSpacePoint $dimensionSpacePoint

Return Value

void

abstract protected void requireNodeAggregateToBeChild(ContentGraphInterface $contentGraph, NodeAggregateId $childNodeAggregateId, NodeAggregateId $parentNodeAggregateId, DimensionSpacePoint $dimensionSpacePoint)

No description

Parameters

ContentGraphInterface $contentGraph
NodeAggregateId $childNodeAggregateId
NodeAggregateId $parentNodeAggregateId
DimensionSpacePoint $dimensionSpacePoint

Return Value

void