|
|
@@ -538,7 +538,7 @@ class TreeBehavior extends Behavior
|
|
|
*
|
|
|
* @param \Cake\ORM\Entity $node The node to move
|
|
|
* @param int|bool $number How many places to move the node, or true to move to first position
|
|
|
- * @throws \Cake\ORM\Exception\RecordNotFoundException When node was not found
|
|
|
+ * @throws \Cake\Datasource\Exception\RecordNotFoundException When node was not found
|
|
|
* @return \Cake\ORM\Entity|bool $node The node after being moved or false on failure
|
|
|
*/
|
|
|
public function moveUp(Entity $node, $number = 1)
|
|
|
@@ -558,7 +558,7 @@ class TreeBehavior extends Behavior
|
|
|
*
|
|
|
* @param \Cake\ORM\Entity $node The node to move
|
|
|
* @param int|bool $number How many places to move the node, or true to move to first position
|
|
|
- * @throws \Cake\ORM\Exception\RecordNotFoundException When node was not found
|
|
|
+ * @throws \Cake\Datasource\Exception\RecordNotFoundException When node was not found
|
|
|
* @return \Cake\ORM\Entity|bool $node The node after being moved or false on failure
|
|
|
*/
|
|
|
protected function _moveUp($node, $number)
|
|
|
@@ -619,7 +619,7 @@ class TreeBehavior extends Behavior
|
|
|
*
|
|
|
* @param \Cake\ORM\Entity $node The node to move
|
|
|
* @param int|bool $number How many places to move the node or true to move to last position
|
|
|
- * @throws \Cake\ORM\Exception\RecordNotFoundException When node was not found
|
|
|
+ * @throws \Cake\Datasource\Exception\RecordNotFoundException When node was not found
|
|
|
* @return \Cake\ORM\Entity|bool the entity after being moved or false on failure
|
|
|
*/
|
|
|
public function moveDown(Entity $node, $number = 1)
|
|
|
@@ -639,7 +639,7 @@ class TreeBehavior extends Behavior
|
|
|
*
|
|
|
* @param \Cake\ORM\Entity $node The node to move
|
|
|
* @param int|bool $number How many places to move the node, or true to move to last position
|
|
|
- * @throws \Cake\ORM\Exception\RecordNotFoundException When node was not found
|
|
|
+ * @throws \Cake\Datasource\Exception\RecordNotFoundException When node was not found
|
|
|
* @return \Cake\ORM\Entity|bool $node The node after being moved or false on failure
|
|
|
*/
|
|
|
protected function _moveDown($node, $number)
|
|
|
@@ -698,7 +698,7 @@ class TreeBehavior extends Behavior
|
|
|
*
|
|
|
* @param mixed $id Record id.
|
|
|
* @return \Cake\ORM\Entity
|
|
|
- * @throws \Cake\ORM\Exception\RecordNotFoundException When node was not found
|
|
|
+ * @throws \Cake\Datasource\Exception\RecordNotFoundException When node was not found
|
|
|
*/
|
|
|
protected function _getNode($id)
|
|
|
{
|