public interface JackrabbitNode
extends javax.jcr.Node
Node interface.| Modifier and Type | Method and Description |
|---|---|
default @Nullable JackrabbitNode |
getNodeOrNull(@NotNull java.lang.String relPath)
Returns the node at
relPath relative to this node or null if no such node exists. |
default @Nullable javax.jcr.Property |
getPropertyOrNull(@NotNull java.lang.String relPath)
Returns the property at
relPath relative to this node or null if no such property exists. |
void |
rename(java.lang.String newName) |
void |
setMixins(java.lang.String[] mixinNames) |
addMixin, addNode, addNode, canAddMixin, cancelMerge, checkin, checkout, doneMerge, followLifecycleTransition, getAllowedLifecycleTransistions, getBaseVersion, getCorrespondingNodePath, getDefinition, getIdentifier, getIndex, getLock, getMixinNodeTypes, getNode, getNodes, getNodes, getNodes, getPrimaryItem, getPrimaryNodeType, getProperties, getProperties, getProperties, getProperty, getReferences, getReferences, getSharedSet, getUUID, getVersionHistory, getWeakReferences, getWeakReferences, hasNode, hasNodes, hasProperties, hasProperty, holdsLock, isCheckedOut, isLocked, isNodeType, lock, merge, orderBefore, removeMixin, removeShare, removeSharedSet, restore, restore, restore, restoreByLabel, setPrimaryType, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, unlock, updatevoid rename(java.lang.String newName)
throws javax.jcr.RepositoryException
newName - javax.jcr.RepositoryExceptionvoid setMixins(java.lang.String[] mixinNames)
throws javax.jcr.nodetype.NoSuchNodeTypeException,
javax.jcr.version.VersionException,
javax.jcr.nodetype.ConstraintViolationException,
javax.jcr.lock.LockException,
javax.jcr.RepositoryException
mixinNames - javax.jcr.nodetype.NoSuchNodeTypeExceptionjavax.jcr.version.VersionExceptionjavax.jcr.nodetype.ConstraintViolationExceptionjavax.jcr.lock.LockExceptionjavax.jcr.RepositoryException@Nullable default @Nullable JackrabbitNode getNodeOrNull(@NotNull @NotNull java.lang.String relPath) throws javax.jcr.RepositoryException
relPath relative to this node or null if no such node exists.
The same reacquisition semantics apply as with Node.getNode(String).relPath - The relative path of the node to retrieve.relPath or nulljavax.jcr.RepositoryException - If an error occurs.@Nullable
default @Nullable javax.jcr.Property getPropertyOrNull(@NotNull
@NotNull java.lang.String relPath)
throws javax.jcr.RepositoryException
relPath relative to this node or null if no such property exists.
The same reacquisition semantics apply as with Node.getNode(String).relPath - The relative path of the property to retrieve.relPath or nulljavax.jcr.RepositoryException - If an error occurs.Copyright © 2010 - 2025 Adobe. All Rights Reserved