public class VersionedNodeChild extends PropertyAndChildWrappingNodeWrapper
wrapped
Constructor and Description |
---|
VersionedNodeChild(VersionedNodeChild versionedNode,
javax.jcr.Node node) |
VersionedNodeChild(VersionedNode versionedNode,
javax.jcr.Node node) |
Modifier and Type | Method and Description |
---|---|
javax.jcr.Item |
getAncestor(int depth) |
int |
getDepth() |
javax.jcr.Node |
getParent() |
String |
getPath() |
javax.jcr.nodetype.NodeType |
getPrimaryNodeType() |
boolean |
isNodeType(String nodeTypeName) |
addNode, addNode, checkin, equals, getBaseVersion, getContentDecorator, getNode, getNodes, getNodes, getNodes, getProperties, getProperties, getProperties, getProperty, getReferences, getReferences, getSession, getVersionHistory, getWeakReferences, getWeakReferences, hashCode, hasNode, hasNodes, isWrapping, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setWrappedNode, wrapNode, wrapNodeIterator, wrapProperty, wrapPropertyIterator, wrapSession, wrapVersion, wrapVersionHistory, wrapVersionIterator
accept, addMixin, canAddMixin, cancelMerge, checkout, clone, deepUnwrap, doneMerge, followLifecycleTransition, getAllowedLifecycleTransistions, getCorrespondingNodePath, getDefinition, getIdentifier, getIndex, getLock, getMixinNodeTypes, getName, getPrimaryItem, getSharedSet, getUUID, getWrappedNode, hasProperties, hasProperty, holdsLock, initClone, isCheckedOut, isLocked, isModified, isNew, isNode, isSame, lock, merge, orderBefore, refresh, remove, removeMixin, removeShare, removeSharedSet, restore, restore, restore, restoreByLabel, save, setPrimaryType, toString, unlock, update
public VersionedNodeChild(VersionedNode versionedNode, javax.jcr.Node node)
public VersionedNodeChild(VersionedNodeChild versionedNode, javax.jcr.Node node)
public int getDepth() throws javax.jcr.RepositoryException
getDepth
in interface javax.jcr.Item
getDepth
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public javax.jcr.Item getAncestor(int depth) throws javax.jcr.ItemNotFoundException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
getAncestor
in interface javax.jcr.Item
getAncestor
in class ContentDecoratorNodeWrapper<PropertyAndChildWrappingContentDecorator>
javax.jcr.ItemNotFoundException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
public javax.jcr.Node getParent() throws javax.jcr.ItemNotFoundException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
getParent
in interface javax.jcr.Item
getParent
in class ContentDecoratorNodeWrapper<PropertyAndChildWrappingContentDecorator>
javax.jcr.ItemNotFoundException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
public String getPath() throws javax.jcr.RepositoryException
getPath
in interface javax.jcr.Item
getPath
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public javax.jcr.nodetype.NodeType getPrimaryNodeType() throws javax.jcr.RepositoryException
getPrimaryNodeType
in interface javax.jcr.Node
getPrimaryNodeType
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public boolean isNodeType(String nodeTypeName) throws javax.jcr.RepositoryException
isNodeType
in interface javax.jcr.Node
isNodeType
in class DelegateNodeWrapper
javax.jcr.RepositoryException
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.