NodeReferencing
trait NodeReferencing (View source)
internal | implementation detail of Command Handlers |
Traits
Methods
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 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
abstract 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