Feature #40623

Add method to rename a node

Added by Karsten Dambekalns almost 3 years ago. Updated almost 3 years ago.

Status:Resolved Start date:2012-09-04
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Node handling
Target version:Base Distribution - Sprint 10 (1.0 TP1)

Description

Using move methods it is possible to rename a node, but it is cumbersome to retain the position. A simple rename() seems much better.

Associated revisions

Revision ef045d74
Added by Karsten Dambekalns almost 3 years ago

[TASK] Make setPath() protected and recursive

This removes setPath() from the NodeInterface and ProxyNode. It is
now protected and works recursively by default, to ease moving and
renaming of nodes.

Change-Id: I59f27620873400045ca3fac1bb7918a224665671
Related: #40622
Related: #32298
Related: #40623

Revision dfa39cfb
Added by Karsten Dambekalns almost 3 years ago

[TASK] Add getParentPath() to NodeInterface

With this change getParentPath() is available not only on Node
but also on ProxyNode.

Change-Id: I172fbf9de6d0257977e188796649bce41c45ed75
Related: #40622
Related: #32298
Related: #40623

Revision de70f48d
Added by Karsten Dambekalns almost 3 years ago

[FEATURE] Add rename method to Node

This adds a rename() method to NodeInterface, Node and ProxyNode.

With this method a node can be renamed, sub nodes are taken care of as well.

Change-Id: I248bcf8c8eda5f3c6d940ded49e6dead39beae6f
Resolves: #40623

History

#1 Updated by Gerrit Code Review almost 3 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14345

#2 Updated by Karsten Dambekalns almost 3 years ago

  • Status changed from Accepted to Under Review

#3 Updated by Gerrit Code Review almost 3 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14345

#4 Updated by Gerrit Code Review almost 3 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14345

#5 Updated by Gerrit Code Review almost 3 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14345

#6 Updated by Gerrit Code Review almost 3 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14345

#7 Updated by Gerrit Code Review almost 3 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14345

#8 Updated by Karsten Dambekalns almost 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF