public abstract class AbstractDocumentNodeState extends org.apache.jackrabbit.oak.spi.state.AbstractNodeState
EXISTS| Constructor and Description |
|---|
AbstractDocumentNodeState() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compareAgainstBaseState(org.apache.jackrabbit.oak.spi.state.NodeState base,
org.apache.jackrabbit.oak.spi.state.NodeStateDiff diff) |
boolean |
equals(Object that) |
abstract RevisionVector |
getLastRevision() |
protected abstract NodeStateDiffer |
getNodeStateDiffer() |
abstract String |
getPath() |
abstract RevisionVector |
getRootRevision() |
abstract boolean |
hasNoChildren() |
abstract boolean |
isFromExternalChange() |
abstract AbstractDocumentNodeState |
withRootRevision(@NotNull RevisionVector root,
boolean externalChange)
|
checkValidName, compareAgainstBaseState, comparePropertiesAgainstBaseState, count, equals, getBoolean, getBoolean, getChildNodeCount, getChildNodeNames, getLong, getLong, getName, getName, getNames, getNames, getProperty, getPropertyCount, getString, getString, getStrings, getStrings, hashCode, hasProperty, isValidName, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitbuilder, exists, getChildNode, getChildNodeEntries, getProperties, hasChildNodepublic abstract String getPath()
public abstract RevisionVector getLastRevision()
public abstract RevisionVector getRootRevision()
public abstract boolean isFromExternalChange()
public abstract AbstractDocumentNodeState withRootRevision(@NotNull @NotNull RevisionVector root, boolean externalChange)
DocumentNodeState with the
getRootRevision() set to the given root revision. This method
returns this instance if the given root revision is
the same as the one in this instance and the isFromExternalChange()
flags are equal.root - the root revision for the copy of this node state.externalChange - if the isFromExternalChange() flag must be
set on the returned node state.public abstract boolean hasNoChildren()
protected abstract NodeStateDiffer getNodeStateDiffer()
public boolean equals(Object that)
equals in class org.apache.jackrabbit.oak.spi.state.AbstractNodeStatepublic boolean compareAgainstBaseState(org.apache.jackrabbit.oak.spi.state.NodeState base, org.apache.jackrabbit.oak.spi.state.NodeStateDiff diff)
compareAgainstBaseState in interface org.apache.jackrabbit.oak.spi.state.NodeStatecompareAgainstBaseState in class org.apache.jackrabbit.oak.spi.state.AbstractNodeStateCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.