Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

    public class NodeReordered

extends AbstractNodeChange

A change event which is generated by a `Node.orderBefore(String, String)` operation.

Author:
  Horia Chiorean

Field Summary

Fields inherited from class org.modeshape.jcr.cache.change.AbstractNodeChange
`path`

Constructor Summary
`NodeReordered(NodeKey key, NodeKey parent, Path newPath, Path oldPath, Path reorderedBeforePath)`

Method Summary
`Path` | `getOldPath()`
`NodeKey` | `getParent()`
`Path` | `getReorderedBeforePath()` Gets the path of the node at the "destination" of the reordering.

Methods inherited from class org.modeshape.jcr.cache.change.AbstractNodeChange
`getKey, getPath`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### NodeReordered

    public NodeReordered(NodeKey key,
                         NodeKey parent,
                         Path newPath,
                         Path oldPath,
                         Path reorderedBeforePath)

Method Detail

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.