Uses of Class
org.apache.jackrabbit.core.NodeImpl
-
Packages that use NodeImpl 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 -
-
Uses of NodeImpl in org.apache.jackrabbit.core
Methods in org.apache.jackrabbit.core that return NodeImpl 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)
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
ItemManager. getNode(NodeId id, NodeId parentId)
Returns a node with a given id and parent id.NodeImpl
ItemManager. getNode(Path path)
NodeImpl
NodeImpl. getNode(Name name)
Returns the child node ofthis
node with the specifiedname
.NodeImpl
NodeImpl. getNode(Name name, int index)
Returns the child node ofthis
node with the specifiedname
.NodeImpl
SessionImpl. getNodeById(NodeId id)
Retrieves theNode
with the given id.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
.Methods in org.apache.jackrabbit.core with parameters of type NodeImpl Modifier and Type Method 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 asVersionManagerImpl.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. -
Uses of NodeImpl in org.apache.jackrabbit.core.lock
Methods in org.apache.jackrabbit.core.lock with parameters of type NodeImpl Modifier and Type Method 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)
Returnstrue
if the node given holds a lock; otherwise returnsfalse
.boolean
LockManagerImpl. holdsLock(NodeImpl node)
Returnstrue
if the node given holds a lock; otherwise returnsfalse
.boolean
XALockManager. holdsLock(NodeImpl node)
Returnstrue
if the node given holds a lock; otherwise returnsfalse
.boolean
LockManager. isLocked(NodeImpl node)
Returnstrue
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 returnsfalse
boolean
LockManagerImpl. isLocked(NodeImpl node)
Returnstrue
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 returnsfalse
boolean
XALockManager. isLocked(NodeImpl node)
Returnstrue
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 returnsfalse
Lock
LockManager. 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)
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)
Lock a node.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. -
Uses of NodeImpl in org.apache.jackrabbit.core.security.authorization.acl
Methods in org.apache.jackrabbit.core.security.authorization.acl with parameters of type NodeImpl Modifier and Type Method 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. -
Uses of NodeImpl in org.apache.jackrabbit.core.security.user
Methods in org.apache.jackrabbit.core.security.user with parameters of type NodeImpl Modifier and Type Method 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)
Constructors in org.apache.jackrabbit.core.security.user with parameters of type NodeImpl Constructor Description UserImpl(NodeImpl node, UserManagerImpl userManager)
-
Uses of NodeImpl in org.apache.jackrabbit.core.session
Methods in org.apache.jackrabbit.core.session that return types with arguments of type NodeImpl Modifier and Type Method Description static SessionItemOperation<NodeImpl>
SessionItemOperation. getNode(String path)
Creates a session operation for getting the node at the given path.Constructors in org.apache.jackrabbit.core.session with parameters of type NodeImpl Constructor Description AddNodeOperation(NodeImpl node, String relPath, String nodeTypeName, String uuid)
-
Uses of NodeImpl in org.apache.jackrabbit.core.version
Subclasses of NodeImpl in org.apache.jackrabbit.core.version Modifier and Type Class Description class
VersionHistoryImpl
Base implementation of theVersionHistory
interface.class
VersionImpl
Base implementation of theVersion
interface.Methods in org.apache.jackrabbit.core.version with parameters of type NodeImpl Modifier and Type Method Description protected void
VersionManagerImplBase. checkModify(NodeImpl node, int options, int permissions)
Checks modify and permissions -
Uses of NodeImpl in org.apache.jackrabbit.core.xml
Methods in org.apache.jackrabbit.core.xml that return NodeImpl 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)
Methods in org.apache.jackrabbit.core.xml with parameters of type NodeImpl Modifier and Type Method 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 belowprotectedParent
has bee completed.boolean
DefaultProtectedItemImporter. handlePropInfo(NodeImpl parent, PropInfo protectedPropInfo, QPropertyDefinition def)
Always returnsfalse
.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 returnsfalse
.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.Constructors in org.apache.jackrabbit.core.xml with parameters of type NodeImpl Constructor Description SessionImporter(NodeImpl importTargetNode, SessionImpl session, int uuidBehavior)
Creates a newSessionImporter
instance.SessionImporter(NodeImpl importTargetNode, SessionImpl session, int uuidBehavior, ImportConfig config)
Creates a newSessionImporter
instance.
-