|
ModeShape Distribution 3.2.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.jcr.cache.ChildReferences.NoChanges
@Immutable public static final class ChildReferences.NoChanges
| Field Summary | |
|---|---|
protected static Iterator<ChildReferences.ChildInsertions> |
NO_INSERTIONS_ITERATOR
|
| Constructor Summary | |
|---|---|
ChildReferences.NoChanges()
|
|
| Method Summary | |
|---|---|
ChildReference |
inserted(NodeKey key)
Get the child reference for the inserted node with the supplied key. |
int |
insertionCount()
Get the number of child references that were inserted. |
Iterator<ChildReferences.ChildInsertions> |
insertions(Name name)
Get the references to the children with the supplied name that were inserted. |
ChildReferences.ChildInsertions |
insertionsBefore(ChildReference key)
Get the set of child references that were inserted before the node with the supplied key. |
boolean |
isEmpty()
Determine if this set of changes is empty. |
boolean |
isRemoved(ChildReference key)
Determine whether the supplied child reference was removed. |
boolean |
isRenamed(ChildReference ref)
Determine whether the supplied child reference was renamed. |
boolean |
isRenamed(Name newName)
Determine whether any of the child references were renamed to the supplied name. |
int |
removalCount()
Get the number of child references that were removed. |
int |
renameCount()
Get the number of child references that were renamed. |
Name |
renamed(NodeKey key)
Return the new name for the child node with the supplied key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Iterator<ChildReferences.ChildInsertions> NO_INSERTIONS_ITERATOR
| Constructor Detail |
|---|
public ChildReferences.NoChanges()
| Method Detail |
|---|
public boolean isEmpty()
ChildReferences.Changes
isEmpty in interface ChildReferences.Changespublic int insertionCount()
ChildReferences.Changes
insertionCount in interface ChildReferences.Changespublic int removalCount()
ChildReferences.Changes
removalCount in interface ChildReferences.Changespublic int renameCount()
ChildReferences.Changes
renameCount in interface ChildReferences.Changespublic Name renamed(NodeKey key)
ChildReferences.Changes
renamed in interface ChildReferences.Changeskey - the child node's key; may not be null
public Iterator<ChildReferences.ChildInsertions> insertions(Name name)
ChildReferences.Changes
insertions in interface ChildReferences.Changesname - the name; may not be null
public ChildReference inserted(NodeKey key)
ChildReferences.Changes
inserted in interface ChildReferences.Changeskey - the node key for the inserted node; may not be null
public ChildReferences.ChildInsertions insertionsBefore(ChildReference key)
ChildReferences.Changes
insertionsBefore in interface ChildReferences.Changeskey - the node key for the node before which the inserted nodes are to be returned; may not be null
public boolean isRemoved(ChildReference key)
ChildReferences.Changes
isRemoved in interface ChildReferences.Changeskey - the reference; may not be null
public boolean isRenamed(ChildReference ref)
ChildReferences.Changes
isRenamed in interface ChildReferences.Changesref - the reference; may not be null
public boolean isRenamed(Name newName)
ChildReferences.Changes
isRenamed in interface ChildReferences.ChangesnewName - the new name; may not be null
|
ModeShape Distribution 3.2.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||