TYPO3 CMS  TYPO3_6-2
QueryInterface.php
Go to the documentation of this file.
1 <?php
3 
21 interface QueryInterface {
22 
28  const OPERATOR_EQUAL_TO = 1;
29 
36 
43 
50 
56  const OPERATOR_LESS_THAN = 3;
57 
64 
71 
78 
84  const OPERATOR_LIKE = 7;
85 
91  const OPERATOR_CONTAINS = 8;
92 
98  const OPERATOR_IN = 9;
99 
105  const OPERATOR_IS_NULL = 10;
106 
112  const OPERATOR_IS_EMPTY = 11;
113 
117  const ORDER_ASCENDING = 'ASC';
118  const ORDER_DESCENDING = 'DESC';
119 
127  public function getSource();
128 
136  public function execute($returnRawQueryResult = FALSE);
137 
149  public function setOrderings(array $orderings);
150 
159  public function setLimit($limit);
160 
169  public function setOffset($offset);
170 
179  public function matching($constraint);
180 
190  public function logicalAnd($constraint1);
191 
201  public function logicalOr($constraint1);
202 
210  public function logicalNot(\TYPO3\CMS\Extbase\Persistence\Generic\Qom\ConstraintInterface $constraint);
211 
225  public function equals($propertyName, $operand, $caseSensitive = TRUE);
226 
239  public function like($propertyName, $operand, $caseSensitive = TRUE);
240 
253  public function contains($propertyName, $operand);
254 
265  public function in($propertyName, $operand);
266 
276  public function lessThan($propertyName, $operand);
277 
287  public function lessThanOrEqual($propertyName, $operand);
288 
298  public function greaterThan($propertyName, $operand);
299 
309  public function greaterThanOrEqual($propertyName, $operand);
310 
317  public function getType();
318 
328  public function setQuerySettings(Generic\QuerySettingsInterface $querySettings);
329 
337  public function getQuerySettings();
338 
345  public function count();
346 
357  public function getOrderings();
358 
365  public function getLimit();
366 
373  public function getOffset();
374 
381  public function getConstraint();
382 
392  public function isEmpty($propertyName);
393 
399  public function setSource(Generic\Qom\SourceInterface $source);
400 
406  public function getStatement();
407 
408 }
like($propertyName, $operand, $caseSensitive=TRUE)
setQuerySettings(Generic\QuerySettingsInterface $querySettings)
logicalNot(\TYPO3\CMS\Extbase\Persistence\Generic\Qom\ConstraintInterface $constraint)
lessThanOrEqual($propertyName, $operand)
equals($propertyName, $operand, $caseSensitive=TRUE)
greaterThanOrEqual($propertyName, $operand)
execute($returnRawQueryResult=FALSE)
setSource(Generic\Qom\SourceInterface $source)