|
| injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager) |
|
| selector ($nodeTypeName, $selectorName= '') |
|
| statement ($statement, array $boundVariables=array()) |
|
| join (SourceInterface $left, SourceInterface $right, $joinType, JoinConditionInterface $joinCondition) |
|
| equiJoinCondition ($selector1Name, $property1Name, $selector2Name, $property2Name) |
|
| _and (ConstraintInterface $constraint1, ConstraintInterface $constraint2) |
|
| _or (ConstraintInterface $constraint1, ConstraintInterface $constraint2) |
|
| not (ConstraintInterface $constraint) |
|
| comparison (PropertyValueInterface $operand1, $operator, $operand2) |
|
| propertyValue ($propertyName, $selectorName= '') |
|
| lowerCase (PropertyValueInterface $operand) |
|
| upperCase (PropertyValueInterface $operand) |
|
| ascending (DynamicOperandInterface $operand) |
|
| descending (DynamicOperandInterface $operand) |
|
| bindVariable ($bindVariableName) |
|
The Query Object Model Factory
Definition at line 20 of file QueryObjectModelFactory.php.
Performs a logical conjunction of two other constraints.
- Parameters
-
- Returns
- the And constraint; non-null
- Exceptions
-
\TYPO3\CMS\Extbase\Persistence\Generic\Exception\RepositoryException | if the operation otherwise fails |
Definition at line 100 of file QueryObjectModelFactory.php.
Performs a logical disjunction of two other constraints.
- Parameters
-
- Returns
- the Or constraint; non-null
- Exceptions
-
\TYPO3\CMS\Extbase\Persistence\Generic\Exception\RepositoryException | if the operation otherwise fails |
Definition at line 113 of file QueryObjectModelFactory.php.
Orders by the value of the specified operand, in ascending order.
The query is invalid if $operand does not evaluate to a scalar value.
- Parameters
-
- Returns
- OrderingInterface the ordering
- Exceptions
-
\TYPO3\CMS\Extbase\Persistence\Generic\Exception\RepositoryException | if the operation otherwise fails |
Definition at line 190 of file QueryObjectModelFactory.php.
References QueryInterface\ORDER_ASCENDING.
bindVariable |
( |
|
$bindVariableName | ) |
|
Evaluates to the value of a bind variable.
- Parameters
-
string | $bindVariableName | the bind variable name; non-null |
- Returns
- BindVariableValueInterface the operand; non-null
- Exceptions
-
\TYPO3\CMS\Extbase\Persistence\Generic\Exception\RepositoryException | if the operation otherwise fails |
Definition at line 216 of file QueryObjectModelFactory.php.
Filters node-tuples based on the outcome of a binary operation.
- Parameters
-
PropertyValueInterface | $operand1 | the first operand; non-null |
string | $operator | the operator; one of QueryObjectModelConstants.JCR_OPERATOR_* |
\TYPO3\CMS\Extbase\Persistence\Generic\Qom\StaticOperandInterface | $operand2 | the second operand; non-null |
- Returns
- the constraint; non-null
- Exceptions
-
\TYPO3\CMS\Extbase\Persistence\Generic\Exception\RepositoryException | if the operation otherwise fails |
Definition at line 139 of file QueryObjectModelFactory.php.
Orders by the value of the specified operand, in descending order.
The query is invalid if $operand does not evaluate to a scalar value.
- Parameters
-
- Returns
- OrderingInterface the ordering
- Exceptions
-
\TYPO3\CMS\Extbase\Persistence\Generic\Exception\RepositoryException | if the operation otherwise fails |
Definition at line 204 of file QueryObjectModelFactory.php.
References QueryInterface\ORDER_DESCENDING.
equiJoinCondition |
( |
|
$selector1Name, |
|
|
|
$property1Name, |
|
|
|
$selector2Name, |
|
|
|
$property2Name |
|
) |
| |
Tests whether the value of a property in a first selector is equal to the value of a property in a second selector.
- Parameters
-
string | $selector1Name | the name of the first selector; non-null |
string | $property1Name | the property name in the first selector; non-null |
string | $selector2Name | the name of the second selector; non-null |
string | $property2Name | the property name in the second selector; non-null |
- Returns
- the constraint; non-null
- Exceptions
-
\TYPO3\CMS\Extbase\Persistence\Generic\Exception\RepositoryException | if the operation otherwise fails |
Definition at line 87 of file QueryObjectModelFactory.php.
Evaluates to the lower-case string value (or values, if multi-valued) of an operand.
- Parameters
-
- Returns
- the operand; non-null
- Exceptions
-
\TYPO3\CMS\Extbase\Persistence\Generic\Exception\RepositoryException | if the operation otherwise fails |
Definition at line 164 of file QueryObjectModelFactory.php.
Performs a logical negation of another constraint.
- Parameters
-
- Returns
- the Not constraint; non-null
- Exceptions
-
\TYPO3\CMS\Extbase\Persistence\Generic\Exception\RepositoryException | if the operation otherwise fails |
Definition at line 125 of file QueryObjectModelFactory.php.
propertyValue |
( |
|
$propertyName, |
|
|
|
$selectorName = '' |
|
) |
| |
Evaluates to the value (or values, if multi-valued) of a property in the specified or default selector.
- Parameters
-
string | $propertyName | the property name; non-null |
string | $selectorName | the selector name; non-null |
- Returns
- the operand; non-null
- Exceptions
-
\TYPO3\CMS\Extbase\Persistence\Generic\Exception\RepositoryException | if the operation otherwise fails |
Definition at line 152 of file QueryObjectModelFactory.php.
selector |
( |
|
$nodeTypeName, |
|
|
|
$selectorName = '' |
|
) |
| |
Selects a subset of the nodes in the repository based on node type.
- Parameters
-
string | $nodeTypeName | the name of the required node type; non-null |
string | $selectorName | the selector name; optional |
- Returns
- the selector
- Exceptions
-
\TYPO3\CMS\Extbase\Persistence\Generic\Exception\RepositoryException | if the operation otherwise fails |
Definition at line 43 of file QueryObjectModelFactory.php.
statement |
( |
|
$statement, |
|
|
array |
$boundVariables = array() |
|
) |
| |
Sets a statement as constraint. This is not part of the JCR 2.0 Specification!
- Parameters
-
string | \TYPO3\CMS\Core\Database\PreparedStatement | $statement | The statement |
array | $boundVariables | An array of variables to bind to the statement |
- Returns
Definition at line 58 of file QueryObjectModelFactory.php.
Evaluates to the upper-case string value (or values, if multi-valued) of an operand.
- Parameters
-
- Returns
- the operand; non-null
- Exceptions
-
\TYPO3\CMS\Extbase\Persistence\Generic\Exception\RepositoryException | if the operation otherwise fails |
Definition at line 176 of file QueryObjectModelFactory.php.