public class VersionedNode extends PropertyAndChildWrappingNodeWrapper implements javax.jcr.version.Version
wrapped
Constructor and Description |
---|
VersionedNode(javax.jcr.version.Version versionedNode,
javax.jcr.Node baseNode) |
Modifier and Type | Method and Description |
---|---|
javax.jcr.Item |
getAncestor(int depth) |
javax.jcr.Node |
getBaseNode() |
javax.jcr.version.VersionHistory |
getContainingHistory() |
Calendar |
getCreated() |
int |
getDepth() |
javax.jcr.Node |
getFrozenNode() |
javax.jcr.version.Version |
getLinearPredecessor() |
javax.jcr.version.Version |
getLinearSuccessor() |
javax.jcr.Node |
getParent() |
String |
getPath() |
javax.jcr.version.Version[] |
getPredecessors() |
javax.jcr.nodetype.NodeType |
getPrimaryNodeType() |
javax.jcr.Session |
getSession() |
javax.jcr.version.Version[] |
getSuccessors() |
boolean |
isNodeType(String nodeTypeName) |
javax.jcr.version.Version |
unwrap() |
addNode, addNode, checkin, equals, getBaseVersion, getContentDecorator, getNode, getNodes, getNodes, getNodes, getProperties, getProperties, getProperties, getProperty, getReferences, getReferences, 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
finalize, getClass, notify, notifyAll, wait, wait, wait
addMixin, addNode, addNode, canAddMixin, cancelMerge, checkin, checkout, doneMerge, followLifecycleTransition, getAllowedLifecycleTransistions, getBaseVersion, getCorrespondingNodePath, getDefinition, getIdentifier, getIndex, getLock, getMixinNodeTypes, getNode, getNodes, getNodes, getNodes, getPrimaryItem, getProperties, getProperties, getProperties, getProperty, getReferences, getReferences, getSharedSet, getUUID, getVersionHistory, getWeakReferences, getWeakReferences, hasNode, hasNodes, hasProperties, hasProperty, holdsLock, isCheckedOut, isLocked, 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
public VersionedNode(javax.jcr.version.Version versionedNode, javax.jcr.Node baseNode) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
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.version.Version unwrap()
public javax.jcr.version.VersionHistory getContainingHistory() throws javax.jcr.RepositoryException
getContainingHistory
in interface javax.jcr.version.Version
javax.jcr.RepositoryException
public Calendar getCreated() throws javax.jcr.RepositoryException
getCreated
in interface javax.jcr.version.Version
javax.jcr.RepositoryException
public javax.jcr.Node getFrozenNode() throws javax.jcr.RepositoryException
getFrozenNode
in interface javax.jcr.version.Version
javax.jcr.RepositoryException
public javax.jcr.version.Version getLinearPredecessor() throws javax.jcr.RepositoryException
getLinearPredecessor
in interface javax.jcr.version.Version
javax.jcr.RepositoryException
public javax.jcr.version.Version getLinearSuccessor() throws javax.jcr.RepositoryException
getLinearSuccessor
in interface javax.jcr.version.Version
javax.jcr.RepositoryException
public javax.jcr.version.Version[] getPredecessors() throws javax.jcr.RepositoryException
getPredecessors
in interface javax.jcr.version.Version
javax.jcr.RepositoryException
public javax.jcr.version.Version[] getSuccessors() throws javax.jcr.RepositoryException
getSuccessors
in interface javax.jcr.version.Version
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.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 boolean isNodeType(String nodeTypeName) throws javax.jcr.RepositoryException
isNodeType
in interface javax.jcr.Node
isNodeType
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 javax.jcr.Node getBaseNode()
public javax.jcr.Session getSession() throws javax.jcr.RepositoryException
getSession
in interface javax.jcr.Item
getSession
in class ContentDecoratorNodeWrapper<PropertyAndChildWrappingContentDecorator>
javax.jcr.RepositoryException
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.