NodeVariationInternals
trait NodeVariationInternals (View source)
| internal | implementation details of command handlers |
Traits
Methods
A node aggregate's order of {NodeAggregate::$occupiedDimensionSpacePoints} is undefined as returned from the database.
FIXME: This method might make sense on the InterDimensionVariationGraph but for this an explicit distinctions of unordered Set and List value objects for dimension space points is required. Currently we have Set value objects that still have sometimes an order with meaning.
No description
No description
No description
No description
No description
No description
No description
No description
Details
final protected OriginDimensionSpacePointSet
requireOrderedOccupiedDimensionSpacePoints(NodeAggregate $nodeAggregate)
A node aggregate's order of {NodeAggregate::$occupiedDimensionSpacePoints} is undefined as returned from the database.
Before using this unorder to emit events we use the interdimensional variation graph to order them into a flattened tree according to configuration.
final protected OriginDimensionSpacePointSet
requireOrderedOriginDimensionSpacePoints(OriginDimensionSpacePointSet $affectedOriginDimensionSpacePoints)
FIXME: This method might make sense on the InterDimensionVariationGraph but for this an explicit distinctions of unordered Set and List value objects for dimension space points is required. Currently we have Set value objects that still have sometimes an order with meaning.
abstract protected InterDimensionalVariationGraph
getInterDimensionalVariationGraph()
No description
protected Events
createEventsForVariations(ContentGraphInterface $contentGraph, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, NodeAggregate|null $parentNodeAggregateForCoverageFilter)
No description
protected Events
handleCreateNodeSpecializationVariant(ContentGraphInterface $contentGraph, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, NodeAggregate|null $parentNodeAggregateForCoverageFilter)
No description
protected array
collectNodeSpecializationVariantsThatWillHaveBeenCreated(ContentGraphInterface $contentGraph, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, DimensionSpacePointSet $specializationVisibility, array $events)
No description
protected Events
handleCreateNodeGeneralizationVariant(ContentGraphInterface $contentGraph, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, NodeAggregate|null $parentNodeAggregateForCoverageFilter)
No description
protected array
collectNodeGeneralizationVariantsThatWillHaveBeenCreated(ContentGraphInterface $contentGraph, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, DimensionSpacePointSet $generalizationVisibility, array $events)
No description
protected Events
handleCreateNodePeerVariant(ContentGraphInterface $contentGraph, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, NodeAggregate|null $parentNodeAggregateForCoverageFilter)
No description
protected array
collectNodePeerVariantsThatWillHaveBeenCreated(ContentGraphInterface $contentGraph, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, DimensionSpacePointSet $peerVisibility, array $events)
No description