TargetLocationInSubgraph
final class TargetLocationInSubgraph (View source)
| internal | to be used by command handlers |
A structurally valid target location of a node in a subgraph, meaning
- the parent, if given, exists
- the succeeding sibling, if given, exists and is a child of the parent if given or a sibling of the node if not
- the preceding sibling, if given, exists and is a child of the parent if given or a sibling of the node if not
Does not evaluate node type constraints
Methods
static TargetLocationInSubgraph
create(NodeAggregateId $nodeAggregateId, DimensionSpacePoint $dimensionSpacePoint, NodeAggregateId|null $parentNodeAggregateId, NodeAggregateId|null $succeedingSiblingNodeAggregateId, NodeAggregateId|null $precedingSiblingNodeAggregateId, ContentGraphInterface $contentGraph)
No description
static TargetLocationInSubgraph
createForTetheredChildNodeAggregate(NodeAggregateId $parentNodeAggregateId, NodeAggregateId $tetheredChildNodeAggregateId, ContentSubgraphInterface $sourceSubgraph)
No description
tryResolveInterdimensionalSibling(ContentSubgraphInterface $targetSubgraph, ContentSubgraphInterface $sourceSubgraph, bool $allowNullSibling)
No description
Details
static TargetLocationInSubgraph
create(NodeAggregateId $nodeAggregateId, DimensionSpacePoint $dimensionSpacePoint, NodeAggregateId|null $parentNodeAggregateId, NodeAggregateId|null $succeedingSiblingNodeAggregateId, NodeAggregateId|null $precedingSiblingNodeAggregateId, ContentGraphInterface $contentGraph)
No description
static TargetLocationInSubgraph
createForTetheredChildNodeAggregate(NodeAggregateId $parentNodeAggregateId, NodeAggregateId $tetheredChildNodeAggregateId, ContentSubgraphInterface $sourceSubgraph)
No description
InterdimensionalSibling|null
tryResolveInterdimensionalSibling(ContentSubgraphInterface $targetSubgraph, ContentSubgraphInterface $sourceSubgraph, bool $allowNullSibling)
No description