Package | Description |
---|---|
org.apache.jackrabbit.jcr2spi | |
org.apache.jackrabbit.jcr2spi.hierarchy | |
org.apache.jackrabbit.jcr2spi.state | |
org.apache.jackrabbit.jcr2spi.version |
Modifier and Type | Method and Description |
---|---|
NodeIterator |
ItemManager.getChildNodes(NodeEntry parentEntry) |
NodeIterator |
ItemManagerImpl.getChildNodes(NodeEntry parentEntry) |
PropertyIterator |
ItemManager.getChildProperties(NodeEntry parentEntry) |
PropertyIterator |
ItemManagerImpl.getChildProperties(NodeEntry parentEntry) |
boolean |
ItemManager.hasChildNodes(NodeEntry parentEntry) |
boolean |
ItemManagerImpl.hasChildNodes(NodeEntry parentEntry) |
boolean |
ItemManager.hasChildProperties(NodeEntry parentEntry) |
boolean |
ItemManagerImpl.hasChildProperties(NodeEntry parentEntry) |
Modifier and Type | Class and Description |
---|---|
class |
NodeEntryImpl
NodeEntryImpl implements common functionality for child
node entry implementations. |
Modifier and Type | Method and Description |
---|---|
NodeEntry |
NodeEntry.addNewNodeEntry(Name nodeName,
String uniqueID,
Name primaryNodeType,
QNodeDefinition definition)
Adds a new, transient child
NodeEntry |
NodeEntry |
NodeEntryImpl.addNewNodeEntry(Name nodeName,
String uniqueID,
Name primaryNodeType,
QNodeDefinition definition) |
NodeEntry |
EntryFactory.createNodeEntry(NodeEntry parent,
Name qName,
String uniqueId) |
NodeEntry |
EntryFactory.createRootEntry() |
NodeEntry |
ChildNodeEntries.get(Name nodeName,
int index)
Returns the
NodeEntry with the given
nodeName and index . |
NodeEntry |
ChildNodeEntries.get(Name nodeName,
String uniqueID)
Return the
NodeEntry that matches the given nodeName and
uniqueID or null if no matching entry can be found. |
NodeEntry |
NodeEntry.getDeepNodeEntry(Path path)
Traverse the tree below this entry and return the child entry matching
the given path.
|
NodeEntry |
NodeEntryImpl.getDeepNodeEntry(Path path) |
NodeEntry |
NodeEntry.getNodeEntry(Name nodeName,
int index)
Returns the valid
NodeEntry with the specified name
and index or null if there's no matching entry. |
NodeEntry |
NodeEntryImpl.getNodeEntry(Name nodeName,
int index) |
NodeEntry |
NodeEntry.getNodeEntry(Name nodeName,
int index,
boolean loadIfNotFound)
Returns the valid
NodeEntry with the specified name
and index or null if there's no matching entry. |
NodeEntry |
NodeEntryImpl.getNodeEntry(Name nodeName,
int index,
boolean loadIfNotFound) |
NodeEntry |
HierarchyManager.getNodeEntry(NodeId nodeId)
Resolves a itemId into a
HierarchyEntry . |
NodeEntry |
HierarchyManagerImpl.getNodeEntry(NodeId nodeId) |
NodeEntry |
HierarchyManager.getNodeEntry(Path qPath)
Resolves a path into a
NodeEntry . |
NodeEntry |
HierarchyManagerImpl.getNodeEntry(Path qPath) |
NodeEntry |
NodeEntry.getOrAddNodeEntry(Name nodeName,
int index,
String uniqueID)
Adds a child NodeEntry to this entry if it not yet present with this
node entry.
|
NodeEntry |
NodeEntryImpl.getOrAddNodeEntry(Name nodeName,
int index,
String uniqueID) |
NodeEntry |
HierarchyEntry.getParent()
Returns the
NodeEntry being parent to this
HierarchyEntry . |
NodeEntry |
HierarchyManager.getRootEntry() |
NodeEntry |
HierarchyManagerImpl.getRootEntry() |
NodeEntry |
UniqueIdResolver.lookup(String uniqueId) |
NodeEntry |
NodeEntry.move(Name newName,
NodeEntry newParent,
boolean transientMove)
Moves this
NodeEntry as new child entry of the
NodeEntry identified by newParent and/or renames
it to newName . |
NodeEntry |
NodeEntryImpl.move(Name newName,
NodeEntry newParent,
boolean transientMove) |
NodeEntry |
ChildNodeEntries.remove(NodeEntry childEntry)
Removes the child node entry referring to the node state.
|
NodeEntry |
ChildNodeEntries.reorder(NodeEntry insertEntry,
NodeEntry beforeEntry)
Reorders an existing
NodeEntry before another
NodeEntry . |
NodeEntry |
UniqueIdResolver.resolve(NodeId nodeId,
NodeEntry rootEntry) |
Modifier and Type | Method and Description |
---|---|
List<NodeEntry> |
ChildNodeEntries.get(Name nodeName)
Returns a
List of NodeEntry s for the
given nodeName . |
Iterator<NodeEntry> |
NodeEntry.getNodeEntries()
Returns a unmodifiable iterator of
NodeEntry objects
denoting the the valid child NodeEntries present on this NodeEntry . |
Iterator<NodeEntry> |
NodeEntryImpl.getNodeEntries() |
List<NodeEntry> |
NodeEntry.getNodeEntries(Name nodeName)
Returns a unmodifiable List of
NodeEntry s with the
specified name. |
List<NodeEntry> |
NodeEntryImpl.getNodeEntries(Name nodeName) |
Iterator<NodeEntry> |
ChildNodeEntries.iterator()
Returns an unmodifiable iterator over all NodeEntry objects present in
this ChildNodeEntries collection irrespective of their status.
|
Modifier and Type | Method and Description |
---|---|
void |
ChildNodeEntries.add(NodeEntry cne)
Adds a
NodeEntry to the end of the list. |
void |
ChildNodeEntries.add(NodeEntry cne,
int index)
Adds a
NodeEntry .Note the following special cases: If an entry with the given index already exists, the the new sibling is inserted before. If the given index is bigger that the last entry in the siblings list, intermediate entries will be created. |
void |
ChildNodeEntries.add(NodeEntry entry,
int index,
NodeEntry beforeEntry)
Adds a the new
NodeEntry before beforeEntry . |
NodeEntry |
EntryFactory.createNodeEntry(NodeEntry parent,
Name qName,
String uniqueId) |
PropertyEntry |
EntryFactory.createPropertyEntry(NodeEntry parent,
Name qName) |
void |
EntryFactory.NodeEntryListener.entryCreated(NodeEntry entry) |
void |
UniqueIdResolver.entryCreated(NodeEntry entry) |
int |
HierarchyManager.getRelativeDepth(NodeEntry ancestor,
HierarchyEntry descendant)
Returns the depth of the specified descendant relative to the given
ancestor.
|
int |
HierarchyManagerImpl.getRelativeDepth(NodeEntry ancestor,
HierarchyEntry descendant) |
NodeEntry |
NodeEntry.move(Name newName,
NodeEntry newParent,
boolean transientMove)
Moves this
NodeEntry as new child entry of the
NodeEntry identified by newParent and/or renames
it to newName . |
NodeEntry |
NodeEntryImpl.move(Name newName,
NodeEntry newParent,
boolean transientMove) |
void |
EntryFactory.notifyEntryCreated(NodeEntry entry) |
void |
EntryFactory.notifyIdChange(NodeEntry entry,
String previousUniqueID) |
void |
NodeEntry.orderBefore(NodeEntry beforeEntry)
Reorders this NodeEntry before the sibling entry specified by the given
beforeEntry . |
void |
NodeEntryImpl.orderBefore(NodeEntry beforeEntry) |
NodeEntry |
ChildNodeEntries.remove(NodeEntry childEntry)
Removes the child node entry referring to the node state.
|
NodeEntry |
ChildNodeEntries.reorder(NodeEntry insertEntry,
NodeEntry beforeEntry)
Reorders an existing
NodeEntry before another
NodeEntry . |
void |
ChildNodeEntries.reorderAfter(NodeEntry insertEntry,
NodeEntry afterEntry)
Reorders an existing
NodeEntry after another
NodeEntry . |
NodeEntry |
UniqueIdResolver.resolve(NodeId nodeId,
NodeEntry rootEntry) |
void |
EntryFactory.NodeEntryListener.uniqueIdChanged(NodeEntry entry,
String previousUniqueID) |
void |
UniqueIdResolver.uniqueIdChanged(NodeEntry entry,
String previousUniqueID) |
Modifier and Type | Method and Description |
---|---|
NodeEntry |
NodeState.getNodeEntry() |
Modifier and Type | Method and Description |
---|---|
NodeState |
ItemStateFactory.createDeepNodeState(NodeId nodeId,
NodeEntry anyParent)
Tries to retrieve the
NodeState with the given NodeId
and if the state exists, fills in the NodeEntries missing between the
last known NodeEntry marked by anyParent . |
NodeState |
TransientISFactory.createDeepNodeState(NodeId nodeId,
NodeEntry anyParent) |
NodeState |
WorkspaceItemStateFactory.createDeepNodeState(NodeId nodeId,
NodeEntry anyParent)
Creates the node with information retrieved from the
RepositoryService . |
PropertyState |
ItemStateFactory.createDeepPropertyState(PropertyId propertyId,
NodeEntry anyParent)
Tries to retrieve the
PropertyState with the given PropertyId
and if the state exists, fills in the HierarchyEntries missing between the
last known NodeEntry marked by anyParent . |
PropertyState |
TransientISFactory.createDeepPropertyState(PropertyId propertyId,
NodeEntry anyParent) |
PropertyState |
WorkspaceItemStateFactory.createDeepPropertyState(PropertyId propertyId,
NodeEntry anyParent)
Creates the PropertyState with information retrieved from the
RepositoryService . |
NodeState |
TransientISFactory.createNewNodeState(NodeEntry entry,
Name nodetypeName,
QNodeDefinition definition) |
NodeState |
TransientItemStateFactory.createNewNodeState(NodeEntry entry,
Name nodeTypeName,
QNodeDefinition definition)
Creates a transient child
NodeState with the given
name . |
NodeState |
ItemStateFactory.createNodeState(NodeId nodeId,
NodeEntry entry)
Creates the child
NodeState with the given
nodeId . |
NodeState |
TransientISFactory.createNodeState(NodeId nodeId,
NodeEntry entry) |
NodeState |
WorkspaceItemStateFactory.createNodeState(NodeId nodeId,
NodeEntry entry)
Creates the node with information retrieved from the
RepositoryService . |
NodeState |
ItemStateFactory.createRootState(NodeEntry entry) |
NodeState |
TransientISFactory.createRootState(NodeEntry entry) |
NodeState |
WorkspaceItemStateFactory.createRootState(NodeEntry entry) |
Constructor and Description |
---|
NodeState(NodeEntry entry,
Name nodeTypeName,
Name[] mixinTypeNames,
ItemStateFactory isf,
QNodeDefinition definition,
ItemDefinitionProvider definitionProvider)
Constructs a NEW NodeState
|
NodeState(NodeEntry entry,
NodeInfo nInfo,
ItemStateFactory isf,
ItemDefinitionProvider definitionProvider)
Constructs an EXISTING NodeState
|
Modifier and Type | Method and Description |
---|---|
NodeEntry |
VersionManager.checkin(NodeState nodeState) |
NodeEntry |
VersionManagerImpl.checkin(NodeState nodeState) |
NodeEntry |
VersionManager.checkpoint(NodeState nodeState) |
NodeEntry |
VersionManagerImpl.checkpoint(NodeState nodeState) |
NodeEntry |
VersionManager.checkpoint(NodeState nodeState,
NodeId activityId) |
NodeEntry |
VersionManagerImpl.checkpoint(NodeState nodeState,
NodeId activityId) |
NodeEntry |
VersionManager.createActivity(String title) |
NodeEntry |
VersionManagerImpl.createActivity(String title) |
NodeEntry |
VersionManager.createConfiguration(NodeState nodeState) |
NodeEntry |
VersionManagerImpl.createConfiguration(NodeState nodeState) |
NodeEntry |
VersionManager.getVersionableNodeEntry(NodeState versionState) |
NodeEntry |
VersionManagerImpl.getVersionableNodeEntry(NodeState versionState) |
NodeEntry |
VersionManager.getVersionHistoryEntry(NodeState versionableState) |
NodeEntry |
VersionManagerImpl.getVersionHistoryEntry(NodeState versionableState) |
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.