Feature #40622

Copying of nodes

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

We need copyBefore(), copyAfter() and copyInto().

Associated revisions

Revision 1a292863
Added by Karsten Dambekalns almost 3 years ago

[FEATURE] Copying of nodes in TYPO3CR

Adds copyAfter(), copyBefore() and copyInto() to the NodeInterface and
provides implementations and tests for them:

  • NodeInterface copyBefore(NodeInterface $referenceNode, $name)
  • NodeInterface copyAfter(NodeInterface $referenceNode, $name)
  • NodeInterface copyInto(NodeInterface $referenceNode, $name)

Change-Id: Ifea58bc6a69e177ec37e375c1291386633248b98
Resolves: #40622

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

History

#1 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/5413

#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 7 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/5413

#4 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