class ConditionGenerator extends ConditionGenerator (View source)

A SQL condition generator, supporting special SQL constraints for nodes.

Properties

protected ContextFactory $contextFactory
protected Context $securityContext
protected NodeTypeManager $nodeTypeManager
protected string $entityType

Methods

bool
isType(string $entityType)

No description

PropertyConditionGenerator
isDescendantNodeOf(string $nodePathOrIdentifier)

No description

PropertyConditionGenerator
nodeIsOfType(string|array $nodeTypes)

No description

PropertyConditionGenerator
isInWorkspace(string|array $workspaceNames)

No description

getNodeByIdentifier(string $nodeIdentifier)

No description

Details

bool isType(string $entityType)

No description

Parameters

string $entityType

Return Value

bool

Exceptions

InvalidPrivilegeException

PropertyConditionGenerator isDescendantNodeOf(string $nodePathOrIdentifier)

No description

Parameters

string $nodePathOrIdentifier

Return Value

PropertyConditionGenerator

PropertyConditionGenerator nodeIsOfType(string|array $nodeTypes)

No description

Parameters

string|array $nodeTypes

Return Value

PropertyConditionGenerator

PropertyConditionGenerator isInWorkspace(string|array $workspaceNames)

No description

Parameters

string|array $workspaceNames

Return Value

PropertyConditionGenerator

protected NodeInterface getNodeByIdentifier(string $nodeIdentifier)

No description

Parameters

string $nodeIdentifier

Return Value

NodeInterface