JCR_CHILD_NODE_DEFINITION, JCR_CONTENT, JCR_FROZEN_NODE, JCR_PROPERTY_DEFINITION, JCR_ROOT_VERSION, JCR_VERSION_LABELS
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 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, update
accept, getAncestor, getDepth, getName, getParent, getPath, getSession, isModified, isNew, isNode, isSame, refresh, remove, save
void rename(java.lang.String newName) throws RepositoryException
newName
- RepositoryException
void setMixins(java.lang.String[] mixinNames) throws NoSuchNodeTypeException, VersionException, ConstraintViolationException, LockException, RepositoryException
mixinNames
- NoSuchNodeTypeException
VersionException
ConstraintViolationException
LockException
RepositoryException
@Nullable default @Nullable JackrabbitNode getNodeOrNull(@NotNull @NotNull java.lang.String relPath) throws 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 null
RepositoryException
- If an error occurs.@Nullable default @Nullable Property getPropertyOrNull(@NotNull @NotNull java.lang.String relPath) throws 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 null
RepositoryException
- If an error occurs.Copyright © 2010 - 2023 Adobe. All Rights Reserved