DocumentUriPathFinder
final class DocumentUriPathFinder implements ProjectionStateInterface (View source)
| internal | implementation detail to manage document node uris. For resolving please use the NodeUriBuilder and for matching the Router. |
Methods
No description
Returns the DocumentNodeInfo of a node for the given $siteNodeName and $uriPath
Returns the DocumentNodeInfo of a node for the given $nodeAggregateId Note: This will not exclude disabled nodes in order to allow the calling side to make a distinction (e.g. in order to display a custom error)
Returns the parent DocumentNodeInfo of a node for the given $nodeInfo Note: This will not exclude disabled nodes in order to allow the calling side to make a distinction (e.g. in order to display a custom error)
Returns the preceding DocumentNodeInfo for $succeedingNodeAggregateId and the $parentNodeAggregateId (= node on the same hierarchy level) Note: This will not exclude disabled nodes in order to allow the calling side to make a distinction (e.g. in order to display a custom error)
Returns the DocumentNodeInfo for the first enabled child node for the specified $parentNodeAggregateId Note: This will not exclude disabled nodes in order to allow the calling side to make a distinction (e.g. in order to display a custom error)
No description
No description
Returns the DocumentNodeInfos of all descendants of a given node.
Details
__construct(Connection $dbal, string $tableNamePrefix)
No description
DocumentNodeInfo
getEnabledBySiteNodeNameUriPathAndDimensionSpacePointHash(SiteNodeName $siteNodeName, string $uriPath, string $dimensionSpacePointHash)
Returns the DocumentNodeInfo of a node for the given $siteNodeName and $uriPath
DocumentNodeInfo
getByIdAndDimensionSpacePointHash(NodeAggregateId $nodeAggregateId, string $dimensionSpacePointHash)
Returns the DocumentNodeInfo of a node for the given $nodeAggregateId Note: This will not exclude disabled nodes in order to allow the calling side to make a distinction (e.g. in order to display a custom error)
DocumentNodeInfo
getParentNode(DocumentNodeInfo $nodeInfo)
Returns the parent DocumentNodeInfo of a node for the given $nodeInfo Note: This will not exclude disabled nodes in order to allow the calling side to make a distinction (e.g. in order to display a custom error)
DocumentNodeInfo
getPrecedingNode(NodeAggregateId $succeedingNodeAggregateId, NodeAggregateId $parentNodeAggregateId, string $dimensionSpacePointHash)
| internal | only for use within the document uri path projection |
Returns the preceding DocumentNodeInfo for $succeedingNodeAggregateId and the $parentNodeAggregateId (= node on the same hierarchy level) Note: This will not exclude disabled nodes in order to allow the calling side to make a distinction (e.g. in order to display a custom error)
DocumentNodeInfo
getFirstEnabledChildNode(NodeAggregateId $parentNodeAggregateId, string $dimensionSpacePointHash)
Returns the DocumentNodeInfo for the first enabled child node for the specified $parentNodeAggregateId Note: This will not exclude disabled nodes in order to allow the calling side to make a distinction (e.g. in order to display a custom error)
DocumentNodeInfo
getLastChildNode(NodeAggregateId $parentNodeAggregateId, string $dimensionSpacePointHash)
| internal | only for use within the document uri path projection |
No description
DocumentNodeInfo
getLastChildNodeNotBeing(NodeAggregateId $parentNodeAggregateId, string $dimensionSpacePointHash, NodeAggregateId $excludedNodeAggregateId)
| internal | only for use within the document uri path projection |
No description
DocumentNodeInfos
getDescendantsOfNode(DocumentNodeInfo $node)
Returns the DocumentNodeInfos of all descendants of a given node.
Note: This will not exclude disabled nodes in order to allow the calling side to make a distinction (e.g. in order to display a custom error)