VisitedNodeAggregate
final class VisitedNodeAggregate (View source)
Methods
No description
No description
Resolves the dimension space points whose visibility follows the given (hidden) occupant, i.e. the points a disable tag for the occupant must affect after all variants of its node aggregate have been processed.
Details
__construct(NodeAggregateId $nodeAggregateId, NodeTypeName $nodeTypeName)
No description
void
addVariant(OriginDimensionSpacePoint $originDimensionSpacePoint, NodeAggregateId $parentNodeAggregateId, PropertyNames $propertyNames, DimensionSpacePointSet $claimedDimensionSpacePoints)
No description
OriginDimensionSpacePointSet
getOriginDimensionSpacePoints()
No description
VisitedNodeVariant
getVariant(OriginDimensionSpacePoint $originDimensionSpacePoint)
No description
DimensionSpacePointSet
resolveAffectedDimensionSpacePoints(OriginDimensionSpacePoint $occupant, InterDimensionalVariationGraph $interDimensionalVariationGraph)
Resolves the dimension space points whose visibility follows the given (hidden) occupant, i.e. the points a disable tag for the occupant must affect after all variants of its node aggregate have been processed.
These are, on the one hand, the dimension space points the occupant still covers in the exported structure: each creation/variation event claims coverage (recorded on the visited variant), and later events take over the dimension space points they claim. The occupant keeps its own claim minus everything that variants visited after it claimed for themselves.
On the other hand, these are the dimension space points that resolved to the occupant in the legacy content repository: a dimension without an own node data row inherited the nearest variant in its fallback chain, including its hidden state. With the coverage claims following the fallback order this is normally already part of the coverage above; it remains as a safety net for constellations where claims stay order-dependent (incomparable origins in multi-dimensional setups), so previously hidden content can never become visible.