org.modeshape.jcr.cache.change
Class NodeReordered
java.lang.Object
org.modeshape.jcr.cache.change.Change
org.modeshape.jcr.cache.change.AbstractNodeChange
org.modeshape.jcr.cache.change.NodeReordered
- All Implemented Interfaces:
- Serializable
public class NodeReordered
- extends AbstractNodeChange
A change event which is generated by a Node.orderBefore(String, String)
operation.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeReordered
public NodeReordered(NodeKey key,
NodeKey parent,
Path newPath,
Path oldPath,
Path reorderedBeforePath)
getOldPath
public Path getOldPath()
getParent
public NodeKey getParent()
getReorderedBeforePath
public Path getReorderedBeforePath()
- Gets the path of the node at the "destination" of the reordering.
- Returns:
- either a node path or
null
, in case a reordering has happened at the end of the children list
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.