+++ /dev/null
-<?php
-/***************************************************************
-* Copyright notice
-*
-* (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-* All rights reserved
-*
-* This class is a backport of the corresponding class of FLOW3.
-* All credits go to the v5 team.
-*
-* This script is part of the TYPO3 project. The TYPO3 project is
-* free software; you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 2 of the License, or
-* (at your option) any later version.
-*
-* The GNU General Public License can be found at
-* http://www.gnu.org/copyleft/gpl.html.
-*
-* This script is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * Evaluates to a literal value.
- *
- * @package Extbase
- * @subpackage Persistence
- * @version $Id: Literal.php 2011 2009-03-18 14:22:24Z k-fish $
- * @scope prototype
- */
-class Tx_Extbase_Persistence_QOM_Literal extends Tx_Extbase_Persistence_QOM_StaticOperand implements Tx_Extbase_Persistence_QOM_LiteralInterface {
-
- /**
- * Constructs this Literal instance
- *
- * @param string $value
- */
- public function __construct($value) {
- $this->value = $value;
- }
-
- /**
- * Gets the value of the literal.
- *
- * @return string the literal value; non-null
- */
- public function getLiteralValue() {
- return $this->value;
- }
-
-}
-
-?>
\ No newline at end of file
+++ /dev/null
-<?php
-/***************************************************************
-* Copyright notice
-*
-* (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
-* All rights reserved
-*
-* This class is a backport of the corresponding class of FLOW3.
-* All credits go to the v5 team.
-*
-* This script is part of the TYPO3 project. The TYPO3 project is
-* free software; you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 2 of the License, or
-* (at your option) any later version.
-*
-* The GNU General Public License can be found at
-* http://www.gnu.org/copyleft/gpl.html.
-*
-* This script is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-
-/**
- * Evaluates to a literal value.
- *
- * @package Extbase
- * @subpackage Query
- * @version $Id: LiteralInterface.php 1811 2009-01-28 12:04:49Z robert $
- */
-interface Tx_Extbase_Persistence_QOM_LiteralInterface extends Tx_Extbase_Persistence_QOM_StaticOperandInterface {
-
- /**
- * Gets the value of the literal.
- *
- * @return string the literal value; non-null
- */
- public function getLiteralValue();
-
-}
-
-?>
\ No newline at end of file
--- /dev/null
+<?php
+/***************************************************************
+* Copyright notice
+*
+* (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
+* All rights reserved
+*
+* This class is a backport of the corresponding class of FLOW3.
+* All credits go to the v5 team.
+*
+* This script is part of the TYPO3 project. The TYPO3 project is
+* free software; you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation; either version 2 of the License, or
+* (at your option) any later version.
+*
+* The GNU General Public License can be found at
+* http://www.gnu.org/copyleft/gpl.html.
+*
+* This script is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* This copyright notice MUST APPEAR in all copies of the script!
+***************************************************************/
+
+/**
+ * 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: LowerCaseInterface.php 1995 2009-03-14 19:57:47Z k-fish $
+ */
+interface Tx_Extbase_Persistence_QOM_LowerCaseInterface extends Tx_Extbase_Persistence_QOM_DynamicOperandInterface {
+
+ /**
+ * Gets the operand whose value is converted to a lower-case string.
+ *
+ * @return Tx_Extbase_Persistence_QOM_DynamicOperandInterface the operand; non-null
+ */
+ public function getOperand();
+
+}
+
+?>
\ No newline at end of file
*/
class Tx_Extbase_Persistence_QOM_QueryObjectModel extends Tx_Extbase_Persistence_Query implements Tx_Extbase_Persistence_QOM_QueryObjectModelInterface {
+ /**
+ * @var Tx_Extbase_Persistence_DataMapper
+ */
+ protected $dataMapper;
+
/**
* @var Tx_Extbase_Persistence_QOM_SourceInterface
*/
* @param array $columns the columns; null is equivalent to a zero-length array
* @return Tx_Extbase_Persistence_QOM_QueryObjectModelInterface the query; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test and the parameters given fail that test. See the individual QOM factory methods for the validity criteria of each query element.
- * @throws \F3\PHPCR\RepositoryException if another error occurs.
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if another error occurs.
*/
public function createQuery(Tx_Extbase_Persistence_QOM_SourceInterface $selectorOrSource, $constraint, array $orderings, array $columns) {
$query = new Tx_Extbase_Persistence_QOM_QueryObjectModel($selectorOrSource, $constraint, $orderings, $columns);
* @param string $selectorName the selector name; optional
* @return Tx_Extbase_Persistence_QOM_SelectorInterface the selector
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function selector($nodeTypeName, $selectorName = '') {
if ($selectorName === '') {
* @param Tx_Extbase_Persistence_QOM_JoinConditionInterface $join Condition the join condition; non-null
* @return Tx_Extbase_Persistence_QOM_JoinInterface the join; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function join(Tx_Extbase_Persistence_QOM_SourceInterface $left, Tx_Extbase_Persistence_QOM_SourceInterface $right, $joinType, Tx_Extbase_Persistence_QOM_JoinConditionInterface $joinCondition) {
return t3lib_div::makeInstance('Tx_Extbase_Persistence_QOM_Join', $left, $right, $joinType, $joinCondition);
* @param string $property2Name the property name in the second selector; non-null
* @return Tx_Extbase_Persistence_QOM_EquiJoinConditionInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function equiJoinCondition($selector1Name, $property1Name, $selector2Name, $property2Name) {
return t3lib_div::makeInstance('Tx_Extbase_Persistence_QOM_EquiJoinCondition', $selector1Name, $property1Name, $selector2Name, $property2Name);
* @param string $selector2Path the path relative to the second selector; non-null
* @return Tx_Extbase_Persistence_QOM_SameNodeJoinConditionInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function sameNodeJoinCondition($selector1Name, $selector2Name, $selector2Path = NULL) {
throw new Tx_Extbase_Persistence_Exception('Method not yet implemented, sorry!', 1217058190);
* @param string $parentSelectorName the name of the parent selector; non-null
* @return Tx_Extbase_Persistence_QOM_ChildNodeJoinConditionInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function childNodeJoinCondition($childSelectorName, $parentSelectorName) {
throw new Tx_Extbase_Persistence_Exception('Method not yet implemented, sorry!', 1217058190);
* @param string $ancestorSelectorName the name of the ancestor selector; non-null
* @return Tx_Extbase_Persistence_QOM_DescendantNodeJoinConditionInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function descendantNodeJoinCondition($descendantSelectorName, $ancestorSelectorName) {
throw new Tx_Extbase_Persistence_Exception('Method not yet implemented, sorry!', 1217058192);
* @param Tx_Extbase_Persistence_QOM_ConstraintInterface $constraint2 the second constraint; non-null
* @return Tx_Extbase_Persistence_QOM_AndInterface the And constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function _and(Tx_Extbase_Persistence_QOM_ConstraintInterface $constraint1, Tx_Extbase_Persistence_QOM_ConstraintInterface $constraint2) {
return t3lib_div::makeInstance('Tx_Extbase_Persistence_QOM_And', $constraint1, $constraint2);
* @param Tx_Extbase_Persistence_QOM_ConstraintInterface $constraint2 the second constraint; non-null
* @return Tx_Extbase_Persistence_QOM_OrInterface the Or constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function _or(Tx_Extbase_Persistence_QOM_ConstraintInterface $constraint1, Tx_Extbase_Persistence_QOM_ConstraintInterface $constraint2) {
return t3lib_div::makeInstance('Tx_Extbase_Persistence_QOM_Or', $constraint1, $constraint2);
* @param Tx_Extbase_Persistence_QOM_ConstraintInterface $constraint the constraint to be negated; non-null
* @return Tx_Extbase_Persistence_QOM_NotInterface the Not constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function not(Tx_Extbase_Persistence_QOM_ConstraintInterface $constraint) {
return t3lib_div::makeInstance('Tx_Extbase_Persistence_QOM_Not', $constraint);
* @param Tx_Extbase_Persistence_QOM_StaticOperandInterface $operand2 the second operand; non-null
* @return Tx_Extbase_Persistence_QOM_ComparisonInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function comparison(Tx_Extbase_Persistence_QOM_DynamicOperandInterface $operand1, $operator, Tx_Extbase_Persistence_QOM_StaticOperandInterface $operand2) {
return t3lib_div::makeInstance('Tx_Extbase_Persistence_QOM_Comparison', $operand1, $operator, $operand2);
* @param string $selectorName the selector name; non-null
* @return Tx_Extbase_Persistence_QOM_PropertyExistenceInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function propertyExistence($propertyName, $selectorName = NULL) {
throw new Tx_Extbase_Persistence_Exception('Method not yet implemented, sorry!', 1217058196);
* @param string $selectorName the selector name; non-null
* @return Tx_Extbase_Persistence_QOM_FullTextSearchInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function fullTextSearch($propertyName, $fullTextSearchExpression, $selectorName = NULL) {
throw new Tx_Extbase_Persistence_Exception('Method not yet implemented, sorry!', 1217058197);
* @param string $path an absolute path; non-null
* @return Tx_Extbase_Persistence_QOM_SameNodeInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function sameNode($path, $selectorName = NULL) {
throw new Tx_Extbase_Persistence_Exception('Method not yet implemented, sorry!', 1217058198);
* @param string $selectorName the selector name; non-null
* @return Tx_Extbase_Persistence_QOM_ChildNodeInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function childNode($path, $selectorName = NULL) {
throw new Tx_Extbase_Persistence_Exception('Method not yet implemented, sorry!', 1217058199);
* @param string $selectorName the selector name; non-null
* @return Tx_Extbase_Persistence_QOM_DescendantNodeInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function descendantNode($path, $selectorName = NULL) {
throw new Tx_Extbase_Persistence_Exception('Method not yet implemented, sorry!', 1217058200);
* @param string $selectorName the selector name; non-null
* @return Tx_Extbase_Persistence_QOM_PropertyValueInterface the operand; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function propertyValue($propertyName, $selectorName = '') {
return t3lib_div::makeInstance('Tx_Extbase_Persistence_QOM_PropertyValue', $propertyName, $selectorName);
* @param Tx_Extbase_Persistence_QOM_PropertyValueInterface $propertyValue the property value for which to compute the length; non-null
* @return Tx_Extbase_Persistence_QOM_LengthInterface the operand; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function length(Tx_Extbase_Persistence_QOM_PropertyValueInterface $propertyValue) {
throw new Tx_Extbase_Persistence_Exception('Method not yet implemented, sorry!', 1217058202);
* @param string $selectorName the selector name; non-null
* @return Tx_Extbase_Persistence_QOM_NodeNameInterface the operand; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function nodeName($selectorName = NULL) {
throw new Tx_Extbase_Persistence_Exception('Method not yet implemented, sorry!', 1217058203);
* @param string $selectorName the selector name; non-null
* @return Tx_Extbase_Persistence_QOM_NodeLocalNameInterface the operand; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function nodeLocalName($selectorName = NULL) {
throw new Tx_Extbase_Persistence_Exception('Method not yet implemented, sorry!', 1217058204);
* @param string $selectorName the selector name; non-null
* @return Tx_Extbase_Persistence_QOM_FullTextSearchScoreInterface the operand; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function fullTextSearchScore($selectorName = NULL) {
throw new Tx_Extbase_Persistence_Exception('Method not yet implemented, sorry!', 1217058205);
* @param Tx_Extbase_Persistence_QOM_DynamicOperandInterface $operand the operand whose value is converted to a lower-case string; non-null
* @return Tx_Extbase_Persistence_QOM_LowerCaseInterface the operand; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function lowerCase(Tx_Extbase_Persistence_QOM_DynamicOperandInterface $operand) {
return t3lib_div::makeInstance('Tx_Extbase_Persistence_QOM_LowerCase', $operand);
* @param Tx_Extbase_Persistence_QOM_DynamicOperandInterface $operand the operand whose value is converted to a upper-case string; non-null
* @return Tx_Extbase_Persistence_QOM_UpperCaseInterface the operand; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function upperCase(Tx_Extbase_Persistence_QOM_DynamicOperandInterface $operand) {
return t3lib_div::makeInstance('Tx_Extbase_Persistence_QOM_UpperCase', $operand);
* @param string $bindVariableName the bind variable name; non-null
* @return Tx_Extbase_Persistence_QOM_BindVariableValueInterface the operand; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function bindVariable($bindVariableName) {
return t3lib_div::makeInstance('Tx_Extbase_Persistence_QOM_BindVariableValue', $bindVariableName);
* @param \F3\PHPCR\ValueInterface $literalValue the value
* @return \F3\PHPCR\ValueInterface the operand; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function literal(Tx_Extbase_Persistence_ValueInterface $literalValue) {
- return t3lib_div::makeInstance('Tx_Extbase_Persistence_QOM_Literal', $literalValue->getString());
+ throw new Tx_Extbase_Persistence_Exception('Method not yet implemented, sorry!', 1217058209);
}
/**
* @param Tx_Extbase_Persistence_QOM_DynamicOperandInterface $operand the operand by which to order; non-null
* @return Tx_Extbase_Persistence_QOM_OrderingInterface the ordering
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function ascending(Tx_Extbase_Persistence_QOM_DynamicOperandInterface $operand) {
throw new Tx_Extbase_Persistence_Exception('Method not yet implemented, sorry!', 1217058209);
* @param Tx_Extbase_Persistence_QOM_DynamicOperandInterface $operand the operand by which to order; non-null
* @return Tx_Extbase_Persistence_QOM_OrderingInterface the ordering
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function descending(Tx_Extbase_Persistence_QOM_DynamicOperandInterface $operand) {
throw new Tx_Extbase_Persistence_Exception('Method not yet implemented, sorry!', 1217058210);
* @param string $selectorName the selector name; non-null
* @return Tx_Extbase_Persistence_QOM_ColumnInterface the column; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query has no default selector or is otherwise invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function column($propertyName, $columnName = NULL, $selectorName = NULL) {
throw new Tx_Extbase_Persistence_Exception('Method not yet implemented, sorry!', 1217058211);
* @param Tx_Extbase_Persistence_QOM_JoinConditionInterface $join Condition the join condition; non-null
* @return Tx_Extbase_Persistence_QOM_JoinInterface the join; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function join(Tx_Extbase_Persistence_QOM_SourceInterface $left, Tx_Extbase_Persistence_QOM_SourceInterface $right, $joinType, Tx_Extbase_Persistence_QOM_JoinConditionInterface $joinCondition);
* @param string $property2Name the property name in the second selector; non-null
* @return Tx_Extbase_Persistence_QOM_EquiJoinConditionInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function equiJoinCondition($selector1Name, $property1Name, $selector2Name, $property2Name);
* @param string $selector2Path the path relative to the second selector; non-null
* @return Tx_Extbase_Persistence_QOM_SameNodeJoinConditionInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function sameNodeJoinCondition($selector1Name, $selector2Name, $selector2Path = NULL);
* @param string $parentSelectorName the name of the parent selector; non-null
* @return Tx_Extbase_Persistence_QOM_ChildNodeJoinConditionInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function childNodeJoinCondition($childSelectorName, $parentSelectorName);
* @param string $ancestorSelectorName the name of the ancestor selector; non-null
* @return Tx_Extbase_Persistence_QOM_DescendantNodeJoinConditionInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function descendantNodeJoinCondition($descendantSelectorName, $ancestorSelectorName);
* @param Tx_Extbase_Persistence_QOM_ConstraintInterface $constraint2 the second constraint; non-null
* @return Tx_Extbase_Persistence_QOM_AndInterface the And constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function _and(Tx_Extbase_Persistence_QOM_ConstraintInterface $constraint1, Tx_Extbase_Persistence_QOM_ConstraintInterface $constraint2);
* @param Tx_Extbase_Persistence_QOM_ConstraintInterface $constraint2 the second constraint; non-null
* @return Tx_Extbase_Persistence_QOM_OrInterface the Or constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function _or(Tx_Extbase_Persistence_QOM_ConstraintInterface $constraint1, Tx_Extbase_Persistence_QOM_ConstraintInterface $constraint2);
* @param Tx_Extbase_Persistence_QOM_ConstraintInterface $constraint the constraint to be negated; non-null
* @return Tx_Extbase_Persistence_QOM_NotInterface the Not constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function not(Tx_Extbase_Persistence_QOM_ConstraintInterface $constraint);
* @param Tx_Extbase_Persistence_QOM_StaticOperandInterface $operand2 the second operand; non-null
* @return Tx_Extbase_Persistence_QOM_ComparisonInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function comparison(Tx_Extbase_Persistence_QOM_DynamicOperandInterface $operand1, $operator, Tx_Extbase_Persistence_QOM_StaticOperandInterface $operand2);
* @param string $selectorName the selector name; non-null
* @return Tx_Extbase_Persistence_QOM_PropertyExistenceInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function propertyExistence($propertyName, $selectorName = NULL);
* @param string $selectorName the selector name; non-null
* @return Tx_Extbase_Persistence_QOM_FullTextSearchInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function fullTextSearch($propertyName, $fullTextSearchExpression, $selectorName = NULL);
* @param string $path an absolute path; non-null
* @return Tx_Extbase_Persistence_QOM_SameNodeInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function sameNode($path, $selectorName = NULL);
* @param string $selectorName the selector name; non-null
* @return Tx_Extbase_Persistence_QOM_ChildNodeInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function childNode($path, $selectorName = NULL);
* @param string $selectorName the selector name; non-null
* @return Tx_Extbase_Persistence_QOM_DescendantNodeInterface the constraint; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function descendantNode($path, $selectorName = NULL);
* @param string $selectorName the selector name; non-null
* @return Tx_Extbase_Persistence_QOM_PropertyValueInterface the operand; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function propertyValue($propertyName, $selectorName = NULL);
* @param Tx_Extbase_Persistence_QOM_PropertyValueInterface $propertyValue the property value for which to compute the length; non-null
* @return Tx_Extbase_Persistence_QOM_LengthInterface the operand; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function length(Tx_Extbase_Persistence_QOM_PropertyValueInterface $propertyValue);
* @param string $selectorName the selector name; non-null
* @return Tx_Extbase_Persistence_QOM_NodeNameInterface the operand; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function nodeName($selectorName = NULL);
* @param string $selectorName the selector name; non-null
* @return Tx_Extbase_Persistence_QOM_NodeLocalNameInterface the operand; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function nodeLocalName($selectorName = NULL);
* @param string $selectorName the selector name; non-null
* @return Tx_Extbase_Persistence_QOM_FullTextSearchScoreInterface the operand; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function fullTextSearchScore($selectorName = NULL);
* @param Tx_Extbase_Persistence_QOM_DynamicOperandInterface $operand the operand whose value is converted to a lower-case string; non-null
* @return Tx_Extbase_Persistence_QOM_LowerCaseInterface the operand; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function lowerCase(Tx_Extbase_Persistence_QOM_DynamicOperandInterface $operand);
* @param Tx_Extbase_Persistence_QOM_DynamicOperandInterface $operand the operand whose value is converted to a upper-case string; non-null
* @return Tx_Extbase_Persistence_QOM_UpperCaseInterface the operand; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function upperCase(Tx_Extbase_Persistence_QOM_DynamicOperandInterface $operand);
* @param string $bindVariableName the bind variable name; non-null
* @return Tx_Extbase_Persistence_QOM_BindVariableValueInterface the operand; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function bindVariable($bindVariableName);
* @param \F3\PHPCR\ValueInterface $literalValue the value
* @return \F3\PHPCR\ValueInterface the operand; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later) on createQuery, and the parameters given fail that test
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function literal(Tx_Extbase_Persistence_ValueInterface $literalValue);
* @param Tx_Extbase_Persistence_QOM_DynamicOperandInterface $operand the operand by which to order; non-null
* @return Tx_Extbase_Persistence_QOM_OrderingInterface the ordering
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function ascending(Tx_Extbase_Persistence_QOM_DynamicOperandInterface $operand);
* @param Tx_Extbase_Persistence_QOM_DynamicOperandInterface $operand the operand by which to order; non-null
* @return Tx_Extbase_Persistence_QOM_OrderingInterface the ordering
* @throws \F3\PHPCR\Query\InvalidQueryException if the query is invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function descending(Tx_Extbase_Persistence_QOM_DynamicOperandInterface $operand);
* @param string $selectorName the selector name; non-null
* @return Tx_Extbase_Persistence_QOM_ColumnInterface the column; non-null
* @throws \F3\PHPCR\Query\InvalidQueryException if the query has no default selector or is otherwise invalid
- * @throws \F3\PHPCR\RepositoryException if the operation otherwise fails
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the operation otherwise fails
*/
public function column($propertyName, $columnName = NULL, $selectorName = NULL);
--- /dev/null
+<?php
+/***************************************************************
+* Copyright notice
+*
+* (c) 2009 Jochen Rau <jochen.rau@typoplanet.de>
+* All rights reserved
+*
+* This class is a backport of the corresponding class of FLOW3.
+* All credits go to the v5 team.
+*
+* This script is part of the TYPO3 project. The TYPO3 project is
+* free software; you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation; either version 2 of the License, or
+* (at your option) any later version.
+*
+* The GNU General Public License can be found at
+* http://www.gnu.org/copyleft/gpl.html.
+*
+* This script is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* This copyright notice MUST APPEAR in all copies of the script!
+***************************************************************/
+
+/**
+ * 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: UpperCaseInterface.php 1995 2009-03-14 19:57:47Z k-fish $
+ */
+interface Tx_Extbase_Persistence_QOM_UpperCaseInterface extends Tx_Extbase_Persistence_QOM_DynamicOperandInterface {
+
+ /**
+ * Gets the operand whose value is converted to a upper-case string.
+ *
+ * @return Tx_Extbase_Persistence_QOM_DynamicOperandInterface the operand; non-null
+ */
+ public function getOperand();
+
+}
+
+?>
\ No newline at end of file
if ($source instanceof Tx_Extbase_Persistence_QOM_SelectorInterface) {
$sourceSelectorName = $this->getSource()->getSelectorName();
}
+ // TODO $sourceSelectorName might not be initialized
if (is_object($operand) && !($operand instanceof DateTime)) {
$operand = $this->persistenceManager->getBackend()->getUidByObject($operand);
* returned according to the ordering specified in the query.
*
* @return Tx_Extbase_Persistence_RowIteratorInterface a RowIterator
- * @throws \F3\PHPCR\RepositoryException if this call is the second time either getRows() or getNodes() has been called on the same QueryResult object or if another error occurs.
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if this call is the second time either getRows() or getNodes() has been called on the same QueryResult object or if another error occurs.
*/
public function getRows() {
if ($this->tuples === NULL) throw new Tx_Extbase_Persistence_Exception_RepositoryException('Illegal getRows() call - can be called only once and not after getNodes().', 1237991809);
* returned by QueryResult.getColumnNames().
*
* @return array a Value array.
- * @throws \F3\PHPCR\RepositoryException if an error occurs
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if an error occurs
*/
public function getValues();
* @param string $columnName name of query result table column
* @return \F3\PHPCR\ValueInterface a Value
* @throws \F3\PHPCR\ItemNotFoundException if columnName s not among the column names of the query result table.
- * @throws \F3\PHPCR\RepositoryException if another error occurs.
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if another error occurs.
*/
public function getValue($columnName);
if ($comparison->getOperand2() instanceof Tx_Extbase_Persistence_QOM_BindVariableValueInterface) {
$parameters[] = $boundVariableValues[$comparison->getOperand2()->getBindVariableName()];
- } elseif ($comparison->getOperand2() instanceof Tx_Extbase_Persistence_QOM_LiteralInterface) {
- $parameters[] = $comparison->getOperand2()->getLiteralValue();
}
}
* @return string The query part with replaced placeholders
*/
protected function replacePlaceholders(&$sqlString, array $parameters) {
+ if (substr_count($sqlString, '?') !== count($parameters)) throw new Tx_Extbase_Persistence_Exception('The number of question marks to replace must be equal to the number of parameters.', 1242816074);
foreach ($parameters as $parameter) {
$markPosition = strpos($sqlString, '?');
if ($markPosition !== FALSE) {
}
-?>
+?>
\ No newline at end of file
switch ($this->type) {
case Tx_Extbase_Persistence_PropertyType::DATE:
if (is_a($this->value, 'DateTime')) {
+ // FIXME Handling of DateTime Object
return date_format($this->value, DATE_ISO8601);
} else {
return date_format(new DateTime($this->value), DATE_ISO8601);
* (see JCR specification).
*
* @return \F3\TYPO3CR\Binary A Binary representation of this value.
- * @throws \F3\PHPCR\RepositoryException if another error occurs.
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if another error occurs.
*/
public function getBinary() {
throw new Tx_Extbase_Persistence_Exception_UnsupportedMethod('Method not yet implemented, sorry!', 1217843676);
* Returns a long (integer) representation of this value.
*
* @return string A long representation of the value of this property.
- * @throws \F3\PHPCR\ValueFormatException if conversion to a long is not possible.
- * @throws \F3\PHPCR\RepositoryException if another error occurs.
+ * @throws Tx_Extbase_Persistence_Exception_ValueFormatException if conversion to a long is not possible.
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if another error occurs.
*/
public function getLong() {
return (int)$this->value;
* Returns a BigDecimal representation of this value (aliased to getDouble()).
*
* @return float A double representation of the value of this property.
- * @throws \F3\PHPCR\ValueFormatException if conversion is not possible.
- * @throws \F3\PHPCR\RepositoryException if another error occurs.
+ * @throws Tx_Extbase_Persistence_Exception_ValueFormatException if conversion is not possible.
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if another error occurs.
*/
public function getDecimal() {
return $this->getDouble();
* Returns a double (floating point) representation of this value.
*
* @return float A double representation of the value of this property.
- * @throws \F3\PHPCR\ValueFormatException if conversion to a double is not possible.
- * @throws \F3\PHPCR\RepositoryException if another error occurs.
+ * @throws Tx_Extbase_Persistence_Exception_ValueFormatException if conversion to a double is not possible.
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if another error occurs.
*/
public function getDouble() {
return (double)$this->value;
* Returns a \DateTime representation of this value.
*
* @return \DateTime A \DateTime representation of the value of this property.
- * @throws \F3\PHPCR\ValueFormatException if conversion to a \DateTime is not possible.
- * @throws \F3\PHPCR\RepositoryException if another error occurs.
+ * @throws Tx_Extbase_Persistence_Exception_ValueFormatException if conversion to a \DateTime is not possible.
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if another error occurs.
*/
public function getDate() {
if (is_a($this->value, 'DateTime')) {
* Returns a boolean representation of this value.
*
* @return string A boolean representation of the value of this property.
- * @throws \F3\PHPCR\ValueFormatException if conversion to a boolean is not possible.
- * @throws \F3\PHPCR\RepositoryException if another error occurs.
+ * @throws Tx_Extbase_Persistence_Exception_ValueFormatException if conversion to a boolean is not possible.
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if another error occurs.
*/
public function getBoolean() {
return (boolean)$this->value;
* @param integer $type Type request for the Value object
* @param boolean $weak When a Node is given as $value this can be given as TRUE to create a WEAKREFERENCE, $type is ignored in that case!
* @return \F3\PHPCR\ValueInterface
- * @throws \F3\PHPCR\ValueFormatException is thrown if the specified value cannot be converted to the specified type.
- * @throws \F3\PHPCR\RepositoryException if the specified Node is not referenceable, the current Session is no longer active, or another error occurs.
+ * @throws Tx_Extbase_Persistence_Exception_ValueFormatException is thrown if the specified value cannot be converted to the specified type.
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if the specified Node is not referenceable, the current Session is no longer active, or another error occurs.
* @throws \IllegalArgumentException if the specified DateTime value cannot be expressed in the ISO 8601-based format defined in the JCR 2.0 specification and the implementation does not support dates incompatible with that format.
*/
public function createValue($value, $type = Tx_Extbase_Persistence_PropertyType::UNDEFINED, $weak = FALSE) {
* @param mixed $value
* @param integer $type
* @return \F3\PHPCR\ValueInterface
- * @throws \F3\PHPCR\ValueFormatException is thrown if the specified value cannot be converted to the specified type.
+ * @throws Tx_Extbase_Persistence_Exception_ValueFormatException is thrown if the specified value cannot be converted to the specified type.
*/
protected function createValueWithGivenType($value, $type) {
switch ($type) {
* Returns a string representation of this value.
*
* @return string A string representation of the value of this property.
- * @throws \F3\PHPCR\ValueFormatException if conversion to a String is not possible.
- * @throws \F3\PHPCR\RepositoryException if another error occurs.
+ * @throws Tx_Extbase_Persistence_Exception_ValueFormatException if conversion to a String is not possible.
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if another error occurs.
*/
public function getString();
* (see JCR specification).
*
* @return \F3\PHPCR\BinaryInterface A Binary representation of this value.
- * @throws \F3\PHPCR\RepositoryException if another error occurs.
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if another error occurs.
*/
public function getBinary();
* Returns a long representation of this value.
*
* @return string A long representation of the value of this property.
- * @throws \F3\PHPCR\ValueFormatException if conversion to a long is not possible.
- * @throws \F3\PHPCR\RepositoryException if another error occurs.
+ * @throws Tx_Extbase_Persistence_Exception_ValueFormatException if conversion to a long is not possible.
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if another error occurs.
*/
public function getLong();
* Returns a BigDecimal representation of this value.
*
* @return string A double representation of the value of this property.
- * @throws \F3\PHPCR\ValueFormatException if conversion is not possible.
- * @throws \F3\PHPCR\RepositoryException if another error occurs.
+ * @throws Tx_Extbase_Persistence_Exception_ValueFormatException if conversion is not possible.
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if another error occurs.
*/
public function getDecimal();
* Returns a double representation of this value.
*
* @return string A double representation of the value of this property.
- * @throws \F3\PHPCR\ValueFormatException if conversion to a double is not possible.
- * @throws \F3\PHPCR\RepositoryException if another error occurs.
+ * @throws Tx_Extbase_Persistence_Exception_ValueFormatException if conversion to a double is not possible.
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if another error occurs.
*/
public function getDouble();
* not reflected in internal storage.
*
* @return \DateTime A \DateTime representation of the value of this property.
- * @throws \F3\PHPCR\ValueFormatException if conversion to a \DateTime is not possible.
- * @throws \F3\PHPCR\RepositoryException if another error occurs.
+ * @throws Tx_Extbase_Persistence_Exception_ValueFormatException if conversion to a \DateTime is not possible.
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if another error occurs.
*/
public function getDate();
* Returns a boolean representation of this value.
*
* @return string A boolean representation of the value of this property.
- * @throws \F3\PHPCR\ValueFormatException if conversion to a boolean is not possible.
- * @throws \F3\PHPCR\RepositoryException if another error occurs.
+ * @throws Tx_Extbase_Persistence_Exception_ValueFormatException if conversion to a boolean is not possible.
+ * @throws Tx_Extbase_Persistence_Exception_RepositoryException if another error occurs.
*/
public function getBoolean();