ContentGraphInterface
interface ContentGraphInterface implements ProjectionStateInterface (View source)
This is the MAIN ENTRY POINT for the Content Repository. This class exists only once per Content Repository.
The most important API method is {\Neos\ContentRepository\Core\Projection\ContentGraph\ContentGraphInterface::getSubgraph()}, where you can access the most important read model, the {\Neos\ContentRepository\Core\Projection\ContentGraph\ContentSubgraphInterface}.
Methods
No description
No description
No description
No description
Returns all node types in use, from the graph projection
No description
No description
No description
No description
A node aggregate may have multiple child node aggregates with the same name as long as they do not share dimension space coverage
No description
No description
No description
Details
ContentSubgraphInterface
getSubgraph(ContentStreamId $contentStreamId, DimensionSpacePoint $dimensionSpacePoint, VisibilityConstraints $visibilityConstraints)
No description
NodeAggregate
findRootNodeAggregateByType(ContentStreamId $contentStreamId, NodeTypeName $nodeTypeName)
No description
iterable
findNodeAggregatesByType(ContentStreamId $contentStreamId, NodeTypeName $nodeTypeName)
No description
NodeAggregate|null
findNodeAggregateById(ContentStreamId $contentStreamId, NodeAggregateId $nodeAggregateId)
No description
iterable
findUsedNodeTypeNames()
Returns all node types in use, from the graph projection
Node|null
findNodeByIdAndOriginDimensionSpacePoint(ContentStreamId $contentStreamId, NodeAggregateId $nodeAggregateId, OriginDimensionSpacePoint $originDimensionSpacePoint)
internal |
No description
NodeAggregate|null
findParentNodeAggregateByChildOriginDimensionSpacePoint(ContentStreamId $contentStreamId, NodeAggregateId $childNodeAggregateId, OriginDimensionSpacePoint $childOriginDimensionSpacePoint)
internal | only for consumption inside the Command Handler |
No description
iterable
findParentNodeAggregates(ContentStreamId $contentStreamId, NodeAggregateId $childNodeAggregateId)
internal | only for consumption inside the Command Handler |
No description
iterable
findChildNodeAggregates(ContentStreamId $contentStreamId, NodeAggregateId $parentNodeAggregateId)
internal | only for consumption inside the Command Handler |
No description
iterable
findChildNodeAggregatesByName(ContentStreamId $contentStreamId, NodeAggregateId $parentNodeAggregateId, NodeName $name)
internal | only for consumption inside the Command Handler |
A node aggregate may have multiple child node aggregates with the same name as long as they do not share dimension space coverage
iterable
findTetheredChildNodeAggregates(ContentStreamId $contentStreamId, NodeAggregateId $parentNodeAggregateId)
internal | only for consumption inside the Command Handler |
No description
DimensionSpacePointSet
getDimensionSpacePointsOccupiedByChildNodeName(ContentStreamId $contentStreamId, NodeName $nodeName, NodeAggregateId $parentNodeAggregateId, OriginDimensionSpacePoint $parentNodeOriginDimensionSpacePoint, DimensionSpacePointSet $dimensionSpacePointsToCheck)
internal | only for consumption inside the Command Handler |
No description
int
countNodes()
internal | only for consumption in testcases |
No description