Modifier and Type | Field and Description |
---|---|
static NodeId |
RepositoryImpl.ACTIVITIES_NODE_ID
hardcoded id of the "/jcr:system/jcr:activities" node
|
static NodeId |
RepositoryImpl.CONFIGURATIONS_NODE_ID
hardcoded id of the "/jcr:system/jcr:configurations" node
|
static NodeId |
RepositoryImpl.NODETYPES_NODE_ID
hardcoded id of the "/jcr:system/jcr:nodeTypes" node
|
static NodeId |
RepositoryImpl.ROOT_NODE_ID
hardcoded id of the repository root node
|
protected NodeId |
HierarchyManagerImpl.rootNodeId |
static NodeId |
RepositoryImpl.SYSTEM_ROOT_NODE_ID
hardcoded id of the "/jcr:system" node
|
static NodeId |
RepositoryImpl.VERSION_STORAGE_NODE_ID
hardcoded id of the "/jcr:system/jcr:versionStorage" node
|
Modifier and Type | Method and Description |
---|---|
NodeId |
BatchedItemOperations.clone(NodeState srcState,
NodeState destParentState,
Name destName)
Implementation of
BatchedItemOperations.clone(Path, Path) that has already determined
the affected NodeState s. |
NodeId |
BatchedItemOperations.clone(Path srcPath,
Path destPath)
Clones the subtree at the node
srcAbsPath in to the new
location at destAbsPath . |
NodeId |
BatchedItemOperations.copy(Path srcPath,
ItemStateManager srcStateMgr,
HierarchyManager srcHierMgr,
AccessManager srcAccessMgr,
Path destPath,
int flag)
Copies the tree at
srcPath retrieved using the specified
srcStateMgr to the new location at destPath . |
NodeId |
BatchedItemOperations.copy(Path srcPath,
Path destPath,
int flag)
Copies the tree at
srcPath to the new location at
destPath . |
NodeId |
NodeImpl.getNodeId()
Returns the identifier of this
Node . |
NodeId |
NodeImpl.getParentId()
Helper method, returning the parent id this node is attached to.
|
NodeId |
ItemData.getParentId()
Return the parent id of this item.
|
NodeId |
AbstractNodeData.getParentId()
Return the parent id of this node.
|
protected NodeId |
ZombieHierarchyManager.getParentId(ItemState state)
Returns the
parentUUID of the given item. |
protected NodeId |
HierarchyManagerImpl.getParentId(ItemState state)
Returns the
parentUUID of the given item. |
NodeId |
AbstractNodeData.getPrimaryParentId()
Return the primary parent id of this node.
|
NodeId |
RepositoryContext.getRootNodeId()
Returns the root node identifier of this repository.
|
NodeId |
HierarchyManagerImpl.getRootNodeId() |
NodeId |
BatchedItemOperations.move(Path srcPath,
Path destPath)
Moves the tree at
srcPath to the new location at
destPath . |
NodeId |
HierarchyManagerImpl.resolveNodePath(Path path)
Resolves a path into a node id.
|
NodeId |
HierarchyManager.resolveNodePath(Path path)
Resolves a path into a node id.
|
protected NodeId |
NodeImpl.resolveRelativeNodePath(String relPath)
Returns the id of the node at
relPath or null
if no node exists at relPath . |
Modifier and Type | Method and 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 with
id
by weak references. |
Modifier and Type | Method and Description |
---|---|
NodeImpl |
NodeImpl.addNode(Name nodeName,
Name nodeTypeName,
NodeId id)
Same as
except that
this method takes Name arguments instead of
String s and has an additional uuid 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 |
ZombieHierarchyManager.getChildNodeEntry(NodeState parent,
NodeId id)
Returns the
ChildNodeEntry of parent with the
specified uuid or null if there's no such entry. |
protected ChildNodeEntry |
HierarchyManagerImpl.getChildNodeEntry(NodeState parent,
NodeId id)
Returns the
ChildNodeEntry of parent with the
specified uuid or null if there's no such entry. |
Name |
HierarchyManagerImpl.getName(NodeId id,
NodeId parentId)
Returns the name of the specified item, with the given parent id.
|
Name |
HierarchyManager.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 the
Node with the given id. |
NodeState |
BatchedItemOperations.getNodeState(NodeId id)
Retrieves the state of the node with the given id.
|
int |
HierarchyManagerImpl.getRelativeDepth(NodeId ancestorId,
ItemId descendantId)
Returns the depth of the specified descendant relative to the given
ancestor.
|
int |
HierarchyManager.getRelativeDepth(NodeId ancestorId,
ItemId descendantId)
Returns the depth of the specified descendant relative to the given
ancestor.
|
int |
HierarchyManagerImpl.getShareRelativeDepth(NodeId ancestor,
ItemId descendant)
Returns the depth of the specified share-descendant relative to the given
share-ancestor.
|
int |
HierarchyManager.getShareRelativeDepth(NodeId ancestorId,
ItemId descendantId)
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 with
id
by weak references. |
boolean |
HierarchyManagerImpl.isAncestor(NodeId nodeId,
ItemId itemId)
Determines whether the node with the specified
nodeId
is an ancestor of the item denoted by the given itemId . |
boolean |
HierarchyManager.isAncestor(NodeId nodeId,
ItemId itemId)
Determines whether the node with the specified
nodeId
is an ancestor of the item denoted by the given itemId . |
boolean |
CachingHierarchyManager.isAncestor(NodeId nodeId,
ItemId itemId)
Determines whether the node with the specified
nodeId
is an ancestor of the item denoted by the given itemId . |
boolean |
HierarchyManagerImpl.isShareAncestor(NodeId ancestor,
NodeId descendant)
Determines whether the node with the specified
ancestor
is a share ancestor of the item denoted by the given descendant . |
boolean |
HierarchyManager.isShareAncestor(NodeId ancestor,
NodeId descendant)
Determines whether the node with the specified
ancestor
is a share ancestor of the item denoted by the given descendant . |
void |
CachingHierarchyManager.nodeAdded(NodeState state,
Name name,
int index,
NodeId id)
Called when a child node has been added
|
void |
CachingHierarchyManager.nodeRemoved(NodeState state,
Name name,
int index,
NodeId id)
Called when a child node has been removed
|
protected void |
NodeImpl.onRemove(NodeId parentId) |
protected void |
NodeImpl.removeChildNode(NodeId childId) |
protected void |
NodeImpl.renameChildNode(Name oldName,
int index,
NodeId id,
Name newName)
Deprecated.
use #renameChildNode(NodeId, Name, boolean)
|
protected void |
NodeImpl.renameChildNode(NodeId id,
Name newName,
boolean replace) |
NodeImpl |
NodeImpl.replaceChildNode(NodeId id,
Name nodeName,
Name nodeTypeName,
Name[] mixinNames)
Replaces the child node with the specified
id
by a new child node with the same id and specified nodeName ,
nodeTypeName and mixinNames . |
protected void |
AbstractNodeData.setPrimaryParentId(NodeId primaryParentId)
Set the primary parent id of this node.
|
Constructor and 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 new
LazyItemIterator 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 new
SearchManager . |
Modifier and Type | Method and Description |
---|---|
NodeId |
LockRecord.getNodeId()
Return the node id.
|
Modifier and Type | Method and 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.
|
Constructor and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
int |
NodeId.compareTo(NodeId that)
Compares this identifier to the given other one.
|
Constructor and Description |
---|
PropertyId(NodeId parentId,
Name propName)
Creates a property identifier instance for the identified property.
|
Modifier and Type | Method and Description |
---|---|
NodeId |
Record.readNodeId()
Read a
NodeId from the underlying stream. |
NodeId |
AbstractRecord.readNodeId()
Read a
NodeId from the underlying stream. |
Modifier and Type | Method and Description |
---|---|
void |
Record.writeNodeId(NodeId nodeId)
Write a
NodeId to the underlying stream. |
void |
AbstractRecord.writeNodeId(NodeId nodeId)
Write a
NodeId to the underlying stream. |
Modifier and Type | Method and Description |
---|---|
NodeId |
LockInfo.getId()
Return the ID of the lock holding node
|
static NodeId |
LockInfo.parseLockToken(String token)
Parse a lock token string representation and return the lock
holder node id.
|
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
LockInfo(NodeId id,
boolean sessionScoped,
boolean deep,
String lockOwner,
long timeoutHint)
Create a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
protected VirtualNodeState |
VirtualNodeTypeStateProvider.internalGetNodeState(NodeId id)
Retrieves the node state with the given node id
|
protected boolean |
VirtualNodeTypeStateProvider.internalHasNodeState(NodeId id)
Checks if this provide has the node state of the given node id
|
Constructor and Description |
---|
VirtualNodeTypeStateManager(NodeTypeRegistry ntReg,
DelegatingObservationDispatcher obs,
NodeId rootNodeId,
NodeId parentId)
Creates a new virtual node type state manager
|
VirtualNodeTypeStateProvider(NodeTypeRegistry ntReg,
NodeId rootNodeId,
NodeId parentId) |
Modifier and Type | Method and Description |
---|---|
NodeId |
EventState.getChildId()
Returns the Id of a child node operation.
|
NodeId |
EventImpl.getChildId()
Returns the id of a child node operation.
|
NodeId |
EventState.getParentId()
Returns the uuid of the parent node.
|
NodeId |
EventImpl.getParentId()
Returns the uuid of the parent node.
|
Modifier and Type | Method and Description |
---|---|
static EventState |
EventState.childNodeAdded(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
javax.jcr.Session session)
Creates a new
Event of type
Event.NODE_ADDED . |
static EventState |
EventState.childNodeAdded(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
javax.jcr.Session session,
boolean external)
Creates a new
Event of type
Event.NODE_ADDED . |
static EventState |
EventState.childNodeRemoved(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
javax.jcr.Session session)
Creates a new
Event of type
Event.NODE_REMOVED . |
static EventState |
EventState.childNodeRemoved(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
javax.jcr.Session session,
boolean external)
Creates a new
Event of type
Event.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,
javax.jcr.Session session,
boolean external)
Creates a new
Event of type
NODE_MOVED . |
static EventState |
EventState.nodeMovedWithInfo(NodeId parentId,
Path destPath,
NodeId childId,
Path srcPath,
Name nodeType,
Set<Name> mixins,
javax.jcr.Session session,
boolean external)
Creates a new
Event of type
NODE_MOVED . |
static EventState |
EventState.nodeReordered(NodeId parentId,
Path parentPath,
NodeId childId,
Path destChildPath,
Path srcChildPath,
Path beforeChildPath,
Name nodeType,
Set<Name> mixins,
javax.jcr.Session session,
boolean external)
Creates a new
Event of type
NODE_MOVED . |
static EventState |
EventState.propertyAdded(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
javax.jcr.Session session)
Creates a new
Event of type
Event.PROPERTY_ADDED . |
static EventState |
EventState.propertyAdded(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
javax.jcr.Session session,
boolean external)
Creates a new
Event of type
Event.PROPERTY_ADDED . |
static EventState |
EventState.propertyChanged(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
javax.jcr.Session session)
Creates a new
Event of type
Event.PROPERTY_CHANGED . |
static EventState |
EventState.propertyChanged(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
javax.jcr.Session session,
boolean external)
Creates a new
Event of type
Event.PROPERTY_CHANGED . |
static EventState |
EventState.propertyRemoved(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
javax.jcr.Session session)
Creates a new
Event of type
Event.PROPERTY_REMOVED . |
static EventState |
EventState.propertyRemoved(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
javax.jcr.Session session,
boolean external)
Creates a new
Event of type
Event.PROPERTY_REMOVED . |
Modifier and Type | Method and Description |
---|---|
NodeId |
PMContext.getRootNodeId()
Returns the id of the root node
|
Modifier and Type | Method and Description |
---|---|
List<NodeId> |
IterablePersistenceManager.getAllNodeIds(NodeId after,
int maxCount)
Get all node ids.
|
Map<NodeId,NodeInfo> |
IterablePersistenceManager.getAllNodeInfos(NodeId after,
int maxCount)
Get all
NodeInfo s. |
Modifier and Type | Method and Description |
---|---|
void |
PersistenceCopier.copy(NodeId id)
Recursively copies the identified node and all its descendants.
|
NodeState |
PersistenceManager.createNew(NodeId id)
Creates a new node state instance with the given id.
|
NodeState |
AbstractPersistenceManager.createNew(NodeId id)
Deprecated.
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 all
NodeInfo 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.
|
Constructor and Description |
---|
PMContext(File homeDir,
FileSystem fs,
NodeId rootNodeId,
javax.jcr.NamespaceRegistry nsReg,
NodeTypeRegistry ntReg,
DataStore dataStore,
RepositoryStatisticsImpl stats)
Creates a new
PMContext . |
Modifier and Type | Method and Description |
---|---|
protected NodeId |
BundleFsPersistenceManager.getIdFromFileName(String fileName) |
Modifier and Type | Method and Description |
---|---|
List<NodeId> |
BundleFsPersistenceManager.getAllNodeIds(NodeId bigger,
int maxCount)
Get all node ids.
|
Map<NodeId,NodeInfo> |
AbstractBundlePersistenceManager.getAllNodeInfos(NodeId after,
int maxCount) |
Modifier and Type | Method and Description |
---|---|
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.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 |
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.
|
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.
|
NodeState |
AbstractBundlePersistenceManager.createNew(NodeId id)
Creates a new node state instance with the given id.
|
protected void |
AbstractBundlePersistenceManager.evictBundle(NodeId id)
Evicts the bundle with
id 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 NodePropBundle |
BundleFsPersistenceManager.loadBundle(NodeId id)
Loads a bundle from the underlying system.
|
protected abstract NodePropBundle |
AbstractBundlePersistenceManager.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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Field and Description |
---|---|
protected Map<NodeId,byte[]> |
InMemBundlePersistenceManager.bundleStore
Bundle memory store.
|
protected Map<NodeId,byte[]> |
InMemPersistenceManager.refsStore
Deprecated.
|
protected Map<NodeId,byte[]> |
InMemBundlePersistenceManager.refsStore
References memory store.
|
Modifier and Type | Method and Description |
---|---|
List<NodeId> |
InMemBundlePersistenceManager.getAllNodeIds(NodeId after,
int maxCount)
Get all node ids.
|
Modifier and Type | Method and Description |
---|---|
boolean |
InMemPersistenceManager.exists(NodeId id)
Deprecated.
Checks whether the identified node exists.
|
boolean |
InMemPersistenceManager.existsReferencesTo(NodeId id)
Deprecated.
Checks whether references of the identified target node exist.
|
boolean |
InMemBundlePersistenceManager.existsReferencesTo(NodeId targetId)
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 |
InMemPersistenceManager.loadReferencesTo(NodeId id)
Deprecated.
Load the persisted references to the node with the given identifier.
|
NodeReferences |
InMemBundlePersistenceManager.loadReferencesTo(NodeId id)
Load the persisted references to the node with the given identifier.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
List<NodeId> |
BundleDbPersistenceManager.getAllNodeIds(NodeId bigger,
int maxCount)
Get all node ids.
|
Map<NodeId,NodeInfo> |
BundleDbPersistenceManager.getAllNodeInfos(NodeId bigger,
int maxCount)
Get all
NodeInfo s. |
Modifier and Type | Method and 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 all
NodeInfo 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.
|
Modifier and Type | Method and Description |
---|---|
NodeId |
NodePropBundle.getId()
Returns the node id of this bundle
|
NodeId |
NodePropBundle.ChildNodeEntry.getId()
Returns the id.
|
NodeId |
NodeInfo.getId() |
NodeId |
NodePropBundle.getParentId()
Returns the parent id of this bundle
|
NodeId |
NodeInfo.getParentId() |
Modifier and Type | Method and Description |
---|---|
List<NodeId> |
NodeInfo.getChildren() |
Map<Name,List<NodeId>> |
NodeInfo.getReferences() |
Set<NodeId> |
NodePropBundle.getSharedSet()
Sets the shared set of this bundle.
|
Modifier and Type | Method and Description |
---|---|
void |
NodePropBundle.addChildNodeEntry(Name name,
NodeId id)
Adds a child node entry.
|
NodePropBundle |
BundleBinding.readBundle(InputStream in,
NodeId id)
Deserializes a
NodePropBundle from a data input stream. |
void |
NodePropBundle.setParentId(NodeId parentId)
Sets the parent id
|
Modifier and Type | Method and Description |
---|---|
void |
NodePropBundle.setSharedSet(Set<NodeId> sharedSet)
Sets the shared set.
|
Constructor and Description |
---|
NodePropBundle.ChildNodeEntry(Name name,
NodeId id)
Creates a new entry with the given name and id
|
NodePropBundle(NodeId id)
Creates a "new" bundle with the given id
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
Iterable<NodeId> |
QueryHandler.getWeaklyReferringNodes(NodeId id)
Returns the ids of the nodes that refer to the node with
id
by weak references. |
Modifier and Type | Method and Description |
---|---|
void |
QueryHandler.deleteNode(NodeId id)
Deletes the Node with
id from the search index. |
Iterable<NodeId> |
QueryHandler.getWeaklyReferringNodes(NodeId id)
Returns the ids of the nodes that refer to the node with
id
by weak references. |
Modifier and Type | Method and Description |
---|---|
void |
QueryHandler.updateNodes(Iterator<NodeId> remove,
Iterator<NodeState> add)
Updates the index in an atomic operation.
|
void |
AbstractQueryHandler.updateNodes(Iterator<NodeId> remove,
Iterator<NodeState> add)
This default implementation calls the individual
#deleteNode(org.apache.jackrabbit.core.NodeId)
and QueryHandler.addNode(org.apache.jackrabbit.core.state.NodeState) methods
for each entry in the iterators. |
Constructor and Description |
---|
QueryHandlerContext(String workspace,
RepositoryContext repositoryContext,
SharedItemStateManager stateMgr,
PersistenceManager pm,
NodeId rootId,
QueryHandler parentHandler,
NodeId excludedNodeId)
Creates a new context instance.
|
Modifier and Type | Field and Description |
---|---|
protected NodeId |
ConsistencyCheckError.id
The id of the affected node.
|
Modifier and Type | Method and Description |
---|---|
NodeId |
ScoreNode.getNodeId() |
NodeId |
NodeIndexer.getNodeId()
Returns the
NodeId of the indexed node. |
Modifier and Type | Method and Description |
---|---|
Iterable<NodeId> |
SearchIndex.getWeaklyReferringNodes(NodeId id)
Returns the ids of the nodes that refer to the node with
id
by weak references. |
Modifier and Type | Method and Description |
---|---|
protected void |
NodeIndexer.addParentChildRelation(org.apache.lucene.document.Document doc,
NodeId parentId)
Adds a parent child relation to the given
doc . |
protected void |
NodeIndexer.addReferenceValue(org.apache.lucene.document.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 |
SearchIndex.CombinedIndexReader.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 |
JackrabbitIndexReader.createDocId(NodeId id)
Creates a document id for the given node identifier.
|
org.apache.jackrabbit.core.query.lucene.ForeignSegmentDocId |
CachingMultiIndexReader.createDocId(NodeId id)
Creates a document id for the given node identifier.
|
void |
SearchIndex.deleteNode(NodeId id)
Removes the node with
id from the search index. |
String |
SimpleExcerptProvider.getExcerpt(NodeId id,
int maxFragments,
int maxFragmentSize)
Returns the XML excerpt for the node with
id . |
String |
ExcerptProvider.getExcerpt(NodeId id,
int maxFragments,
int maxFragmentSize)
Returns the XML excerpt for the node with
id . |
String |
AbstractExcerpt.getExcerpt(NodeId id,
int maxFragments,
int maxFragmentSize)
Returns the XML excerpt for the node with
id . |
Iterable<NodeId> |
SearchIndex.getWeaklyReferringNodes(NodeId id)
Returns the ids of the nodes that refer to the node with
id
by weak references. |
Modifier and Type | Method and Description |
---|---|
protected void |
SearchIndex.retrieveAggregateRoot(NodeState state,
Map<NodeId,NodeState> aggregates)
Retrieves the root of the indexing aggregate for
state and
puts it into aggregates map. |
protected void |
SearchIndex.retrieveAggregateRoot(Set<NodeId> removedIds,
Map<NodeId,NodeState> aggregates)
Retrieves the root of the indexing aggregate for
removedIds
and puts it into map . |
protected void |
SearchIndex.retrieveAggregateRoot(Set<NodeId> removedIds,
Map<NodeId,NodeState> aggregates)
Retrieves the root of the indexing aggregate for
removedIds
and puts it into map . |
void |
SearchIndex.updateNodes(Iterator<NodeId> remove,
Iterator<NodeState> add)
This implementation forwards the call to
MultiIndex.update(Collection, Collection) and
transforms the two iterators to the required types. |
Constructor and Description |
---|
IDField(NodeId id) |
ScoreNode(NodeId id,
float score)
Creates a new
ScoreNode . |
ScoreNode(NodeId id,
float score,
int doc)
Creates a new
ScoreNode . |
Modifier and Type | Method and Description |
---|---|
protected NodeId |
HierarchyConstraint.getBaseNodeId(EvaluationContext context)
Returns the id of the base node or
null if there is no node
at the base path. |
Modifier and Type | Field and Description |
---|---|
protected NodeId |
EntryCollector.rootID
The root id.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.jackrabbit.core.security.authorization.acl.EntryCollector.Entries |
EntryCollector.getEntries(NodeId nodeId) |
Constructor and Description |
---|
EntryCollector(SessionImpl systemSession,
NodeId rootID) |
Modifier and Type | Method and Description |
---|---|
NodeId |
SessionContext.getRootNodeId()
Returns the root node identifier of the repository.
|
Modifier and Type | Field and Description |
---|---|
protected NodeId |
NodeReferences.id
Identifier of the target node.
|
Modifier and Type | Method and 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.
|
NodeId |
PropertyState.getParentId()
Returns the NodeId of the parent
NodeState or null
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 parent
NodeState or null
if either this item state represents the root node or this item state is
'free floating', i.e. |
abstract NodeId |
ItemState.getParentId()
Returns the NodeId of the parent
NodeState or null
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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
ChildNodeEntry |
NodeState.addChildNodeEntry(Name nodeName,
NodeId id)
Adds a new
ChildNodeEntry . |
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.
|
PropertyState |
UpdatableItemStateManager.createNew(Name propName,
NodeId parentId)
Creates a
PropertyState instance representing new,
i.e. |
PropertyState |
SessionItemStateManager.createNew(Name propName,
NodeId parentId)
Creates a
PropertyState instance representing new,
i.e. |
PropertyState |
LocalItemStateManager.createNew(Name propName,
NodeId parentId)
Creates a
PropertyState instance representing new,
i.e. |
NodeState |
UpdatableItemStateManager.createNew(NodeId id,
Name nodeTypeName,
NodeId parentId)
Creates a
NodeState instance representing new,
i.e. |
NodeState |
SessionItemStateManager.createNew(NodeId id,
Name nodeTypeName,
NodeId parentId)
Creates a
NodeState instance representing new,
i.e. |
NodeState |
LocalItemStateManager.createNew(NodeId id,
Name nodeTypeName,
NodeId parentId)
Creates a
NodeState 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 the
ChildNodeEntry with the specified NodeId or
null if there's no matching entry. |
NodeReferences |
XAItemStateManager.getNodeReferences(NodeId id)
Return a node references object, given its target id
|
NodeReferences |
SharedItemStateManager.getNodeReferences(NodeId id)
Return a node references object, given its target id
|
NodeReferences |
SessionItemStateManager.getNodeReferences(NodeId id)
Return a node references object, given its target id
|
NodeReferences |
LocalItemStateManager.getNodeReferences(NodeId id)
Return a node references object, given its target id
|
NodeReferences |
ItemStateManager.getNodeReferences(NodeId id)
Return a node references object, given its target id
|
protected 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 a
ChildNodeEntry with the
specified NodeId . |
boolean |
XAItemStateManager.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 |
SessionItemStateManager.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 |
ItemStateManager.hasNodeReferences(NodeId id)
Return a flag indicating whether a node references object
for a given target id exists.
|
void |
SessionItemStateManager.nodeAdded(NodeState state,
Name name,
int index,
NodeId id)
Called when a child node has been added
|
void |
NodeStateListener.nodeAdded(NodeState state,
Name name,
int index,
NodeId id)
Called when a child node has been added
|
void |
LocalItemStateManager.nodeAdded(NodeState state,
Name name,
int index,
NodeId id)
Called when a child node has been added
|
void |
SessionItemStateManager.nodeRemoved(NodeState state,
Name name,
int index,
NodeId id)
Called when a child node has been removed
|
void |
NodeStateListener.nodeRemoved(NodeState state,
Name name,
int index,
NodeId id)
Called when a child node has been removed
|
void |
LocalItemStateManager.nodeRemoved(NodeState state,
Name name,
int index,
NodeId id)
Called when a child node has been removed
|
void |
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 a
ChildNodeEntry . |
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 a
ChildNodeEntry 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 the
ChildNodeEntry identified by oldId
with a new entry. |
void |
NodeState.setParentId(NodeId parentId)
Sets the id of this node's parent.
|
Modifier and Type | Method and Description |
---|---|
void |
NodeState.setSharedSet(Set<NodeId> set)
Set the shared set of this state to the shared set of another state.
|
Constructor and 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 new
SessionItemStateManager instance. |
SharedItemStateManager(PersistenceManager persistMgr,
NodeId rootNodeId,
NodeTypeRegistry ntReg,
boolean usesReferences,
ItemStateCacheFactory cacheFactory,
ISMLocking locking,
NodeIdFactory nodeIdFactory)
Creates a new
SharedItemStateManager instance. |
Modifier and Type | Method and Description |
---|---|
NodeId |
ReferenceChangeTracker.getMappedId(NodeId oldId)
Returns the new node id to which
oldId has been mapped
or null if no such mapping exists. |
Modifier and Type | Method and Description |
---|---|
NodeId |
ReferenceChangeTracker.getMappedId(NodeId oldId)
Returns the new node id to which
oldId has been mapped
or null if no such mapping exists. |
void |
ReferenceChangeTracker.mappedId(NodeId oldId,
NodeId newId)
Store the given id mapping for later lookup using
. |
Modifier and Type | Method and Description |
---|---|
NodeId |
InternalValue.getNodeId() |
Modifier and Type | Method and Description |
---|---|
static InternalValue |
InternalValue.create(NodeId value) |
static InternalValue |
InternalValue.create(NodeId value,
boolean weak) |
Modifier and Type | Field and Description |
---|---|
protected NodeId |
VersionManagerImplBase.currentActivity
the node id of the current activity
|
Modifier and Type | Method and Description |
---|---|
NodeId |
InternalXAVersionManager.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 |
InternalVersionManager.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 |
InternalXAVersionManager.createActivity(javax.jcr.Session session,
String title)
Creates a new activity
|
NodeId |
InternalVersionManagerImpl.createActivity(javax.jcr.Session session,
String title)
Creates a new activity
|
NodeId |
InternalVersionManager.createActivity(javax.jcr.Session session,
String title)
Creates a new activity
|
protected 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 state
|
NodeId |
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 node
|
NodeId |
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 |
VersionHistoryInfo.getVersionHistoryId()
Returns the identifier of the version history node.
|
NodeId |
InternalFrozenVersionHistory.getVersionHistoryId()
Returns the id of the version history that was assigned to the node at
the time it was versioned.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Map<NodeId,InternalVersion> |
VersionSet.versions()
Returns the (modifiable) changeset of this selector.
|
Modifier and Type | Method and Description |
---|---|
NodeStateEx |
NodeStateEx.addNode(Name nodeName,
Name nodeTypeName,
NodeId id)
Adds a new child node with the given name
|
NodeStateEx |
NodeStateEx.addNode(Name nodeName,
Name nodeTypeName,
NodeId id,
boolean referenceable)
Adds a new child node with the given name
|
NodeId |
InternalXAVersionManager.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 |
InternalVersionManager.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 a
VersionItemStateManager or derivative. |
VirtualNodeState |
InternalXAVersionManager.createNodeState(VirtualNodeState parent,
Name name,
NodeId id,
Name nodeTypeName)
Creates a new virtual node state
|
protected VersionHistoryInfo |
InternalXAVersionManager.createVersionHistory(javax.jcr.Session session,
NodeState node,
NodeId copiedFrom)
Creates a new version history.
|
protected VersionHistoryInfo |
InternalVersionManagerImpl.createVersionHistory(javax.jcr.Session session,
NodeState node,
NodeId copiedFrom)
Creates a new version history.
|
InternalActivity |
InternalVersionManager.getActivity(NodeId id)
Returns the activity with the given id
|
InternalBaseline |
InternalVersionManager.getBaseline(NodeId id)
Returns the baseline with the given id
|
InternalVersion |
InternalVersionManager.getHeadVersionOfNode(NodeId id)
Returns the head version of the node with the given id.
|
protected InternalVersionItem |
InternalXAVersionManager.getItem(NodeId id)
Returns the item with the given persistent id.
|
protected InternalVersionItem |
InternalVersionManagerImpl.getItem(NodeId id)
Returns the item with the given persistent id.
|
NodeStateEx |
NodeStateEx.getNode(NodeId id)
Returns the node with the given id.
|
NodeReferences |
VersionItemStateManager.getNodeReferences(NodeId id) |
NodeReferences |
InternalXAVersionManager.getNodeReferences(NodeId id)
Return a node references object, given its target id
|
protected NodeStateEx |
VersionManagerImplBase.getNodeStateEx(NodeId nodeId)
returns the node state for the given node id
|
protected NodeStateEx |
InternalXAVersionManager.getNodeStateEx(NodeId parentNodeId)
Returns the node with the given persistent id.
|
protected NodeStateEx |
InternalVersionManagerImpl.getNodeStateEx(NodeId parentNodeId)
Returns the node with the given persistent id.
|
InternalVersion |
InternalVersionManager.getVersion(NodeId id)
Returns the version with the given id
|
InternalVersion |
InternalVersionHistory.getVersion(NodeId id)
Returns the version with the given uuid or
null if the
respective version does not exist. |
InternalVersionHistory |
InternalVersionManager.getVersionHistory(NodeId id)
Returns the version history with the given id
|
VersionHistoryInfo |
InternalVersionManager.getVersionHistory(javax.jcr.Session session,
NodeState vNode,
NodeId copiedFrom)
Returns information about the version history of the specified node.
|
InternalVersionHistory |
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 ancestor
|
protected boolean |
InternalXAVersionManager.hasItem(NodeId id)
Return a flag indicating if the item specified exists.
|
boolean |
InternalVersionManagerImpl.hasItem(NodeId id)
Return a flag indicating if the item specified exists.
|
protected boolean |
InternalXAVersionManager.hasItemReferences(NodeId id)
Checks if there are item references (from outside the version storage)
that reference the given node.
|
protected boolean |
InternalVersionManagerImpl.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 exists
|
boolean |
VersionItemStateManager.hasNodeReferences(NodeId id) |
boolean |
InternalXAVersionManager.hasNodeReferences(NodeId id)
Return a flag indicating whether a node references object
for a given target id exists.
|
void |
InternalXAVersionManager.removeActivity(javax.jcr.Session session,
NodeId nodeId)
Removes an activity and all
|
void |
InternalVersionManagerImpl.removeActivity(javax.jcr.Session session,
NodeId nodeId)
Removes an activity and all
|
void |
InternalVersionManager.removeActivity(javax.jcr.Session session,
NodeId nodeId)
Removes an activity and all
|
Constructor and 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 manager
|
NodeStateEx(UpdatableItemStateManager stateMgr,
NodeTypeRegistry ntReg,
NodeId nodeId)
Creates a new persistent node
|
VersionHistoryInfo(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 and Description |
---|
VersionSet(Map<NodeId,InternalVersion> versions)
Creates a
ChangeSetVersionSelector that will try to select a
version within the given set of versions. |
VersionSet(Map<NodeId,InternalVersion> versions,
boolean dateFallback)
Creates a
ChangeSetVersionSelector that will try to select a
version in the given set. |
Modifier and Type | Field and Description |
---|---|
protected NodeId |
AbstractVISProvider.rootNodeId
the root node id
|
Modifier and Type | Method and Description |
---|---|
NodeId |
VirtualItemStateProvider.getVirtualRootId()
Deprecated.
use
VirtualItemStateProvider.getVirtualRootIds() instead. |
NodeId |
AbstractVISProvider.getVirtualRootId()
Returns the id of the root node of the virtual tree.
|
NodeId[] |
VirtualItemStateProvider.getVirtualRootIds()
Returns the ids of the root nodes of the virtual tree.
|
NodeId[] |
AbstractVISProvider.getVirtualRootIds()
Returns the ids of the root nodes of the virtual tree.
|
Modifier and Type | Method and Description |
---|---|
VirtualNodeState |
VirtualItemStateProvider.createNodeState(VirtualNodeState parent,
Name name,
NodeId id,
Name nodeTypeName)
Creates a new virtual node state
|
VirtualNodeState |
AbstractVISProvider.createNodeState(VirtualNodeState parent,
Name name,
NodeId id,
Name nodeTypeName)
Creates a new virtual node state
|
protected void |
AbstractVISProvider.evict(NodeId id)
removes the node state from the cache
|
NodeReferences |
AbstractVISProvider.getNodeReferences(NodeId id)
Return a node references object, given its target id
|
boolean |
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 id
|
protected abstract boolean |
AbstractVISProvider.internalHasNodeState(NodeId id)
Checks if this provide has the node state of the given node id
|
Constructor and Description |
---|
AbstractVISProvider(NodeTypeRegistry ntReg,
NodeId rootNodeId)
Creates an abstract virtual item state provider
|
VirtualNodeState(AbstractVISProvider stateMgr,
NodeId parentId,
NodeId id,
Name nodeTypeName,
Name[] mixins)
creates a new virtual node state
|
Modifier and Type | Method and Description |
---|---|
NodeId |
NodeInfo.getId()
Returns the identifier of the node being imported.
|
Modifier and Type | Method and 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) |
Constructor and Description |
---|
NodeInfo(Name name,
Name nodeTypeName,
Name[] mixinNames,
NodeId id)
Creates a node information instance.
|
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.