Package | Description |
---|---|
org.modeshape.jcr.cache | |
org.modeshape.jcr.cache.document |
Modifier and Type | Method and Description |
---|---|
ChildReference |
ChildReferences.getChild(Name name)
Look for the child reference that has the given name and a SNS index of '1'.
|
ChildReference |
ChildReferences.getChild(Name name,
int snsIndex)
Look for the child reference that has the given name and SNS index.
|
ChildReference |
ChildReferences.getChild(Name name,
int snsIndex,
ChildReferences.Context context)
Look for the child reference that has the given name and SNS index.
|
ChildReference |
ChildReferences.getChild(NodeKey key)
Look for the child reference that has the node key.
|
ChildReference |
ChildReferences.getChild(NodeKey key,
ChildReferences.Context context)
Look for the child reference that has the node key.
|
ChildReference |
ChildReferences.getChild(Path.Segment segment)
Look for the child reference that has the given name and SNS index.
|
ChildReference |
ChildReferences.Changes.inserted(NodeKey key)
Get the child reference for the inserted node with the supplied key.
|
ChildReference |
ChildReferences.NoChanges.inserted(NodeKey key) |
ChildReference |
ChildReferences.ChildInsertions.insertedBefore()
The reference to the child before which the nodes are to be inserted.
|
ChildReference |
ChildReference.with(int snsIndex) |
ChildReference |
ChildReference.with(Name name,
int snsIndex) |
Modifier and Type | Method and Description |
---|---|
Iterable<ChildReference> |
ChildReferences.ChildInsertions.inserted()
The nodes that were inserted.
|
Iterator<ChildReference> |
ChildReferences.iterator()
Get an iterator over all of the children.
|
Iterator<ChildReference> |
ChildReferences.iterator(ChildReferences.Context context)
Get an iterator over all child references in this collection, using the supplied context.
|
Iterator<ChildReference> |
ChildReferences.iterator(ChildReferences.Context context,
Collection<?> namePatterns,
NamespaceRegistry registry)
Get an iterator over all of the children that have
names (excluding same-name-sibling indexes)
matching at least one of the supplied patterns, using the supplied context. |
Iterator<ChildReference> |
ChildReferences.iterator(Collection<?> namePatterns,
NamespaceRegistry registry)
Get an iterator over all of the children that have
names (excluding same-name-sibling indexes)
matching at least one of the supplied patterns. |
Iterator<ChildReference> |
ChildReferences.iterator(Name name)
Get an iterator over all of the children that have same name matching the supplied value.
|
Iterator<ChildReference> |
ChildReferences.iterator(Name name,
ChildReferences.Context context)
Get an iterator over all of the children that have same name matching the supplied value.
|
Modifier and Type | Method and Description |
---|---|
int |
ChildReference.compareTo(ChildReference that) |
CachedNode |
SessionCacheWrapper.getNode(ChildReference reference) |
CachedNode |
NodeCache.getNode(ChildReference reference)
Get the cached representation of the node as represented by the supplied child reference.
|
ChildReferences.ChildInsertions |
ChildReferences.Changes.insertionsBefore(ChildReference key)
Get the set of child references that were inserted before the node with the supplied key.
|
ChildReferences.ChildInsertions |
ChildReferences.NoChanges.insertionsBefore(ChildReference key) |
boolean |
ChildReferences.Changes.isRemoved(ChildReference ref)
Determine whether the supplied child reference was removed.
|
boolean |
ChildReferences.NoChanges.isRemoved(ChildReference key) |
boolean |
ChildReferences.Changes.isRenamed(ChildReference ref)
Determine whether the supplied child reference was renamed.
|
boolean |
ChildReferences.NoChanges.isRenamed(ChildReference ref) |
Modifier and Type | Field and Description |
---|---|
protected static Iterator<ChildReference> |
ImmutableChildReferences.EMPTY_ITERATOR |
Modifier and Type | Method and Description |
---|---|
protected ChildReference |
DocumentTranslator.childReferenceFrom(Object value) |
ChildReference |
LazyCachedNode.ParentReferenceToSelf.childReferenceInParent()
Get the cached
ChildReference instance. |
ChildReference |
LazyCachedNode.RootParentReferenceToSelf.childReferenceInParent() |
ChildReference |
LazyCachedNode.NonRootParentReferenceToSelf.childReferenceInParent() |
ChildReference |
ImmutableChildReferences.EmptyChildReferences.getChild(Name name) |
ChildReference |
AbstractChildReferences.getChild(Name name) |
ChildReference |
ImmutableChildReferences.EmptyChildReferences.getChild(Name name,
int snsIndex) |
ChildReference |
AbstractChildReferences.getChild(Name name,
int snsIndex) |
ChildReference |
SessionChildReferences.getChild(Name name,
int snsIndex,
ChildReferences.Context context) |
ChildReference |
MutableChildReferences.getChild(Name name,
int snsIndex,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.EmptyChildReferences.getChild(Name name,
int snsIndex,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.Medium.getChild(Name name,
int snsIndex,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.Segmented.getChild(Name name,
int snsIndex,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.ReferencesUnion.getChild(Name name,
int snsIndex,
ChildReferences.Context context) |
ChildReference |
SessionChildReferences.getChild(NodeKey key) |
ChildReference |
MutableChildReferences.getChild(NodeKey key) |
ChildReference |
ImmutableChildReferences.EmptyChildReferences.getChild(NodeKey key) |
ChildReference |
ImmutableChildReferences.Medium.getChild(NodeKey key) |
ChildReference |
ImmutableChildReferences.Segmented.getChild(NodeKey key) |
ChildReference |
ImmutableChildReferences.ReferencesUnion.getChild(NodeKey key) |
ChildReference |
SessionChildReferences.getChild(NodeKey key,
ChildReferences.Context context) |
ChildReference |
MutableChildReferences.getChild(NodeKey key,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.EmptyChildReferences.getChild(NodeKey key,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.Medium.getChild(NodeKey key,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.Segmented.getChild(NodeKey key,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.ReferencesUnion.getChild(NodeKey key,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.EmptyChildReferences.getChild(Path.Segment segment) |
ChildReference |
AbstractChildReferences.getChild(Path.Segment segment) |
ChildReference |
WorkspaceCache.getChildReference(NodeKey parentKey,
NodeKey childKey) |
ChildReference |
SessionNode.ChangedChildren.inserted(NodeKey key) |
ChildReference |
SessionNode.Insertions.insertedBefore() |
ChildReference |
AbstractChildReferences.ChildReferenceWithNameIterator.next() |
protected ChildReference |
LazyCachedNode.parentReferenceToSelf(WorkspaceCache cache)
Get the parent node's child reference to this node.
|
ChildReference |
SessionNode.Insertions.remove(NodeKey key) |
ChildReference |
MutableChildReferences.remove(NodeKey key) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<ChildReference> |
AbstractChildReferences.contextSensitiveIterator(Iterator<ChildReference> original,
ChildReferences.Context context) |
protected Iterator<ChildReference> |
SessionChildReferences.createIterator(ChildReferences.Context context) |
protected Iterator<ChildReference> |
SessionChildReferences.createIterator(Name name,
ChildReferences.Context context) |
Iterable<ChildReference> |
SessionNode.Insertions.inserted() |
Iterator<ChildReference> |
MutableChildReferences.iterator() |
Iterator<ChildReference> |
ImmutableChildReferences.EmptyChildReferences.iterator() |
Iterator<ChildReference> |
ImmutableChildReferences.Medium.iterator() |
Iterator<ChildReference> |
ImmutableChildReferences.ReferencesUnion.iterator() |
Iterator<ChildReference> |
AbstractChildReferences.iterator() |
Iterator<ChildReference> |
SessionChildReferences.iterator(ChildReferences.Context context) |
Iterator<ChildReference> |
ImmutableChildReferences.EmptyChildReferences.iterator(ChildReferences.Context context) |
Iterator<ChildReference> |
ImmutableChildReferences.Medium.iterator(ChildReferences.Context context) |
Iterator<ChildReference> |
ImmutableChildReferences.Segmented.iterator(ChildReferences.Context context) |
Iterator<ChildReference> |
AbstractChildReferences.iterator(ChildReferences.Context context)
Get an iterator over all child references in this collection, but base the SNS indexes upon those already consumed.
|
Iterator<ChildReference> |
ImmutableChildReferences.EmptyChildReferences.iterator(ChildReferences.Context context,
Collection<?> namePatterns,
NamespaceRegistry registry) |
Iterator<ChildReference> |
AbstractChildReferences.iterator(ChildReferences.Context context,
Collection<?> namePatterns,
NamespaceRegistry registry) |
Iterator<ChildReference> |
AbstractChildReferences.iterator(ChildReferences.Context context,
Name name) |
Iterator<ChildReference> |
ImmutableChildReferences.EmptyChildReferences.iterator(Collection<?> namePatterns,
NamespaceRegistry registry) |
Iterator<ChildReference> |
AbstractChildReferences.iterator(Collection<?> namePatterns,
NamespaceRegistry registry) |
Iterator<ChildReference> |
MutableChildReferences.iterator(Name name) |
Iterator<ChildReference> |
ImmutableChildReferences.EmptyChildReferences.iterator(Name name) |
Iterator<ChildReference> |
ImmutableChildReferences.Medium.iterator(Name name) |
Iterator<ChildReference> |
ImmutableChildReferences.ReferencesUnion.iterator(Name name) |
Iterator<ChildReference> |
AbstractChildReferences.iterator(Name name) |
Iterator<ChildReference> |
SessionChildReferences.iterator(Name name,
ChildReferences.Context context) |
Iterator<ChildReference> |
ImmutableChildReferences.EmptyChildReferences.iterator(Name name,
ChildReferences.Context context) |
Iterator<ChildReference> |
ImmutableChildReferences.Medium.iterator(Name name,
ChildReferences.Context context) |
Iterator<ChildReference> |
ImmutableChildReferences.Segmented.iterator(Name name,
ChildReferences.Context context) |
Iterator<ChildReference> |
AbstractChildReferences.iterator(Name name,
ChildReferences.Context context) |
Modifier and Type | Method and Description |
---|---|
void |
SessionNode.Insertions.add(ChildReference reference) |
boolean |
SessionNode.Insertions.contains(ChildReference reference) |
EditableDocument |
DocumentTranslator.fromChildReference(ChildReference ref) |
CachedNode |
WorkspaceCache.getNode(ChildReference reference) |
CachedNode |
AbstractSessionCache.getNode(ChildReference reference) |
void |
SessionNode.ChangedChildren.insertBefore(ChildReference before,
ChildReference inserted)
Insert the supplied child reference before another child reference.
|
ChildReferences.ChildInsertions |
SessionNode.ChangedChildren.insertionsBefore(ChildReference key) |
boolean |
SessionNode.ChangedChildren.isRemoved(ChildReference ref) |
boolean |
SessionNode.ChangedChildren.isRenamed(ChildReference ref) |
boolean |
SessionNode.Insertions.remove(ChildReference reference) |
Modifier and Type | Method and Description |
---|---|
void |
MutableChildReferences.append(Iterable<ChildReference> references) |
protected Iterator<ChildReference> |
AbstractChildReferences.contextSensitiveIterator(Iterator<ChildReference> original,
ChildReferences.Context context) |
Constructor and Description |
---|
Insertions(ChildReference before) |
Insertions(ChildReference before,
ChildReference inserted) |
NonRootParentReferenceToSelf(CachedNode parent,
ChildReference childReferenceInParent) |
Constructor and Description |
---|
ChildReferenceWithNameIterator(Iterator<ChildReference> delegate,
Name name) |
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.