QueryObjectModelFactory implements SingletonInterface

The Query Object Model Factory

Internal

only to be used within Extbase, not part of TYPO3 Core API.

Table of Contents

Interfaces

SingletonInterface
"empty" interface for singletons (marker interface pattern)

Methods

_and()  : AndInterface
Performs a logical conjunction of two other constraints.
_or()  : OrInterface
Performs a logical disjunction of two other constraints.
ascending()  : OrderingInterface
Orders by the value of the specified operand, in ascending order.
bindVariable()  : BindVariableValueInterface
Evaluates to the value of a bind variable.
comparison()  : ComparisonInterface
Filters node-tuples based on the outcome of a binary operation.
descending()  : OrderingInterface
Orders by the value of the specified operand, in descending order.
equiJoinCondition()  : EquiJoinConditionInterface
Tests whether the value of a property in a first selector is equal to the value of a property in a second selector.
join()  : SourceInterface|JoinInterface
Performs a join between two node-tuple sources.
lowerCase()  : LowerCaseInterface
Evaluates to the lower-case string value (or values, if multi-valued) of an operand.
not()  : NotInterface
Performs a logical negation of another constraint.
propertyValue()  : PropertyValueInterface
Evaluates to the value (or values, if multi-valued) of a property in the specified or default selector.
selector()  : SourceInterface|SelectorInterface
Selects a subset of the nodes in the repository based on node type.
statement()  : Statement
Sets a statement as constraint. This is not part of the JCR 2.0 Specification!
upperCase()  : UpperCaseInterface
Evaluates to the upper-case string value (or values, if multi-valued) of an operand.

Methods

comparison()

Filters node-tuples based on the outcome of a binary operation.

public comparison(PropertyValueInterface $operand1, QueryInterface::OPERATOR_* $operator, StaticOperandInterface $operand2) : ComparisonInterface
Parameters
$operand1 : PropertyValueInterface

the first operand; non-null

$operator : QueryInterface::OPERATOR_*

the operator

$operand2 : StaticOperandInterface

the second operand; non-null

Tags
throws
RepositoryException

if the operation otherwise fails

Return values
ComparisonInterface

the constraint; non-null

equiJoinCondition()

Tests whether the value of a property in a first selector is equal to the value of a property in a second selector.

public equiJoinCondition(string $selector1Name, string $property1Name, string $selector2Name, string $property2Name) : EquiJoinConditionInterface
Parameters
$selector1Name : string

the name of the first selector; non-null

$property1Name : string

the property name in the first selector; non-null

$selector2Name : string

the name of the second selector; non-null

$property2Name : string

the property name in the second selector; non-null

Tags
throws
RepositoryException

if the operation otherwise fails

Return values
EquiJoinConditionInterface

the constraint; non-null

propertyValue()

Evaluates to the value (or values, if multi-valued) of a property in the specified or default selector.

public propertyValue(string $propertyName[, string $selectorName = '' ]) : PropertyValueInterface
Parameters
$propertyName : string

the property name; non-null

$selectorName : string = ''

the selector name; non-null

Tags
throws
RepositoryException

if the operation otherwise fails

Return values
PropertyValueInterface

the operand; non-null

statement()

Sets a statement as constraint. This is not part of the JCR 2.0 Specification!

public statement(string $statement[, array<string|int, mixed> $boundVariables = [] ]) : Statement
Parameters
$statement : string

The statement

$boundVariables : array<string|int, mixed> = []

An array of variables to bind to the statement

Return values
Statement

        
On this page

Search results