Uses of Class
org.apache.jackrabbit.core.id.NodeId
-
-
Uses of NodeId in org.apache.jackrabbit.core
Fields in org.apache.jackrabbit.core declared as NodeId Modifier and Type Field Description static NodeId
RepositoryImpl. ACTIVITIES_NODE_ID
hardcoded id of the "/jcr:system/jcr:activities" nodestatic NodeId
RepositoryImpl. CONFIGURATIONS_NODE_ID
hardcoded id of the "/jcr:system/jcr:configurations" nodestatic NodeId
RepositoryImpl. NODETYPES_NODE_ID
hardcoded id of the "/jcr:system/jcr:nodeTypes" nodestatic NodeId
RepositoryImpl. ROOT_NODE_ID
hardcoded id of the repository root nodeprotected NodeId
HierarchyManagerImpl. rootNodeId
static NodeId
RepositoryImpl. SYSTEM_ROOT_NODE_ID
hardcoded id of the "/jcr:system" nodestatic NodeId
RepositoryImpl. VERSION_STORAGE_NODE_ID
hardcoded id of the "/jcr:system/jcr:versionStorage" nodeMethods in org.apache.jackrabbit.core that return NodeId Modifier and Type Method Description NodeId
BatchedItemOperations. clone(NodeState srcState, NodeState destParentState, Name destName)
Implementation ofBatchedItemOperations.clone(Path, Path)
that has already determined the affectedNodeState
s.NodeId
BatchedItemOperations. clone(Path srcPath, Path destPath)
Clones the subtree at the nodesrcAbsPath
in to the new location atdestAbsPath
.NodeId
BatchedItemOperations. copy(Path srcPath, ItemStateManager srcStateMgr, HierarchyManager srcHierMgr, AccessManager srcAccessMgr, Path destPath, int flag)
Copies the tree atsrcPath
retrieved using the specifiedsrcStateMgr
to the new location atdestPath
.NodeId
BatchedItemOperations. copy(Path srcPath, Path destPath, int flag)
Copies the tree atsrcPath
to the new location atdestPath
.NodeId
NodeImpl. getNodeId()
Returns the identifier of thisNode
.NodeId
AbstractNodeData. getParentId()
Return the parent id of this node.protected NodeId
HierarchyManagerImpl. getParentId(ItemState state)
Returns theparentUUID
of the given item.NodeId
ItemData. getParentId()
Return the parent id of this item.NodeId
NodeImpl. getParentId()
Helper method, returning the parent id this node is attached to.protected NodeId
ZombieHierarchyManager. getParentId(ItemState state)
Returns theparentUUID
of the given item.NodeId
AbstractNodeData. getPrimaryParentId()
Return the primary parent id of this node.NodeId
HierarchyManagerImpl. getRootNodeId()
NodeId
RepositoryContext. getRootNodeId()
Returns the root node identifier of this repository.NodeId
BatchedItemOperations. move(Path srcPath, Path destPath)
Moves the tree atsrcPath
to the new location atdestPath
.NodeId
HierarchyManager. resolveNodePath(Path path)
Resolves a path into a node id.NodeId
HierarchyManagerImpl. resolveNodePath(Path path)
Resolves a path into a node id.protected NodeId
NodeImpl. resolveRelativeNodePath(String relPath)
Returns the id of the node atrelPath
ornull
if no node exists atrelPath
.Methods in org.apache.jackrabbit.core that return types with arguments of type NodeId Modifier and Type Method Description protected Set<NodeId>
HierarchyManagerImpl. getParentIds(ItemState state, boolean useOverlayed)
Return all parents of a node.Iterable<NodeId>
SearchManager. getWeaklyReferringNodes(NodeId id)
Returns the ids of the nodes that refer to the node withid
by weak references.Methods in org.apache.jackrabbit.core with parameters of type NodeId Modifier and Type Method Description NodeImpl
NodeImpl. addNode(Name nodeName, Name nodeTypeName, NodeId id)
Same as
except that this method takesNode.addNode(String, String)
Name
arguments instead ofString
s and has an additionaluuid
argument.protected NodeImpl
ProtectedItemModifier. addNode(NodeImpl parentImpl, Name name, Name ntName, NodeId nodeId)
void
BatchedItemOperations. checkRemoveNode(NodeState targetState, NodeId parentId, int options)
Checks if removing the given target node from the specifed parent is allowed in the current context.protected NodeImpl
NodeImpl. createChildNode(Name name, NodeTypeImpl nodeType, NodeId id)
NodeState
BatchedItemOperations. createNodeState(NodeState parent, Name nodeName, Name nodeTypeName, Name[] mixinNames, NodeId id)
Creates a new node.NodeState
BatchedItemOperations. createNodeState(NodeState parent, Name nodeName, Name nodeTypeName, Name[] mixinNames, NodeId id, QNodeDefinition def)
Creates a new node based on the given definition.protected ChildNodeEntry
HierarchyManagerImpl. getChildNodeEntry(NodeState parent, NodeId id)
Returns theChildNodeEntry
ofparent
with the specifieduuid
ornull
if there's no such entry.protected ChildNodeEntry
ZombieHierarchyManager. getChildNodeEntry(NodeState parent, NodeId id)
Returns theChildNodeEntry
ofparent
with the specifieduuid
ornull
if there's no such entry.Name
HierarchyManager. getName(NodeId id, NodeId parentId)
Returns the name of the specified item, with the given parent id.Name
HierarchyManagerImpl. getName(NodeId id, NodeId parentId)
Returns the name of the specified item, with the given parent id.NodeImpl
ItemManager. getNode(NodeId id, NodeId parentId)
Returns a node with a given id and parent id.NodeImpl
SessionImpl. getNodeById(NodeId id)
Retrieves theNode
with the given id.NodeState
BatchedItemOperations. getNodeState(NodeId id)
Retrieves the state of the node with the given id.int
HierarchyManager. getRelativeDepth(NodeId ancestorId, ItemId descendantId)
Returns the depth of the specified descendant relative to the given ancestor.int
HierarchyManagerImpl. getRelativeDepth(NodeId ancestorId, ItemId descendantId)
Returns the depth of the specified descendant relative to the given ancestor.int
HierarchyManager. getShareRelativeDepth(NodeId ancestorId, ItemId descendantId)
Returns the depth of the specified share-descendant relative to the given share-ancestor.int
HierarchyManagerImpl. getShareRelativeDepth(NodeId ancestor, ItemId descendant)
Returns the depth of the specified share-descendant relative to the given share-ancestor.Iterable<NodeId>
SearchManager. getWeaklyReferringNodes(NodeId id)
Returns the ids of the nodes that refer to the node withid
by weak references.boolean
CachingHierarchyManager. isAncestor(NodeId nodeId, ItemId itemId)
Determines whether the node with the specifiednodeId
is an ancestor of the item denoted by the givenitemId
.boolean
HierarchyManager. isAncestor(NodeId nodeId, ItemId itemId)
Determines whether the node with the specifiednodeId
is an ancestor of the item denoted by the givenitemId
.boolean
HierarchyManagerImpl. isAncestor(NodeId nodeId, ItemId itemId)
Determines whether the node with the specifiednodeId
is an ancestor of the item denoted by the givenitemId
.boolean
HierarchyManager. isShareAncestor(NodeId ancestor, NodeId descendant)
Determines whether the node with the specifiedancestor
is a share ancestor of the item denoted by the givendescendant
.boolean
HierarchyManagerImpl. isShareAncestor(NodeId ancestor, NodeId descendant)
Determines whether the node with the specifiedancestor
is a share ancestor of the item denoted by the givendescendant
.void
CachingHierarchyManager. nodeAdded(NodeState state, Name name, int index, NodeId id)
Called when a child node has been addedvoid
CachingHierarchyManager. nodeRemoved(NodeState state, Name name, int index, NodeId id)
Called when a child node has been removedprotected void
NodeImpl. onRemove(NodeId parentId)
protected void
NodeImpl. removeChildNode(NodeId childId)
protected void
NodeImpl. renameChildNode(NodeId id, Name newName, boolean replace)
protected void
NodeImpl. renameChildNode(Name oldName, int index, NodeId id, Name newName)
Deprecated.use #renameChildNode(NodeId, Name, boolean)NodeImpl
NodeImpl. replaceChildNode(NodeId id, Name nodeName, Name nodeTypeName, Name[] mixinNames)
Replaces the child node with the specifiedid
by a new child node with the same id and specifiednodeName
,nodeTypeName
andmixinNames
.protected void
AbstractNodeData. setPrimaryParentId(NodeId primaryParentId)
Set the primary parent id of this node.Constructors in org.apache.jackrabbit.core with parameters of type NodeId Constructor Description CachingHierarchyManager(NodeId rootNodeId, ItemStateManager provider)
Create a new instance of this class.HierarchyManagerImpl(NodeId rootNodeId, ItemStateManager provider)
LazyItemIterator(SessionContext sessionContext, List<? extends ItemId> idList, NodeId parentId)
Creates a newLazyItemIterator
instance, additionally taking a parent id as parameter.SearchManager(String workspace, RepositoryContext repositoryContext, QueryHandlerFactory qhf, SharedItemStateManager itemMgr, PersistenceManager pm, NodeId rootNodeId, SearchManager parentMgr, NodeId excludedNodeId)
Creates a newSearchManager
. -
Uses of NodeId in org.apache.jackrabbit.core.cluster
Methods in org.apache.jackrabbit.core.cluster that return NodeId Modifier and Type Method Description NodeId
LockRecord. getNodeId()
Return the node id.Methods in org.apache.jackrabbit.core.cluster with parameters of type NodeId Modifier and Type Method Description ClusterOperation
LockEventChannel. create(NodeId nodeId)
Create a new cluster operation that should be used to inform other instances in the cluster.ClusterOperation
LockEventChannel. create(NodeId nodeId, boolean deep, String owner)
Create a new cluster operation that should be used to inform other instances in the cluster.void
LockEventListener. externalLock(NodeId nodeId, boolean isDeep, String lockOwner)
Handle an external lock operation.void
LockEventListener. externalUnlock(NodeId nodeId)
Handle an external unlock operation.Constructors in org.apache.jackrabbit.core.cluster with parameters of type NodeId Constructor Description LockRecord(NodeId nodeId, boolean isDeep, String lockOwner, Record record, String workspace)
Create a new instance of this class.LockRecord(NodeId nodeId, Record record, String workspace)
Create a new instance of this class. -
Uses of NodeId in org.apache.jackrabbit.core.id
Methods in org.apache.jackrabbit.core.id that return NodeId Modifier and Type Method Description NodeId
PropertyId. getParentId()
Returns the identifier of the parent node.NodeId
NodeIdFactory. newNodeId()
static NodeId
NodeId. randomId()
Creates a random node identifier using a secure random number generator.static NodeId
NodeId. valueOf(String uuid)
Returns a node identifier that is represented by the given UUID string.Methods in org.apache.jackrabbit.core.id with parameters of type NodeId Modifier and Type Method Description int
NodeId. compareTo(NodeId that)
Compares this identifier to the given other one.Constructors in org.apache.jackrabbit.core.id with parameters of type NodeId Constructor Description PropertyId(NodeId parentId, Name propName)
Creates a property identifier instance for the identified property. -
Uses of NodeId in org.apache.jackrabbit.core.journal
Methods in org.apache.jackrabbit.core.journal that return NodeId Modifier and Type Method Description NodeId
AbstractRecord. readNodeId()
Read aNodeId
from the underlying stream.NodeId
Record. readNodeId()
Read aNodeId
from the underlying stream.Methods in org.apache.jackrabbit.core.journal with parameters of type NodeId Modifier and Type Method Description void
AbstractRecord. writeNodeId(NodeId nodeId)
Write aNodeId
to the underlying stream.void
Record. writeNodeId(NodeId nodeId)
Write aNodeId
to the underlying stream. -
Uses of NodeId in org.apache.jackrabbit.core.lock
Methods in org.apache.jackrabbit.core.lock that return NodeId Modifier and Type Method Description NodeId
LockInfo. getId()
Return the ID of the lock holding nodestatic NodeId
LockInfo. parseLockToken(String token)
Parse a lock token string representation and return the lock holder node id.Methods in org.apache.jackrabbit.core.lock with parameters of type NodeId Modifier and Type Method Description void
LockManagerImpl. externalLock(NodeId nodeId, boolean isDeep, String lockOwner)
Handle an external lock operation.void
LockManagerImpl. externalUnlock(NodeId nodeId)
Handle an external unlock operation.LockInfo
LockManagerImpl. getLockInfo(NodeId id)
Return the most appropriate lock information for a node.Constructors in org.apache.jackrabbit.core.lock with parameters of type NodeId Constructor Description LockInfo(NodeId id, boolean sessionScoped, boolean deep, String lockOwner, long timeoutHint)
Create a new instance of this class. -
Uses of NodeId in org.apache.jackrabbit.core.nodetype.virtual
Methods in org.apache.jackrabbit.core.nodetype.virtual with parameters of type NodeId Modifier and Type Method Description protected VirtualNodeState
VirtualNodeTypeStateProvider. internalGetNodeState(NodeId id)
Retrieves the node state with the given node idprotected boolean
VirtualNodeTypeStateProvider. internalHasNodeState(NodeId id)
Checks if this provide has the node state of the given node idConstructors in org.apache.jackrabbit.core.nodetype.virtual with parameters of type NodeId Constructor Description VirtualNodeTypeStateManager(NodeTypeRegistry ntReg, DelegatingObservationDispatcher obs, NodeId rootNodeId, NodeId parentId)
Creates a new virtual node type state managerVirtualNodeTypeStateProvider(NodeTypeRegistry ntReg, NodeId rootNodeId, NodeId parentId)
-
Uses of NodeId in org.apache.jackrabbit.core.observation
Methods in org.apache.jackrabbit.core.observation that return NodeId Modifier and Type Method Description NodeId
EventImpl. getChildId()
Returns the id of a child node operation.NodeId
EventState. getChildId()
Returns the Id of a child node operation.NodeId
EventImpl. getParentId()
Returns the uuid of the parent node.NodeId
EventState. getParentId()
Returns the uuid of the parent node.Methods in org.apache.jackrabbit.core.observation with parameters of type NodeId Modifier and Type Method Description static EventState
EventState. childNodeAdded(NodeId parentId, Path parentPath, NodeId childId, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.NODE_ADDED
.static EventState
EventState. childNodeAdded(NodeId parentId, Path parentPath, NodeId childId, Path childPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeEvent.NODE_ADDED
.static EventState
EventState. childNodeRemoved(NodeId parentId, Path parentPath, NodeId childId, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.NODE_REMOVED
.static EventState
EventState. childNodeRemoved(NodeId parentId, Path parentPath, NodeId childId, Path childPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeEvent.NODE_REMOVED
.void
EventStateCollection. createEventStates(NodeId rootNodeId, ChangeLog changes, ItemStateManager stateMgr)
static EventState
EventState. nodeMoved(NodeId parentId, Path parentPath, NodeId childId, Path childPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeNODE_MOVED
.static EventState
EventState. nodeMovedWithInfo(NodeId parentId, Path destPath, NodeId childId, Path srcPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeNODE_MOVED
.static EventState
EventState. nodeReordered(NodeId parentId, Path parentPath, NodeId childId, Path destChildPath, Path srcChildPath, Path beforeChildPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeNODE_MOVED
.static EventState
EventState. propertyAdded(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.PROPERTY_ADDED
.static EventState
EventState. propertyAdded(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeEvent.PROPERTY_ADDED
.static EventState
EventState. propertyChanged(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.PROPERTY_CHANGED
.static EventState
EventState. propertyChanged(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeEvent.PROPERTY_CHANGED
.static EventState
EventState. propertyRemoved(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.PROPERTY_REMOVED
.static EventState
EventState. propertyRemoved(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeEvent.PROPERTY_REMOVED
. -
Uses of NodeId in org.apache.jackrabbit.core.persistence
Methods in org.apache.jackrabbit.core.persistence that return NodeId Modifier and Type Method Description NodeId
PMContext. getRootNodeId()
Returns the id of the root nodeMethods in org.apache.jackrabbit.core.persistence that return types with arguments of type NodeId Modifier and Type Method Description List<NodeId>
IterablePersistenceManager. getAllNodeIds(NodeId after, int maxCount)
Get all node ids.Map<NodeId,NodeInfo>
IterablePersistenceManager. getAllNodeInfos(NodeId after, int maxCount)
Get allNodeInfo
s.Methods in org.apache.jackrabbit.core.persistence with parameters of type NodeId Modifier and Type Method Description void
PersistenceCopier. copy(NodeId id)
Recursively copies the identified node and all its descendants.NodeState
AbstractPersistenceManager. createNew(NodeId id)
Deprecated.Creates a new node state instance with the given id.NodeState
PersistenceManager. createNew(NodeId id)
Creates a new node state instance with the given id.void
PersistenceCopier. excludeNode(NodeId id)
Explicitly exclude the identified node from being copied.boolean
PersistenceManager. exists(NodeId id)
Checks whether the identified node exists.boolean
PersistenceManager. existsReferencesTo(NodeId targetId)
Checks whether references of the identified target node exist.List<NodeId>
IterablePersistenceManager. getAllNodeIds(NodeId after, int maxCount)
Get all node ids.Map<NodeId,NodeInfo>
IterablePersistenceManager. getAllNodeInfos(NodeId after, int maxCount)
Get allNodeInfo
s.NodeState
PersistenceManager. load(NodeId id)
Load the persistent members of a node state.NodeReferences
PersistenceManager. loadReferencesTo(NodeId id)
Load the persisted references to the node with the given identifier.Constructors in org.apache.jackrabbit.core.persistence with parameters of type NodeId Constructor Description PMContext(File homeDir, FileSystem fs, NodeId rootNodeId, NamespaceRegistry nsReg, NodeTypeRegistry ntReg, DataStore dataStore, RepositoryStatisticsImpl stats)
Creates a newPMContext
. -
Uses of NodeId in org.apache.jackrabbit.core.persistence.bundle
Methods in org.apache.jackrabbit.core.persistence.bundle that return NodeId Modifier and Type Method Description protected NodeId
BundleFsPersistenceManager. getIdFromFileName(String fileName)
Methods in org.apache.jackrabbit.core.persistence.bundle that return types with arguments of type NodeId Modifier and Type Method Description List<NodeId>
BundleFsPersistenceManager. getAllNodeIds(NodeId bigger, int maxCount)
Get all node ids.Map<NodeId,NodeInfo>
AbstractBundlePersistenceManager. getAllNodeInfos(NodeId after, int maxCount)
Methods in org.apache.jackrabbit.core.persistence.bundle with parameters of type NodeId Modifier and Type Method Description protected StringBuffer
AbstractBundlePersistenceManager. buildNodeFilePath(StringBuffer buf, NodeId id)
Creates the file path for the given node id that is suitable for storing node states in a filesystem.protected StringBuffer
BundleFsPersistenceManager. buildNodeFilePath(StringBuffer buf, NodeId id)
Creates the file path for the given node id that is suitable for storing node states in a filesystem.protected StringBuffer
AbstractBundlePersistenceManager. buildNodeFolderPath(StringBuffer buf, NodeId id)
Creates the folder path for the given node id that is suitable for storing states in a filesystem.protected StringBuffer
AbstractBundlePersistenceManager. buildNodeReferencesFilePath(StringBuffer buf, NodeId id)
Creates the file path for the given references id that is suitable for storing reference states in a filesystem.protected StringBuffer
BundleFsPersistenceManager. buildNodeReferencesFilePath(StringBuffer buf, NodeId id)
Creates the file path for the given references id that is suitable for storing reference states in a filesystem.NodeState
AbstractBundlePersistenceManager. createNew(NodeId id)
Creates a new node state instance with the given id.protected void
AbstractBundlePersistenceManager. evictBundle(NodeId id)
Evicts the bundle withid
from the bundle cache.boolean
AbstractBundlePersistenceManager. exists(NodeId id)
Checks whether the identified node exists.boolean
BundleFsPersistenceManager. existsReferencesTo(NodeId targetId)
Checks whether references of the identified target node exist.List<NodeId>
BundleFsPersistenceManager. getAllNodeIds(NodeId bigger, int maxCount)
Get all node ids.Map<NodeId,NodeInfo>
AbstractBundlePersistenceManager. getAllNodeInfos(NodeId after, int maxCount)
protected boolean
ConsistencyCheckerImpl. isVirtualNode(NodeId nodeId)
NodeState
AbstractBundlePersistenceManager. load(NodeId id)
Load the persistent members of a node state.protected abstract NodePropBundle
AbstractBundlePersistenceManager. loadBundle(NodeId id)
Loads a bundle from the underlying system.protected NodePropBundle
BundleFsPersistenceManager. loadBundle(NodeId id)
Loads a bundle from the underlying system.NodeReferences
BundleFsPersistenceManager. loadReferencesTo(NodeId targetId)
Load the persisted references to the node with the given identifier. -
Uses of NodeId in org.apache.jackrabbit.core.persistence.db
Methods in org.apache.jackrabbit.core.persistence.db with parameters of type NodeId Modifier and Type Method Description boolean
DatabasePersistenceManager. exists(NodeId id)
Deprecated.Checks whether the identified node exists.boolean
DatabasePersistenceManager. existsReferencesTo(NodeId targetId)
Deprecated.Checks whether references of the identified target node exist.NodeState
DatabasePersistenceManager. load(NodeId id)
Deprecated.Load the persistent members of a node state.NodeReferences
DatabasePersistenceManager. loadReferencesTo(NodeId targetId)
Deprecated.Load the persisted references to the node with the given identifier. -
Uses of NodeId in org.apache.jackrabbit.core.persistence.mem
Fields in org.apache.jackrabbit.core.persistence.mem with type parameters of type NodeId Modifier and Type Field Description protected Map<NodeId,byte[]>
InMemBundlePersistenceManager. bundleStore
Bundle memory store.protected Map<NodeId,byte[]>
InMemBundlePersistenceManager. refsStore
References memory store.protected Map<NodeId,byte[]>
InMemPersistenceManager. refsStore
Deprecated.Methods in org.apache.jackrabbit.core.persistence.mem that return types with arguments of type NodeId Modifier and Type Method Description List<NodeId>
InMemBundlePersistenceManager. getAllNodeIds(NodeId after, int maxCount)
Get all node ids.Methods in org.apache.jackrabbit.core.persistence.mem with parameters of type NodeId Modifier and Type Method Description boolean
InMemPersistenceManager. exists(NodeId id)
Deprecated.Checks whether the identified node exists.boolean
InMemBundlePersistenceManager. existsReferencesTo(NodeId targetId)
Checks whether references of the identified target node exist.boolean
InMemPersistenceManager. existsReferencesTo(NodeId id)
Deprecated.Checks whether references of the identified target node exist.List<NodeId>
InMemBundlePersistenceManager. getAllNodeIds(NodeId after, int maxCount)
Get all node ids.NodeState
InMemPersistenceManager. load(NodeId id)
Deprecated.Load the persistent members of a node state.protected NodePropBundle
InMemBundlePersistenceManager. loadBundle(NodeId id)
Loads a bundle from the underlying system.NodeReferences
InMemBundlePersistenceManager. loadReferencesTo(NodeId id)
Load the persisted references to the node with the given identifier.NodeReferences
InMemPersistenceManager. loadReferencesTo(NodeId id)
Deprecated.Load the persisted references to the node with the given identifier. -
Uses of NodeId in org.apache.jackrabbit.core.persistence.obj
Methods in org.apache.jackrabbit.core.persistence.obj with parameters of type NodeId Modifier and Type Method Description boolean
ObjectPersistenceManager. exists(NodeId id)
Deprecated.Checks whether the identified node exists.boolean
ObjectPersistenceManager. existsReferencesTo(NodeId id)
Deprecated.Checks whether references of the identified target node exist.NodeState
ObjectPersistenceManager. load(NodeId id)
Deprecated.Load the persistent members of a node state.NodeReferences
ObjectPersistenceManager. loadReferencesTo(NodeId id)
Deprecated.Load the persisted references to the node with the given identifier. -
Uses of NodeId in org.apache.jackrabbit.core.persistence.pool
Methods in org.apache.jackrabbit.core.persistence.pool that return types with arguments of type NodeId Modifier and Type Method Description List<NodeId>
BundleDbPersistenceManager. getAllNodeIds(NodeId bigger, int maxCount)
Get all node ids.Map<NodeId,NodeInfo>
BundleDbPersistenceManager. getAllNodeInfos(NodeId bigger, int maxCount)
Get allNodeInfo
s.Methods in org.apache.jackrabbit.core.persistence.pool with parameters of type NodeId Modifier and Type Method Description protected Object[]
BundleDbPersistenceManager. createParams(NodeId id, Object p, boolean before)
Creates a parameter array for an SQL statement that needs (i) a node identifier, and (2) another parameter.boolean
BundleDbPersistenceManager. existsReferencesTo(NodeId targetId)
Checks whether references of the identified target node exist.List<NodeId>
BundleDbPersistenceManager. getAllNodeIds(NodeId bigger, int maxCount)
Get all node ids.Map<NodeId,NodeInfo>
BundleDbPersistenceManager. getAllNodeInfos(NodeId bigger, int maxCount)
Get allNodeInfo
s.protected Object[]
BundleDbPersistenceManager. getKey(NodeId id)
Constructs a parameter list for a PreparedStatement for the given node identifier.protected NodePropBundle
BundleDbPersistenceManager. loadBundle(NodeId id)
Loads a bundle from the underlying system.NodeReferences
BundleDbPersistenceManager. loadReferencesTo(NodeId targetId)
Load the persisted references to the node with the given identifier. -
Uses of NodeId in org.apache.jackrabbit.core.persistence.util
Methods in org.apache.jackrabbit.core.persistence.util that return NodeId Modifier and Type Method Description NodeId
NodeInfo. getId()
NodeId
NodePropBundle.ChildNodeEntry. getId()
Returns the id.NodeId
NodePropBundle. getId()
Returns the node id of this bundleNodeId
NodeInfo. getParentId()
NodeId
NodePropBundle. getParentId()
Returns the parent id of this bundleMethods in org.apache.jackrabbit.core.persistence.util that return types with arguments of type NodeId Modifier and Type Method Description List<NodeId>
NodeInfo. getChildren()
Map<Name,List<NodeId>>
NodeInfo. getReferences()
Set<NodeId>
NodePropBundle. getSharedSet()
Sets the shared set of this bundle.Methods in org.apache.jackrabbit.core.persistence.util with parameters of type NodeId Modifier and Type Method Description void
NodePropBundle. addChildNodeEntry(Name name, NodeId id)
Adds a child node entry.NodePropBundle
BundleBinding. readBundle(InputStream in, NodeId id)
Deserializes aNodePropBundle
from a data input stream.void
NodePropBundle. setParentId(NodeId parentId)
Sets the parent idMethod parameters in org.apache.jackrabbit.core.persistence.util with type arguments of type NodeId Modifier and Type Method Description void
NodePropBundle. setSharedSet(Set<NodeId> sharedSet)
Sets the shared set.Constructors in org.apache.jackrabbit.core.persistence.util with parameters of type NodeId Constructor Description ChildNodeEntry(Name name, NodeId id)
Creates a new entry with the given name and idNodePropBundle(NodeId id)
Creates a "new" bundle with the given id -
Uses of NodeId in org.apache.jackrabbit.core.persistence.xml
Methods in org.apache.jackrabbit.core.persistence.xml with parameters of type NodeId Modifier and Type Method Description boolean
XMLPersistenceManager. exists(NodeId id)
Deprecated.Checks whether the identified node exists.boolean
XMLPersistenceManager. existsReferencesTo(NodeId id)
Deprecated.Checks whether references of the identified target node exist.NodeState
XMLPersistenceManager. load(NodeId id)
Deprecated.Load the persistent members of a node state.NodeReferences
XMLPersistenceManager. loadReferencesTo(NodeId id)
Deprecated.Load the persisted references to the node with the given identifier. -
Uses of NodeId in org.apache.jackrabbit.core.query
Methods in org.apache.jackrabbit.core.query that return NodeId Modifier and Type Method Description NodeId
QueryHandlerContext. getExcludedNodeId()
Returns the id of the node that should be excluded from indexing.NodeId
QueryHandlerContext. getRootId()
Returns the id of the root node.Methods in org.apache.jackrabbit.core.query that return types with arguments of type NodeId Modifier and Type Method Description Iterable<NodeId>
QueryHandler. getWeaklyReferringNodes(NodeId id)
Returns the ids of the nodes that refer to the node withid
by weak references.Methods in org.apache.jackrabbit.core.query with parameters of type NodeId Modifier and Type Method Description void
QueryHandler. deleteNode(NodeId id)
Deletes the Node withid
from the search index.Iterable<NodeId>
QueryHandler. getWeaklyReferringNodes(NodeId id)
Returns the ids of the nodes that refer to the node withid
by weak references.Method parameters in org.apache.jackrabbit.core.query with type arguments of type NodeId Modifier and Type Method Description void
AbstractQueryHandler. updateNodes(Iterator<NodeId> remove, Iterator<NodeState> add)
This default implementation calls the individualQueryHandler.deleteNode(org.apache.jackrabbit.core.NodeId)
andQueryHandler.addNode(org.apache.jackrabbit.core.state.NodeState)
methods for each entry in the iterators.void
QueryHandler. updateNodes(Iterator<NodeId> remove, Iterator<NodeState> add)
Updates the index in an atomic operation.Constructors in org.apache.jackrabbit.core.query with parameters of type NodeId Constructor Description QueryHandlerContext(String workspace, RepositoryContext repositoryContext, SharedItemStateManager stateMgr, PersistenceManager pm, NodeId rootId, QueryHandler parentHandler, NodeId excludedNodeId)
Creates a new context instance. -
Uses of NodeId in org.apache.jackrabbit.core.query.lucene
Fields in org.apache.jackrabbit.core.query.lucene declared as NodeId Modifier and Type Field Description protected NodeId
ConsistencyCheckError. id
The id of the affected node.Methods in org.apache.jackrabbit.core.query.lucene that return NodeId Modifier and Type Method Description NodeId
NodeIndexer. getNodeId()
Returns theNodeId
of the indexed node.NodeId
ScoreNode. getNodeId()
Methods in org.apache.jackrabbit.core.query.lucene that return types with arguments of type NodeId Modifier and Type Method Description Iterable<NodeId>
SearchIndex. getWeaklyReferringNodes(NodeId id)
Returns the ids of the nodes that refer to the node withid
by weak references.Methods in org.apache.jackrabbit.core.query.lucene with parameters of type NodeId Modifier and Type Method Description protected void
NodeIndexer. addParentChildRelation(Document doc, NodeId parentId)
Adds a parent child relation to the givendoc
.protected void
NodeIndexer. addReferenceValue(Document doc, String fieldName, NodeId internalValue, boolean weak)
Adds the reference value to the document as the named field.org.apache.jackrabbit.core.query.lucene.ForeignSegmentDocId
CachingMultiIndexReader. createDocId(NodeId id)
Creates a document id for the given node identifier.org.apache.jackrabbit.core.query.lucene.ForeignSegmentDocId
JackrabbitIndexReader. createDocId(NodeId id)
Creates a document id for the given node identifier.org.apache.jackrabbit.core.query.lucene.ForeignSegmentDocId
MultiIndexReader. createDocId(NodeId id)
Creates a document id for the given node identifier.org.apache.jackrabbit.core.query.lucene.ForeignSegmentDocId
SearchIndex.CombinedIndexReader. createDocId(NodeId id)
Creates a document id for the given node identifier.void
SearchIndex. deleteNode(NodeId id)
Removes the node withid
from the search index.String
AbstractExcerpt. getExcerpt(NodeId id, int maxFragments, int maxFragmentSize)
Returns the XML excerpt for the node withid
.String
ExcerptProvider. getExcerpt(NodeId id, int maxFragments, int maxFragmentSize)
Returns the XML excerpt for the node withid
.String
SimpleExcerptProvider. getExcerpt(NodeId id, int maxFragments, int maxFragmentSize)
Returns the XML excerpt for the node withid
.Iterable<NodeId>
SearchIndex. getWeaklyReferringNodes(NodeId id)
Returns the ids of the nodes that refer to the node withid
by weak references.Method parameters in org.apache.jackrabbit.core.query.lucene with type arguments of type NodeId Modifier and Type Method Description protected void
SearchIndex. retrieveAggregateRoot(Set<NodeId> removedIds, Map<NodeId,NodeState> aggregates)
Retrieves the root of the indexing aggregate forremovedIds
and puts it intomap
.protected void
SearchIndex. retrieveAggregateRoot(Set<NodeId> removedIds, Map<NodeId,NodeState> aggregates)
Retrieves the root of the indexing aggregate forremovedIds
and puts it intomap
.protected void
SearchIndex. retrieveAggregateRoot(NodeState state, Map<NodeId,NodeState> aggregates)
Retrieves the root of the indexing aggregate forstate
and puts it intoaggregates
map.void
SearchIndex. updateNodes(Iterator<NodeId> remove, Iterator<NodeState> add)
This implementation forwards the call toMultiIndex.update(Collection, Collection)
and transforms the two iterators to the required types.Constructors in org.apache.jackrabbit.core.query.lucene with parameters of type NodeId Constructor Description IDField(NodeId id)
ScoreNode(NodeId id, float score)
Creates a newScoreNode
.ScoreNode(NodeId id, float score, int doc)
Creates a newScoreNode
. -
Uses of NodeId in org.apache.jackrabbit.core.query.lucene.constraint
Methods in org.apache.jackrabbit.core.query.lucene.constraint that return NodeId Modifier and Type Method Description protected NodeId
HierarchyConstraint. getBaseNodeId(EvaluationContext context)
Returns the id of the base node ornull
if there is no node at the base path. -
Uses of NodeId in org.apache.jackrabbit.core.security.authorization.acl
Fields in org.apache.jackrabbit.core.security.authorization.acl declared as NodeId Modifier and Type Field Description protected NodeId
EntryCollector. rootID
The root id.Methods in org.apache.jackrabbit.core.security.authorization.acl with parameters of type NodeId Modifier and Type Method Description protected org.apache.jackrabbit.core.security.authorization.acl.EntryCollector.Entries
EntryCollector. getEntries(NodeId nodeId)
Constructors in org.apache.jackrabbit.core.security.authorization.acl with parameters of type NodeId Constructor Description EntryCollector(SessionImpl systemSession, NodeId rootID)
-
Uses of NodeId in org.apache.jackrabbit.core.session
Methods in org.apache.jackrabbit.core.session that return NodeId Modifier and Type Method Description NodeId
SessionContext. getRootNodeId()
Returns the root node identifier of the repository. -
Uses of NodeId in org.apache.jackrabbit.core.state
Fields in org.apache.jackrabbit.core.state declared as NodeId Modifier and Type Field Description protected NodeId
NodeReferences. id
Identifier of the target node.Methods in org.apache.jackrabbit.core.state that return NodeId Modifier and Type Method Description NodeId
ChildNodeEntry. getId()
NodeId
SessionItemStateManager. getIdOfRootTransientNodeState()
Returns the id of the root of the minimal subtree including all transient states.NodeId
NodeState. getNodeId()
Returns the identifier of this node.abstract NodeId
ItemState. getParentId()
Returns the NodeId of the parentNodeState
ornull
if either this item state represents the root node or this item state is 'free floating', i.e.NodeId
NodeState. getParentId()
Returns the NodeId of the parentNodeState
ornull
if either this item state represents the root node or this item state is 'free floating', i.e.NodeId
PropertyState. getParentId()
Returns the NodeId of the parentNodeState
ornull
if either this item state represents the root node or this item state is 'free floating', i.e.NodeId
NodeReferences. getTargetId()
Returns the identifier of the target node.Methods in org.apache.jackrabbit.core.state that return types with arguments of type NodeId Modifier and Type Method Description Set<NodeId>
NodeState. getAddedShares()
Returns a set of shares that were added.Set<NodeId>
NodeState. getRemovedShares()
Returns a set of shares that were removed.Set<NodeId>
NodeState. getSharedSet()
Return the shared set as an unmodifiable collection.Methods in org.apache.jackrabbit.core.state with parameters of type NodeId Modifier and Type Method Description ChildNodeEntry
NodeState. addChildNodeEntry(Name nodeName, NodeId id)
Adds a newChildNodeEntry
.boolean
NodeState. addShare(NodeId parentId)
Add a parent to the shared set.boolean
NodeState. containsShare(NodeId parentId)
Return a flag whether the given parent id appears in the shared set.NodeState
LocalItemStateManager. createNew(NodeId id, Name nodeTypeName, NodeId parentId)
Creates aNodeState
instance representing new, i.e.PropertyState
LocalItemStateManager. createNew(Name propName, NodeId parentId)
Creates aPropertyState
instance representing new, i.e.NodeState
SessionItemStateManager. createNew(NodeId id, Name nodeTypeName, NodeId parentId)
Creates aNodeState
instance representing new, i.e.PropertyState
SessionItemStateManager. createNew(Name propName, NodeId parentId)
Creates aPropertyState
instance representing new, i.e.NodeState
UpdatableItemStateManager. createNew(NodeId id, Name nodeTypeName, NodeId parentId)
Creates aNodeState
instance representing new, i.e.PropertyState
UpdatableItemStateManager. createNew(Name propName, NodeId parentId)
Creates aPropertyState
instance representing new, i.e.NodeState
SessionItemStateManager. createTransientNodeState(NodeId id, Name nodeTypeName, NodeId parentId, int initialStatus)
PropertyState
SessionItemStateManager. createTransientPropertyState(NodeId parentId, Name propName, int initialStatus)
ChildNodeEntry
NodeState. getChildNodeEntry(NodeId id)
Returns theChildNodeEntry
with the specifiedNodeId
ornull
if there's no matching entry.NodeReferences
ItemStateManager. getNodeReferences(NodeId id)
Return a node references object, given its target idNodeReferences
LocalItemStateManager. getNodeReferences(NodeId id)
Return a node references object, given its target idNodeReferences
SessionItemStateManager. getNodeReferences(NodeId id)
Return a node references object, given its target idNodeReferences
SharedItemStateManager. getNodeReferences(NodeId id)
Return a node references object, given its target idNodeReferences
XAItemStateManager. getNodeReferences(NodeId id)
Return a node references object, given its target idprotected NodeState
LocalItemStateManager. getNodeState(NodeId id)
Retrieve a node state from the parent shared state manager and wraps it into a intermediate object that helps us handle local modifications.NodeReferences
ChangeLog. getReferencesTo(NodeId id)
Return a node references object given the target node id.boolean
NodeState. hasChildNodeEntry(NodeId id)
Determines if there is aChildNodeEntry
with the specifiedNodeId
.boolean
ItemStateManager. hasNodeReferences(NodeId id)
Return a flag indicating whether a node references object for a given target id exists.boolean
LocalItemStateManager. hasNodeReferences(NodeId id)
Return a flag indicating whether a node references object for a given target id exists.boolean
SessionItemStateManager. hasNodeReferences(NodeId id)
Return a flag indicating whether a node references object for a given target id exists.boolean
SharedItemStateManager. hasNodeReferences(NodeId id)
Return a flag indicating whether a node references object for a given target id exists.boolean
XAItemStateManager. hasNodeReferences(NodeId id)
Return a flag indicating whether a node references object for a given target id exists.void
LocalItemStateManager. nodeAdded(NodeState state, Name name, int index, NodeId id)
Called when a child node has been addedvoid
NodeStateListener. nodeAdded(NodeState state, Name name, int index, NodeId id)
Called when a child node has been addedvoid
SessionItemStateManager. nodeAdded(NodeState state, Name name, int index, NodeId id)
Called when a child node has been addedvoid
LocalItemStateManager. nodeRemoved(NodeState state, Name name, int index, NodeId id)
Called when a child node has been removedvoid
NodeStateListener. nodeRemoved(NodeState state, Name name, int index, NodeId id)
Called when a child node has been removedvoid
SessionItemStateManager. nodeRemoved(NodeState state, Name name, int index, NodeId id)
Called when a child node has been removedvoid
StateChangeDispatcher. notifyNodeAdded(NodeState state, Name name, int index, NodeId id)
Notify listeners about changes to some state.void
StateChangeDispatcher. notifyNodeRemoved(NodeState state, Name name, int index, NodeId id)
Notify listeners about changes to some state.boolean
NodeState. removeChildNodeEntry(NodeId id)
Removes aChildNodeEntry
.void
ChangeLog. removeReferencesEntry(NodeId targetId)
Removes the references entry with the given target node id.int
NodeState. removeShare(NodeId parentId)
Remove a parent from the shared set.boolean
NodeState. renameChildNodeEntry(NodeId id, Name newName)
Renames aChildNodeEntry
by removing the old entry and appending the new entry to the end of the list.boolean
NodeState. replaceChildNodeEntry(NodeId oldId, Name newName, NodeId newId)
Replaces theChildNodeEntry
identified byoldId
with a new entry.void
NodeState. setParentId(NodeId parentId)
Sets the id of this node's parent.Method parameters in org.apache.jackrabbit.core.state with type arguments of type NodeId Modifier and Type Method Description void
NodeState. setSharedSet(Set<NodeId> set)
Set the shared set of this state to the shared set of another state.Constructors in org.apache.jackrabbit.core.state with parameters of type NodeId Constructor Description NodeReferences(NodeId id)
NodeState(NodeId id, Name nodeTypeName, NodeId parentId, int initialStatus, boolean isTransient)
Constructs a new node state that is not connected.SessionItemStateManager(NodeId rootNodeId, LocalItemStateManager stateMgr)
Creates a newSessionItemStateManager
instance.SharedItemStateManager(PersistenceManager persistMgr, NodeId rootNodeId, NodeTypeRegistry ntReg, boolean usesReferences, ItemStateCacheFactory cacheFactory, ISMLocking locking, NodeIdFactory nodeIdFactory)
Creates a newSharedItemStateManager
instance. -
Uses of NodeId in org.apache.jackrabbit.core.util
Methods in org.apache.jackrabbit.core.util that return NodeId Modifier and Type Method Description NodeId
ReferenceChangeTracker. getMappedId(NodeId oldId)
Returns the new node id to whicholdId
has been mapped ornull
if no such mapping exists.Methods in org.apache.jackrabbit.core.util with parameters of type NodeId Modifier and Type Method Description NodeId
ReferenceChangeTracker. getMappedId(NodeId oldId)
Returns the new node id to whicholdId
has been mapped ornull
if no such mapping exists.void
ReferenceChangeTracker. mappedId(NodeId oldId, NodeId newId)
Store the given id mapping for later lookup using
.ReferenceChangeTracker.getMappedId(NodeId)
-
Uses of NodeId in org.apache.jackrabbit.core.value
Methods in org.apache.jackrabbit.core.value that return NodeId Modifier and Type Method Description NodeId
InternalValue. getNodeId()
Methods in org.apache.jackrabbit.core.value with parameters of type NodeId Modifier and Type Method Description static InternalValue
InternalValue. create(NodeId value)
static InternalValue
InternalValue. create(NodeId value, boolean weak)
-
Uses of NodeId in org.apache.jackrabbit.core.version
Fields in org.apache.jackrabbit.core.version declared as NodeId Modifier and Type Field Description protected NodeId
InternalVersionManagerBase. activitiesId
protected NodeId
InternalVersionManagerBase. activitiesId
protected NodeId
VersionManagerImplBase. currentActivity
the node id of the current activityprotected NodeId
InternalVersionManagerBase. historiesId
protected NodeId
InternalVersionManagerBase. historiesId
Methods in org.apache.jackrabbit.core.version that return NodeId Modifier and Type Method Description NodeId
InternalVersionManager. canCheckout(NodeStateEx state, NodeId activityId)
invokes the checkout() on the persistent version manager.NodeId
InternalVersionManagerImpl. canCheckout(NodeStateEx state, NodeId activityId)
invokes the checkout() on the persistent version manager.NodeId
InternalXAVersionManager. canCheckout(NodeStateEx state, NodeId activityId)
invokes the checkout() on the persistent version manager.protected NodeId
VersionManagerImplBase. checkoutCheckin(NodeStateEx state, boolean checkin, boolean checkout, Calendar created)
Performs a checkin or checkout operation.NodeId
InternalVersionManager. createActivity(Session session, String title)
Creates a new activityNodeId
InternalVersionManagerImpl. createActivity(Session session, String title)
Creates a new activityNodeId
InternalXAVersionManager. createActivity(Session session, String title)
Creates a new activityprotected NodeId
VersionManagerImplConfig. createConfiguration(NodeStateEx state)
Creates a new configuration node.NodeId
InternalFrozenVersionHistory. getBaseVersionId()
Returns the id of the base version that was assigned to the node at the time it was versioned.protected NodeId
VersionManagerImplBase. getBaseVersionId(NodeStateEx state)
Returns the node id of the base version, retrieved from the node stateNodeId
InternalBaseline. getConfigurationId()
Returns the id of the nt:configuration node.NodeId
InternalBaseline. getConfigurationRootId()
Returns the id of the root node of a workspace configuration.NodeId
InternalFrozenNode. getFrozenId()
Returns the frozen node id.NodeId
InternalVersion. getFrozenNodeId()
Returns the node id of the frozen node.NodeId
InternalVersionItem. getId()
Returns the id of this item.NodeId
NodeStateEx. getNodeId()
Returns the id of this node.NodeId
NodeStateEx. getParentId()
Returns the parent id of this nodeNodeId
VersionHistoryInfo. getRootVersionId()
Returns the identifier of the root version node.NodeId
InternalVersionHistory. getVersionableId()
Returns the id of the versionable node that this history belongs to.NodeId
InternalFrozenVersionHistory. getVersionHistoryId()
Returns the id of the version history that was assigned to the node at the time it was versioned.NodeId
VersionHistoryInfo. getVersionHistoryId()
Returns the identifier of the version history node.NodeId
InconsistentVersioningState. getVersionHistoryNodeId()
NodeId
InternalVersionHistory. getVersionLabelsId()
Returns the Id of the version labels node.NodeId
InternalXAVersionManager. getVirtualRootId()
Returns the id of the root node of the virtual tree.NodeId[]
InternalXAVersionManager. getVirtualRootIds()
protected NodeId
VersionManagerImplConfig. restore(NodeStateEx parent, Name name, InternalBaseline baseline)
Restores the versions recorded in the given baseline below the specified path.Methods in org.apache.jackrabbit.core.version that return types with arguments of type NodeId Modifier and Type Method Description Map<NodeId,InternalVersion>
VersionSet. versions()
Returns the (modifiable) changeset of this selector.Methods in org.apache.jackrabbit.core.version with parameters of type NodeId Modifier and Type Method Description NodeStateEx
NodeStateEx. addNode(Name nodeName, Name nodeTypeName, NodeId id)
Adds a new child node with the given nameNodeStateEx
NodeStateEx. addNode(Name nodeName, Name nodeTypeName, NodeId id, boolean referenceable)
Adds a new child node with the given nameNodeId
InternalVersionManager. canCheckout(NodeStateEx state, NodeId activityId)
invokes the checkout() on the persistent version manager.NodeId
InternalVersionManagerImpl. canCheckout(NodeStateEx state, NodeId activityId)
invokes the checkout() on the persistent version manager.NodeId
InternalXAVersionManager. canCheckout(NodeStateEx state, NodeId activityId)
invokes the checkout() on the persistent version manager.protected VersionItemStateManager
InternalVersionManagerImpl. createItemStateManager(PersistenceManager pMgr, NodeId rootId, NodeTypeRegistry ntReg, ItemStateCacheFactory cacheFactory, ISMLocking ismLocking, NodeIdFactory nodeIdFactory)
Creates aVersionItemStateManager
or derivative.VirtualNodeState
InternalXAVersionManager. createNodeState(VirtualNodeState parent, Name name, NodeId id, Name nodeTypeName)
Creates a new virtual node stateprotected VersionHistoryInfo
InternalVersionManagerImpl. createVersionHistory(Session session, NodeState node, NodeId copiedFrom)
Creates a new version history.protected VersionHistoryInfo
InternalXAVersionManager. createVersionHistory(Session session, NodeState node, NodeId copiedFrom)
Creates a new version history.InternalActivity
InternalVersionManager. getActivity(NodeId id)
Returns the activity with the given idInternalBaseline
InternalVersionManager. getBaseline(NodeId id)
Returns the baseline with the given idInternalVersion
InternalVersionManager. getHeadVersionOfNode(NodeId id)
Returns the head version of the node with the given id.protected InternalVersionItem
InternalVersionManagerImpl. getItem(NodeId id)
Returns the item with the given persistent id.protected InternalVersionItem
InternalXAVersionManager. getItem(NodeId id)
Returns the item with the given persistent id.NodeStateEx
NodeStateEx. getNode(NodeId id)
Returns the node with the given id.NodeReferences
InternalXAVersionManager. getNodeReferences(NodeId id)
Return a node references object, given its target idNodeReferences
VersionItemStateManager. getNodeReferences(NodeId id)
protected NodeStateEx
InternalVersionManagerImpl. getNodeStateEx(NodeId parentNodeId)
Returns the node with the given persistent id.protected NodeStateEx
InternalXAVersionManager. getNodeStateEx(NodeId parentNodeId)
Returns the node with the given persistent id.protected NodeStateEx
VersionManagerImplBase. getNodeStateEx(NodeId nodeId)
returns the node state for the given node idInternalVersion
InternalVersionHistory. getVersion(NodeId id)
Returns the version with the given uuid ornull
if the respective version does not exist.InternalVersion
InternalVersionManager. getVersion(NodeId id)
Returns the version with the given idVersionHistoryInfo
InternalVersionManager. getVersionHistory(Session session, NodeState vNode, NodeId copiedFrom)
Returns information about the version history of the specified node.InternalVersionHistory
InternalVersionManager. getVersionHistory(NodeId id)
Returns the version history with the given idInternalVersionHistory
InternalVersionManager. getVersionHistoryOfNode(NodeId id)
Returns the version history for the versionable node with the given id.boolean
NodeStateEx. hasAncestor(NodeId nodeId)
Checks if this state has the indicated ancestorboolean
InternalVersionManagerImpl. hasItem(NodeId id)
Return a flag indicating if the item specified exists.protected boolean
InternalXAVersionManager. hasItem(NodeId id)
Return a flag indicating if the item specified exists.protected boolean
InternalVersionManagerImpl. hasItemReferences(NodeId id)
Checks if there are item references (from outside the version storage) that reference the given node.protected boolean
InternalXAVersionManager. hasItemReferences(NodeId id)
Checks if there are item references (from outside the version storage) that reference the given node.boolean
NodeStateEx. hasNode(NodeId id)
Checks if the given node state existsboolean
InternalXAVersionManager. hasNodeReferences(NodeId id)
Return a flag indicating whether a node references object for a given target id exists.boolean
VersionItemStateManager. hasNodeReferences(NodeId id)
void
InternalVersionManager. removeActivity(Session session, NodeId nodeId)
Removes an activity and allvoid
InternalVersionManagerImpl. removeActivity(Session session, NodeId nodeId)
Removes an activity and allvoid
InternalXAVersionManager. removeActivity(Session session, NodeId nodeId)
Removes an activity and allConstructors in org.apache.jackrabbit.core.version with parameters of type NodeId Constructor Description InconsistentVersioningState(String message, NodeId versionHistoryNodeId, Throwable rootCause)
Constructs a new instance of this class with the specified detail message.InternalVersionManagerImpl(PersistenceManager pMgr, FileSystem fs, NodeTypeRegistry ntReg, DelegatingObservationDispatcher obsMgr, NodeId systemId, NodeId historiesId, NodeId activitiesId, ItemStateCacheFactory cacheFactory, ISMLocking ismLocking, NodeIdFactory nodeIdFactory)
Creates a new internal version managerNodeStateEx(UpdatableItemStateManager stateMgr, NodeTypeRegistry ntReg, NodeId nodeId)
Creates a new persistent nodeVersionHistoryInfo(NodeId versionHistoryId, NodeId rootVersionId)
Creates an object that carries the given version history information.VersionItemStateManager(PersistenceManager persistMgr, NodeId rootNodeId, NodeTypeRegistry ntReg, ItemStateCacheFactory cacheFactory, ISMLocking locking, NodeIdFactory nodeIdFactory)
Constructor parameters in org.apache.jackrabbit.core.version with type arguments of type NodeId Constructor Description VersionSet(Map<NodeId,InternalVersion> versions)
Creates aChangeSetVersionSelector
that will try to select a version within the given set of versions.VersionSet(Map<NodeId,InternalVersion> versions, boolean dateFallback)
Creates aChangeSetVersionSelector
that will try to select a version in the given set. -
Uses of NodeId in org.apache.jackrabbit.core.virtual
Fields in org.apache.jackrabbit.core.virtual declared as NodeId Modifier and Type Field Description protected NodeId
AbstractVISProvider. rootNodeId
the root node idMethods in org.apache.jackrabbit.core.virtual that return NodeId Modifier and Type Method Description NodeId
AbstractVISProvider. getVirtualRootId()
Returns the id of the root node of the virtual tree.NodeId
VirtualItemStateProvider. getVirtualRootId()
Deprecated.useVirtualItemStateProvider.getVirtualRootIds()
instead.NodeId[]
AbstractVISProvider. getVirtualRootIds()
Returns the ids of the root nodes of the virtual tree.NodeId[]
VirtualItemStateProvider. getVirtualRootIds()
Returns the ids of the root nodes of the virtual tree.Methods in org.apache.jackrabbit.core.virtual with parameters of type NodeId Modifier and Type Method Description VirtualNodeState
AbstractVISProvider. createNodeState(VirtualNodeState parent, Name name, NodeId id, Name nodeTypeName)
Creates a new virtual node stateVirtualNodeState
VirtualItemStateProvider. createNodeState(VirtualNodeState parent, Name name, NodeId id, Name nodeTypeName)
Creates a new virtual node stateprotected void
AbstractVISProvider. evict(NodeId id)
removes the node state from the cacheNodeReferences
AbstractVISProvider. getNodeReferences(NodeId id)
Return a node references object, given its target idboolean
AbstractVISProvider. hasNodeReferences(NodeId id)
Return a flag indicating whether a node references object for a given target id exists.protected abstract VirtualNodeState
AbstractVISProvider. internalGetNodeState(NodeId id)
Retrieves the node state with the given node idprotected abstract boolean
AbstractVISProvider. internalHasNodeState(NodeId id)
Checks if this provide has the node state of the given node idConstructors in org.apache.jackrabbit.core.virtual with parameters of type NodeId Constructor Description AbstractVISProvider(NodeTypeRegistry ntReg, NodeId rootNodeId)
Creates an abstract virtual item state providerVirtualNodeState(AbstractVISProvider stateMgr, NodeId parentId, NodeId id, Name nodeTypeName, Name[] mixins)
creates a new virtual node state -
Uses of NodeId in org.apache.jackrabbit.core.xml
Methods in org.apache.jackrabbit.core.xml that return NodeId Modifier and Type Method Description NodeId
NodeInfo. getId()
Returns the identifier of the node being imported.Methods in org.apache.jackrabbit.core.xml with parameters of type NodeId Modifier and Type Method Description protected NodeImpl
SessionImporter. createNode(NodeImpl parent, Name nodeName, Name nodeTypeName, Name[] mixinNames, NodeId id)
protected NodeImpl
SessionImporter. resolveUUIDConflict(NodeImpl parent, NodeId conflictingId, NodeInfo nodeInfo)
Constructors in org.apache.jackrabbit.core.xml with parameters of type NodeId Constructor Description NodeInfo(Name name, Name nodeTypeName, Name[] mixinNames, NodeId id)
Creates a node information instance.
-