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 |
ItemManagerImpl.getChildNodes(NodeEntry parentEntry) |
NodeIterator |
ItemManager.getChildNodes(NodeEntry parentEntry) |
PropertyIterator |
ItemManagerImpl.getChildProperties(NodeEntry parentEntry) |
PropertyIterator |
ItemManager.getChildProperties(NodeEntry parentEntry) |
boolean |
ItemManagerImpl.hasChildNodes(NodeEntry parentEntry) |
boolean |
ItemManager.hasChildNodes(NodeEntry parentEntry) |
boolean |
ItemManagerImpl.hasChildProperties(NodeEntry parentEntry) |
boolean |
ItemManager.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 |
NodeEntryImpl.addNewNodeEntry(Name nodeName,
String uniqueID,
Name primaryNodeType,
QNodeDefinition definition) |
NodeEntry |
NodeEntry.addNewNodeEntry(Name nodeName,
String uniqueID,
Name primaryNodeType,
QNodeDefinition definition)
Adds a new, transient child
NodeEntry |
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 |
NodeEntryImpl.getDeepNodeEntry(Path path) |
NodeEntry |
NodeEntry.getDeepNodeEntry(Path path)
Traverse the tree below this entry and return the child entry matching
the given path.
|
NodeEntry |
NodeEntryImpl.getNodeEntry(Name nodeName,
int index) |
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,
boolean loadIfNotFound) |
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 |
HierarchyManagerImpl.getNodeEntry(NodeId nodeId) |
NodeEntry |
HierarchyManager.getNodeEntry(NodeId nodeId)
Resolves a itemId into a
HierarchyEntry . |
NodeEntry |
HierarchyManagerImpl.getNodeEntry(Path qPath) |
NodeEntry |
HierarchyManager.getNodeEntry(Path qPath)
Resolves a path into a
NodeEntry . |
NodeEntry |
NodeEntryImpl.getOrAddNodeEntry(Name nodeName,
int index,
String uniqueID) |
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 |
HierarchyEntry.getParent()
Returns the
NodeEntry being parent to this
HierarchyEntry . |
NodeEntry |
HierarchyManagerImpl.getRootEntry() |
NodeEntry |
HierarchyManager.getRootEntry() |
NodeEntry |
UniqueIdResolver.lookup(String uniqueId) |
NodeEntry |
NodeEntryImpl.move(Name newName,
NodeEntry newParent,
boolean transientMove) |
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 |
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> |
NodeEntryImpl.getNodeEntries() |
Iterator<NodeEntry> |
NodeEntry.getNodeEntries()
Returns a unmodifiable iterator of
NodeEntry objects
denoting the the valid child NodeEntries present on this NodeEntry . |
List<NodeEntry> |
NodeEntryImpl.getNodeEntries(Name nodeName) |
List<NodeEntry> |
NodeEntry.getNodeEntries(Name nodeName)
Returns a unmodifiable List of
NodeEntry s with the
specified name. |
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 |
UniqueIdResolver.entryCreated(NodeEntry entry) |
void |
EntryFactory.NodeEntryListener.entryCreated(NodeEntry entry) |
int |
HierarchyManagerImpl.getRelativeDepth(NodeEntry ancestor,
HierarchyEntry descendant) |
int |
HierarchyManager.getRelativeDepth(NodeEntry ancestor,
HierarchyEntry descendant)
Returns the depth of the specified descendant relative to the given
ancestor.
|
NodeEntry |
NodeEntryImpl.move(Name newName,
NodeEntry newParent,
boolean transientMove) |
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 . |
void |
EntryFactory.notifyEntryCreated(NodeEntry entry) |
void |
EntryFactory.notifyIdChange(NodeEntry entry,
String previousUniqueID) |
void |
NodeEntryImpl.orderBefore(NodeEntry beforeEntry) |
void |
NodeEntry.orderBefore(NodeEntry beforeEntry)
Reorders this NodeEntry before the sibling entry specified by the given
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 |
UniqueIdResolver.uniqueIdChanged(NodeEntry entry,
String previousUniqueID) |
void |
EntryFactory.NodeEntryListener.uniqueIdChanged(NodeEntry entry,
String previousUniqueID) |
Modifier and Type | Method and Description |
---|---|
NodeEntry |
NodeState.getNodeEntry() |
Modifier and Type | Method and Description |
---|---|
NodeState |
WorkspaceItemStateFactory.createDeepNodeState(NodeId nodeId,
NodeEntry anyParent)
Creates the node with information retrieved from the
RepositoryService . |
NodeState |
TransientISFactory.createDeepNodeState(NodeId nodeId,
NodeEntry anyParent) |
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 . |
PropertyState |
WorkspaceItemStateFactory.createDeepPropertyState(PropertyId propertyId,
NodeEntry anyParent)
Creates the PropertyState with information retrieved from the
RepositoryService . |
PropertyState |
TransientISFactory.createDeepPropertyState(PropertyId propertyId,
NodeEntry anyParent) |
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 . |
NodeState |
TransientItemStateFactory.createNewNodeState(NodeEntry entry,
Name nodeTypeName,
QNodeDefinition definition)
Creates a transient child
NodeState with the given
name . |
NodeState |
TransientISFactory.createNewNodeState(NodeEntry entry,
Name nodetypeName,
QNodeDefinition definition) |
NodeState |
WorkspaceItemStateFactory.createNodeState(NodeId nodeId,
NodeEntry entry)
Creates the node with information retrieved from the
RepositoryService . |
NodeState |
TransientISFactory.createNodeState(NodeId nodeId,
NodeEntry entry) |
NodeState |
ItemStateFactory.createNodeState(NodeId nodeId,
NodeEntry entry)
Creates the child
NodeState with the given
nodeId . |
NodeState |
WorkspaceItemStateFactory.createRootState(NodeEntry entry) |
NodeState |
TransientISFactory.createRootState(NodeEntry entry) |
NodeState |
ItemStateFactory.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 |
VersionManagerImpl.checkin(NodeState nodeState) |
NodeEntry |
VersionManager.checkin(NodeState nodeState) |
NodeEntry |
VersionManagerImpl.checkpoint(NodeState nodeState) |
NodeEntry |
VersionManager.checkpoint(NodeState nodeState) |
NodeEntry |
VersionManagerImpl.checkpoint(NodeState nodeState,
NodeId activityId) |
NodeEntry |
VersionManager.checkpoint(NodeState nodeState,
NodeId activityId) |
NodeEntry |
VersionManagerImpl.createActivity(String title) |
NodeEntry |
VersionManager.createActivity(String title) |
NodeEntry |
VersionManagerImpl.createConfiguration(NodeState nodeState) |
NodeEntry |
VersionManager.createConfiguration(NodeState nodeState) |
NodeEntry |
VersionManagerImpl.getVersionableNodeEntry(NodeState versionState) |
NodeEntry |
VersionManager.getVersionableNodeEntry(NodeState versionState) |
NodeEntry |
VersionManagerImpl.getVersionHistoryEntry(NodeState versionableState) |
NodeEntry |
VersionManager.getVersionHistoryEntry(NodeState versionableState) |
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.