-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
8 changed files
with
350 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?php | ||
declare(ENCODING = 'utf-8'); | ||
namespace F3::PHPCR::Query::QOM; | ||
|
||
/* * | ||
* This script is part of the TYPO3 project - inspiring people to share! * | ||
* * | ||
* TYPO3 is free software; you can redistribute it and/or modify it under * | ||
* the terms of the GNU General Public License version 2 as published by * | ||
* the Free Software Foundation. * | ||
* * | ||
* This script is distributed in the hope that it will be useful, but * | ||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- * | ||
* TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General * | ||
* Public License for more details. * | ||
* */ | ||
|
||
/** | ||
* @package PHPCR | ||
* @subpackage Query | ||
* @version $Id$ | ||
*/ | ||
|
||
/** | ||
* Performs a logical conjunction of two other constraints. | ||
* | ||
* To satisfy the And constraint, a node-tuple must satisfy both constraint1 and | ||
* constraint2. | ||
* | ||
* @package PHPCR | ||
* @subpackage Query | ||
* @version $Id$ | ||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License, version 2 | ||
*/ | ||
interface AndInterface extends F3::PHPCR::Query::QOM::ConstraintInterface { | ||
|
||
/** | ||
* Gets the first constraint. | ||
* | ||
* @return F3::PHPCR::Query::QOM::ConstraintInterface the constraint; non-null | ||
*/ | ||
public function getConstraint1(); | ||
|
||
/** | ||
* Gets the second constraint. | ||
* | ||
* @return F3::PHPCR::Query::QOM::ConstraintInterface the constraint; non-null | ||
*/ | ||
public function getConstraint2(); | ||
|
||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?php | ||
declare(ENCODING = 'utf-8'); | ||
namespace F3::PHPCR::Query::QOM; | ||
|
||
/* * | ||
* This script is part of the TYPO3 project - inspiring people to share! * | ||
* * | ||
* TYPO3 is free software; you can redistribute it and/or modify it under * | ||
* the terms of the GNU General Public License version 2 as published by * | ||
* the Free Software Foundation. * | ||
* * | ||
* This script is distributed in the hope that it will be useful, but * | ||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- * | ||
* TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General * | ||
* Public License for more details. * | ||
* */ | ||
|
||
/** | ||
* @package PHPCR | ||
* @subpackage Query | ||
* @version $Id$ | ||
*/ | ||
|
||
/** | ||
* Evaluates to the length (or lengths, if multi-valued) of a property. | ||
* | ||
* The length should be computed as though the getLength method (or getLengths, | ||
* if multi-valued) of F3::PHPCR::PropertyInterface were called. | ||
* | ||
* If propertyValue evaluates to null, the Length operand also evaluates to null. | ||
* | ||
* @package PHPCR | ||
* @subpackage Query | ||
* @version $Id$ | ||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License, version 2 | ||
*/ | ||
interface LengthInterface extends F3::PHPCR::Query::QOM::DynamicOperandInterface { | ||
|
||
/** | ||
* Gets the property value for which to compute the length. | ||
* | ||
* @return F3::PHPCR::Query::QOM::PropertyValueInterface the property value; non-null | ||
*/ | ||
public function getPropertyValue(); | ||
|
||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?php | ||
declare(ENCODING = 'utf-8'); | ||
namespace F3::PHPCR::Query::QOM; | ||
|
||
/* * | ||
* This script is part of the TYPO3 project - inspiring people to share! * | ||
* * | ||
* TYPO3 is free software; you can redistribute it and/or modify it under * | ||
* the terms of the GNU General Public License version 2 as published by * | ||
* the Free Software Foundation. * | ||
* * | ||
* This script is distributed in the hope that it will be useful, but * | ||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- * | ||
* TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General * | ||
* Public License for more details. * | ||
* */ | ||
|
||
/** | ||
* @package PHPCR | ||
* @subpackage Query | ||
* @version $Id$ | ||
*/ | ||
|
||
/** | ||
* Evaluates to a literal value. | ||
* | ||
* @package PHPCR | ||
* @subpackage Query | ||
* @version $Id$ | ||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License, version 2 | ||
*/ | ||
interface LiteralInterface extends F3::PHPCR::Query::QOM::StaticOperandInterface { | ||
|
||
/** | ||
* Gets the value of the literal. | ||
* | ||
* @return string the literal value; non-null | ||
*/ | ||
public function getLiteralValue(); | ||
|
||
} | ||
|
||
?> |
49 changes: 49 additions & 0 deletions
49
Classes/Query/QOM/F3_PHPCR_Query_QOM_LowerCaseInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?php | ||
declare(ENCODING = 'utf-8'); | ||
namespace F3::PHPCR::Query::QOM; | ||
|
||
/* * | ||
* This script is part of the TYPO3 project - inspiring people to share! * | ||
* * | ||
* TYPO3 is free software; you can redistribute it and/or modify it under * | ||
* the terms of the GNU General Public License version 2 as published by * | ||
* the Free Software Foundation. * | ||
* * | ||
* This script is distributed in the hope that it will be useful, but * | ||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- * | ||
* TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General * | ||
* Public License for more details. * | ||
* */ | ||
|
||
/** | ||
* @package PHPCR | ||
* @subpackage Query | ||
* @version $Id$ | ||
*/ | ||
|
||
/** | ||
* Evaluates to the lower-case string value (or values, if multi-valued) of | ||
* operand. | ||
* | ||
* If operand does not evaluate to a string value, its value is first converted | ||
* to a string. | ||
* | ||
* If operand evaluates to null, the LowerCase operand also evaluates to null. | ||
* | ||
* @package PHPCR | ||
* @subpackage Query | ||
* @version $Id$ | ||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License, version 2 | ||
*/ | ||
interface LowerCaseInterface extends F3::PHPCR::Query::QOM::ConstraintInterface { | ||
|
||
/** | ||
* Gets the operand whose value is converted to a lower-case string. | ||
* | ||
* @return F3::PHPCR::Query::QOM::DynamicOperandInterface the operand; non-null | ||
*/ | ||
public function getOperand(); | ||
|
||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?php | ||
declare(ENCODING = 'utf-8'); | ||
namespace F3::PHPCR::Query::QOM; | ||
|
||
/* * | ||
* This script is part of the TYPO3 project - inspiring people to share! * | ||
* * | ||
* TYPO3 is free software; you can redistribute it and/or modify it under * | ||
* the terms of the GNU General Public License version 2 as published by * | ||
* the Free Software Foundation. * | ||
* * | ||
* This script is distributed in the hope that it will be useful, but * | ||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- * | ||
* TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General * | ||
* Public License for more details. * | ||
* */ | ||
|
||
/** | ||
* @package PHPCR | ||
* @subpackage Query | ||
* @version $Id$ | ||
*/ | ||
|
||
/** | ||
* Performs a logical negation of another constraint. | ||
* | ||
* To satisfy the Not constraint, the node-tuple must not satisfy constraint. | ||
* | ||
* @package PHPCR | ||
* @subpackage Query | ||
* @version $Id$ | ||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License, version 2 | ||
*/ | ||
interface NotInterface extends F3::PHPCR::Query::QOM::ConstraintInterface { | ||
|
||
/** | ||
* Gets the constraint negated by this Not constraint. | ||
* | ||
* @return F3::PHPCR::Query::QOM::ConstraintInterface the constraint; non-null | ||
*/ | ||
public function getConstraint(); | ||
|
||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?php | ||
declare(ENCODING = 'utf-8'); | ||
namespace F3::PHPCR::Query::QOM; | ||
|
||
/* * | ||
* This script is part of the TYPO3 project - inspiring people to share! * | ||
* * | ||
* TYPO3 is free software; you can redistribute it and/or modify it under * | ||
* the terms of the GNU General Public License version 2 as published by * | ||
* the Free Software Foundation. * | ||
* * | ||
* This script is distributed in the hope that it will be useful, but * | ||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- * | ||
* TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General * | ||
* Public License for more details. * | ||
* */ | ||
|
||
/** | ||
* @package PHPCR | ||
* @subpackage Query | ||
* @version $Id$ | ||
*/ | ||
|
||
/** | ||
* Performs a logical disjunction of two other constraints. | ||
* | ||
* To satisfy the Or constraint, the node-tuple must either: | ||
* satisfy constraint1 but not constraint2, or | ||
* satisfy constraint2 but not constraint1, or | ||
* satisfy both constraint1 and constraint2. | ||
* | ||
* @package PHPCR | ||
* @subpackage Query | ||
* @version $Id$ | ||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License, version 2 | ||
*/ | ||
interface OrInterface extends F3::PHPCR::Query::QOM::ConstraintInterface { | ||
|
||
/** | ||
* Gets the first constraint. | ||
* | ||
* @return F3::PHPCR::Query::QOM::ConstraintInterface the constraint; non-null | ||
*/ | ||
public function getConstraint1(); | ||
|
||
/** | ||
* Gets the second constraint. | ||
* | ||
* @return F3::PHPCR::Query::QOM::ConstraintInterface the constraint; non-null | ||
*/ | ||
public function getConstraint2(); | ||
|
||
} | ||
|
||
?> |
49 changes: 49 additions & 0 deletions
49
Classes/Query/QOM/F3_PHPCR_Query_QOM_UpperCaseInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?php | ||
declare(ENCODING = 'utf-8'); | ||
namespace F3::PHPCR::Query::QOM; | ||
|
||
/* * | ||
* This script is part of the TYPO3 project - inspiring people to share! * | ||
* * | ||
* TYPO3 is free software; you can redistribute it and/or modify it under * | ||
* the terms of the GNU General Public License version 2 as published by * | ||
* the Free Software Foundation. * | ||
* * | ||
* This script is distributed in the hope that it will be useful, but * | ||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- * | ||
* TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General * | ||
* Public License for more details. * | ||
* */ | ||
|
||
/** | ||
* @package PHPCR | ||
* @subpackage Query | ||
* @version $Id$ | ||
*/ | ||
|
||
/** | ||
* Evaluates to the upper-case string value (or values, if multi-valued) of | ||
* operand. | ||
* | ||
* If operand does not evaluate to a string value, its value is first converted | ||
* to a string. | ||
* | ||
* If operand evaluates to null, the UpperCase operand also evaluates to null. | ||
* | ||
* @package PHPCR | ||
* @subpackage Query | ||
* @version $Id$ | ||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License, version 2 | ||
*/ | ||
interface UpperCaseInterface extends F3::PHPCR::Query::QOM::ConstraintInterface { | ||
|
||
/** | ||
* Gets the operand whose value is converted to a upper-case string. | ||
* | ||
* @return F3::PHPCR::Query::QOM::DynamicOperandInterface the operand; non-null | ||
*/ | ||
public function getOperand(); | ||
|
||
} | ||
|
||
?> |
Oops, something went wrong.