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
The workspace this content graph is operating on
No description
Returns all node types in use, from the graph projection
No description
A node aggregate can have no or exactly one child node aggregate with a given name as enforced by constraint checks
No description
No description
Details
ContentRepositoryId
getContentRepositoryId()
No description
WorkspaceName
getWorkspaceName()
The workspace this content graph is operating on
ContentSubgraphInterface
getSubgraph(DimensionSpacePoint $dimensionSpacePoint, VisibilityConstraints $visibilityConstraints)
No description
NodeAggregate|null
findRootNodeAggregateByType(NodeTypeName $nodeTypeName)
No description
NodeAggregates
findRootNodeAggregates(FindRootNodeAggregatesFilter $filter)
No description
NodeAggregates
findNodeAggregatesByType(NodeTypeName $nodeTypeName)
No description
NodeAggregate|null
findNodeAggregateById(NodeAggregateId $nodeAggregateId)
No description
NodeAggregates
findNodeAggregatesByIds(NodeAggregateIds $nodeAggregateIds)
No description
NodeTypeNames
findUsedNodeTypeNames()
Returns all node types in use, from the graph projection
NodeAggregate|null
findParentNodeAggregateByChildOriginDimensionSpacePoint(NodeAggregateId $childNodeAggregateId, OriginDimensionSpacePoint $childOriginDimensionSpacePoint)
| internal | only for consumption inside the Command Handler |
No description
NodeAggregates
findParentNodeAggregates(NodeAggregateId $childNodeAggregateId)
| internal | only for consumption inside the Command Handler |
No description
NodeAggregateIds
findAncestorNodeAggregateIds(NodeAggregateId $entryNodeAggregateId)
| internal | the returned order of node aggregate ids is undefined and not to be relied upon |
No description
NodeAggregates
findChildNodeAggregates(NodeAggregateId $parentNodeAggregateId)
| internal | only for consumption inside the Command Handler |
No description
NodeAggregate|null
findChildNodeAggregateByName(NodeAggregateId $parentNodeAggregateId, NodeName $name)
| internal | only for consumption inside the Command Handler |
A node aggregate can have no or exactly one child node aggregate with a given name as enforced by constraint checks
NodeAggregates
findTetheredChildNodeAggregates(NodeAggregateId $parentNodeAggregateId)
| internal | only for consumption inside the Command Handler |
No description
DimensionSpacePointSet
getDimensionSpacePointsOccupiedByChildNodeName(NodeName $nodeName, NodeAggregateId $parentNodeAggregateId, OriginDimensionSpacePoint $parentNodeOriginDimensionSpacePoint, DimensionSpacePointSet $dimensionSpacePointsToCheck)
| internal | only for consumption inside the Command Handler |
No description
NodeAggregates
findNodeAggregatesTaggedBy(SubtreeTag $subtreeTag)
| internal | experimental api, the order of the returned node aggregates is undefined and does not follow the hierarchy |
No description
ContentStreamId
getContentStreamId()
| internal | The content stream id where the workspace name points to for this instance |
No description