Package | Description |
---|---|
org.apache.jackrabbit.core |
Contains the core classes that provide the implementation of the JCR API.
|
org.apache.jackrabbit.core.id | |
org.apache.jackrabbit.core.persistence.mem | |
org.apache.jackrabbit.core.security | |
org.apache.jackrabbit.core.security.authorization | |
org.apache.jackrabbit.core.security.simple | |
org.apache.jackrabbit.core.state | |
org.apache.jackrabbit.core.version |
The versioning framework in jackrabbit consists of 3 layers.
|
org.apache.jackrabbit.core.virtual |
Modifier and Type | Field and Description |
---|---|
protected ItemId |
ItemImpl.id |
Modifier and Type | Method and Description |
---|---|
ItemId |
ItemData.getId()
Return the id associated with this item.
|
ItemId |
ItemImpl.getId()
Return the id of this
Item . |
protected ItemId |
HierarchyManagerImpl.resolvePath(Path.Element[] elements,
int next,
ItemId id,
int typesAllowed)
Internal implementation that iteratively resolves a path into an item.
|
ItemId |
HierarchyManager.resolvePath(Path path)
Deprecated.
As of JSR 283, a
Path doesn't anymore uniquely
identify an Item , therefore HierarchyManager.resolveNodePath(Path) and
HierarchyManager.resolvePropertyPath(Path) should be used instead. |
ItemId |
HierarchyManagerImpl.resolvePath(Path path)
Resolves a path into an item id.
|
protected ItemId |
CachingHierarchyManager.resolvePath(Path path,
int typesAllowed)
Internal implementation of
HierarchyManagerImpl.resolvePath(Path) that will either
resolve to a node or a property. |
protected ItemId |
HierarchyManagerImpl.resolvePath(Path path,
int typesAllowed)
Internal implementation of
HierarchyManagerImpl.resolvePath(Path) that will either
resolve to a node or a property. |
Modifier and Type | Method and Description |
---|---|
int |
CachingHierarchyManager.getDepth(ItemId id)
Returns the depth of the specified item which is equivalent to
getPath(id).getAncestorCount() . |
int |
HierarchyManager.getDepth(ItemId id)
Returns the depth of the specified item which is equivalent to
getPath(id).getAncestorCount() . |
int |
HierarchyManagerImpl.getDepth(ItemId id)
Returns the depth of the specified item which is equivalent to
getPath(id).getAncestorCount() . |
ItemImpl |
ItemManager.getItem(ItemId id) |
ItemState |
BatchedItemOperations.getItemState(ItemId id)
Retrieves the state of the item with the given id.
|
protected ItemState |
HierarchyManagerImpl.getItemState(ItemId id)
Return an item state, given its item id.
|
protected ItemState |
ZombieHierarchyManager.getItemState(ItemId id)
Return an item state, given its item id.
|
protected ItemState |
BatchedItemOperations.getItemState(ItemStateManager srcStateMgr,
ItemId id)
Retrieves the state of the item with the specified id using the given
item state manager.
|
Name |
CachingHierarchyManager.getName(ItemId id)
Returns the name of the specified item.
|
Name |
HierarchyManager.getName(ItemId id)
Returns the name of the specified item.
|
Name |
HierarchyManagerImpl.getName(ItemId itemId)
Returns the name of the specified item.
|
Path |
CachingHierarchyManager.getPath(ItemId id)
Returns the path to the given item.
|
Path |
HierarchyManager.getPath(ItemId id)
Returns the path to the given item.
|
Path |
HierarchyManagerImpl.getPath(ItemId id)
Returns the path to the given item.
|
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.
|
protected boolean |
HierarchyManagerImpl.hasItemState(ItemId id)
Determines whether an item state for a given item id exists.
|
protected boolean |
ZombieHierarchyManager.hasItemState(ItemId id)
Determines whether an item state for a given item id exists.
|
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 |
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 |
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 . |
void |
ItemManager.itemDestroyed(ItemId id,
ItemData data) |
void |
ItemLifeCycleListener.itemDestroyed(ItemId id,
ItemImpl item)
Called when an
ItemImpl instance has been destroyed
(i.e. |
boolean |
ItemManager.itemExists(ItemId id)
Checks if the item with the given id exists.
|
void |
ItemManager.itemInvalidated(ItemId id,
ItemData data) |
void |
ItemLifeCycleListener.itemInvalidated(ItemId id,
ItemImpl item)
Called when an
ItemImpl instance has been invalidated
(i.e. |
protected void |
CachingHierarchyManager.pathResolved(ItemId id,
PathBuilder builder)
|
protected void |
HierarchyManagerImpl.pathResolved(ItemId id,
PathBuilder builder)
|
protected ItemId |
HierarchyManagerImpl.resolvePath(Path.Element[] elements,
int next,
ItemId id,
int typesAllowed)
Internal implementation that iteratively resolves a path into an item.
|
String |
ItemValidator.safeGetJCRPath(ItemId id)
Failsafe translation of internal
ItemId to JCR path for use
in error messages etc. |
Constructor and Description |
---|
AbstractNodeData(ItemId id)
Create a new instance of this class.
|
ItemData(ItemId id)
Create a new instance of this class.
|
Constructor and Description |
---|
LazyItemIterator(SessionContext sessionContext,
List<? extends ItemId> idList)
Creates a new
LazyItemIterator instance. |
LazyItemIterator(SessionContext sessionContext,
List<? extends ItemId> idList,
NodeId parentId)
Creates a new
LazyItemIterator instance, additionally taking
a parent id as parameter. |
Modifier and Type | Class and Description |
---|---|
class |
NodeId
Node identifier, i.e.
|
class |
PropertyId
Property identifier.
|
Modifier and Type | Field and Description |
---|---|
protected Map<ItemId,byte[]> |
InMemPersistenceManager.stateStore
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AccessManager.canRead(Path itemPath,
ItemId itemId)
Determines whether the item with the specified
itemPath
or itemId can be read. |
boolean |
DefaultAccessManager.canRead(Path itemPath,
ItemId itemId) |
boolean |
SimpleJBossAccessManager.canRead(Path itemPath,
ItemId itemId) |
void |
AccessManager.checkPermission(ItemId id,
int permissions)
Deprecated.
|
void |
DefaultAccessManager.checkPermission(ItemId id,
int permissions) |
void |
SimpleJBossAccessManager.checkPermission(ItemId id,
int permissions) |
boolean |
AccessManager.isGranted(ItemId id,
int permissions)
Deprecated.
|
boolean |
DefaultAccessManager.isGranted(ItemId id,
int actions) |
boolean |
SimpleJBossAccessManager.isGranted(ItemId id,
int permissions) |
Modifier and Type | Method and Description |
---|---|
boolean |
CompiledPermissions.canRead(Path itemPath,
ItemId itemId)
Returns
true if READ permission is granted for the
existing item with the given Path and/or
ItemId . |
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleAccessManager.canRead(Path itemPath,
ItemId itemId) |
void |
SimpleAccessManager.checkPermission(ItemId id,
int permissions)
Determines whether the specified
permissions are granted
on the item with the specified id (i.e. |
boolean |
SimpleAccessManager.isGranted(ItemId id,
int permissions)
Determines whether the specified
permissions are granted
on the item with the specified id (i.e. |
Modifier and Type | Method and Description |
---|---|
abstract ItemId |
ItemState.getId()
Returns the identifier of this item.
|
ItemId |
NodeState.getId()
Returns the identifier of this item.
|
ItemId |
PropertyState.getId()
Returns the identifier of this item.
|
Modifier and Type | Method and Description |
---|---|
ISMLocking.ReadLock |
DefaultISMLocking.acquireReadLock(ItemId id)
Increments the reader count and returns the acquired read lock once
there are no more writers or the current writer shares the thread id
with this reader.
|
ISMLocking.ReadLock |
FineGrainedISMLocking.acquireReadLock(ItemId id)
Acquire a read lock for the given item
id . |
ISMLocking.ReadLock |
ISMLocking.acquireReadLock(ItemId id)
Acquire a read lock for the given item
id . |
boolean |
ChangeLog.deleted(ItemId id)
Return a flag indicating whether a given item state is marked as
deleted in this log.
|
void |
ItemStateCache.evict(ItemId id)
Removes the
ItemState object with the specified id from
this cache if it is present. |
void |
ItemStateReferenceCache.evict(ItemId id)
Removes the
ItemState object with the specified id from
this cache if it is present. |
void |
MLRUItemStateCache.evict(ItemId id)
Removes the
ItemState object with the specified id from
this cache if it is present. |
ItemState |
ChangeLog.get(ItemId id)
Return an item state given its id.
|
Collection<ItemState> |
SessionItemStateManager.getDescendantTransientItemStates(ItemId id)
Returns a collection of those transient item state instances that are
direct or indirect descendants of the item state with the given parent.
|
Iterable<ItemState> |
SessionItemStateManager.getDescendantTransientItemStatesInAttic(ItemId id)
Same as
except that item state instances in the attic are returned. |
ItemState |
ItemStateManager.getItemState(ItemId id)
Return an item state, given its item id.
|
ItemState |
LocalItemStateManager.getItemState(ItemId id)
Return an item state, given its item id.
|
ItemState |
SessionItemStateManager.getItemState(ItemId id)
Return an item state, given its item id.
|
ItemState |
SharedItemStateManager.getItemState(ItemId id)
Return an item state, given its item id.
|
ItemState |
XAItemStateManager.getItemState(ItemId id)
Return an item state, given its item id.
|
ItemState |
SessionItemStateManager.getTransientItemState(ItemId id) |
boolean |
ChangeLog.has(ItemId id)
Return a flag indicating whether a given item state exists.
|
boolean |
ItemStateManager.hasItemState(ItemId id)
Return a flag indicating whether an item state for a given
item id exists.
|
boolean |
LocalItemStateManager.hasItemState(ItemId id)
Return a flag indicating whether an item state for a given
item id exists.
|
boolean |
SessionItemStateManager.hasItemState(ItemId id)
Return a flag indicating whether an item state for a given
item id exists.
|
boolean |
SharedItemStateManager.hasItemState(ItemId id)
Return a flag indicating whether an item state for a given
item id exists.
|
boolean |
XAItemStateManager.hasItemState(ItemId id)
Return a flag indicating whether an item state for a given
item id exists.
|
protected boolean |
SharedItemStateManager.hasNonVirtualItemState(ItemId id)
Checks if this item state manager has the given item state without
considering the virtual item state managers.
|
boolean |
SessionItemStateManager.hasTransientItemState(ItemId id) |
boolean |
SessionItemStateManager.hasTransientItemStateInAttic(ItemId id) |
boolean |
ChangeLog.isAdded(ItemId id)
Return a flag indicating whether a given item state is marked as
added in this log.
|
boolean |
ItemStateCache.isCached(ItemId id)
Returns
true if this cache contains an ItemState
object with the specified id . |
boolean |
ItemStateReferenceCache.isCached(ItemId id)
Returns
true if this cache contains an ItemState
object with the specified id . |
boolean |
MLRUItemStateCache.isCached(ItemId id)
Returns
true if this cache contains an ItemState
object with the specified id . |
boolean |
SessionItemStateManager.isItemStateInAttic(ItemId id)
Return a flag indicating whether the specified item is in the transient
item state manager's attic space.
|
boolean |
ChangeLog.isModified(ItemId id)
Returns a flag indicating whether a given item state is marked as
modified in this log.
|
ItemState |
ItemStateCache.retrieve(ItemId id)
Returns the
ItemState object with the specified
id if it is present or null if no entry exists
with that id . |
ItemState |
ItemStateReferenceCache.retrieve(ItemId id)
Returns the
ItemState object with the specified
id if it is present or null if no entry exists
with that id . |
ItemState |
MLRUItemStateCache.retrieve(ItemId id)
Returns the
ItemState object with the specified
id if it is present or null if no entry exists
with that id . |
Modifier and Type | Method and Description |
---|---|
ItemState |
InternalXAVersionManager.getItemState(ItemId id)
Return an item state, given its item id.
|
boolean |
InternalXAVersionManager.hasItemState(ItemId id)
Return a flag indicating whether an item state for a given
item id exists.
|
boolean |
InternalXAVersionManager.isVirtualRoot(ItemId id)
Checks if the id refers to the root of a virtual tree.
|
Modifier and Type | Method and Description |
---|---|
protected void |
VersionManagerImplMerge.merge(InternalActivity activity,
List<ItemId> failedIds)
Merge the given activity to this workspace
|
protected void |
VersionManagerImplMerge.merge(NodeStateEx state,
NodeStateEx srcRoot,
List<ItemId> failedIds,
boolean bestEffort,
boolean shallow)
Merges/Updates this node with its corresponding ones
|
Modifier and Type | Method and Description |
---|---|
ItemState |
AbstractVISProvider.getItemState(ItemId id)
Return an item state, given its item id.
|
boolean |
AbstractVISProvider.hasItemState(ItemId id)
Return a flag indicating whether an item state for a given
item id exists.
|
void |
AbstractVISProvider.invalidateItem(ItemId id,
boolean recursive)
invalidates the item
|
boolean |
AbstractVISProvider.isVirtualRoot(ItemId id)
Checks if the id refers to the root of a virtual tree.
|
boolean |
VirtualItemStateProvider.isVirtualRoot(ItemId id)
Checks if the id refers to the root of a virtual tree.
|
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.