Interface InternalFrozenVersionHistory
-
- All Superinterfaces:
InternalFreeze
,InternalVersionItem
public interface InternalFrozenVersionHistory extends InternalFreeze
This interface defines a frozen versionable child node, that was created during aNode.checkin()
with a OPV==Version node.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description InternalVersion
getBaseVersion()
Returns the base version that was assigned to the node at the time it was versioned.NodeId
getBaseVersionId()
Returns the id of the base version that was assigned to the node at the time it was versioned.InternalVersion
getBaseVesion()
Deprecated.usegetBaseVersion()
insteadInternalVersionHistory
getVersionHistory()
Returns the version history that was assigned to the node at the time it was versioned.NodeId
getVersionHistoryId()
Returns the id of the version history that was assigned to the node at the time it was versioned.-
Methods inherited from interface org.apache.jackrabbit.core.version.InternalFreeze
getName
-
Methods inherited from interface org.apache.jackrabbit.core.version.InternalVersionItem
getId, getParent
-
-
-
-
Method Detail
-
getVersionHistoryId
NodeId getVersionHistoryId()
Returns the id of the version history that was assigned to the node at the time it was versioned.- Returns:
- the id of the version history
-
getVersionHistory
InternalVersionHistory getVersionHistory() throws VersionException
Returns the version history that was assigned to the node at the time it was versioned.- Returns:
- the internal version history.
- Throws:
VersionException
- if the history cannot be retrieved.
-
getBaseVersionId
NodeId getBaseVersionId()
Returns the id of the base version that was assigned to the node at the time it was versioned.- Returns:
- the id of the base version
-
getBaseVesion
InternalVersion getBaseVesion() throws VersionException
Deprecated.usegetBaseVersion()
instead- Throws:
VersionException
-
getBaseVersion
InternalVersion getBaseVersion() throws VersionException
Returns the base version that was assigned to the node at the time it was versioned.- Returns:
- the internal base version
- Throws:
VersionException
- if the version could not be retrieved
-
-