NodeVariation
trait NodeVariation (View source)
internal | implementation detail of Command Handlers |
Traits
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
NodeType and NodeName must belong together to the same node, which is the to-be-checked one.
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
abstract protected InterDimensionalVariationGraph
getInterDimensionalVariationGraph()
No description
protected Events
createEventsForVariations(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, ContentRepository $contentRepository)
No description
protected Events
handleCreateNodeSpecializationVariant(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, ContentRepository $contentRepository)
No description
protected array
collectNodeSpecializationVariantsThatWillHaveBeenCreated(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, DimensionSpacePointSet $specializationVisibility, array $events, ContentRepository $contentRepository)
No description
protected Events
handleCreateNodeGeneralizationVariant(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, ContentRepository $contentRepository)
No description
protected array
collectNodeGeneralizationVariantsThatWillHaveBeenCreated(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, DimensionSpacePointSet $generalizationVisibility, array $events, ContentRepository $contentRepository)
No description
protected Events
handleCreateNodePeerVariant(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, ContentRepository $contentRepository)
No description
protected array
collectNodePeerVariantsThatWillHaveBeenCreated(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, DimensionSpacePointSet $peerVisibility, array $events, ContentRepository $contentRepository)
No description
abstract protected NodeTypeManager
getNodeTypeManager()
No description
abstract protected DimensionSpacePointSet
getAllowedDimensionSubspace()
No description
protected void
requireContentStreamToExist(ContentStreamId $contentStreamId, ContentRepository $contentRepository)
No description
protected void
requireDimensionSpacePointToExist(DimensionSpacePoint $dimensionSpacePoint)
No description
protected NodeType
requireNodeType(NodeTypeName $nodeTypeName)
No description
protected void
requireNodeTypeToNotBeAbstract(NodeType $nodeType)
No description
protected void
requireNodeTypeToBeOfTypeRoot(NodeType $nodeType)
No description
protected void
requireNodeTypeToNotBeOfTypeRoot(NodeType $nodeType)
No description
protected void
requireTetheredDescendantNodeTypesToExist(NodeType $nodeType)
No description
protected void
requireTetheredDescendantNodeTypesToNotBeOfTypeRoot(NodeType $nodeType)
No description
protected void
requireNodeTypeToDeclareProperty(NodeTypeName $nodeTypeName, PropertyName $propertyName)
No description
protected void
requireNodeTypeToDeclareReference(NodeTypeName $nodeTypeName, ReferenceName $propertyName)
No description
protected void
requireNodeTypeToAllowNodesOfTypeInReference(NodeTypeName $nodeTypeName, ReferenceName $referenceName, NodeTypeName $nodeTypeNameInQuestion)
No description
protected void
requireConstraintsImposedByAncestorsAreMet(ContentStreamId $contentStreamId, NodeType $nodeType, NodeName|null $nodeName, array $parentNodeAggregateIds, ContentRepository $contentRepository)
NodeType and NodeName must belong together to the same node, which is the to-be-checked one.
protected void
requireNodeTypeConstraintsImposedByParentToBeMet(NodeType $parentsNodeType, NodeName|null $nodeName, NodeType $nodeType)
No description
protected bool
areNodeTypeConstraintsImposedByParentValid(NodeType $parentsNodeType, NodeName|null $nodeName, NodeType $nodeType)
No description
protected void
requireNodeTypeConstraintsImposedByGrandparentToBeMet(NodeType $grandParentsNodeType, NodeName|null $parentNodeName, NodeType $nodeType)
No description
protected bool
areNodeTypeConstraintsImposedByGrandparentValid(NodeType $grandParentsNodeType, NodeName|null $parentNodeName, NodeType $nodeType)
No description
protected NodeAggregate
requireProjectedNodeAggregate(ContentStreamId $contentStreamId, NodeAggregateId $nodeAggregateId, ContentRepository $contentRepository)
No description
protected void
requireProjectedNodeAggregateToNotExist(ContentStreamId $contentStreamId, NodeAggregateId $nodeAggregateId, ContentRepository $contentRepository)
No description
NodeAggregate
requireProjectedParentNodeAggregate(ContentStreamId $contentStreamId, NodeAggregateId $childNodeAggregateId, OriginDimensionSpacePoint $childOriginDimensionSpacePoint, ContentRepository $contentRepository)
No description
protected void
requireNodeAggregateToCoverDimensionSpacePoint(NodeAggregate $nodeAggregate, DimensionSpacePoint $dimensionSpacePoint)
No description
protected void
requireNodeAggregateToCoverDimensionSpacePoints(NodeAggregate $nodeAggregate, DimensionSpacePointSet $dimensionSpacePointSet)
No description
protected void
requireNodeAggregateToNotBeRoot(NodeAggregate $nodeAggregate)
No description
protected void
requireNodeAggregateToBeUntethered(NodeAggregate $nodeAggregate)
No description
protected void
requireNodeAggregateToNotBeDescendant(ContentStreamId $contentStreamId, NodeAggregate $nodeAggregate, NodeAggregate $referenceNodeAggregate, ContentRepository $contentRepository)
No description
protected void
requireNodeNameToBeUnoccupied(ContentStreamId $contentStreamId, NodeName|null $nodeName, NodeAggregateId $parentNodeAggregateId, OriginDimensionSpacePoint $parentOriginDimensionSpacePoint, DimensionSpacePointSet $dimensionSpacePoints, ContentRepository $contentRepository)
No description
protected void
requireNodeNameToBeUncovered(ContentStreamId $contentStreamId, NodeName|null $nodeName, NodeAggregateId $parentNodeAggregateId, DimensionSpacePointSet $dimensionSpacePointsToBeCovered, ContentRepository $contentRepository)
No description
protected void
requireNodeAggregateToOccupyDimensionSpacePoint(NodeAggregate $nodeAggregate, OriginDimensionSpacePoint $originDimensionSpacePoint)
No description
protected void
requireNodeAggregateToNotOccupyDimensionSpacePoint(NodeAggregate $nodeAggregate, OriginDimensionSpacePoint $originDimensionSpacePoint)
No description
protected void
requireNodeAggregateToDisableDimensionSpacePoint(NodeAggregate $nodeAggregate, DimensionSpacePoint $dimensionSpacePoint)
No description
protected void
requireNodeAggregateToNotDisableDimensionSpacePoint(NodeAggregate $nodeAggregate, DimensionSpacePoint $dimensionSpacePoint)
No description
protected void
validateReferenceProperties(ReferenceName $referenceName, PropertyValuesToWrite $referenceProperties, NodeTypeName $nodeTypeName)
No description