Package | Description |
---|---|
org.apache.jackrabbit.core |
Contains the core classes that provide the implementation of the JCR API.
|
org.apache.jackrabbit.core.lock | |
org.apache.jackrabbit.core.security.authorization.acl | |
org.apache.jackrabbit.core.security.user | |
org.apache.jackrabbit.core.session | |
org.apache.jackrabbit.core.version |
The versioning framework in jackrabbit consists of 3 layers.
|
org.apache.jackrabbit.core.xml |
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) |
protected NodeImpl |
ProtectedItemModifier.addNode(NodeImpl parentImpl,
Name name,
Name ntName,
NodeId nodeId) |
NodeImpl |
NodeImpl.clone(NodeImpl src,
Name name)
Create a child node that is a clone of a shareable node.
|
protected NodeImpl |
NodeImpl.createChildNode(Name name,
NodeTypeImpl nodeType,
NodeId id) |
NodeImpl |
NodeImpl.getNode(Name name)
Returns the child node of
this node with the specified
name . |
NodeImpl |
NodeImpl.getNode(Name name,
int index)
Returns the child node of
this node with the specified
name . |
NodeImpl |
ItemManager.getNode(NodeId id,
NodeId parentId)
Returns a node with a given id and parent id.
|
NodeImpl |
ItemManager.getNode(Path path) |
NodeImpl |
SessionImpl.getNodeById(NodeId id)
Retrieves the
Node with the given id. |
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 . |
Modifier and Type | Method and Description |
---|---|
protected NodeImpl |
ProtectedItemModifier.addNode(NodeImpl parentImpl,
Name name,
Name ntName) |
protected NodeImpl |
ProtectedItemModifier.addNode(NodeImpl parentImpl,
Name name,
Name ntName,
NodeId nodeId) |
NodeImpl |
NodeImpl.clone(NodeImpl src,
Name name)
Create a child node that is a clone of a shareable node.
|
protected void |
ProtectedItemModifier.markModified(NodeImpl parentImpl) |
protected void |
VersionManagerImpl.restore(NodeImpl node,
Version version,
boolean removeExisting)
Same as
VersionManagerImpl.restore(String, String, boolean) but to ensure
backward compatibility for Node.restore(Version, boolean). |
protected Property |
ProtectedItemModifier.setProperty(NodeImpl parentImpl,
Name name,
Value value) |
protected Property |
ProtectedItemModifier.setProperty(NodeImpl parentImpl,
Name name,
Value[] values) |
protected Property |
ProtectedItemModifier.setProperty(NodeImpl parentImpl,
Name name,
Value[] values,
int type) |
protected Property |
ProtectedItemModifier.setProperty(NodeImpl parentImpl,
Name name,
Value value,
boolean ignorePermissions) |
void |
VersionManagerImpl.update(NodeImpl node,
String srcWorkspaceName)
Does an update.
|
Modifier and Type | Method and Description |
---|---|
void |
LockManager.checkLock(NodeImpl node)
Check whether the node given is locked by somebody else than the
current session.
|
void |
LockManagerImpl.checkLock(NodeImpl node)
Check whether the node given is locked by somebody else than the
current session.
|
void |
XALockManager.checkLock(NodeImpl node)
Check whether the node given is locked by somebody else than the
current session.
|
void |
LockManager.checkUnlock(Session session,
NodeImpl node)
Check whether a session is allowed to unlock a node.
|
void |
LockManagerImpl.checkUnlock(Session session,
NodeImpl node)
Check whether a session is allowed to unlock a node.
|
void |
XALockManager.checkUnlock(Session session,
NodeImpl node)
Check whether a session is allowed to unlock a node.
|
Lock |
LockManager.getLock(NodeImpl node)
Returns the Lock object that applies to a node.
|
Lock |
LockManagerImpl.getLock(NodeImpl node)
Returns the Lock object that applies to a node.
|
Lock |
XALockManager.getLock(NodeImpl node)
Returns the Lock object that applies to a node.
|
boolean |
LockManager.holdsLock(NodeImpl node)
Returns
true if the node given holds a lock;
otherwise returns false . |
boolean |
LockManagerImpl.holdsLock(NodeImpl node)
Returns
true if the node given holds a lock;
otherwise returns false . |
boolean |
XALockManager.holdsLock(NodeImpl node)
Returns
true if the node given holds a lock;
otherwise returns false . |
boolean |
LockManager.isLocked(NodeImpl node)
Returns
true if this node is locked either as a result
of a lock held by this node or by a deep lock on a node above this
node; otherwise returns false |
boolean |
LockManagerImpl.isLocked(NodeImpl node)
Returns
true if this node is locked either as a result
of a lock held by this node or by a deep lock on a node above this
node; otherwise returns false |
boolean |
XALockManager.isLocked(NodeImpl node)
Returns
true if this node is locked either as a result
of a lock held by this node or by a deep lock on a node above this
node; otherwise returns false |
Lock |
LockManager.lock(NodeImpl node,
boolean isDeep,
boolean isSessionScoped)
Lock a node.
|
Lock |
LockManagerImpl.lock(NodeImpl node,
boolean isDeep,
boolean isSessionScoped)
Lock a node.
|
Lock |
XALockManager.lock(NodeImpl node,
boolean isDeep,
boolean isSessionScoped)
Lock a node.
|
Lock |
LockManager.lock(NodeImpl node,
boolean isDeep,
boolean isSessionScoped,
long timeoutHint,
String ownerInfo)
Lock a node.
|
Lock |
LockManagerImpl.lock(NodeImpl node,
boolean isDeep,
boolean isSessionScoped,
long timoutHint,
String ownerInfo) |
Lock |
XALockManager.lock(NodeImpl node,
boolean isDeep,
boolean isSessionScoped,
long timoutHint,
String ownerInfo) |
protected void |
LockManagerImpl.removeLockProperties(NodeImpl node) |
void |
LockManager.unlock(NodeImpl node)
Removes the lock on a node given by its path.
|
void |
LockManagerImpl.unlock(NodeImpl node)
Removes the lock on a node given by its path.
|
void |
XALockManager.unlock(NodeImpl node)
Removes the lock on a node given by its path.
|
protected void |
LockManagerImpl.writeLockProperties(NodeImpl node,
String lockOwner,
boolean isDeep)
Add the lock related properties to the target node.
|
Modifier and Type | Method and Description |
---|---|
protected List<org.apache.jackrabbit.core.security.authorization.acl.Entry> |
EntryCollector.collectEntries(NodeImpl node,
EntryFilter filter)
Collect the ACEs effective at the given node applying the specified
filter.
|
protected org.apache.jackrabbit.core.security.authorization.acl.EntryCollector.Entries |
EntryCollector.getEntries(NodeImpl node)
Retrieve the access control entries defined for the given node.
|
Modifier and Type | Method and Description |
---|---|
protected Group |
UserManagerImpl.doCreateGroup(NodeImpl node)
Build the group object from the given group node.
|
protected User |
UserManagerImpl.doCreateUser(NodeImpl node)
Build the user object from the given user node.
|
void |
UserImporter.end(NodeImpl protectedParent) |
boolean |
UserImporter.handlePropInfo(NodeImpl parent,
PropInfo protectedPropInfo,
QPropertyDefinition def) |
boolean |
UserImporter.start(NodeImpl protectedParent) |
Constructor and Description |
---|
UserImpl(NodeImpl node,
UserManagerImpl userManager) |
Modifier and Type | Method and Description |
---|---|
static SessionItemOperation<NodeImpl> |
SessionItemOperation.getNode(String path)
Creates a session operation for getting the node at the given path.
|
Constructor and Description |
---|
AddNodeOperation(NodeImpl node,
String relPath,
String nodeTypeName,
String uuid) |
Modifier and Type | Class and Description |
---|---|
class |
VersionHistoryImpl
Base implementation of the
VersionHistory interface. |
class |
VersionImpl
Base implementation of the
Version interface. |
Modifier and Type | Method and Description |
---|---|
protected void |
VersionManagerImplBase.checkModify(NodeImpl node,
int options,
int permissions)
Checks modify and permissions
|
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) |
Modifier and Type | Method and Description |
---|---|
protected void |
SessionImporter.checkPermission(NodeImpl parent,
Name nodeName)
make sure the editing session is allowed create nodes with a
specified node type (and ev.
|
protected NodeImpl |
SessionImporter.createNode(NodeImpl parent,
Name nodeName,
Name nodeTypeName,
Name[] mixinNames,
NodeId id) |
protected void |
SessionImporter.createProperty(NodeImpl node,
PropInfo pInfo,
QPropertyDefinition def) |
void |
AccessControlImporter.end(NodeImpl protectedParent) |
void |
DefaultProtectedItemImporter.end(NodeImpl protectedParent)
Does nothing.
|
void |
ProtectedNodeImporter.end(NodeImpl protectedParent)
Informs this importer that the tree to be imported below
protectedParent has bee completed. |
boolean |
DefaultProtectedItemImporter.handlePropInfo(NodeImpl parent,
PropInfo protectedPropInfo,
QPropertyDefinition def)
Always returns
false . |
boolean |
ProtectedPropertyImporter.handlePropInfo(NodeImpl parent,
PropInfo protectedPropInfo,
QPropertyDefinition def)
Handles a single protected property.
|
protected NodeImpl |
SessionImporter.resolveUUIDConflict(NodeImpl parent,
NodeId conflictingId,
NodeInfo nodeInfo) |
boolean |
AccessControlImporter.start(NodeImpl protectedParent) |
boolean |
DefaultProtectedItemImporter.start(NodeImpl protectedParent)
Always returns
false . |
boolean |
ProtectedNodeImporter.start(NodeImpl protectedParent)
Notifies this importer about the existence of a protected node that
has either been created (NEW) or has been found to be existing.
|
Constructor and Description |
---|
SessionImporter(NodeImpl importTargetNode,
SessionImpl session,
int uuidBehavior)
Creates a new
SessionImporter instance. |
SessionImporter(NodeImpl importTargetNode,
SessionImpl session,
int uuidBehavior,
ImportConfig config)
Creates a new
SessionImporter instance. |
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.